CEAT interview question

Background