PwC Interview Question

Not that difficult