Pregunta de entrevista de General Motors (GM)

I cannot remember exactly but they was an algorithm about solving a robot's movement pattern.