Below are 25 rooms. The centre of the rooms are 1 unit apart from each other - horizontally and vertically. You want to visit all the rooms. You can only visit a room one time. You start in the "red squared" room.
Question:
If you can "jump" however you like from one room to another, what is the maximum distance you possibly can make? Can you prove this is the max?
My approach:
Is to always choose the room which is furthest away from the current room. E.g the first move would be to the room R1C5, second move to either of the rooms R4c1 or R5C2, and the third fourth..24th move following the same logic.
Intuitively this approach seems to lead to the optimal answer. But how to mathematically prove it? Or do you have other approaches?



