Pregunta de entrevista de Connected Robotics

How do you approach the problem statement