PwC interview question

Basics on coding and CSE