LeetCode: https://leetcode.com/problems/longest-increasing-subsequence/
Given an integer array nums, return the length of the longest strictly increasing subsequence.
1
0
1
1
1
2
1
3
1
4
1
5
1
6
1
7
nums=[10, 9, 2, 5, 3, 7, 101, 18]
Step 1 / 5
Step 1:
dp[i] = length of LIS ending at i. Initialize all dp to 1.
Focus: default