/recursion-tree-visualizer

🌳 Input the javascript code of any recursive function and visualize your recursion tree

Primary LanguageTypeScriptMIT LicenseMIT

Recursion tree visualizer

Demo | Solution | Challenge

Overview

Stop drawing recursion trees by hand.

This project was my submission to AlgoExpert SWE Project Contest (Summer-Fall 2020). You can view it live here.

Built with

How to use

In the root directory, run:

# Install all dependencies
> yarn install

# Run the app on http://localhost:3000
> yarn start

Acknowledgements

To positionate each node of the tree on 2D plane in an aesthetically pleasing way, I implemented the Reingold-Tilford's algorithm. Thanks to:

Contact