标签归档:leetcode

RSS feed of leetcode

[LeetCode]Next Permutation

题目描述:

LeetCode 31. Next Permutation

Implement next permutation, which rearranges numbers into the lexicographically next greater permutation of numbers.

If such arrangement is not possible, it must rearrange it as the lowest possible order (ie, sorted in ascending order).

The ...

继续阅读

LeetCode Weekly Contest 3解题报告

LeetCode Weekly Contest 3是LeetCode举办的第二场正式周赛,共4道题目,比赛时长2.5小时。

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

题解列表:

LeetCode 392. Is Subsequence

LeetCode 393. UTF-8 Validation

LeetCode 394. Decode String

LeetCode 395. Longest Substring with At Least K Repeating Characters