Pergunta de entrevista da empresa TORC Robotics

One question was a simple coding question, and the Other was a debugging question. I solved those pretty quickly; some follow-up questions like discuss edge cases, make them more user-friendly, etc.