Pergunta de entrevista da empresa Wealthsimple

[Code Screen] They asked me a variant of the Mars rover problem (https://code.google.com/archive/p/marsrovertechchallenge/) and introduced gradually more difficult requirements as I solved it