AntInLoop

LIS Game — Longest Increasing Subsequence Tails Challenge

Maintain the O(n log n) Patience Sorting tails array by appending larger elements or replacing the lower_bound slot.

Time Complexity: O(n log n)

Study the algorithm · Watch Visualizer · All Algorithm Games