673. Number of Longest Increasing Subsequence
Given an integer array nums
, return the number of longest increasing subsequences.
Notice that the sequence has to be strictly increasing.
Example 1:
Example 2:
Constraints:
nums.length
<= 2000nums[i]
<= 106Yen-Chi ChenFri, Jul 21, 2023