Write a function to find the longest increasing subsequence in a list of numbers.
HardProblem Statement
Write a function to find the longest increasing subsequence in a list of numbers.
Sample Input
[10, 22, 9, 33, 21, 50, 41, 60, 80]
Sample Output
6
Limits
Time: 2s · Memory: 256 MB