Binary Search Tails Array Evolution

This visualization demonstrates how the tails array evolves while processing each element from the original array [10, 9, 2, 5, 3, 7, 101, 18]. The tails array stores the smallest ending value of all increasing subsequences of a given length.

Original Array:

Current Element:

Tails Array:

Press "Next" to start the visualization.
Step: 0/8
Original Array Element
Current Element
Tails Array Element
Position Found