- f[i][j] means the maximum length of a sequence ending in i with a difference of j
- Traverse i ---> j and maintain the maximum value of f[j][nums[i]-nums[j]]
1027
Folders and files
Name | Name | Last commit date | ||
---|---|---|---|---|
parent directory.. | ||||
Name | Name | Last commit date | ||
---|---|---|---|---|
parent directory.. | ||||