Pergunta de entrevista da empresa Creately

Write code based on the given a scenario, e.g. how to move a robot across the room given a boundary and valid movements.