Skip to content

Q2: Solution and Afterthoughts

Question 2 is not difficult at all, and everyone who submitted code managed to solve it. The main objective of Question 2 was to give everyone a breather and more time to solve Question 1.

It's all about intuition!

We notice that we have a square room. Then we also notice that if we simply mirror Prof Oka's step every single time (i.e. if he goes Down, we go Right and vice versa), it is impossible for us to copy Prof Oka at all. And since we are mirroring him, we will start at the same point, and end at the same point!