PwC interview question

it was a practical case