Showing posts with label java shortest path sample program. Show all posts
Showing posts with label java shortest path sample program. Show all posts

Tuesday, January 3, 2017

Java Maze solver program

Copy , paste, run... The ones are the walls in the below matrix and zeroes are open ways in the labyrinth. We are trying to find shortest path to the given destination : which is (x,y)-> (19,8) here in the example Just modify the maze by playing with the Ones and Zeroes and run it in your local