Genpact interview question

Introduction as usual