iRobot interview question

Oops Concept.