yashitkumarsingh
New Member
plz people help me out .... i just wanna know a basic algorithm for maze solving with program.... plz give ideas on both shortest path and quickest path...
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
richardv2 said:The right hand rule is excellent for any maze where all walls are connected.
It won't work if there is an island or two in the maze.
An "island" means that one section of the maze has walls that are completely disconnected from the rest of the maze. If the goal is "inside" the island, then right or left hand rules will never get you there, and if you start out inside an island, you can never escape.