Implement `lengthOfLIS(nums)` returning the length of the longest strictly increasing subsequence.
Run your code to see results.