EY interview question

Its was related to Coding