AntInLoop

Red-Black Tree Game — Recolor & Rotation Fixup Challenge

Inspect Uncle color and Grandparent-Parent-Child alignment to choose Recolor vs. LL, RR, LR, or RL rotations.

Time Complexity: O(log n)

Study the data structure · Watch Visualizer · All Algorithm Games