Genpact interview question

Finance related question