题目
https://leetcode.com/problems/split-array-into-consecutive-subsequences/description/
想法
记录当前最大的两个
如果找到第三个,生成第一个split
重复上述步骤,直到结束
emm, 审题不清!!!
several subsequences.
Coder love Design
https://leetcode.com/problems/split-array-into-consecutive-subsequences/description/
记录当前最大的两个
如果找到第三个,生成第一个split
重复上述步骤,直到结束
emm, 审题不清!!!
several subsequences.