Skip to content

Files

Latest commit

7ffa9d0 · Dec 3, 2022

History

History
646 lines (646 loc) · 65.6 KB

File metadata and controls

646 lines (646 loc) · 65.6 KB
1
IDTitleURLIs PremiumAcceptance %DifficultyFrequency %
2
1Two Sum/problems/two-sumN49.1%Easy51.3461%;
3
2Add Two Numbers/problems/add-two-numbersN39.8%Medium29.1345%;
4
3Longest Substring Without Repeating Characters/problems/longest-substring-without-repeating-charactersN33.8%Medium35.6042%;
5
4Median of Two Sorted Arrays/problems/median-of-two-sorted-arraysN35.3%Hard34.9848%;
6
5Longest Palindromic Substring/problems/longest-palindromic-substringN32.4%Medium35.2257%;
7
6Zigzag Conversion/problems/zigzag-conversionN43.2%Medium9.86584%;
8
7Reverse Integer/problems/reverse-integerN27.2%Medium13.4903%;
9
8String to Integer (atoi)/problems/string-to-integer-atoiN16.6%Medium12.1446%;
10
9Palindrome Number/problems/palindrome-numberN52.9%Easy7.96144%;
11
10Regular Expression Matching/problems/regular-expression-matchingN28.2%Hard10.2189%;
12
11Container With Most Water/problems/container-with-most-waterN54.3%Medium22.1736%;
13
12Integer to Roman/problems/integer-to-romanN61.5%Medium49.3056%;
14
13Roman to Integer/problems/roman-to-integerN58.2%Easy34.3407%;
15
14Longest Common Prefix/problems/longest-common-prefixN40.8%Easy21.9424%;
16
153Sum/problems/3sumN32.3%Medium23.5381%;
17
163Sum Closest/problems/3sum-closestN46.1%Medium16.3659%;
18
17Letter Combinations of a Phone Number/problems/letter-combinations-of-a-phone-numberN55.7%Medium49.0148%;
19
184Sum/problems/4sumN36.4%Medium23.8879%;
20
19Remove Nth Node From End of List/problems/remove-nth-node-from-end-of-listN40.0%Medium7.89302%;
21
20Valid Parentheses/problems/valid-parenthesesN40.6%Easy33.3355%;
22
21Merge Two Sorted Lists/problems/merge-two-sorted-listsN61.9%Easy15.4432%;
23
22Generate Parentheses/problems/generate-parenthesesN71.9%Medium32.6884%;
24
23Merge k Sorted Lists/problems/merge-k-sorted-listsN48.5%Hard60.4348%;
25
24Swap Nodes in Pairs/problems/swap-nodes-in-pairsN60.5%Medium4.58918%;
26
25Reverse Nodes in k-Group/problems/reverse-nodes-in-k-groupN53.7%Hard33.8612%;
27
26Remove Duplicates from Sorted Array/problems/remove-duplicates-from-sorted-arrayN50.9%Easy3.1666%;
28
27Remove Element/problems/remove-elementN52.2%Easy0.91574%;
29
28Find the Index of the First Occurrence in a String/problems/find-the-index-of-the-first-occurrence-in-a-stringN37.6%Medium5.46961%;
30
29Divide Two Integers/problems/divide-two-integersN17.3%Medium3.07981%;
31
30Substring with Concatenation of All Words/problems/substring-with-concatenation-of-all-wordsN30.9%Hard3.01616%;
32
31Next Permutation/problems/next-permutationN37.2%Medium27.6129%;
33
32Longest Valid Parentheses/problems/longest-valid-parenthesesN32.7%Hard28.9085%;
34
33Search in Rotated Sorted Array/problems/search-in-rotated-sorted-arrayN38.7%Medium23.6618%;
35
34Find First and Last Position of Element in Sorted Array/problems/find-first-and-last-position-of-element-in-sorted-arrayN41.6%Medium23.5802%;
36
35Search Insert Position/problems/search-insert-positionN42.0%Easy1.86362%;
37
36Valid Sudoku/problems/valid-sudokuN56.9%Medium32.0787%;
38
37Sudoku Solver/problems/sudoku-solverN56.8%Hard11.2049%;
39
38Count and Say/problems/count-and-sayN51.3%Medium16.6455%;
40
39Combination Sum/problems/combination-sumN67.8%Medium11.805%;
41
40Combination Sum II/problems/combination-sum-iiN53.3%Medium4.62977%;
42
41First Missing Positive/problems/first-missing-positiveN36.6%Hard25.4772%;
43
42Trapping Rain Water/problems/trapping-rain-waterN58.8%Hard60.6992%;
44
43Multiply Strings/problems/multiply-stringsN38.8%Medium1.18442%;
45
45Jump Game II/problems/jump-game-iiN38.6%Medium20.6912%;
46
46Permutations/problems/permutationsN74.9%Medium22.0367%;
47
47Permutations II/problems/permutations-iiN56.8%Medium1.8021%;
48
48Rotate Image/problems/rotate-imageN70.1%Medium21.5744%;
49
49Group Anagrams/problems/group-anagramsN66.5%Medium53.9385%;
50
50Pow(x, n)/problems/powx-nN32.8%Medium9.84183%;
51
51N-Queens/problems/n-queensN63.1%Hard19.3825%;
52
53Maximum Subarray/problems/maximum-subarrayN50.1%Medium38.7427%;
53
54Spiral Matrix/problems/spiral-matrixN43.8%Medium14.6616%;
54
55Jump Game/problems/jump-gameN38.5%Medium31.4782%;
55
56Merge Intervals/problems/merge-intervalsN46.0%Medium41.4706%;
56
57Insert Interval/problems/insert-intervalN38.0%Medium2.36219%;
57
58Length of Last Word/problems/length-of-last-wordN40.8%Easy1.146%;
58
59Spiral Matrix II/problems/spiral-matrix-iiN66.7%Medium18.7633%;
59
60Permutation Sequence/problems/permutation-sequenceN43.8%Hard12.4362%;
60
61Rotate List/problems/rotate-listN35.8%Medium6.77752%;
61
62Unique Paths/problems/unique-pathsN62.3%Medium24.1998%;
62
63Unique Paths II/problems/unique-paths-iiN39.1%Medium28.0022%;
63
64Minimum Path Sum/problems/minimum-path-sumN60.7%Medium13.3017%;
64
65Valid Number/problems/valid-numberN18.6%Hard5.22551%;
65
66Plus One/problems/plus-oneN43.4%Easy1.48831%;
66
67Add Binary/problems/add-binaryN51.4%Easy2.95509%;
67
69Sqrt(x)/problems/sqrtxN37.1%Easy1.7813%;
68
70Climbing Stairs/problems/climbing-stairsN51.8%Easy14.596%;
69
71Simplify Path/problems/simplify-pathN39.2%Medium13.2314%;
70
72Edit Distance/problems/edit-distanceN52.7%Hard17.5074%;
71
73Set Matrix Zeroes/problems/set-matrix-zeroesN50.1%Medium16.9228%;
72
74Search a 2D Matrix/problems/search-a-2d-matrixN47.0%Medium25.0299%;
73
75Sort Colors/problems/sort-colorsN57.4%Medium15.6985%;
74
76Minimum Window Substring/problems/minimum-window-substringN40.7%Hard33.5563%;
75
78Subsets/problems/subsetsN74.0%Medium15.2496%;
76
79Word Search/problems/word-searchN39.8%Medium44.6295%;
77
81Search in Rotated Sorted Array II/problems/search-in-rotated-sorted-array-iiN35.8%Medium7.44691%;
78
82Remove Duplicates from Sorted List II/problems/remove-duplicates-from-sorted-list-iiN45.5%Medium4.08027%;
79
83Remove Duplicates from Sorted List/problems/remove-duplicates-from-sorted-listN49.9%Easy1.63519%;
80
84Largest Rectangle in Histogram/problems/largest-rectangle-in-histogramN42.2%Hard34.8942%;
81
85Maximal Rectangle/problems/maximal-rectangleN44.2%Hard18.9959%;
82
88Merge Sorted Array/problems/merge-sorted-arrayN45.8%Easy7.7498%;
83
90Subsets II/problems/subsets-iiN55.4%Medium9.89693%;
84
91Decode Ways/problems/decode-waysN32.3%Medium24.4712%;
85
92Reverse Linked List II/problems/reverse-linked-list-iiN45.4%Medium24.1387%;
86
93Restore IP Addresses/problems/restore-ip-addressesN43.5%Medium18.7251%;
87
94Binary Tree Inorder Traversal/problems/binary-tree-inorder-traversalN73.1%Easy6.36691%;
88
95Unique Binary Search Trees II/problems/unique-binary-search-trees-iiN51.6%Medium3.92098%;
89
97Interleaving String/problems/interleaving-stringN37.1%Medium2.73105%;
90
98Validate Binary Search Tree/problems/validate-binary-search-treeN31.8%Medium22.7734%;
91
99Recover Binary Search Tree/problems/recover-binary-search-treeN50.4%Medium35.4319%;
92
100Same Tree/problems/same-treeN56.4%Easy5.60157%;
93
101Symmetric Tree/problems/symmetric-treeN53.0%Easy8.25677%;
94
102Binary Tree Level Order Traversal/problems/binary-tree-level-order-traversalN63.4%Medium14.2926%;
95
103Binary Tree Zigzag Level Order Traversal/problems/binary-tree-zigzag-level-order-traversalN55.2%Medium45.6783%;
96
104Maximum Depth of Binary Tree/problems/maximum-depth-of-binary-treeN73.2%Easy3.41217%;
97
105Construct Binary Tree from Preorder and Inorder Traversal/problems/construct-binary-tree-from-preorder-and-inorder-traversalN60.8%Medium18.6148%;
98
106Construct Binary Tree from Inorder and Postorder Traversal/problems/construct-binary-tree-from-inorder-and-postorder-traversalN57.5%Medium3.28802%;
99
107Binary Tree Level Order Traversal II/problems/binary-tree-level-order-traversal-iiN60.4%Medium9.3649%;
100
108Convert Sorted Array to Binary Search Tree/problems/convert-sorted-array-to-binary-search-treeN69.1%Easy5.35869%;
101
111Minimum Depth of Binary Tree/problems/minimum-depth-of-binary-treeN43.6%Easy2.68755%;
102
112Path Sum/problems/path-sumN47.7%Easy7.29483%;
103
113Path Sum II/problems/path-sum-iiN56.7%Medium13.4513%;
104
114Flatten Binary Tree to Linked List/problems/flatten-binary-tree-to-linked-listN61.2%Medium28.6009%;
105
116Populating Next Right Pointers in Each Node/problems/populating-next-right-pointers-in-each-nodeN59.5%Medium10.5132%;
106
117Populating Next Right Pointers in Each Node II/problems/populating-next-right-pointers-in-each-node-iiN49.8%Medium10.136%;
107
118Pascal's Triangle/problems/pascals-triangleN69.3%Easy17.5763%;
108
119Pascal's Triangle II/problems/pascals-triangle-iiN59.8%Easy3.35164%;
109
120Triangle/problems/triangleN54.0%Medium15.9416%;
110
121Best Time to Buy and Sell Stock/problems/best-time-to-buy-and-sell-stockN54.4%Easy38.0873%;
111
122Best Time to Buy and Sell Stock II/problems/best-time-to-buy-and-sell-stock-iiN63.4%Medium14.9094%;
112
123Best Time to Buy and Sell Stock III/problems/best-time-to-buy-and-sell-stock-iiiN44.9%Hard21.9623%;
113
124Binary Tree Maximum Path Sum/problems/binary-tree-maximum-path-sumN38.5%Hard10.6127%;
114
125Valid Palindrome/problems/valid-palindromeN43.7%Easy0.355141%;
115
126Word Ladder II/problems/word-ladder-iiN27.6%Hard45.6066%;
116
127Word Ladder/problems/word-ladderN36.7%Hard67.7724%;
117
128Longest Consecutive Sequence/problems/longest-consecutive-sequenceN48.9%Medium23.8238%;
118
129Sum Root to Leaf Numbers/problems/sum-root-to-leaf-numbersN58.8%Medium3.09701%;
119
130Surrounded Regions/problems/surrounded-regionsN36.1%Medium9.20236%;
120
131Palindrome Partitioning/problems/palindrome-partitioningN62.5%Medium12.3657%;
121
132Palindrome Partitioning II/problems/palindrome-partitioning-iiN33.6%Hard4.75731%;
122
133Clone Graph/problems/clone-graphN50.8%Medium7.2969%;
123
134Gas Station/problems/gas-stationN45.1%Medium24.4174%;
124
135Candy/problems/candyN40.8%Hard47.8847%;
125
136Single Number/problems/single-numberN70.1%Easy10.5866%;
126
137Single Number II/problems/single-number-iiN57.9%Medium5.71668%;
127
138Copy List with Random Pointer/problems/copy-list-with-random-pointerN50.6%Medium55.2474%;
128
139Word Break/problems/word-breakN45.5%Medium37.1035%;
129
140Word Break II/problems/word-break-iiN44.6%Hard59.804%;
130
141Linked List Cycle/problems/linked-list-cycleN46.9%Easy5.56001%;
131
142Linked List Cycle II/problems/linked-list-cycle-iiN46.5%Medium6.77774%;
132
143Reorder List/problems/reorder-listN51.2%Medium9.42272%;
133
146LRU Cache/problems/lru-cacheN40.5%Medium83.3923%;
134
148Sort List/problems/sort-listN54.3%Medium5.46359%;
135
149Max Points on a Line/problems/max-points-on-a-lineN21.8%Hard20.8625%;
136
150Evaluate Reverse Polish Notation/problems/evaluate-reverse-polish-notationN44.1%Medium29.22%;
137
151Reverse Words in a String/problems/reverse-words-in-a-stringN31.8%Medium2.17467%;
138
152Maximum Product Subarray/problems/maximum-product-subarrayN34.9%Medium23.4116%;
139
153Find Minimum in Rotated Sorted Array/problems/find-minimum-in-rotated-sorted-arrayN48.5%Medium9.30869%;
140
155Min Stack/problems/min-stackN51.9%Medium23.9141%;
141
159Longest Substring with At Most Two Distinct Characters/problems/longest-substring-with-at-most-two-distinct-charactersY53.5%Medium15.4166%;
142
160Intersection of Two Linked Lists/problems/intersection-of-two-linked-listsN53.4%Easy0.858184%;
143
162Find Peak Element/problems/find-peak-elementN46.2%Medium5.38548%;
144
165Compare Version Numbers/problems/compare-version-numbersN35.4%Medium29.347%;
145
167Two Sum II - Input Array Is Sorted/problems/two-sum-ii-input-array-is-sortedN60.0%Medium16.114%;
146
168Excel Sheet Column Title/problems/excel-sheet-column-titleN34.8%Easy2.5692%;
147
169Majority Element/problems/majority-elementN63.9%Easy9.48009%;
148
173Binary Search Tree Iterator/problems/binary-search-tree-iteratorN69.2%Medium11.9399%;
149
175Combine Two Tables/problems/combine-two-tablesN73.1%Easy3.25329%;
150
176Second Highest Salary/problems/second-highest-salaryN36.6%Medium6.06025%;
151
177Nth Highest Salary/problems/nth-highest-salaryN37.5%Medium12.9019%;
152
178Rank Scores/problems/rank-scoresN60.1%Medium2.7637%;
153
179Largest Number/problems/largest-numberN34.1%Medium11.5127%;
154
180Consecutive Numbers/problems/consecutive-numbersN46.8%Medium6.82667%;
155
181Employees Earning More Than Their Managers/problems/employees-earning-more-than-their-managersN68.6%Easy1.57702%;
156
183Customers Who Never Order/problems/customers-who-never-orderN68.1%Easy0.688879%;
157
184Department Highest Salary/problems/department-highest-salaryN49.7%Medium2.44257%;
158
185Department Top Three Salaries/problems/department-top-three-salariesN50.1%Hard16.4829%;
159
188Best Time to Buy and Sell Stock IV/problems/best-time-to-buy-and-sell-stock-ivN38.0%Hard23.6439%;
160
189Rotate Array/problems/rotate-arrayN39.2%Medium8.55056%;
161
190Reverse Bits/problems/reverse-bitsN52.4%Easy7.88937%;
162
191Number of 1 Bits/problems/number-of-1-bitsN65.0%Easy8.67044%;
163
193Valid Phone Numbers/problems/valid-phone-numbersN26.0%Easy9.23742%;
164
196Delete Duplicate Emails/problems/delete-duplicate-emailsN59.0%Easy4.29197%;
165
197Rising Temperature/problems/rising-temperatureN44.6%Easy3.93585%;
166
198House Robber/problems/house-robberN48.8%Medium33.7973%;
167
199Binary Tree Right Side View/problems/binary-tree-right-side-viewN61.2%Medium24.1406%;
168
200Number of Islands/problems/number-of-islandsN56.4%Medium80.2562%;
169
202Happy Number/problems/happy-numberN54.4%Easy6.49479%;
170
203Remove Linked List Elements/problems/remove-linked-list-elementsN44.9%Easy0.857125%;
171
204Count Primes/problems/count-primesN33.1%Medium4.23389%;
172
205Isomorphic Strings/problems/isomorphic-stringsN42.6%Easy4.7513%;
173
206Reverse Linked List/problems/reverse-linked-listN72.5%Easy7.12827%;
174
207Course Schedule/problems/course-scheduleN45.4%Medium55.8441%;
175
208Implement Trie (Prefix Tree)/problems/implement-trie-prefix-treeN61.0%Medium15.1699%;
176
209Minimum Size Subarray Sum/problems/minimum-size-subarray-sumN44.5%Medium1.13415%;
177
210Course Schedule II/problems/course-schedule-iiN48.0%Medium47.5932%;
178
211Design Add and Search Words Data Structure/problems/design-add-and-search-words-data-structureN43.0%Medium14.8327%;
179
212Word Search II/problems/word-search-iiN36.9%Hard42.8948%;
180
213House Robber II/problems/house-robber-iiN40.7%Medium2.81862%;
181
215Kth Largest Element in an Array/problems/kth-largest-element-in-an-arrayN65.8%Medium29.2225%;
182
217Contains Duplicate/problems/contains-duplicateN61.3%Easy15.6385%;
183
218The Skyline Problem/problems/the-skyline-problemN41.6%Hard6.16011%;
184
219Contains Duplicate II/problems/contains-duplicate-iiN42.3%Easy11.8172%;
185
220Contains Duplicate III/problems/contains-duplicate-iiiN22.0%Hard5.74849%;
186
221Maximal Square/problems/maximal-squareN44.6%Medium15.1382%;
187
222Count Complete Tree Nodes/problems/count-complete-tree-nodesN59.7%Medium3.71078%;
188
224Basic Calculator/problems/basic-calculatorN41.2%Hard32.2893%;
189
226Invert Binary Tree/problems/invert-binary-treeN73.3%Easy8.37921%;
190
227Basic Calculator II/problems/basic-calculator-iiN42.2%Medium46.3177%;
191
230Kth Smallest Element in a BST/problems/kth-smallest-element-in-a-bstN69.4%Medium5.62457%;
192
231Power of Two/problems/power-of-twoN45.7%Easy2.07361%;
193
232Implement Queue using Stacks/problems/implement-queue-using-stacksN61.3%Easy8.74861%;
194
234Palindrome Linked List/problems/palindrome-linked-listN49.6%Easy14.3147%;
195
235Lowest Common Ancestor of a Binary Search Tree/problems/lowest-common-ancestor-of-a-binary-search-treeN60.3%Medium7.82009%;
196
236Lowest Common Ancestor of a Binary Tree/problems/lowest-common-ancestor-of-a-binary-treeN58.1%Medium43.3451%;
197
237Delete Node in a Linked List/problems/delete-node-in-a-linked-listN75.3%Medium11.2657%;
198
238Product of Array Except Self/problems/product-of-array-except-selfN64.7%Medium22.7322%;
199
239Sliding Window Maximum/problems/sliding-window-maximumN46.6%Hard55.9204%;
200
240Search a 2D Matrix II/problems/search-a-2d-matrix-iiN50.6%Medium13.215%;
201
242Valid Anagram/problems/valid-anagramN62.8%Easy22.6983%;
202
243Shortest Word Distance/problems/shortest-word-distanceY64.9%Easy25.7592%;