Remitly interview question

Basic programming question