Mental Model
Find the longest sequence of numbers that keeps going up without skipping order. We want the biggest chain where each number is bigger than the one before.
Analogy: Imagine climbing stairs where each step is higher than the last. You want to find the longest path going up without stepping down or sideways.
Array: [10] -> [22] -> [9] -> [33] -> [21] -> [50] -> [41] -> [60] LIS lengths: 1 2 1 3 2 4 4 5
