/tree-traversal-visualisation

It shows BFS and DFS traversals of the tree in an animated way

Primary LanguageJavaScript

Tree Traversal Visualisation

This project helps visualising following tree traversals in an animated way.

BFS Tree Traversals:

Level order traversal 

DFS Tree Traversals:

Inorder Traversal 
Postorder Traversal 
Preorder Traversal 

You can check the live demo here.

To run the project

git clone https://github.com/devanSAGA/tree-traversal-visualisation.git
cd tree-traversal-visualisation
npm install (or) yarn install
npm run start (or) yarn start

This project was bootstrapped with Create React App.