NiYO interview question

Basics