LeetCode刷題——Array篇(Max Chunks To Make Sorted)

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. After concatenating them, the res
相關文章
相關標籤/搜索