Being able to visualize or simulate how a program, data structure or algorithm is working may help to understand how it is working, help in troubleshooting, teaching, and may be in enhancing it further.
Please find some Visualization / Simulation sites below. Please feel free to suggest alternatives.
Data Structure and Algorithm Visualization
VisualGo
David Galles's Site
Algorithms and Data Structures Animations for the Liang Java, C++, and Python Books
Program Visualization
Java
Python, C, C++, Java, JS, Ruby, TypeScript
R
Web Apps (HTML, CSS, JS)
Recommended Reading
- https://www.quora.com/What-is-the-best-way-to-debug-a-recursive-algorithm
- https://softwareengineering.stackexchange.com/questions/180429/is-there-a-way-to-display-the-stack-during-recursion-method
- https://stackoverflow.com/questions/45071697/how-to-visualize-recursion
- https://www.coursera.org/lecture/principles-of-computing-2/visualizing-recursion-pubjS