Genpact interview question

Quantum