aimacode / aima-javascript

Javascript visualization of algorithms from Russell And Norvig's "Artificial Intelligence - A Modern Approach"
http://aimacode.github.io/aima-javascript/
MIT License
544 stars 219 forks source link

Depth first search #53

Closed Rishav159 closed 7 years ago

Rishav159 commented 7 years ago

Implemented Depth First Search in a similar fashion as the Breadth First Search. Since there is no pseudocode available for it, I am guessing the only difference between BFS and DFS should be use of a stack instead of a queue and providing a different maze where the working of the algorithm can be visualized clearly.