solved 231
index | Problems | Solutions | |
---|---|---|---|
1 | two-sum | python | cpp |
2 | Add2Numbers | python | cpp |
3 | LongestSubstringWithoutRepeatingCharacters | python | cpp |
4 | median-of-two-sorted-arrays | python | cpp |
5 | LongestPalindromicSubstring | python | |
6 | z-字形变换 | python | |
7 | reverseNumber | python | cpp |
8 | str2num | python | |
9 | palindrome-number | python | cpp |
10 | RegularExpressionMatching | python | cpp |
11 | container-with-most-water | python | cpp |
12 | integer-to-roman | python | |
13 | roman-to-integer | python | cpp |
14 | longest-common-prefix | python | cpp |
15 | 3-sum | python | |
16 | 3-sum-closest | python | |
17 | letter-combinations-of-a-phone-number | python | cpp |
18 | 4-sum | python | |
19 | remove-nth-node-from-end-of-list | python | |
20 | ValidParentheses | python | cpp |
21 | merge-two-sorted-lists | python | cpp |
22 | generate-parentheses | python | cpp |
23 | merge-k-sorted-lists | python | |
24 | swap-nodes-in-pairs | python | |
25 | reverse-nodes-in-k-group | python | |
26 | RemoveDuplicatesfromSortedArray | python | cpp |
27 | RemoveElement | python | cpp |
28 | implement-str-str | python | cpp |
29 | divide-two-integers | python | cpp |
30 | substring-with-concatenation-of-all-words | python | |
31 | next-permutation | python | cpp |
32 | LongestValidParentheses | python | |
33 | search-in-rotated-sorted-array | python | |
34 | find-first-and-last-position-of-element-in-sorted-array | python | cpp |
35 | SearchInsertPosition | python | |
36 | valid-sudoku | python | |
37 | sudoku-solver | python | cpp |
38 | count-and-say | python | |
39 | combination-sum | python | cpp |
40 | combination-sum-ii | python | |
41 | first-missing-positive | python | |
42 | trapping-rain-water | python | |
43 | multiply-strings | python | |
44 | wildcard-matching | python | cpp |
45 | jump-game-ii | python | |
46 | permutations | python | |
47 | permutations-ii | python | |
48 | rotate-image | python | |
49 | group-anagrams | python | |
50 | pow-x-n | python | |
51 | n-queens | python | |
52 | n-queens-ii | python | |
53 | MaximumSubarray | python | |
54 | spiral-matrix | python | |
55 | jump-game | python | |
56 | merge-intervals | python | |
57 | insert-interval | python | |
58 | length-of-last-word | python | |
59 | spiral-matrix-ii | python | |
60 | permutation-sequence | python | |
61 | rotate-list | python | |
62 | unique-paths | python | |
63 | unique-paths-ii | python | |
64 | minimum-path-sum | python | |
65 | valid-number | python | |
66 | plus-one | python | |
67 | AddBinary | python | |
68 | text-justification | python | |
69 | Sqrt(x) | python | |
70 | ClimbingStairs | python | |
71 | simplify-path | python | |
72 | edit-distance | python | |
73 | set-matrix-zeroes | python | |
74 | search-a-2-d-matrix | python | |
75 | sort-colors | python | |
76 | minimum-window-substring | python | |
77 | combinations | python | |
78 | subsets | python | |
79 | word-search | python | |
80 | remove-duplicates-from-sorted-array-ii | python | |
81 | search-in-rotated-sorted-array-ii | python | |
82 | remove-duplicates-from-sorted-list-ii | python | |
83 | remove-duplicates-from-sorted-list | python | |
84 | largest-rectangle-in-histogram | python | |
85 | maximal-rectangle | python | |
86 | partition-list | python | |
87 | scramble-string | python | |
88 | MergeSortedArray | python | |
89 | gray-code | python | |
90 | subsets-ii | python | |
91 | decode-ways | python | cpp |
92 | 反转链表-ii | python | |
93 | restoreIPAddress | python | cpp |
94 | BinaryTreeInorderTraversal | python | |
95 | UniqueBinarySearchTreesII | python | |
96 | UniqueBinarySearchTrees | python | |
97 | 交错字符串 | python | |
98 | 验证二叉搜索树 | python | |
99 | 恢复二叉搜索树 | python | |
100 | same-tree | python | |
101 | symmetric-tree | python | cpp |
102 | 二叉树的层次遍历 | python | cpp |
103 | 二叉树的锯齿形层次遍历 | python | |
104 | maximum-depth-of-binary-tree | python | |
105 | 从前序与中序遍历序列构造二叉树 | python | |
106 | 从中序与后序遍历序列构造二叉树 | python | |
107 | binary-tree-level-order-traversal-ii | python | |
108 | convert-sorted-array-to-binary-search-tree | python | |
109 | 有序链表转换二叉搜索树 | python | |
110 | balanced-binary-tree | python | |
111 | minimum-depth-of-binary-tree | python | |
112 | path-sum | python | |
113 | 路径总和-ii | python | |
114 | 二叉树展开为链表 | python | |
115 | 不同的子序列 | python | |
116 | 填充每个节点的下一个右侧节点指针 | python | |
117 | 填充每个节点的下一个右侧节点指针-ii | python | |
118 | Pascal'sTriangle | python | |
119 | Pascal'sTriangleII | python | |
120 | 三角形最小路径和 | python | |
121 | BestTimetoBuyandSellStock | python | |
122 | BestTimetoBuyandSellStockII | python | |
123 | 买卖股票的最佳时机-iii | python | |
125 | valid-palindrome | python | |
126 | word-ladder-ii | python | |
128 | 最长连续序列 | python | |
131 | palindrome-partitioning | python | |
132 | 分割回文串-ii | python | |
133 | clone-graph | python | cpp |
135 | 分发糖果 | python | |
136 | single-number | python | |
137 | single-number-ii | python | |
139 | word-break | python | |
140 | word-break-ii | python | |
141 | linked-list-cycle | python | |
146 | lru缓存机制 | python | |
147 | insertion-sort-list | python | |
148 | sort-list | python | |
149 | max-points-on-a-line | python | |
151 | reverse-words-in-a-string | python | |
152 | maximum-product-subarray | python | |
153 | 寻找旋转排序数组中的最小值 | cpp | |
155 | min-stack | python | |
160 | intersection-of-two-linked-lists | python | |
165 | 比较版本号 | python | |
167 | TwoSumII-Inputarrayissorted | python | |
168 | ExcelSheetColumnTitle | python | |
169 | majority-element | python | |
171 | ExcelSheetColumnNumber | python | |
172 | FactorialTrailingZeroes | python | |
173 | 二叉搜索树迭代器 | python | |
187 | repeated-dna-sequences | python | |
189 | RotateArray | python | |
190 | reverse-bits | python | |
191 | number-of-1-bits | python | |
201 | bitwise-and-of-numbers-range | python | |
202 | HappyNumber | python | |
203 | remove-linked-list-elements | python | |
204 | count-primes | python | |
205 | isomorphic-strings | python | |
206 | reverse-linked-list | python | |
207 | course-schedule | python | |
208 | implement-trie-prefix-tree | python | |
211 | 添加与搜索单词-数据结构设计 | python | |
212 | word-search-ii | python | |
213 | 打家劫舍-ii | cpp | |
214 | 最短回文串 | python | |
215 | 数组中的第k个最大元素 | python | |
217 | ContainsDuplicate | python | |
219 | contains-duplicate-ii | python | |
225 | 用队列实现栈 | python | |
226 | invert-binary-tree | python | |
227 | 基本计算器-ii | python | |
228 | 汇总区间 | python | |
232 | 用栈实现队列 | python | |
233 | number-of-digit-one | python | |
234 | palindrome-linked-list | python | |
235 | lowest-common-ancestor-of-a-binary-search-tree | python | |
237 | delete-node-in-a-linked-list | python | |
242 | valid-anagram | python | |
258 | AddDigits | python | |
260 | single-number-iii | python | |
263 | UglyNumber | python | |
268 | MissingNumber | python | |
273 | 整数转换英文表示 | python | |
283 | move-zeroes | python | |
284 | 顶端迭代器 | python | |
292 | nim-game | python | |
295 | 数据流的中位数 | python | |
297 | 二叉树的序列化与反序列化 | python | |
300 | 最长上升子序列 | python | |
310 | 最小高度树 | cpp | |
318 | 最大单词长度乘积 | python | |
327 | count-of-range-sum | python | |
338 | counting-bits | python | |
342 | 4-的幂 | python | |
344 | reverse-string | python | |
354 | 俄罗斯套娃信封问题 | python | |
367 | ValidPerfectSquare | python | |
371 | 两整数之和 | python | |
380 | 常数时间插入、删除和获取随机元素 | python | |
381 | o-1-时间插入、删除和获取随机元素-允许重复 | python | |
387 | first-unique-character-in-a-string | python | |
400 | NthDigit | python | |
414 | ThirdMaximumNumber | python | |
432 | 全-o-1-的数据结构 | python | |
441 | arranging-coins | python | |
448 | FindAllNumbersDisappearedinanArray | python | |
453 | MinimumMovestoEqualArrayElements | python | |
468 | 验证ip地址 | python | |
485 | MaxConsecutiveOnes | python | |
486 | 预测赢家 | python | |
507 | PerfectNumber | python | |
509 | FibonacciNumber | python | |
516 | LongestPalindromicSubsequence | python | |
532 | K-diffPairsinanArray | python | |
587 | 安装栅栏 | python | |
668 | 乘法表中第k小的数 | python | |
679 | 24-点游戏 | python | |
746 | MinCostClimbingStairs | python | |
754 | reach-a-number | python | |
784 | LetterCasePermutation | python | |
793 | 阶乘函数后k个零 | python | |
847 | 访问所有节点的最短路径 | python | |
942 | DIStringMatch | python | |
984 | 不含-aaa-或-bbb-的字符串 | python | |
1009 | ComplementofBase10Integer | python | |
1022 | 从根到叶的二进制数之和 | python | |
1025 | divisor-game | python | |
1036 | 逃离大迷宫 | python | |
1201 | 丑数-iii | cpp |