Implement `lengthOfLIS(nums)` returning the length of the longest strictly increasing subsequence.
+ 1 hidden test run on Submit.
The per-index DP gives the LIS length in O(n^2) time.
Run your code to see results.