2019年2月9日

摘要: This question is the same as "Max Chunks to Make Sorted" except the integers of the given array are not necessarily distinct, the input array could be 阅读全文
posted @ 2019-02-09 20:22 一直走在路上 阅读(139) 评论(0) 推荐(0)
摘要: 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 individuall 阅读全文
posted @ 2019-02-09 19:15 一直走在路上 阅读(120) 评论(0) 推荐(0)

导航