• Wolf314159@startrek.website
    link
    fedilink
    arrow-up
    2
    ·
    3 天前

    “Any corner will do, from there just keep making right turns. It may not be the optimal path, but it will get you out of the maze.”

      • Wolf314159@startrek.website
        link
        fedilink
        arrow-up
        1
        ·
        2 天前

        Think it through. That doesn’t really have any bearing. You follow a wall and turn right whenever you have the option. You’ll exit the loop the same way you came in and continue through the rest of the maze.

        • hirihit640@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          1
          ·
          2 天前

          Imagine walking clockwise around an city block. You keep turning right, but just circle the block, never leaving it. Same concept.

          • Wolf314159@startrek.website
            link
            fedilink
            arrow-up
            1
            ·
            2 天前

            Yep, you caught me, I forgot to mention the very obvious detail that you shouldn’t repeat paths that you’ve already taken unless your back tracking take a new branch. But also, mazes and city grids are two very different topological spaces, so not really applicable anyway.