Genpact interview question

Transactions related question