归档 2018年1月

LeetCode Weekly Contest 68解题报告

LeetCode Weekly Contest 68是LeetCode举办的第七十二场正式周赛,共5道题目,比赛时长1.5小时。

比赛链接:https://leetcode.com/contest/leetcode-weekly-contest-68/

题解列表:

LeetCode 766. Toeplitz Matrix

LeetCode 767. Reorganize String

LeetCode 769. Max Chunks To Make Sorted

LeetCode 768. Max Chunks To Make Sorted II

LeetCode 770. Basic ...

继续阅读

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

继续阅读

每日归档

上个月

下个月

归档