Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tommikaikkonen/rbtree

An interactive red black tree application to demonstrate node insertion cases.
https://github.com/tommikaikkonen/rbtree

Last synced: 3 months ago
JSON representation

An interactive red black tree application to demonstrate node insertion cases.

Awesome Lists containing this project

README

        

# Red-Black Tree Node Insertion App

**Live demo:** [http://tommikaikkonen.github.io/rbtree/](http://tommikaikkonen.github.io/rbtree/)

This application helps demonstrate [red-black tree node insertion cases](http://en.wikipedia.org/wiki/Red%E2%80%93black_tree#Insertion). If you want to look at the code, I suggest starting from js/tree.js to see the data structures, moving onto js/treeView.js to see presentation-related data and finally js/ui.js and js/main.js for user interface code and the main program start.

The live application was made for a teaching video produced in an Algorithms & Data Structures class. The video can be seen [here](https://www.youtube.com/watch?v=g9SaX0yeneU).

The application has only been tested on Google Chrome 40 (Mac OS X) and may not work correctly on older browsers.