标签归档:leetcode

RSS feed of leetcode

[LeetCode]Sort Characters By Frequency

题目描述:

LeetCode 451. Sort Characters By Frequency

Given a string, sort it in decreasing order based on the frequency of characters.

Example 1:

Input:
"tree"

Output:
"eert"

Explanation:
'e' appears twice while 'r' and 't' both appear once.
So 'e' ...

继续阅读

[LeetCode]Serialize and Deserialize BST

题目描述:

LeetCode 449. Serialize and Deserialize BST

Serialization is the process of converting a data structure or object into a sequence of bits so that it can be stored in a file or memory buffer, or transmitted across a network ...

继续阅读

[LeetCode]Smarking Algorithm Contest 2解题报告

Smarking Algorithm Contest 2是LeetCode举办的第十场正式周赛,共4道题目,比赛时长2.5小时。

比赛链接:https://leetcode.com/contest/smarking-algorithm-contest-2/

题解列表:

LeetCode 435. Non-overlapping Intervals

LeetCode 436. Find Right Interval

LeetCode 441. Arranging Coins

LeetCode 444. Sequence Reconstruction