COS interview question

Exp