1121. Divide Array Into Increasing Sequences
Given an integer array nums sorted in non-decreasing order and an integer k, return true if this array can be divided into one or more disjoint increasing subsequences of length at least k, or false otherwise.
1 | class Solution { |