PwC interview question

Coding background for the role