Search⌘ K
AI Features

Divide Array Into Increasing Sequences

Divide Array Into Increasing Sequences asks whether a sorted array can be partitioned into disjoint strictly increasing subsequences, each with at least a given length.

Statement

Given a sorted integer array, nums, in non-decreasing order and an integer, k, ...