Leap Robots interview question

Basic electronics & major project