The problem, in one line. Given a list of numbers, return the length of the longest strictly rising sequence you can pick in order, skipping any numbers you like. LeetCode 300.
The tell. “Pick some items in order, not necessarily next to each other” and the picks must keep rising. The elements you skip are free, so track only the best ending you can offer the next number.