PwC interview question

Challenge you complete