归档 2018年1月21日

[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.  ...

继续阅读

昨天

明天

归档