iRobot interview question

Basic programming, algorithms, multithreading