Problem 5
If the first monster is against a wall, Turbo instead follows a diagonal staircase moving away from that wall; if a second monster interrupts the staircase, the safe portion already walked, together with the known columns of both monsters, lets Turbo build a route around both on the next try.
Assume ; the right-edge case is its mirror image. On attempt 2 enter row 2 at , visit and return to , then descend to . In each row , enter at , visit and , return to , and descend to . In the last monster row enter , visit , and then descend to the goal row. This is the staircase. If it is clear, Turbo wins on attempt 2. If it first meets at a downward entry , then the already visited shoulder is safe; on attempt 3 follow the safe prefix to that shoulder, enter row at , move west to column 1, and descend column 1. If is met on one of the horizontal steps instead, the cell immediately to its west is safe; reproduce the prefix to that cell, move west to column 1 in row , and descend. In either subcase, every other cell of row is safe because it contains the unique monster of that row, and column 1 is safe below row 2 because it already contains . Thus the third path reaches the goal. This gives a completely specified strategy in at most 3 attempts.