Grant Thornton Interview Question

Technnical and real life situation