作者归档:在线疯狂

RSS feed of 在线疯狂

[LeetCode]Max Chunks To Make Sorted (ver. 1)

题目描述:

LeetCode 769. Max Chunks To Make Sorted (ver. 1)

Given an array arr that is a permutation of [0, 1, ..., arr.length - 1], we split the array into some number of "chunks" (partitions), and individually sort each chunk.  ...

继续阅读