Remitly interview question

mostly technical details and time and space complexity