PwC Interview Question

It was based on the case interview.