Genpact interview question

General