A'gaci interview question

No difficult