Skip to content

Files

Latest commit

 

History

History
442 lines (442 loc) · 44.9 KB

File metadata and controls

442 lines (442 loc) · 44.9 KB
1
IDTitleURLIs PremiumAcceptance %DifficultyFrequency %
2
1Two Sum/problems/two-sumN49.1%Easy24.3305%;
3
2Add Two Numbers/problems/add-two-numbersN39.8%Medium3.37471%;
4
3Longest Substring Without Repeating Characters/problems/longest-substring-without-repeating-charactersN33.8%Medium5.5627%;
5
4Median of Two Sorted Arrays/problems/median-of-two-sorted-arraysN35.3%Hard14.6613%;
6
5Longest Palindromic Substring/problems/longest-palindromic-substringN32.4%Medium6.93231%;
7
6Zigzag Conversion/problems/zigzag-conversionN43.2%Medium1.27382%;
8
7Reverse Integer/problems/reverse-integerN27.2%Medium0.965464%;
9
8String to Integer (atoi)/problems/string-to-integer-atoiN16.6%Medium0.692281%;
10
9Palindrome Number/problems/palindrome-numberN52.9%Easy5.46529%;
11
10Regular Expression Matching/problems/regular-expression-matchingN28.2%Hard4.88739%;
12
11Container With Most Water/problems/container-with-most-waterN54.3%Medium4.51408%;
13
12Integer to Roman/problems/integer-to-romanN61.5%Medium8.54213%;
14
13Roman to Integer/problems/roman-to-integerN58.2%Easy26.5603%;
15
14Longest Common Prefix/problems/longest-common-prefixN40.8%Easy9.08803%;
16
153Sum/problems/3sumN32.3%Medium1.28795%;
17
163Sum Closest/problems/3sum-closestN46.1%Medium2.77288%;
18
17Letter Combinations of a Phone Number/problems/letter-combinations-of-a-phone-numberN55.7%Medium6.68347%;
19
19Remove Nth Node From End of List/problems/remove-nth-node-from-end-of-listN40.0%Medium1.06183%;
20
20Valid Parentheses/problems/valid-parenthesesN40.6%Easy9.06313%;
21
21Merge Two Sorted Lists/problems/merge-two-sorted-listsN61.9%Easy3.97405%;
22
22Generate Parentheses/problems/generate-parenthesesN71.9%Medium0.866999%;
23
23Merge k Sorted Lists/problems/merge-k-sorted-listsN48.5%Hard7.35112%;
24
25Reverse Nodes in k-Group/problems/reverse-nodes-in-k-groupN53.7%Hard1.68437%;
25
26Remove Duplicates from Sorted Array/problems/remove-duplicates-from-sorted-arrayN50.9%Easy1.33073%;
26
28Find the Index of the First Occurrence in a String/problems/find-the-index-of-the-first-occurrence-in-a-stringN37.6%Medium3.20366%;
27
29Divide Two Integers/problems/divide-two-integersN17.3%Medium5.57004%;
28
31Next Permutation/problems/next-permutationN37.2%Medium17.9756%;
29
32Longest Valid Parentheses/problems/longest-valid-parenthesesN32.7%Hard1.76199%;
30
33Search in Rotated Sorted Array/problems/search-in-rotated-sorted-arrayN38.7%Medium0.498979%;
31
34Find First and Last Position of Element in Sorted Array/problems/find-first-and-last-position-of-element-in-sorted-arrayN41.6%Medium0.736503%;
32
35Search Insert Position/problems/search-insert-positionN42.0%Easy3.17841%;
33
37Sudoku Solver/problems/sudoku-solverN56.8%Hard9.62193%;
34
38Count and Say/problems/count-and-sayN51.3%Medium8.87456%;
35
39Combination Sum/problems/combination-sumN67.8%Medium1.7661%;
36
41First Missing Positive/problems/first-missing-positiveN36.6%Hard2.63386%;
37
42Trapping Rain Water/problems/trapping-rain-waterN58.8%Hard18.9844%;
38
43Multiply Strings/problems/multiply-stringsN38.8%Medium10.3448%;
39
45Jump Game II/problems/jump-game-iiN38.6%Medium6.13919%;
40
46Permutations/problems/permutationsN74.9%Medium1.81001%;
41
48Rotate Image/problems/rotate-imageN70.1%Medium1.74654%;
42
49Group Anagrams/problems/group-anagramsN66.5%Medium5.0783%;
43
50Pow(x, n)/problems/powx-nN32.8%Medium4.44478%;
44
51N-Queens/problems/n-queensN63.1%Hard2.53843%;
45
53Maximum Subarray/problems/maximum-subarrayN50.1%Medium6.27142%;
46
54Spiral Matrix/problems/spiral-matrixN43.8%Medium5.09298%;
47
55Jump Game/problems/jump-gameN38.5%Medium3.03034%;
48
56Merge Intervals/problems/merge-intervalsN46.0%Medium23.5663%;
49
57Insert Interval/problems/insert-intervalN38.0%Medium25.3153%;
50
60Permutation Sequence/problems/permutation-sequenceN43.8%Hard4.88739%;
51
62Unique Paths/problems/unique-pathsN62.3%Medium21.4373%;
52
63Unique Paths II/problems/unique-paths-iiN39.1%Medium4.70743%;
53
64Minimum Path Sum/problems/minimum-path-sumN60.7%Medium16.1104%;
54
66Plus One/problems/plus-oneN43.4%Easy6.43556%;
55
68Text Justification/problems/text-justificationN36.8%Hard70.6621%;
56
69Sqrt(x)/problems/sqrtxN37.1%Easy0.560444%;
57
70Climbing Stairs/problems/climbing-stairsN51.8%Easy1.32549%;
58
71Simplify Path/problems/simplify-pathN39.2%Medium7.24461%;
59
72Edit Distance/problems/edit-distanceN52.7%Hard7.59696%;
60
74Search a 2D Matrix/problems/search-a-2d-matrixN47.0%Medium1.47331%;
61
75Sort Colors/problems/sort-colorsN57.4%Medium0.718889%;
62
76Minimum Window Substring/problems/minimum-window-substringN40.7%Hard1.33231%;
63
78Subsets/problems/subsetsN74.0%Medium0.955598%;
64
79Word Search/problems/word-searchN39.8%Medium13.0224%;
65
83Remove Duplicates from Sorted List/problems/remove-duplicates-from-sorted-listN49.9%Easy1.98047%;
66
84Largest Rectangle in Histogram/problems/largest-rectangle-in-histogramN42.2%Hard1.79968%;
67
88Merge Sorted Array/problems/merge-sorted-arrayN45.8%Easy2.76704%;
68
90Subsets II/problems/subsets-iiN55.4%Medium1.72231%;
69
91Decode Ways/problems/decode-waysN32.3%Medium3.20535%;
70
92Reverse Linked List II/problems/reverse-linked-list-iiN45.4%Medium2.39388%;
71
94Binary Tree Inorder Traversal/problems/binary-tree-inorder-traversalN73.1%Easy1.27061%;
72
95Unique Binary Search Trees II/problems/unique-binary-search-trees-iiN51.6%Medium4.74891%;
73
97Interleaving String/problems/interleaving-stringN37.1%Medium6.82312%;
74
100Same Tree/problems/same-treeN56.4%Easy2.46403%;
75
101Symmetric Tree/problems/symmetric-treeN53.0%Easy0.785294%;
76
104Maximum Depth of Binary Tree/problems/maximum-depth-of-binary-treeN73.2%Easy1.93751%;
77
105Construct Binary Tree from Preorder and Inorder Traversal/problems/construct-binary-tree-from-preorder-and-inorder-traversalN60.8%Medium1.5566%;
78
112Path Sum/problems/path-sumN47.7%Easy4.3885%;
79
114Flatten Binary Tree to Linked List/problems/flatten-binary-tree-to-linked-listN61.2%Medium2.72788%;
80
115Distinct Subsequences/problems/distinct-subsequencesN43.8%Hard4.24416%;
81
118Pascal's Triangle/problems/pascals-triangleN69.3%Easy1.62648%;
82
121Best Time to Buy and Sell Stock/problems/best-time-to-buy-and-sell-stockN54.4%Easy3.76146%;
83
122Best Time to Buy and Sell Stock II/problems/best-time-to-buy-and-sell-stock-iiN63.4%Medium1.11367%;
84
123Best Time to Buy and Sell Stock III/problems/best-time-to-buy-and-sell-stock-iiiN44.9%Hard3.10022%;
85
125Valid Palindrome/problems/valid-palindromeN43.7%Easy1.67016%;
86
127Word Ladder/problems/word-ladderN36.7%Hard2.11139%;
87
128Longest Consecutive Sequence/problems/longest-consecutive-sequenceN48.9%Medium25.0534%;
88
130Surrounded Regions/problems/surrounded-regionsN36.1%Medium4.71921%;
89
131Palindrome Partitioning/problems/palindrome-partitioningN62.5%Medium2.29584%;
90
134Gas Station/problems/gas-stationN45.1%Medium2.44256%;
91
135Candy/problems/candyN40.8%Hard27.5703%;
92
136Single Number/problems/single-numberN70.1%Easy1.07571%;
93
137Single Number II/problems/single-number-iiN57.9%Medium3.36066%;
94
139Word Break/problems/word-breakN45.5%Medium4.28208%;
95
143Reorder List/problems/reorder-listN51.2%Medium3.48299%;
96
146LRU Cache/problems/lru-cacheN40.5%Medium24.5937%;
97
149Max Points on a Line/problems/max-points-on-a-lineN21.8%Hard4.83103%;
98
150Evaluate Reverse Polish Notation/problems/evaluate-reverse-polish-notationN44.1%Medium27.5369%;
99
151Reverse Words in a String/problems/reverse-words-in-a-stringN31.8%Medium1.21147%;
100
152Maximum Product Subarray/problems/maximum-product-subarrayN34.9%Medium2.00778%;
101
154Find Minimum in Rotated Sorted Array II/problems/find-minimum-in-rotated-sorted-array-iiN43.4%Hard8.34194%;
102
162Find Peak Element/problems/find-peak-elementN46.2%Medium8.85613%;
103
169Majority Element/problems/majority-elementN63.9%Easy3.50834%;
104
173Binary Search Tree Iterator/problems/binary-search-tree-iteratorN69.2%Medium10.3125%;
105
175Combine Two Tables/problems/combine-two-tablesN73.1%Easy1.05635%;
106
176Second Highest Salary/problems/second-highest-salaryN36.6%Medium1.36031%;
107
181Employees Earning More Than Their Managers/problems/employees-earning-more-than-their-managersN68.6%Easy1.91001%;
108
188Best Time to Buy and Sell Stock IV/problems/best-time-to-buy-and-sell-stock-ivN38.0%Hard14.0183%;
109
190Reverse Bits/problems/reverse-bitsN52.4%Easy1.85117%;
110
193Valid Phone Numbers/problems/valid-phone-numbersN26.0%Easy11.1879%;
111
198House Robber/problems/house-robberN48.8%Medium5.45705%;
112
200Number of Islands/problems/number-of-islandsN56.4%Medium36.4491%;
113
202Happy Number/problems/happy-numberN54.4%Easy4.779%;
114
203Remove Linked List Elements/problems/remove-linked-list-elementsN44.9%Easy2.26763%;
115
205Isomorphic Strings/problems/isomorphic-stringsN42.6%Easy4.37451%;
116
206Reverse Linked List/problems/reverse-linked-listN72.5%Easy0.294422%;
117
207Course Schedule/problems/course-scheduleN45.4%Medium11.0656%;
118
208Implement Trie (Prefix Tree)/problems/implement-trie-prefix-treeN61.0%Medium6.29315%;
119
210Course Schedule II/problems/course-schedule-iiN48.0%Medium28.6869%;
120
211Design Add and Search Words Data Structure/problems/design-add-and-search-words-data-structureN43.0%Medium13.9054%;
121
212Word Search II/problems/word-search-iiN36.9%Hard8.23628%;
122
213House Robber II/problems/house-robber-iiN40.7%Medium8.38084%;
123
215Kth Largest Element in an Array/problems/kth-largest-element-in-an-arrayN65.8%Medium0.996325%;
124
217Contains Duplicate/problems/contains-duplicateN61.3%Easy3.1631%;
125
219Contains Duplicate II/problems/contains-duplicate-iiN42.3%Easy1.61023%;
126
224Basic Calculator/problems/basic-calculatorN41.2%Hard18.0101%;
127
226Invert Binary Tree/problems/invert-binary-treeN73.3%Easy0.634364%;
128
229Majority Element II/problems/majority-element-iiN44.2%Medium2.46403%;
129
231Power of Two/problems/power-of-twoN45.7%Easy1.15335%;
130
234Palindrome Linked List/problems/palindrome-linked-listN49.6%Easy1.38697%;
131
236Lowest Common Ancestor of a Binary Tree/problems/lowest-common-ancestor-of-a-binary-treeN58.1%Medium1.3408%;
132
237Delete Node in a Linked List/problems/delete-node-in-a-linked-listN75.3%Medium1.51185%;
133
238Product of Array Except Self/problems/product-of-array-except-selfN64.7%Medium0.620338%;
134
239Sliding Window Maximum/problems/sliding-window-maximumN46.6%Hard22.4669%;
135
242Valid Anagram/problems/valid-anagramN62.8%Easy0.867297%;
136
252Meeting Rooms/problems/meeting-roomsY57.1%Easy32.712%;
137
253Meeting Rooms II/problems/meeting-rooms-iiY50.5%Medium50.7493%;
138
261Graph Valid Tree/problems/graph-valid-treeY46.9%Medium8.37933%;
139
268Missing Number/problems/missing-numberN61.7%Easy1.54801%;
140
273Integer to English Words/problems/integer-to-english-wordsN29.9%Hard6.52672%;
141
278First Bad Version/problems/first-bad-versionN43.0%Easy13.7415%;
142
282Expression Add Operators/problems/expression-add-operatorsN39.2%Hard44.5673%;
143
283Move Zeroes/problems/move-zeroesN61.4%Easy2.0397%;
144
287Find the Duplicate Number/problems/find-the-duplicate-numberN59.1%Medium0.869687%;
145
295Find Median from Data Stream/problems/find-median-from-data-streamN51.5%Hard15.5257%;
146
297Serialize and Deserialize Binary Tree/problems/serialize-and-deserialize-binary-treeN55.0%Hard12.0062%;
147
299Bulls and Cows/problems/bulls-and-cowsN48.7%Medium24.9903%;
148
300Longest Increasing Subsequence/problems/longest-increasing-subsequenceN51.6%Medium13.9181%;
149
301Remove Invalid Parentheses/problems/remove-invalid-parenthesesN47.1%Hard18.2875%;
150
302Smallest Rectangle Enclosing Black Pixels/problems/smallest-rectangle-enclosing-black-pixelsY58.2%Hard33.8681%;
151
304Range Sum Query 2D - Immutable/problems/range-sum-query-2d-immutableN52.2%Medium5.22255%;
152
306Additive Number/problems/additive-numberN30.9%Medium15.4225%;
153
310Minimum Height Trees/problems/minimum-height-treesN38.5%Medium4.40001%;
154
315Count of Smaller Numbers After Self/problems/count-of-smaller-numbers-after-selfN42.8%Hard20.0453%;
155
316Remove Duplicate Letters/problems/remove-duplicate-lettersN44.6%Medium9.73519%;
156
317Shortest Distance from All Buildings/problems/shortest-distance-from-all-buildingsY42.9%Hard39.79%;
157
322Coin Change/problems/coin-changeN41.6%Medium2.82175%;
158
323Number of Connected Components in an Undirected Graph/problems/number-of-connected-components-in-an-undirected-graphY62.1%Medium8.37933%;
159
326Power of Three/problems/power-of-threeN45.2%Easy1.57113%;
160
328Odd Even Linked List/problems/odd-even-linked-listN60.3%Medium4.63797%;
161
329Longest Increasing Path in a Matrix/problems/longest-increasing-path-in-a-matrixN52.2%Hard51.6937%;
162
332Reconstruct Itinerary/problems/reconstruct-itineraryN41.0%Hard18.1361%;
163
334Increasing Triplet Subsequence/problems/increasing-triplet-subsequenceN42.7%Medium17.0065%;
164
336Palindrome Pairs/problems/palindrome-pairsN35.2%Hard7.14118%;
165
337House Robber III/problems/house-robber-iiiN53.9%Medium5.49687%;
166
340Longest Substring with At Most K Distinct Characters/problems/longest-substring-with-at-most-k-distinct-charactersY47.8%Medium8.4456%;
167
341Flatten Nested List Iterator/problems/flatten-nested-list-iteratorN61.6%Medium19.6032%;
168
343Integer Break/problems/integer-breakN55.4%Medium6.37721%;
169
344Reverse String/problems/reverse-stringN76.2%Easy0.551991%;
170
346Moving Average from Data Stream/problems/moving-average-from-data-streamY77.1%Easy8.11566%;
171
347Top K Frequent Elements/problems/top-k-frequent-elementsN64.8%Medium4.52929%;
172
349Intersection of Two Arrays/problems/intersection-of-two-arraysN70.3%Easy3.35321%;
173
353Design Snake Game/problems/design-snake-gameY39.1%Medium23.1186%;
174
354Russian Doll Envelopes/problems/russian-doll-envelopesN38.3%Hard24.0566%;
175
359Logger Rate Limiter/problems/logger-rate-limiterY75.5%Easy89.1067%;
176
362Design Hit Counter/problems/design-hit-counterY68.4%Medium14.4703%;
177
365Water and Jug Problem/problems/water-and-jug-problemN36.7%Medium11.5012%;
178
366Find Leaves of Binary Tree/problems/find-leaves-of-binary-treeY80.1%Medium94.5424%;
179
373Find K Pairs with Smallest Sums/problems/find-k-pairs-with-smallest-sumsN38.3%Medium13.4079%;
180
377Combination Sum IV/problems/combination-sum-ivN52.1%Medium4.49433%;
181
379Design Phone Directory/problems/design-phone-directoryY51.0%Medium23.8443%;
182
380Insert Delete GetRandom O(1)/problems/insert-delete-getrandom-o1N52.0%Medium12.0344%;
183
383Ransom Note/problems/ransom-noteN57.6%Easy0.894648%;
184
384Shuffle an Array/problems/shuffle-an-arrayN57.7%Medium11.1374%;
185
388Longest Absolute File Path/problems/longest-absolute-file-pathN46.5%Medium25.1732%;
186
392Is Subsequence/problems/is-subsequenceN49.0%Easy2.37528%;
187
393UTF-8 Validation/problems/utf-8-validationN45.2%Medium36.1453%;
188
394Decode String/problems/decode-stringN57.6%Medium47.2787%;
189
395Longest Substring with At Least K Repeating Characters/problems/longest-substring-with-at-least-k-repeating-charactersN44.8%Medium5.28852%;
190
399Evaluate Division/problems/evaluate-divisionN59.6%Medium5.76183%;
191
400Nth Digit/problems/nth-digitN34.1%Medium16.7075%;
192
403Frog Jump/problems/frog-jumpN43.1%Hard10.3448%;
193
410Split Array Largest Sum/problems/split-array-largest-sumN53.3%Hard16.9739%;
194
412Fizz Buzz/problems/fizz-buzzN68.9%Easy7.60262%;
195
413Arithmetic Slices/problems/arithmetic-slicesN65.1%Medium7.52828%;
196
417Pacific Atlantic Water Flow/problems/pacific-atlantic-water-flowN54.0%Medium14.7638%;
197
418Sentence Screen Fitting/problems/sentence-screen-fittingY35.6%Medium58.1446%;
198
419Battleships in a Board/problems/battleships-in-a-boardN74.7%Medium51.2423%;
199
420Strong Password Checker/problems/strong-password-checkerN14.3%Hard17.7415%;
200
424Longest Repeating Character Replacement/problems/longest-repeating-character-replacementN51.5%Medium4.49433%;
201
438Find All Anagrams in a String/problems/find-all-anagrams-in-a-stringN49.0%Medium1.65131%;
202
442Find All Duplicates in an Array/problems/find-all-duplicates-in-an-arrayN73.4%Medium2.33407%;