PwC Interview Question

Mentioned above section for question