Maze

wvueagle's Avatar, Join Date: Sep 2006
Newbie Member
Ok so I know lots of people have posted on this but I am too because I am stuck and not really sure what to do. I have a problem to solve...it is the "MAZE" problem. Given a maze of 1's and 0's with 2 random 0's being on the outside "wall" and then 1's and 0's on the inside I have to make a path. Must start in upper left corner and go clockwise to find first 0, this is entrance, then go through maze where 0's are path and as each 0 is visited, in an attempt to find path, an X is placed there. If a path is found to the other boundry 0 great! I know recrusion and the stack can be used but not sure how?!? Not very up to speed on C, yea has to be done in C. Any help would be great!!
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
What type of help you are looking at?