Ready to sort
tree ● Active ● Sorted
Nodes appear as the algorithm builds its structure.
Statistics
Status Idle
Operations 0 / 0
Controls
50
5x
Summary
Inserts values into a self-adjusting splay tree, then traverses it in order.
How it Works
-
Splay the nearest searched node to the root.
-
Insert each value at the root or increase its duplicate count.
-
Traverse the tree in order to output values.