Microsoft
Notice
We've improved our algorithm that calculates company tags and their frequencies to be more accurate
and current.
This page updates weekly on Saturday.
You can filter the results by different time periods.
You have solved 0 / 393 problems.
Show problem tags Select time period: All time
# Title Acceptance Difficulty Frequency
138 Copy List with Random Pointer (/problems/copy-list- 30.6% Medium
with-random-pointer)
151 Reverse Words in a String (/problems/reverse-words- 18.6% Medium
in-a-string)
1 Two Sum (/problems/two-sum) 44.8% Easy
54 Spiral Matrix (/problems/spiral-matrix) 32.1% Medium
146 LRU Cache (/problems/lru-cache) 28.6% Medium
88 Merge Sorted Array (/problems/merge-sorted-array) 37.4% Easy
273 Integer to English Words (/problems/integer-to-english- 25.4% Hard
words)
8 String to Integer (atoi) (/problems/string-to-integer-atoi) 14.9% Medium
402 Remove K Digits (/problems/remove-k-digits) 27.2% Medium
206 Reverse Linked List (/problems/reverse-linked-list) 58.1% Easy
103 Binary Tree Zigzag Level Order Traversal 44.2% Medium
(/problems/binary-tree-zigzag-level-order-traversal)
165 Compare Version Numbers (/problems/compare- 25.3% Medium
version-numbers)
2 Add Two Numbers (/problems/add-two-numbers) 32.3% Medium
# Title Acceptance Difficulty Frequency
186 Reverse Words in a String II (/problems/reverse-words- 40.3% Medium
in-a-string-ii)
277 Find the Celebrity (/problems/find-the-celebrity) 39.1% Medium
42 Trapping Rain Water (/problems/trapping-rain-water) 45.8% Hard
5 Longest Palindromic Substring (/problems/longest- 28.3% Medium
palindromic-substring)
17 Letter Combinations of a Phone Number 43.8% Medium
(/problems/letter-combinations-of-a-phone-number)
33 Search in Rotated Sorted Array (/problems/search-in- 33.4% Medium
rotated-sorted-array)
10 Regular Expression Matching (/problems/regular- 25.9% Hard
expression-matching)
253 Meeting Rooms II (/problems/meeting-rooms-ii) 44.1% Medium
21 Merge Two Sorted Lists (/problems/merge-two-sorted- 50.1% Easy
lists)
445 Add Two Numbers II (/problems/add-two-numbers-ii) 52.0% Medium
348 Design Tic-Tac-Toe (/problems/design-tic-tac-toe) 51.8% Medium
236 Lowest Common Ancestor of a Binary Tree 41.1% Medium
(/problems/lowest-common-ancestor-of-a-binary-tree)
53 Maximum Subarray (/problems/maximum-subarray) 45.1% Easy
4 Median of Two Sorted Arrays (/problems/median-of- 27.8% Hard
two-sorted-arrays)
218 The Skyline Problem (/problems/the-skyline-problem) 32.9% Hard
116 Populating Next Right Pointers in Each Node 40.4% Medium
(/problems/populating-next-right-pointers-in-each-
node)
200 Number of Islands (/problems/number-of-islands) 43.8% Medium
25 Reverse Nodes in k-Group (/problems/reverse-nodes- 38.7% Hard
in-k-group)
168 Excel Sheet Column Title (/problems/excel-sheet- 29.9% Easy
column-title)
# Title Acceptance Difficulty Frequency
722 Remove Comments (/problems/remove-comments) 32.5% Medium
75 Sort Colors (/problems/sort-colors) 43.9% Medium
171 Excel Sheet Column Number (/problems/excel-sheet- 52.8% Easy
column-number)
557 Reverse Words in a String III (/problems/reverse-words- 66.4% Easy
in-a-string-iii)
73 Set Matrix Zeroes (/problems/set-matrix-zeroes) 41.4% Medium
105 Construct Binary Tree from Preorder and Inorder 44.3% Medium
Traversal (/problems/construct-binary-tree-from-
preorder-and-inorder-traversal)
223 Rectangle Area (/problems/rectangle-area) 36.7% Medium
297 Serialize and Deserialize Binary Tree 43.9% Hard
(/problems/serialize-and-deserialize-binary-tree)
48 Rotate Image (/problems/rotate-image) 51.9% Medium
20 Valid Parentheses (/problems/valid-parentheses) 37.6% Easy
240 Search a 2D Matrix II (/problems/search-a-2d-matrix-ii) 41.9% Medium
24 Swap Nodes in Pairs (/problems/swap-nodes-in-pairs) 47.2% Medium
235 Lowest Common Ancestor of a Binary Search Tree 47.1% Easy
(/problems/lowest-common-ancestor-of-a-binary-
search-tree)
13 Roman to Integer (/problems/roman-to-integer) 53.8% Easy
121 Best Time to Buy and Sell Stock (/problems/best-time- 48.8% Easy
to-buy-and-sell-stock)
72 Edit Distance (/problems/edit-distance) 40.3% Hard
419 Battleships in a Board (/problems/battleships-in-a- 67.2% Medium
board)
44 Wildcard Matching (/problems/wildcard-matching) 23.7% Hard
23 Merge k Sorted Lists (/problems/merge-k-sorted-lists) 37.1% Hard
344 Reverse String (/problems/reverse-string) 64.8% Easy
# Title Acceptance Difficulty Frequency
98 Validate Binary Search Tree (/problems/validate-binary- 26.7% Medium
search-tree)
141 Linked List Cycle (/problems/linked-list-cycle) 38.8% Easy
174 Dungeon Game (/problems/dungeon-game) 28.4% Hard
117 Populating Next Right Pointers in Each Node II 36.3% Medium
(/problems/populating-next-right-pointers-in-each-
node-ii)
535 Encode and Decode TinyURL (/problems/encode-and- 78.2% Medium
decode-tinyurl)
160 Intersection of Two Linked Lists 36.6% Easy
(/problems/intersection-of-two-linked-lists)
43 Multiply Strings (/problems/multiply-strings) 32.1% Medium
153 Find Minimum in Rotated Sorted Array (/problems/find- 43.9% Medium
minimum-in-rotated-sorted-array)
224 Basic Calculator (/problems/basic-calculator) 34.7% Hard
51 N-Queens (/problems/n-queens) 42.5% Hard
12 Integer to Roman (/problems/integer-to-roman) 52.8% Medium
134 Gas Station (/problems/gas-station) 35.7% Medium
140 Word Break II (/problems/word-break-ii) 28.9% Hard
285 Inorder Successor in BST (/problems/inorder- 37.2% Medium
successor-in-bst)
61 Rotate List (/problems/rotate-list) 28.4% Medium
143 Reorder List (/problems/reorder-list) 33.2% Medium
49 Group Anagrams (/problems/group-anagrams) 50.9% Medium
208 Implement Trie (Prefix Tree) (/problems/implement-trie- 42.2% Medium
prefix-tree)
564 Find the Closest Palindrome (/problems/find-the- 19.2% Hard
closest-palindrome)
450 Delete Node in a BST (/problems/delete-node-in-a-bst) 41.1% Medium
# Title Acceptance Difficulty Frequency
22 Generate Parentheses (/problems/generate- 58.3% Medium
parentheses)
229 Majority Element II (/problems/majority-element-ii) 33.6% Medium
15 3Sum (/problems/3sum) 25.3% Medium
443 String Compression (/problems/string-compression) 39.0% Easy
384 Shuffle an Array (/problems/shuffle-an-array) 51.3% Medium
232 Implement Queue using Stacks (/problems/implement- 45.9% Easy
queue-using-stacks)
36 Valid Sudoku (/problems/valid-sudoku) 45.6% Medium
37 Sudoku Solver (/problems/sudoku-solver) 39.7% Hard
71 Simplify Path (/problems/simplify-path) 30.3% Medium
3 Longest Substring Without Repeating Characters 29.2% Medium
(/problems/longest-substring-without-repeating-
characters)
173 Binary Search Tree Iterator (/problems/binary-search- 51.8% Medium
tree-iterator)
76 Minimum Window Substring (/problems/minimum- 32.6% Hard
window-substring)
155 Min Stack (/problems/min-stack) 39.8% Easy
295 Find Median from Data Stream (/problems/find- 39.8% Hard
median-from-data-stream)
142 Linked List Cycle II (/problems/linked-list-cycle-ii) 34.3% Medium
636 Exclusive Time of Functions (/problems/exclusive-time- 50.1% Medium
of-functions)
56 Merge Intervals (/problems/merge-intervals) 37.3% Medium
287 Find the Duplicate Number (/problems/find-the- 51.7% Medium
duplicate-number)
328 Odd Even Linked List (/problems/odd-even-linked-list) 51.1% Medium
428 Serialize and Deserialize N-ary Tree 56.4% Hard
(/problems/serialize-and-deserialize-n-ary-tree)
# Title Acceptance Difficulty Frequency
139 Word Break (/problems/word-break) 37.4% Medium
79 Word Search (/problems/word-search) 33.0% Medium
794 Valid Tic-Tac-Toe State (/problems/valid-tic-tac-toe- 31.7% Medium
state)
234 Palindrome Linked List (/problems/palindrome-linked- 37.4% Easy
list)
102 Binary Tree Level Order Traversal (/problems/binary- 51.0% Medium
tree-level-order-traversal)
836 Rectangle Overlap (/problems/rectangle-overlap) 47.8% Easy
706 Design HashMap (/problems/design-hashmap) 57.9% Easy
238 Product of Array Except Self (/problems/product-of- 57.5% Medium
array-except-self)
212 Word Search II (/problems/word-search-ii) 31.0% Hard
322 Coin Change (/problems/coin-change) 32.6% Medium
227 Basic Calculator II (/problems/basic-calculator-ii) 35.2% Medium
237 Delete Node in a Linked List (/problems/delete-node- 56.7% Easy
in-a-linked-list)
346 Moving Average from Data Stream (/problems/moving- 68.2% Easy
average-from-data-stream)
31 Next Permutation (/problems/next-permutation) 31.4% Medium
59 Spiral Matrix II (/problems/spiral-matrix-ii) 50.0% Medium
99 Recover Binary Search Tree (/problems/recover-binary- 36.5% Hard
search-tree)
268 Missing Number (/problems/missing-number) 49.6% Easy
283 Move Zeroes (/problems/move-zeroes) 55.7% Easy
135 Candy (/problems/candy) 29.8% Hard
46 Permutations (/problems/permutations) 58.7% Medium
74 Search a 2D Matrix (/problems/search-a-2d-matrix) 35.5% Medium
# Title Acceptance Difficulty Frequency
225 Implement Stack using Queues (/problems/implement- 41.7% Easy
stack-using-queues)
149 Max Points on a Line (/problems/max-points-on-a-line) 16.3% Hard
204 Count Primes (/problems/count-primes) 30.2% Easy
92 Reverse Linked List II (/problems/reverse-linked-list-ii) 36.6% Medium
239 Sliding Window Maximum (/problems/sliding-window- 40.1% Hard
maximum)
133 Clone Graph (/problems/clone-graph) 29.9% Medium
189 Rotate Array (/problems/rotate-array) 32.2% Easy
19 Remove Nth Node From End of List 34.6% Medium
(/problems/remove-nth-node-from-end-of-list)
106 Construct Binary Tree from Inorder and Postorder 42.0% Medium
Traversal (/problems/construct-binary-tree-from-
inorder-and-postorder-traversal)
127 Word Ladder (/problems/word-ladder) 26.5% Medium
50 Pow(x, n) (/problems/powx-n) 28.8% Medium
545 Boundary of Binary Tree (/problems/boundary-of- 37.0% Medium
binary-tree)
191 Number of 1 Bits (/problems/number-of-1-bits) 45.7% Easy
449 Serialize and Deserialize BST (/problems/serialize-and- 49.6% Medium
deserialize-bst)
215 Kth Largest Element in an Array (/problems/kth-largest- 51.0% Medium
element-in-an-array)
93 Restore IP Addresses (/problems/restore-ip-addresses) 33.0% Medium
651 4 Keys Keyboard (/problems/4-keys-keyboard) 51.5% Medium
94 Binary Tree Inorder Traversal (/problems/binary-tree- 59.6% Medium
inorder-traversal)
26 Remove Duplicates from Sorted Array 42.6% Easy
(/problems/remove-duplicates-from-sorted-array)
84 Largest Rectangle in Histogram (/problems/largest- 32.8% Hard
rectangle-in-histogram)
# Title Acceptance Difficulty Frequency
123 Best Time to Buy and Sell Stock III (/problems/best- 35.4% Hard
time-to-buy-and-sell-stock-iii)
114 Flatten Binary Tree to Linked List (/problems/flatten- 45.2% Medium
binary-tree-to-linked-list)
242 Valid Anagram (/problems/valid-anagram) 54.3% Easy
148 Sort List (/problems/sort-list) 38.3% Medium
78 Subsets (/problems/subsets) 56.4% Medium
457 Circular Array Loop (/problems/circular-array-loop) 28.2% Medium
252 Meeting Rooms (/problems/meeting-rooms) 53.3% Easy
70 Climbing Stairs (/problems/climbing-stairs) 45.5% Easy
591 Tag Validator (/problems/tag-validator) 33.4% Hard
669 Trim a Binary Search Tree (/problems/trim-a-binary- 61.3% Easy
search-tree)
529 Minesweeper (/problems/minesweeper) 55.6% Medium
68 Text Justification (/problems/text-justification) 25.0% Hard
289 Game of Life (/problems/game-of-life) 49.5% Medium
11 Container With Most Water (/problems/container-with- 47.8% Medium
most-water)
378 Kth Smallest Element in a Sorted Matrix 51.4% Medium
(/problems/kth-smallest-element-in-a-sorted-matrix)
347 Top K Frequent Elements (/problems/top-k-frequent- 57.6% Medium
elements)
110 Balanced Binary Tree (/problems/balanced-binary-tree) 42.1% Easy
85 Maximal Rectangle (/problems/maximal-rectangle) 35.2% Hard
9 Palindrome Number (/problems/palindrome-number) 45.7% Easy
468 Validate IP Address (/problems/validate-ip-address) 21.9% Medium
7 Reverse Integer (/problems/reverse-integer) 25.6% Easy
128 Longest Consecutive Sequence (/problems/longest- 43.2% Hard
consecutive-sequence)
# Title Acceptance Difficulty Frequency
86 Partition List (/problems/partition-list) 39.0% Medium
493 Reverse Pairs (/problems/reverse-pairs) 24.0% Hard
407 Trapping Rain Water II (/problems/trapping-rain-water- 40.3% Hard
ii)
81 Search in Rotated Sorted Array II (/problems/search-in- 32.8% Medium
rotated-sorted-array-ii)
179 Largest Number (/problems/largest-number) 26.9% Medium
316 Remove Duplicate Letters (/problems/remove- 33.8% Hard
duplicate-letters)
28 Implement strStr() (/problems/implement-strstr) 33.3% Easy
126 Word Ladder II (/problems/word-ladder-ii) 19.6% Hard
91 Decode Ways (/problems/decode-ways) 23.2% Medium
415 Add Strings (/problems/add-strings) 45.3% Easy
38 Count and Say (/problems/count-and-say) 42.3% Easy
125 Valid Palindrome (/problems/valid-palindrome) 33.2% Easy
642 Design Search Autocomplete System 41.3% Hard
(/problems/design-search-autocomplete-system)
69 Sqrt(x) (/problems/sqrtx) 32.5% Easy
679 24 Game (/problems/24-game) 44.3% Hard
62 Unique Paths (/problems/unique-paths) 50.2% Medium
29 Divide Two Integers (/problems/divide-two-integers) 16.2% Medium
161 One Edit Distance (/problems/one-edit-distance) 32.1% Medium
490 The Maze (/problems/the-maze) 49.4% Medium
412 Fizz Buzz (/problems/fizz-buzz) 60.5% Easy
118 Pascal's Triangle (/problems/pascals-triangle) 48.9% Easy
41 First Missing Positive (/problems/first-missing-positive) 30.2% Hard
64 Minimum Path Sum (/problems/minimum-path-sum) 49.6% Medium
# Title Acceptance Difficulty Frequency
152 Maximum Product Subarray (/problems/maximum- 30.4% Medium
product-subarray)
362 Design Hit Counter (/problems/design-hit-counter) 61.2% Medium
228 Summary Ranges (/problems/summary-ranges) 37.4% Medium
124 Binary Tree Maximum Path Sum (/problems/binary- 31.7% Hard
tree-maximum-path-sum)
560 Subarray Sum Equals K (/problems/subarray-sum- 43.2% Medium
equals-k)
39 Combination Sum (/problems/combination-sum) 51.9% Medium
32 Longest Valid Parentheses (/problems/longest-valid- 26.8% Hard
parentheses)
269 Alien Dictionary (/problems/alien-dictionary) 33.3% Hard
280 Wiggle Sort (/problems/wiggle-sort) 62.1% Medium
380 Insert Delete GetRandom O(1) (/problems/insert- 44.5% Medium
delete-getrandom-o1)
623 Add One Row to Tree (/problems/add-one-row-to-tree) 48.0% Medium
652 Find Duplicate Subtrees (/problems/find-duplicate- 47.8% Medium
subtrees)
230 Kth Smallest Element in a BST (/problems/kth- 54.5% Medium
smallest-element-in-a-bst)
695 Max Area of Island (/problems/max-area-of-island) 59.6% Medium
917 Reverse Only Letters (/problems/reverse-only-letters) 56.6% Easy
286 Walls and Gates (/problems/walls-and-gates) 51.4% Medium
300 Longest Increasing Subsequence (/problems/longest- 41.7% Medium
increasing-subsequence)
162 Find Peak Element (/problems/find-peak-element) 42.2% Medium
167 Two Sum II - Input array is sorted (/problems/two-sum- 51.9% Easy
ii-input-array-is-sorted)
304 Range Sum Query 2D - Immutable (/problems/range- 35.2% Medium
sum-query-2d-immutable)
# Title Acceptance Difficulty Frequency
333 Largest BST Subtree (/problems/largest-bst-subtree) 34.3% Medium
387 First Unique Character in a String (/problems/first- 51.0% Easy
unique-character-in-a-string)
647 Palindromic Substrings (/problems/palindromic- 58.5% Medium
substrings)
688 Knight Probability in Chessboard (/problems/knight- 46.4% Medium
probability-in-chessboard)
314 Binary Tree Vertical Order Traversal (/problems/binary- 42.6% Medium
tree-vertical-order-traversal)
516 Longest Palindromic Subsequence (/problems/longest- 49.4% Medium
palindromic-subsequence)
460 LFU Cache (/problems/lfu-cache) 31.3% Hard
77 Combinations (/problems/combinations) 50.9% Medium
122 Best Time to Buy and Sell Stock II (/problems/best- 53.7% Easy
time-to-buy-and-sell-stock-ii)
394 Decode String (/problems/decode-string) 47.2% Medium
150 Evaluate Reverse Polish Notation (/problems/evaluate- 34.0% Medium
reverse-polish-notation)
101 Symmetric Tree (/problems/symmetric-tree) 45.0% Easy
397 Integer Replacement (/problems/integer-replacement) 32.1% Medium
82 Remove Duplicates from Sorted List II 34.7% Medium
(/problems/remove-duplicates-from-sorted-list-ii)
214 Shortest Palindrome (/problems/shortest-palindrome) 28.5% Hard
172 Factorial Trailing Zeroes (/problems/factorial-trailing- 37.7% Easy
zeroes)
417 Pacific Atlantic Water Flow (/problems/pacific-atlantic- 38.8% Medium
water-flow)
448 Find All Numbers Disappeared in an Array 54.6% Easy
(/problems/find-all-numbers-disappeared-in-an-array)
692 Top K Frequent Words (/problems/top-k-frequent- 48.0% Medium
words)
# Title Acceptance Difficulty Frequency
270 Closest Binary Search Tree Value (/problems/closest- 45.4% Easy
binary-search-tree-value)
805 Split Array With Same Average (/problems/split-array- 25.5% Hard
with-same-average)
210 Course Schedule II (/problems/course-schedule-ii) 37.1% Medium
518 Coin Change 2 (/problems/coin-change-2) 45.1% Medium
107 Binary Tree Level Order Traversal II (/problems/binary- 49.0% Easy
tree-level-order-traversal-ii)
622 Design Circular Queue (/problems/design-circular- 41.4% Medium
queue)
863 All Nodes Distance K in Binary Tree (/problems/all- 51.1% Medium
nodes-distance-k-in-binary-tree)
572 Subtree of Another Tree (/problems/subtree-of-another- 43.0% Easy
tree)
108 Convert Sorted Array to Binary Search Tree 53.8% Easy
(/problems/convert-sorted-array-to-binary-search-tree)
442 Find All Duplicates in an Array (/problems/find-all- 63.0% Medium
duplicates-in-an-array)
729 My Calendar I (/problems/my-calendar-i) 49.3% Medium
112 Path Sum (/problems/path-sum) 39.2% Easy
40 Combination Sum II (/problems/combination-sum-ii) 44.4% Medium
83 Remove Duplicates from Sorted List 43.8% Easy
(/problems/remove-duplicates-from-sorted-list)
628 Maximum Product of Three Numbers 46.7% Easy
(/problems/maximum-product-of-three-numbers)
611 Valid Triangle Number (/problems/valid-triangle- 46.8% Medium
number)
662 Maximum Width of Binary Tree (/problems/maximum- 39.6% Medium
width-of-binary-tree)
935 Knight Dialer (/problems/knight-dialer) 42.9% Medium
354 Russian Doll Envelopes (/problems/russian-doll- 34.7% Hard
envelopes)
# Title Acceptance Difficulty Frequency
416 Partition Equal Subset Sum (/problems/partition-equal- 41.9% Medium
subset-sum)
463 Island Perimeter (/problems/island-perimeter) 62.2% Easy
470 Implement Rand10() Using Rand7() 45.5% Medium
(/problems/implement-rand10-using-rand7)
207 Course Schedule (/problems/course-schedule) 40.0% Medium
231 Power of Two (/problems/power-of-two) 42.6% Easy
45 Jump Game II (/problems/jump-game-ii) 29.2% Hard
95 Unique Binary Search Trees II (/problems/unique- 37.6% Medium
binary-search-trees-ii)
109 Convert Sorted List to Binary Search Tree 43.6% Medium
(/problems/convert-sorted-list-to-binary-search-tree)
733 Flood Fill (/problems/flood-fill) 52.4% Easy
523 Continuous Subarray Sum (/problems/continuous- 24.4% Medium
subarray-sum)
258 Add Digits (/problems/add-digits) 55.1% Easy
543 Diameter of Binary Tree (/problems/diameter-of-binary- 47.8% Easy
tree)
426 Convert Binary Search Tree to Sorted Doubly Linked 55.7% Medium
List (/problems/convert-binary-search-tree-to-sorted-
doubly-linked-list)
63 Unique Paths II (/problems/unique-paths-ii) 33.8% Medium
708 Insert into a Sorted Circular Linked List 31.1% Medium
(/problems/insert-into-a-sorted-circular-linked-list)
969 Pancake Sorting (/problems/pancake-sorting) 63.4% Medium
55 Jump Game (/problems/jump-game) 32.9% Medium
136 Single Number (/problems/single-number) 62.1% Easy
257 Binary Tree Paths (/problems/binary-tree-paths) 48.1% Easy
716 Max Stack (/problems/max-stack) 41.5% Easy
# Title Acceptance Difficulty Frequency
14 Longest Common Prefix (/problems/longest-common- 34.4% Easy
prefix)
582 Kill Process (/problems/kill-process) 58.1% Medium
97 Interleaving String (/problems/interleaving-string) 29.5% Hard
329 Longest Increasing Path in a Matrix 41.5% Hard
(/problems/longest-increasing-path-in-a-matrix)
367 Valid Perfect Square (/problems/valid-perfect-square) 40.6% Easy
216 Combination Sum III (/problems/combination-sum-iii) 53.7% Medium
147 Insertion Sort List (/problems/insertion-sort-list) 38.9% Medium
772 Basic Calculator III (/problems/basic-calculator-iii) 41.0% Hard
57 Insert Interval (/problems/insert-interval) 32.1% Hard
284 Peeking Iterator (/problems/peeking-iterator) 42.5% Medium
724 Find Pivot Index (/problems/find-pivot-index) 42.3% Easy
373 Find K Pairs with Smallest Sums (/problems/find-k- 34.9% Medium
pairs-with-smallest-sums)
784 Letter Case Permutation (/problems/letter-case- 60.3% Easy
permutation)
18 4Sum (/problems/4sum) 31.9% Medium
199 Binary Tree Right Side View (/problems/binary-tree- 50.5% Medium
right-side-view)
958 Check Completeness of a Binary Tree 50.4% Medium
(/problems/check-completeness-of-a-binary-tree)
431 Encode N-ary Tree to Binary Tree (/problems/encode- 67.4% Hard
n-ary-tree-to-binary-tree)
221 Maximal Square (/problems/maximal-square) 34.7% Medium
694 Number of Distinct Islands (/problems/number-of- 53.2% Medium
distinct-islands)
698 Partition to K Equal Sum Subsets (/problems/partition- 44.1% Medium
to-k-equal-sum-subsets)
# Title Acceptance Difficulty Frequency
349 Intersection of Two Arrays (/problems/intersection-of- 58.0% Easy
two-arrays)
430 Flatten a Multilevel Doubly Linked List 46.2% Medium
(/problems/flatten-a-multilevel-doubly-linked-list)
100 Same Tree (/problems/same-tree) 51.3% Easy
266 Palindrome Permutation (/problems/palindrome- 60.8% Easy
permutation)
65 Valid Number (/problems/valid-number) 14.5% Hard
438 Find All Anagrams in a String (/problems/find-all- 39.4% Medium
anagrams-in-a-string)
279 Perfect Squares (/problems/perfect-squares) 43.5% Medium
406 Queue Reconstruction by Height (/problems/queue- 61.7% Medium
reconstruction-by-height)
632 Smallest Range Covering Elements from K Lists 49.9% Hard
(/problems/smallest-range-covering-elements-from-k-
lists)
567 Permutation in String (/problems/permutation-in-string) 39.6% Medium
510 Inorder Successor in BST II (/problems/inorder- 55.8% Medium
successor-in-bst-ii)
209 Minimum Size Subarray Sum (/problems/minimum- 36.0% Medium
size-subarray-sum)
158 Read N Characters Given Read4 II - Call multiple times 29.4% Hard
(/problems/read-n-characters-given-read4-ii-call-
multiple-times)
30 Substring with Concatenation of All Words 24.4% Hard
(/problems/substring-with-concatenation-of-all-words)
365 Water and Jug Problem (/problems/water-and-jug- 29.7% Medium
problem)
190 Reverse Bits (/problems/reverse-bits) 33.8% Easy
340 Longest Substring with At Most K Distinct Characters 41.8% Hard
(/problems/longest-substring-with-at-most-k-distinct-
characters)
# Title Acceptance Difficulty Frequency
568 Maximum Vacation Days (/problems/maximum- 39.0% Hard
vacation-days)
1185 Day of the Week (/problems/day-of-the-week) 64.3% Easy
104 Maximum Depth of Binary Tree (/problems/maximum- 63.0% Easy
depth-of-binary-tree)
528 Random Pick with Weight (/problems/random-pick- 43.3% Medium
with-weight)
67 Add Binary (/problems/add-binary) 41.4% Easy
547 Friend Circles (/problems/friend-circles) 56.0% Medium
671 Second Minimum Node In a Binary Tree 43.1% Easy
(/problems/second-minimum-node-in-a-binary-tree)
612 Shortest Distance in a Plane (/problems/shortest- 56.5% Medium
distance-in-a-plane)
383 Ransom Note (/problems/ransom-note) 51.0% Easy
658 Find K Closest Elements (/problems/find-k-closest- 39.2% Medium
elements)
332 Reconstruct Itinerary (/problems/reconstruct-itinerary) 33.3% Medium
414 Third Maximum Number (/problems/third-maximum- 29.7% Easy
number)
203 Remove Linked List Elements (/problems/remove- 36.7% Easy
linked-list-elements)
341 Flatten Nested List Iterator (/problems/flatten-nested- 50.3% Medium
list-iterator)
220 Contains Duplicate III (/problems/contains-duplicate-iii) 20.3% Medium
843 Guess the Word (/problems/guess-the-word) 45.3% Hard
90 Subsets II (/problems/subsets-ii) 44.4% Medium
245 Shortest Word Distance III (/problems/shortest-word- 54.4% Medium
distance-iii)
202 Happy Number (/problems/happy-number) 47.5% Easy
# Title Acceptance Difficulty Frequency
159 Longest Substring with At Most Two Distinct 48.3% Medium
Characters (/problems/longest-substring-with-at-most-
two-distinct-characters)
905 Sort Array By Parity (/problems/sort-array-by-parity) 73.2% Easy
217 Contains Duplicate (/problems/contains-duplicate) 54.0% Easy
282 Expression Add Operators (/problems/expression-add- 34.2% Hard
operators)
60 Permutation Sequence (/problems/permutation- 34.6% Medium
sequence)
540 Single Element in a Sorted Array (/problems/single- 57.6% Medium
element-in-a-sorted-array)
176 Second Highest Salary (/problems/second-highest- 29.1% Easy
salary)
16 3Sum Closest (/problems/3sum-closest) 45.7% Medium
739 Daily Temperatures (/problems/daily-temperatures) 61.3% Medium
670 Maximum Swap (/problems/maximum-swap) 41.2% Medium
437 Path Sum III (/problems/path-sum-iii) 44.2% Easy
198 House Robber (/problems/house-robber) 41.5% Easy
721 Accounts Merge (/problems/accounts-merge) 44.1% Medium
509 Fibonacci Number (/problems/fibonacci-number) 66.6% Easy
6 ZigZag Conversion (/problems/zigzag-conversion) 34.0% Medium
27 Remove Element (/problems/remove-element) 46.2% Easy
317 Shortest Distance from All Buildings 39.5% Hard
(/problems/shortest-distance-from-all-buildings)
459 Repeated Substring Pattern (/problems/repeated- 40.7% Easy
substring-pattern)
973 K Closest Points to Origin (/problems/k-closest-points- 61.4% Medium
to-origin)
676 Implement Magic Dictionary (/problems/implement- 52.6% Medium
magic-dictionary)
# Title Acceptance Difficulty Frequency
704 Binary Search (/problems/binary-search) 49.9% Easy
852 Peak Index in a Mountain Array (/problems/peak-index- 70.5% Easy
in-a-mountain-array)
768 Max Chunks To Make Sorted II (/problems/max- 47.2% Hard
chunks-to-make-sorted-ii)
243 Shortest Word Distance (/problems/shortest-word- 59.1% Easy
distance)
979 Distribute Coins in Binary Tree (/problems/distribute- 68.0% Medium
coins-in-binary-tree)
427 Construct Quad Tree (/problems/construct-quad-tree) 59.3% Medium
621 Task Scheduler (/problems/task-scheduler) 47.0% Medium
767 Reorganize String (/problems/reorganize-string) 45.1% Medium
111 Minimum Depth of Binary Tree (/problems/minimum- 36.2% Easy
depth-of-binary-tree)
213 House Robber II (/problems/house-robber-ii) 35.7% Medium
129 Sum Root to Leaf Numbers (/problems/sum-root-to- 44.5% Medium
leaf-numbers)
785 Is Graph Bipartite? (/problems/is-graph-bipartite) 45.4% Medium
541 Reverse String II (/problems/reverse-string-ii) 46.7% Easy
472 Concatenated Words (/problems/concatenated-words) 38.6% Hard
759 Employee Free Time (/problems/employee-free-time) 63.4% Hard
494 Target Sum (/problems/target-sum) 46.0% Medium
938 Range Sum of BST (/problems/range-sum-of-bst) 78.5% Easy
819 Most Common Word (/problems/most-common-word) 43.2% Easy
34 Find First and Last Position of Element in Sorted Array 34.6% Medium
(/problems/find-first-and-last-position-of-element-in-
sorted-array)
1239 Maximum Length of a Concatenated String with 41.8% Medium
Unique Characters (/problems/maximum-length-of-a-
concatenated-string-with-unique-characters)
# Title Acceptance Difficulty Frequency
503 Next Greater Element II (/problems/next-greater- 52.9% Medium
element-ii)
575 Distribute Candies (/problems/distribute-candies) 60.3% Easy
680 Valid Palindrome II (/problems/valid-palindrome-ii) 35.4% Easy
290 Word Pattern (/problems/word-pattern) 35.9% Easy
796 Rotate String (/problems/rotate-string) 49.4% Easy
884 Uncommon Words from Two Sentences 61.5% Easy
(/problems/uncommon-words-from-two-sentences)
211 Add and Search Word - Data structure design 32.9% Medium
(/problems/add-and-search-word-data-structure-
design)
977 Squares of a Sorted Array (/problems/squares-of-a- 71.9% Easy
sorted-array)
1143 Longest Common Subsequence (/problems/longest- 57.3% Medium
common-subsequence)
515 Find Largest Value in Each Tree Row (/problems/find- 58.9% Medium
largest-value-in-each-tree-row)
1027 Longest Arithmetic Sequence (/problems/longest- 52.4% Medium
arithmetic-sequence)
701 Insert into a Binary Search Tree (/problems/insert-into- 77.8% Medium
a-binary-search-tree)
787 Cheapest Flights Within K Stops (/problems/cheapest- 36.7% Medium
flights-within-k-stops)
939 Minimum Area Rectangle (/problems/minimum-area- 51.7% Medium
rectangle)
876 Middle of the Linked List (/problems/middle-of-the- 65.5% Easy
linked-list)
47 Permutations II (/problems/permutations-ii) 43.1% Medium
66 Plus One (/problems/plus-one) 41.8% Easy
1122 Relative Sort Array (/problems/relative-sort-array) 66.5% Easy
350 Intersection of Two Arrays II (/problems/intersection-of- 49.7% Easy
two-arrays-ii)
# Title Acceptance Difficulty Frequency
953 Verifying an Alien Dictionary (/problems/verifying-an- 55.3% Easy
alien-dictionary)
650 2 Keys Keyboard (/problems/2-keys-keyboard) 47.5% Medium
452 Minimum Number of Arrows to Burst Balloons 47.6% Medium
(/problems/minimum-number-of-arrows-to-burst-
balloons)
513 Find Bottom Left Tree Value (/problems/find-bottom- 59.8% Medium
left-tree-value)
631 Design Excel Sum Formula (/problems/design-excel- 30.3% Hard
sum-formula)
654 Maximum Binary Tree (/problems/maximum-binary- 77.6% Medium
tree)
672 Bulb Switcher II (/problems/bulb-switcher-ii) 50.2% Medium
871 Minimum Number of Refueling Stops 30.4% Hard
(/problems/minimum-number-of-refueling-stops)
886 Possible Bipartition (/problems/possible-bipartition) 41.7% Medium
901 Online Stock Span (/problems/online-stock-span) 52.1% Medium
972 Equal Rational Numbers (/problems/equal-rational- 40.4% Hard
numbers)
1006 Clumsy Factorial (/problems/clumsy-factorial) 53.4% Medium
1013 Partition Array Into Three Parts With Equal Sum 56.7% Easy
(/problems/partition-array-into-three-parts-with-equal-
sum)
1019 Next Greater Node In Linked List (/problems/next- 56.6% Medium
greater-node-in-linked-list)
1053 Previous Permutation With One Swap 47.1% Medium
(/problems/previous-permutation-with-one-swap)
1198 Find Smallest Common Element in All Rows 73.9% Medium
(/problems/find-smallest-common-element-in-all-rows)
1092 Shortest Common Supersequence 49.7% Hard
(/problems/shortest-common-supersequence)
# Title Acceptance Difficulty Frequency
1093 Statistics from a Large Sample (/problems/statistics- 44.9% Medium
from-a-large-sample)
1246 Palindrome Removal (/problems/palindrome-removal) 42.7% Hard
1114 Print in Order (/problems/print-in-order) 60.9% Easy
1131 Maximum of Absolute Value Expression 52.9% Medium
(/problems/maximum-of-absolute-value-expression)
1206 Design Skiplist (/problems/design-skiplist) 59.6% Hard
Copyright © 2019 LeetCode
Help Center (/support/) | Terms (/terms/) | Privacy Policy (/privacy/)
United States (/region/)