PwC interview question

difficulty that met before