Your question is Mars Rover Coding Exercise. Take a moment with it on the right.
Talk me through your thinking if you like. When you're confident, submit your answer and I'll grade it like a real screen (7/10 or better passes).
In the in person interview they ask you to code a Mars Rover. They had IntelliJ set up for you to use.