Genpact interview question

Accounting entries