Red-Black Tree Visualizer — Step-by-Step Interactive Animation
Watch Red-Black Tree insertions step-by-step. A self-balancing BST where each node has a color bit. Ensures O(log n) operations.
How to Use the Red-Black Tree Visualizer
- Click Play to start the animation or use Step Forward for manual control.
- Adjust the speed slider to slow down or speed up the visualization.
- Use Custom Input to visualize with your own data.
- Click Code to view the implementation in JavaScript, Python, Java, C, or C++.