Skip to content

Leetcode ​

此页面是本人刷leetcode的记录。

WARNING

有些数据是之前刷的过,后来导出数据的,并不一定有题解文档

indexnamedifficultysolvedmarkcomment
1Two SumEASY✓
7Reverse IntegerMEDIUM✓
9Palindrome NumberEASY✓
13Roman to IntegerEASY✓
14Longest Common PrefixEASY✓
153SumMEDIUM✓
20Valid ParenthesesEASY✓
21Merge Two Sorted ListsEASY✓
26Remove Duplicates from Sorted ArrayEASY✓
27Remove ElementEASY✓
28Find the Index of the First Occurrence in a StringEASY✓
35Search Insert PositionEASY✓
38Count and SayMEDIUM✓
42Trapping Rain WaterHARD
53Maximum SubarrayMEDIUM✓
58Length of Last WordEASY✓
66Plus OneEASY✓
67Add BinaryEASY✓
69Sqrt(x)EASY✓
70Climbing StairsEASY✓
83Remove Duplicates from Sorted ListEASY✓
88Merge Sorted ArrayEASY✓
100Same TreeEASY✓
101Symmetric TreeEASY✓
104Maximum Depth of Binary TreeEASY✓深度搜索、光度搜索、树
107Binary Tree Level Order Traversal IIMEDIUM✓
118Pascal's TriangleEASY✓
121Best Time to Buy and Sell StockEASY✓
122Best Time to Buy and Sell Stock IIMEDIUM✓
125Valid PalindromeEASY✓
136Single NumberEASY✓
155Min StackMEDIUM✓
169Majority ElementEASY✓
171Excel Sheet Column NumberEASY✓
172Factorial Trailing ZeroesMEDIUM✓
189Rotate ArrayMEDIUM✓
230Kth Smallest Element in a BSTMEDIUM深度搜索、树
236Lowest Common Ancestor of a Binary TreeMEDIUM深度搜索、树
402Remove K DigitsMEDIUM✓
446Arithmetic Slices II - SubsequenceHARD深度搜索、贪心、二分查找、回溯、动态规划、广度搜索、单调栈、链表、双指针、位运算、滑动窗口、排序、字符串处理
543Diameter of Binary TreeEASY深度搜索、树
971Flip Binary Tree To Match Preorder TraversalMEDIUM深度搜索、树