Remitly Interview Question

mostly technical details and time and space complexity