Pregunta de entrevista de Honda Research Institute USA

There was a coding question, asking about some algorithm although the position was not software engineer-related