30:00
Given an integer array nums, return the length of the longest strictly increasing subsequence.
1≤nums.length≤25001 \leq \text{nums.length} \leq 25001≤nums.length≤2500
−104≤nums[i]≤104-10^4 \leq \text{nums}[i] \leq 10^4−104≤nums[i]≤104
Init DP with 1s
Nums:
10
9
2
5
3
7
101
18
DP:
1
Max LIS Length: