Given an integer array nums, return the length of the longest strictly increasing subsequence (elements don't need to be contiguous).
nums
Example
Input: nums = [10, 9, 2, 5, 3, 7, 101, 18] Output: 4 // [2, 3, 7, 101] or [2, 3, 7, 18]