Problem
Given an integer arraynums, return the length of the longest strictly increasing subsequence.
Examples
Constraints
1 <= nums.length <= 2500-10^4 <= nums[i] <= 10^4
O(n log(n)) time complexity?
Tested Python solution for LeetCode 300 with 15 pytest cases. Generate a practice environment with lcpy.
nums, return the length of the longest strictly increasing subsequence.
1 <= nums.length <= 2500-10^4 <= nums[i] <= 10^4O(n log(n)) time complexity?