Amazon
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 109 / 381 problems.
Show problem tags Select time period: 6 months
# Title Acceptance Difficulty Frequency
937 Reorder Data in Log Files (/problems/reorder- 54.1% Easy
data-in-log-files)
1 Two Sum (/problems/two-sum) 44.7% Easy
1192 Critical Connections in a Network 47.9% Hard
(/problems/critical-connections-in-a-network)
200 Number of Islands (/problems/number-of-islands) 43.5% Medium
5 Longest Palindromic Substring 28.2% Medium
(/problems/longest-palindromic-substring)
138 Copy List with Random Pointer (/problems/copy- 30.2% Medium
list-with-random-pointer)
973 K Closest Points to Origin (/problems/k-closest- 61.3% Medium
points-to-origin)
146 LRU Cache (/problems/lru-cache) 28.3% Medium
819 Most Common Word (/problems/most-common- 43.1% Easy
word)
957 Prison Cells After N Days (/problems/prison-cells- 38.3% Medium
after-n-days)
240 Search a 2D Matrix II (/problems/search-a-2d- 41.8% Medium
matrix-ii)
23 Merge k Sorted Lists (/problems/merge-k-sorted- 36.8% Hard
lists)
# Title Acceptance Difficulty Frequency
42 Trapping Rain Water (/problems/trapping-rain- 45.5% Hard
water)
1000 Minimum Cost to Merge Stones 36.7% Hard
(/problems/minimum-cost-to-merge-stones)
472 Concatenated Words (/problems/concatenated- 38.1% Hard
words)
572 Subtree of Another Tree (/problems/subtree-of- 42.8% Easy
another-tree)
21 Merge Two Sorted Lists (/problems/merge-two- 49.8% Easy
sorted-lists)
297 Serialize and Deserialize Binary Tree 43.5% Hard
(/problems/serialize-and-deserialize-binary-tree)
545 Boundary of Binary Tree (/problems/boundary-of- 36.8% Medium
binary-tree)
103 Binary Tree Zigzag Level Order Traversal 43.9% Medium
(/problems/binary-tree-zigzag-level-order-
traversal)
295 Find Median from Data Stream (/problems/find- 39.6% Hard
median-from-data-stream)
127 Word Ladder (/problems/word-ladder) 26.3% Medium
2 Add Two Numbers (/problems/add-two-numbers) 32.2% Medium
253 Meeting Rooms II (/problems/meeting-rooms-ii) 44.0% Medium
126 Word Ladder II (/problems/word-ladder-ii) 19.4% Hard
269 Alien Dictionary (/problems/alien-dictionary) 33.0% Hard
212 Word Search II (/problems/word-search-ii) 30.8% Hard
866 Prime Palindrome (/problems/prime-palindrome) 21.3% Medium
341 Flatten Nested List Iterator (/problems/flatten- 50.1% Medium
nested-list-iterator)
772 Basic Calculator III (/problems/basic-calculator-iii) 41.2% Hard
1044 Longest Duplicate Substring (/problems/longest- 23.6% Hard
duplicate-substring)
# Title Acceptance Difficulty Frequency
239 Sliding Window Maximum (/problems/sliding- 39.9% Hard
window-maximum)
45 Jump Game II (/problems/jump-game-ii) 29.2% Hard
460 LFU Cache (/problems/lfu-cache) 31.0% Hard
207 Course Schedule (/problems/course-schedule) 39.8% Medium
139 Word Break (/problems/word-break) 37.2% Medium
1099 Two Sum Less Than K (/problems/two-sum-less- 60.1% Easy
than-k)
980 Unique Paths III (/problems/unique-paths-iii) 71.5% Hard
770 Basic Calculator IV (/problems/basic-calculator-iv) 45.9% Hard
456 132 Pattern (/problems/132-pattern) 27.7% Medium
273 Integer to English Words (/problems/integer-to- 25.3% Hard
english-words)
1167 Minimum Cost to Connect Sticks 61.1% Medium
(/problems/minimum-cost-to-connect-sticks)
140 Word Break II (/problems/word-break-ii) 28.7% Hard
642 Design Search Autocomplete System 40.9% Hard
(/problems/design-search-autocomplete-system)
353 Design Snake Game (/problems/design-snake- 32.0% Medium
game)
49 Group Anagrams (/problems/group-anagrams) 50.5% Medium
15 3Sum (/problems/3sum) 25.1% Medium
124 Binary Tree Maximum Path Sum 31.5% Hard
(/problems/binary-tree-maximum-path-sum)
692 Top K Frequent Words (/problems/top-k-frequent- 47.8% Medium
words)
675 Cut Off Trees for Golf Event (/problems/cut-off- 32.8% Hard
trees-for-golf-event)
388 Longest Absolute File Path (/problems/longest- 40.2% Medium
absolute-file-path)
909 Snakes and Ladders (/problems/snakes-and- 36.2% Medium
ladders)
# Title Acceptance Difficulty Frequency
20 Valid Parentheses (/problems/valid-parentheses) 37.5% Easy
503 Next Greater Element II (/problems/next-greater- 52.7% Medium
element-ii)
759 Employee Free Time (/problems/employee-free- 63.2% Hard
time)
1091 Shortest Path in Binary Matrix 36.5% Medium
(/problems/shortest-path-in-binary-matrix)
1046 Last Stone Weight (/problems/last-stone-weight) 62.5% Easy
53 Maximum Subarray (/problems/maximum- 45.0% Easy
subarray)
854 K-Similar Strings (/problems/k-similar-strings) 36.0% Hard
348 Design Tic-Tac-Toe (/problems/design-tic-tac-toe) 51.6% Medium
347 Top K Frequent Elements (/problems/top-k- 57.4% Medium
frequent-elements)
206 Reverse Linked List (/problems/reverse-linked-list) 57.8% Easy
380 Insert Delete GetRandom O(1) (/problems/insert- 44.4% Medium
delete-getrandom-o1)
289 Game of Life (/problems/game-of-life) 49.1% Medium
943 Find the Shortest Superstring (/problems/find-the- 40.6% Hard
shortest-superstring)
863 All Nodes Distance K in Binary Tree 50.8% Medium
(/problems/all-nodes-distance-k-in-binary-tree)
994 Rotting Oranges (/problems/rotting-oranges) 46.4% Easy
3 Longest Substring Without Repeating Characters 29.1% Medium
(/problems/longest-substring-without-repeating-
characters)
121 Best Time to Buy and Sell Stock (/problems/best- 48.6% Easy
time-to-buy-and-sell-stock)
165 Compare Version Numbers (/problems/compare- 25.1% Medium
version-numbers)
12 Integer to Roman (/problems/integer-to-roman) 52.6% Medium
1155 Number of Dice Rolls With Target Sum 48.7% Medium
(/problems/number-of-dice-rolls-with-target-sum)
# Title Acceptance Difficulty Frequency
79 Word Search (/problems/word-search) 32.8% Medium
322 Coin Change (/problems/coin-change) 32.4% Medium
997 Find the Town Judge (/problems/find-the-town- 49.3% Easy
judge)
703 Kth Largest Element in a Stream (/problems/kth- 47.4% Easy
largest-element-in-a-stream)
588 Design In-Memory File System (/problems/design- 42.2% Hard
in-memory-file-system)
726 Number of Atoms (/problems/number-of-atoms) 46.1% Hard
17 Letter Combinations of a Phone Number 43.7% Medium
(/problems/letter-combinations-of-a-phone-
number)
653 Two Sum IV - Input is a BST (/problems/two-sum- 53.6% Easy
iv-input-is-a-bst)
33 Search in Rotated Sorted Array 33.3% Medium
(/problems/search-in-rotated-sorted-array)
560 Subarray Sum Equals K (/problems/subarray- 43.1% Medium
sum-equals-k)
1152 Analyze User Website Visit Pattern 39.2% Medium
(/problems/analyze-user-website-visit-pattern)
981 Time Based Key-Value Store (/problems/time- 51.9% Medium
based-key-value-store)
1062 Longest Repeating Substring (/problems/longest- 52.5% Medium
repeating-substring)
505 The Maze II (/problems/the-maze-ii) 45.8% Medium
733 Flood Fill (/problems/flood-fill) 52.2% Easy
4 Median of Two Sorted Arrays (/problems/median- 27.7% Hard
of-two-sorted-arrays)
106 Construct Binary Tree from Inorder and Postorder 41.7% Medium
Traversal (/problems/construct-binary-tree-from-
inorder-and-postorder-traversal)
116 Populating Next Right Pointers in Each Node 40.2% Medium
(/problems/populating-next-right-pointers-in-
each-node)
# Title Acceptance Difficulty Frequency
767 Reorganize String (/problems/reorganize-string) 44.8% Medium
417 Pacific Atlantic Water Flow (/problems/pacific- 38.6% Medium
atlantic-water-flow)
76 Minimum Window Substring 32.4% Hard
(/problems/minimum-window-substring)
496 Next Greater Element I (/problems/next-greater- 61.1% Easy
element-i)
1102 Path With Maximum Minimum Value 46.9% Medium
(/problems/path-with-maximum-minimum-value)
22 Generate Parentheses (/problems/generate- 58.0% Medium
parentheses)
155 Min Stack (/problems/min-stack) 39.5% Easy
695 Max Area of Island (/problems/max-area-of-island) 59.4% Medium
314 Binary Tree Vertical Order Traversal 42.4% Medium
(/problems/binary-tree-vertical-order-traversal)
986 Interval List Intersections (/problems/interval-list- 64.5% Medium
intersections)
340 Longest Substring with At Most K Distinct 41.6% Hard
Characters (/problems/longest-substring-with-at-
most-k-distinct-characters)
1026 Maximum Difference Between Node and Ancestor 61.7% Medium
(/problems/maximum-difference-between-node-
and-ancestor)
983 Minimum Cost For Tickets (/problems/minimum- 57.7% Medium
cost-for-tickets)
109 Convert Sorted List to Binary Search Tree 43.3% Medium
(/problems/convert-sorted-list-to-binary-search-
tree)
238 Product of Array Except Self (/problems/product- 57.3% Medium
of-array-except-self)
556 Next Greater Element III (/problems/next-greater- 30.6% Medium
element-iii)
815 Bus Routes (/problems/bus-routes) 41.2% Hard
# Title Acceptance Difficulty Frequency
317 Shortest Distance from All Buildings 39.4% Hard
(/problems/shortest-distance-from-all-buildings)
1135 Connecting Cities With Minimum Cost 54.4% Medium
(/problems/connecting-cities-with-minimum-cost)
1104 Path In Zigzag Labelled Binary Tree 70.5% Medium
(/problems/path-in-zigzag-labelled-binary-tree)
224 Basic Calculator (/problems/basic-calculator) 34.5% Hard
449 Serialize and Deserialize BST (/problems/serialize- 49.4% Medium
and-deserialize-bst)
74 Search a 2D Matrix (/problems/search-a-2d- 35.5% Medium
matrix)
535 Encode and Decode TinyURL (/problems/encode- 78.1% Medium
and-decode-tinyurl)
30 Substring with Concatenation of All Words 24.4% Hard
(/problems/substring-with-concatenation-of-all-
words)
97 Interleaving String (/problems/interleaving-string) 29.4% Hard
57 Insert Interval (/problems/insert-interval) 32.1% Hard
91 Decode Ways (/problems/decode-ways) 23.2% Medium
763 Partition Labels (/problems/partition-labels) 72.8% Medium
387 First Unique Character in a String (/problems/first- 50.9% Easy
unique-character-in-a-string)
11 Container With Most Water (/problems/container- 47.5% Medium
with-most-water)
134 Gas Station (/problems/gas-station) 35.6% Medium
394 Decode String (/problems/decode-string) 47.1% Medium
150 Evaluate Reverse Polish Notation 33.9% Medium
(/problems/evaluate-reverse-polish-notation)
56 Merge Intervals (/problems/merge-intervals) 37.1% Medium
1086 High Five (/problems/high-five) 75.4% Easy
529 Minesweeper (/problems/minesweeper) 55.3% Medium
# Title Acceptance Difficulty Frequency
215 Kth Largest Element in an Array (/problems/kth- 50.7% Medium
largest-element-in-an-array)
543 Diameter of Binary Tree (/problems/diameter-of- 47.7% Easy
binary-tree)
992 Subarrays with K Different Integers 46.1% Hard
(/problems/subarrays-with-k-different-integers)
542 01 Matrix (/problems/01-matrix) 37.4% Medium
628 Maximum Product of Three Numbers 46.7% Easy
(/problems/maximum-product-of-three-numbers)
323 Number of Connected Components in an 53.3% Medium
Undirected Graph (/problems/number-of-
connected-components-in-an-undirected-graph)
333 Largest BST Subtree (/problems/largest-bst- 34.3% Medium
subtree)
966 Vowel Spellchecker (/problems/vowel- 44.6% Medium
spellchecker)
490 The Maze (/problems/the-maze) 49.3% Medium
315 Count of Smaller Numbers After Self 39.9% Hard
(/problems/count-of-smaller-numbers-after-self)
518 Coin Change 2 (/problems/coin-change-2) 44.9% Medium
716 Max Stack (/problems/max-stack) 41.4% Easy
46 Permutations (/problems/permutations) 58.4% Medium
62 Unique Paths (/problems/unique-paths) 50.0% Medium
634 Find the Derangement of An Array 38.5% Medium
(/problems/find-the-derangement-of-an-array)
516 Longest Palindromic Subsequence 49.2% Medium
(/problems/longest-palindromic-subsequence)
32 Longest Valid Parentheses (/problems/longest- 26.7% Hard
valid-parentheses)
336 Palindrome Pairs (/problems/palindrome-pairs) 32.2% Hard
1010 Pairs of Songs With Total Durations Divisible by 46.5% Easy
60 (/problems/pairs-of-songs-with-total-
durations-divisible-by-60)
# Title Acceptance Difficulty Frequency
540 Single Element in a Sorted Array 57.5% Medium
(/problems/single-element-in-a-sorted-array)
362 Design Hit Counter (/problems/design-hit-counter) 60.9% Medium
622 Design Circular Queue (/problems/design-circular- 41.4% Medium
queue)
739 Daily Temperatures (/problems/daily- 61.1% Medium
temperatures)
538 Convert BST to Greater Tree (/problems/convert- 52.7% Easy
bst-to-greater-tree)
188 Best Time to Buy and Sell Stock IV 27.1% Hard
(/problems/best-time-to-buy-and-sell-stock-iv)
426 Convert Binary Search Tree to Sorted Doubly 55.2% Medium
Linked List (/problems/convert-binary-search-
tree-to-sorted-doubly-linked-list)
321 Create Maximum Number (/problems/create- 26.0% Hard
maximum-number)
39 Combination Sum (/problems/combination-sum) 51.6% Medium
402 Remove K Digits (/problems/remove-k-digits) 27.2% Medium
102 Binary Tree Level Order Traversal 50.8% Medium
(/problems/binary-tree-level-order-traversal)
635 Design Log Storage System (/problems/design- 56.7% Medium
log-storage-system)
732 My Calendar III (/problems/my-calendar-iii) 57.3% Hard
378 Kth Smallest Element in a Sorted Matrix 51.2% Medium
(/problems/kth-smallest-element-in-a-sorted-
matrix)
498 Diagonal Traverse (/problems/diagonal-traverse) 46.2% Medium
1122 Relative Sort Array (/problems/relative-sort-array) 66.5% Easy
123 Best Time to Buy and Sell Stock III 35.3% Hard
(/problems/best-time-to-buy-and-sell-stock-iii)
167 Two Sum II - Input array is sorted (/problems/two- 51.8% Easy
sum-ii-input-array-is-sorted)
6 ZigZag Conversion (/problems/zigzag-conversion) 33.8% Medium
# Title Acceptance Difficulty Frequency
64 Minimum Path Sum (/problems/minimum-path- 49.4% Medium
sum)
794 Valid Tic-Tac-Toe State (/problems/valid-tic-tac- 31.4% Medium
toe-state)
133 Clone Graph (/problems/clone-graph) 29.6% Medium
214 Shortest Palindrome (/problems/shortest- 28.4% Hard
palindrome)
409 Longest Palindrome (/problems/longest- 49.0% Easy
palindrome)
445 Add Two Numbers II (/problems/add-two- 51.8% Medium
numbers-ii)
98 Validate Binary Search Tree (/problems/validate- 26.6% Medium
binary-search-tree)
694 Number of Distinct Islands (/problems/number-of- 53.0% Medium
distinct-islands)
298 Binary Tree Longest Consecutive Sequence 45.2% Medium
(/problems/binary-tree-longest-consecutive-
sequence)
260 Single Number III (/problems/single-number-iii) 58.6% Medium
489 Robot Room Cleaner (/problems/robot-room- 66.9% Hard
cleaner)
236 Lowest Common Ancestor of a Binary Tree 40.7% Medium
(/problems/lowest-common-ancestor-of-a-binary-
tree)
287 Find the Duplicate Number (/problems/find-the- 51.6% Medium
duplicate-number)
719 Find K-th Smallest Pair Distance (/problems/find- 30.2% Hard
k-th-smallest-pair-distance)
13 Roman to Integer (/problems/roman-to-integer) 53.7% Easy
1022 Sum of Root To Leaf Binary Numbers 62.0% Easy
(/problems/sum-of-root-to-leaf-binary-numbers)
346 Moving Average from Data Stream 68.1% Easy
(/problems/moving-average-from-data-stream)
225 Implement Stack using Queues 41.5% Easy
(/problems/implement-stack-using-queues)
# Title Acceptance Difficulty Frequency
1024 Video Stitching (/problems/video-stitching) 47.6% Medium
528 Random Pick with Weight (/problems/random- 43.3% Medium
pick-with-weight)
88 Merge Sorted Array (/problems/merge-sorted- 37.3% Easy
array)
1066 Campus Bikes II (/problems/campus-bikes-ii) 52.6% Medium
199 Binary Tree Right Side View (/problems/binary- 50.3% Medium
tree-right-side-view)
68 Text Justification (/problems/text-justification) 24.9% Hard
169 Majority Element (/problems/majority-element) 54.7% Easy
702 Search in a Sorted Array of Unknown Size 62.5% Medium
(/problems/search-in-a-sorted-array-of-unknown-
size)
10 Regular Expression Matching (/problems/regular- 25.9% Hard
expression-matching)
438 Find All Anagrams in a String (/problems/find-all- 39.1% Medium
anagrams-in-a-string)
1120 Maximum Average Subtree (/problems/maximum- 61.7% Medium
average-subtree)
1074 Number of Submatrices That Sum to Target 59.2% Hard
(/problems/number-of-submatrices-that-sum-to-
target)
1083 Sales Analysis II (/problems/sales-analysis-ii) 51.0% Easy
63 Unique Paths II (/problems/unique-paths-ii) 33.7% Medium
59 Spiral Matrix II (/problems/spiral-matrix-ii) 49.7% Medium
252 Meeting Rooms (/problems/meeting-rooms) 53.3% Easy
300 Longest Increasing Subsequence 41.6% Medium
(/problems/longest-increasing-subsequence)
632 Smallest Range Covering Elements from K Lists 49.7% Hard
(/problems/smallest-range-covering-elements-
from-k-lists)
358 Rearrange String k Distance Apart 33.9% Hard
(/problems/rearrange-string-k-distance-apart)
# Title Acceptance Difficulty Frequency
75 Sort Colors (/problems/sort-colors) 43.7% Medium
164 Maximum Gap (/problems/maximum-gap) 33.7% Hard
117 Populating Next Right Pointers in Each Node II 36.1% Medium
(/problems/populating-next-right-pointers-in-
each-node-ii)
55 Jump Game (/problems/jump-game) 32.8% Medium
227 Basic Calculator II (/problems/basic-calculator-ii) 35.0% Medium
211 Add and Search Word - Data structure design 32.7% Medium
(/problems/add-and-search-word-data-structure-
design)
541 Reverse String II (/problems/reverse-string-ii) 46.5% Easy
31 Next Permutation (/problems/next-permutation) 31.3% Medium
205 Isomorphic Strings (/problems/isomorphic-strings) 38.6% Easy
430 Flatten a Multilevel Doubly Linked List 45.5% Medium
(/problems/flatten-a-multilevel-doubly-linked-list)
636 Exclusive Time of Functions (/problems/exclusive- 50.0% Medium
time-of-functions)
93 Restore IP Addresses (/problems/restore-ip- 32.8% Medium
addresses)
1084 Sales Analysis III (/problems/sales-analysis-iii) 53.3% Easy
50 Pow(x, n) (/problems/powx-n) 28.8% Medium
136 Single Number (/problems/single-number) 61.9% Easy
390 Elimination Game (/problems/elimination-game) 43.9% Medium
185 Department Top Three Salaries 29.3% Hard
(/problems/department-top-three-salaries)
284 Peeking Iterator (/problems/peeking-iterator) 42.4% Medium
787 Cheapest Flights Within K Stops 36.6% Medium
(/problems/cheapest-flights-within-k-stops)
149 Max Points on a Line (/problems/max-points-on- 16.3% Hard
a-line)
99 Recover Binary Search Tree (/problems/recover- 36.2% Hard
binary-search-tree)
37 Sudoku Solver (/problems/sudoku-solver) 39.5% Hard
# Title Acceptance Difficulty Frequency
228 Summary Ranges (/problems/summary-ranges) 37.3% Medium
105 Construct Binary Tree from Preorder and Inorder 44.0% Medium
Traversal (/problems/construct-binary-tree-from-
preorder-and-inorder-traversal)
437 Path Sum III (/problems/path-sum-iii) 44.1% Easy
1038 Binary Search Tree to Greater Sum Tree 78.0% Medium
(/problems/binary-search-tree-to-greater-sum-
tree)
78 Subsets (/problems/subsets) 56.1% Medium
25 Reverse Nodes in k-Group (/problems/reverse- 38.5% Hard
nodes-in-k-group)
688 Knight Probability in Chessboard 46.2% Medium
(/problems/knight-probability-in-chessboard)
18 4Sum (/problems/4sum) 31.8% Medium
85 Maximal Rectangle (/problems/maximal-rectangle) 35.1% Hard
399 Evaluate Division (/problems/evaluate-division) 49.2% Medium
137 Single Number II (/problems/single-number-ii) 47.6% Medium
1032 Stream of Characters (/problems/stream-of- 45.5% Hard
characters)
708 Insert into a Cyclic Sorted List (/problems/insert- 31.1% Medium
into-a-cyclic-sorted-list)
316 Remove Duplicate Letters (/problems/remove- 33.7% Hard
duplicate-letters)
428 Serialize and Deserialize N-ary Tree 56.2% Hard
(/problems/serialize-and-deserialize-n-ary-tree)
40 Combination Sum II (/problems/combination-sum- 44.2% Medium
ii)
83 Remove Duplicates from Sorted List 43.7% Easy
(/problems/remove-duplicates-from-sorted-list)
221 Maximal Square (/problems/maximal-square) 34.5% Medium
706 Design HashMap (/problems/design-hashmap) 57.8% Easy
895 Maximum Frequency Stack (/problems/maximum- 58.4% Hard
frequency-stack)
# Title Acceptance Difficulty Frequency
974 Subarray Sums Divisible by K 47.1% Medium
(/problems/subarray-sums-divisible-by-k)
381 Insert Delete GetRandom O(1) - Duplicates 33.0% Hard
allowed (/problems/insert-delete-getrandom-o1-
duplicates-allowed)
468 Validate IP Address (/problems/validate-ip- 21.9% Medium
address)
54 Spiral Matrix (/problems/spiral-matrix) 31.9% Medium
100 Same Tree (/problems/same-tree) 51.1% Easy
244 Shortest Word Distance II (/problems/shortest- 49.9% Medium
word-distance-ii)
345 Reverse Vowels of a String (/problems/reverse- 42.4% Easy
vowels-of-a-string)
727 Minimum Window Subsequence 39.2% Hard
(/problems/minimum-window-subsequence)
843 Guess the Word (/problems/guess-the-word) 45.2% Hard
24 Swap Nodes in Pairs (/problems/swap-nodes-in- 47.0% Medium
pairs)
384 Shuffle an Array (/problems/shuffle-an-array) 51.2% Medium
1114 Print in Order (/problems/print-in-order) 60.1% Easy
73 Set Matrix Zeroes (/problems/set-matrix-zeroes) 41.3% Medium
567 Permutation in String (/problems/permutation-in- 39.5% Medium
string)
262 Trips and Users (/problems/trips-and-users) 27.5% Hard
48 Rotate Image (/problems/rotate-image) 51.6% Medium
69 Sqrt(x) (/problems/sqrtx) 32.4% Easy
208 Implement Trie (Prefix Tree) 41.8% Medium
(/problems/implement-trie-prefix-tree)
270 Closest Binary Search Tree Value 45.2% Easy
(/problems/closest-binary-search-tree-value)
135 Candy (/problems/candy) 29.7% Hard
442 Find All Duplicates in an Array (/problems/find-all- 62.8% Medium
duplicates-in-an-array)
# Title Acceptance Difficulty Frequency
204 Count Primes (/problems/count-primes) 30.1% Easy
1047 Remove All Adjacent Duplicates In String 65.1% Easy
(/problems/remove-all-adjacent-duplicates-in-
string)
403 Frog Jump (/problems/frog-jump) 37.4% Hard
222 Count Complete Tree Nodes (/problems/count- 38.5% Medium
complete-tree-nodes)
250 Count Univalue Subtrees (/problems/count- 50.5% Medium
univalue-subtrees)
785 Is Graph Bipartite? (/problems/is-graph-bipartite) 45.2% Medium
559 Maximum Depth of N-ary Tree 66.3% Easy
(/problems/maximum-depth-of-n-ary-tree)
1019 Next Greater Node In Linked List (/problems/next- 56.7% Medium
greater-node-in-linked-list)
162 Find Peak Element (/problems/find-peak-element) 42.1% Medium
94 Binary Tree Inorder Traversal (/problems/binary- 59.3% Medium
tree-inorder-traversal)
52 N-Queens II (/problems/n-queens-ii) 54.4% Hard
283 Move Zeroes (/problems/move-zeroes) 55.6% Easy
1094 Car Pooling (/problems/car-pooling) 57.2% Medium
14 Longest Common Prefix (/problems/longest- 34.3% Easy
common-prefix)
1143 Longest Common Subsequence 57.3% Medium
(/problems/longest-common-subsequence)
547 Friend Circles (/problems/friend-circles) 55.8% Medium
210 Course Schedule II (/problems/course-schedule-ii) 37.0% Medium
332 Reconstruct Itinerary (/problems/reconstruct- 33.2% Medium
itinerary)
36 Valid Sudoku (/problems/valid-sudoku) 45.4% Medium
435 Non-overlapping Intervals (/problems/non- 41.9% Medium
overlapping-intervals)
128 Longest Consecutive Sequence 43.1% Hard
(/problems/longest-consecutive-sequence)
# Title Acceptance Difficulty Frequency
261 Graph Valid Tree (/problems/graph-valid-tree) 40.7% Medium
698 Partition to K Equal Sum Subsets 44.0% Medium
(/problems/partition-to-k-equal-sum-subsets)
143 Reorder List (/problems/reorder-list) 33.0% Medium
209 Minimum Size Subarray Sum 35.9% Medium
(/problems/minimum-size-subarray-sum)
234 Palindrome Linked List (/problems/palindrome- 37.3% Easy
linked-list)
92 Reverse Linked List II (/problems/reverse-linked- 36.5% Medium
list-ii)
152 Maximum Product Subarray 30.3% Medium
(/problems/maximum-product-subarray)
153 Find Minimum in Rotated Sorted Array 43.8% Medium
(/problems/find-minimum-in-rotated-sorted-array)
286 Walls and Gates (/problems/walls-and-gates) 51.2% Medium
525 Contiguous Array (/problems/contiguous-array) 44.0% Medium
301 Remove Invalid Parentheses (/problems/remove- 40.9% Hard
invalid-parentheses)
218 The Skyline Problem (/problems/the-skyline- 32.8% Hard
problem)
72 Edit Distance (/problems/edit-distance) 40.1% Hard
647 Palindromic Substrings (/problems/palindromic- 58.4% Medium
substrings)
684 Redundant Connection (/problems/redundant- 54.2% Medium
connection)
312 Burst Balloons (/problems/burst-balloons) 49.0% Hard
938 Range Sum of BST (/problems/range-sum-of-bst) 78.4% Easy
735 Asteroid Collision (/problems/asteroid-collision) 39.3% Medium
429 N-ary Tree Level Order Traversal (/problems/n-ary- 61.1% Medium
tree-level-order-traversal)
791 Custom Sort String (/problems/custom-sort- 63.7% Medium
string)
# Title Acceptance Difficulty Frequency
34 Find First and Last Position of Element in Sorted 34.5% Medium
Array (/problems/find-first-and-last-position-of-
element-in-sorted-array)
350 Intersection of Two Arrays II 49.5% Easy
(/problems/intersection-of-two-arrays-ii)
939 Minimum Area Rectangle (/problems/minimum- 51.6% Medium
area-rectangle)
621 Task Scheduler (/problems/task-scheduler) 46.9% Medium
309 Best Time to Buy and Sell Stock with Cooldown 45.1% Medium
(/problems/best-time-to-buy-and-sell-stock-with-
cooldown)
264 Ugly Number II (/problems/ugly-number-ii) 37.9% Medium
60 Permutation Sequence (/problems/permutation- 34.5% Medium
sequence)
112 Path Sum (/problems/path-sum) 39.1% Easy
113 Path Sum II (/problems/path-sum-ii) 42.9% Medium
993 Cousins in Binary Tree (/problems/cousins-in- 51.8% Easy
binary-tree)
257 Binary Tree Paths (/problems/binary-tree-paths) 47.9% Easy
70 Climbing Stairs (/problems/climbing-stairs) 45.4% Easy
344 Reverse String (/problems/reverse-string) 64.6% Easy
154 Find Minimum in Rotated Sorted Array II 40.0% Hard
(/problems/find-minimum-in-rotated-sorted-array-
ii)
179 Largest Number (/problems/largest-number) 26.9% Medium
41 First Missing Positive (/problems/first-missing- 30.1% Hard
positive)
1161 Maximum Level Sum of a Binary Tree 70.9% Medium
(/problems/maximum-level-sum-of-a-binary-tree)
51 N-Queens (/problems/n-queens) 42.2% Hard
581 Shortest Unsorted Continuous Subarray 30.5% Easy
(/problems/shortest-unsorted-continuous-
subarray)
# Title Acceptance Difficulty Frequency
485 Max Consecutive Ones (/problems/max- 55.8% Easy
consecutive-ones)
86 Partition List (/problems/partition-list) 38.9% Medium
242 Valid Anagram (/problems/valid-anagram) 54.1% Easy
151 Reverse Words in a String (/problems/reverse- 18.4% Medium
words-in-a-string)
141 Linked List Cycle (/problems/linked-list-cycle) 38.7% Easy
977 Squares of a Sorted Array (/problems/squares-of- 71.8% Easy
a-sorted-array)
304 Range Sum Query 2D - Immutable 34.9% Medium
(/problems/range-sum-query-2d-immutable)
166 Fraction to Recurring Decimal (/problems/fraction- 20.3% Medium
to-recurring-decimal)
120 Triangle (/problems/triangle) 41.3% Medium
463 Island Perimeter (/problems/island-perimeter) 62.1% Easy
29 Divide Two Integers (/problems/divide-two- 16.2% Medium
integers)
1057 Campus Bikes (/problems/campus-bikes) 58.2% Medium
329 Longest Increasing Path in a Matrix 41.4% Hard
(/problems/longest-increasing-path-in-a-matrix)
412 Fizz Buzz (/problems/fizz-buzz) 60.4% Easy
129 Sum Root to Leaf Numbers (/problems/sum-root- 44.4% Medium
to-leaf-numbers)
1051 Height Checker (/problems/height-checker) 68.3% Easy
101 Symmetric Tree (/problems/symmetric-tree) 44.9% Easy
443 String Compression (/problems/string- 38.9% Easy
compression)
108 Convert Sorted Array to Binary Search Tree 53.5% Easy
(/problems/convert-sorted-array-to-binary-search-
tree)
171 Excel Sheet Column Number (/problems/excel- 52.6% Easy
sheet-column-number)
148 Sort List (/problems/sort-list) 38.0% Medium
# Title Acceptance Difficulty Frequency
82 Remove Duplicates from Sorted List II 34.5% Medium
(/problems/remove-duplicates-from-sorted-list-ii)
268 Missing Number (/problems/missing-number) 49.5% Easy
84 Largest Rectangle in Histogram 32.7% Hard
(/problems/largest-rectangle-in-histogram)
299 Bulls and Cows (/problems/bulls-and-cows) 40.8% Easy
90 Subsets II (/problems/subsets-ii) 44.3% Medium
44 Wildcard Matching (/problems/wildcard-matching) 23.6% Hard
416 Partition Equal Subset Sum (/problems/partition- 41.7% Medium
equal-subset-sum)
61 Rotate List (/problems/rotate-list) 28.3% Medium
181 Employees Earning More Than Their Managers 51.5% Easy
(/problems/employees-earning-more-than-their-
managers)
7 Reverse Integer (/problems/reverse-integer) 25.5% Easy
9 Palindrome Number (/problems/palindrome- 45.5% Easy
number)
279 Perfect Squares (/problems/perfect-squares) 43.4% Medium
198 House Robber (/problems/house-robber) 41.4% Easy
122 Best Time to Buy and Sell Stock II 53.5% Easy
(/problems/best-time-to-buy-and-sell-stock-ii)
142 Linked List Cycle II (/problems/linked-list-cycle-ii) 34.1% Medium
905 Sort Array By Parity (/problems/sort-array-by- 73.0% Easy
parity)
47 Permutations II (/problems/permutations-ii) 42.9% Medium
217 Contains Duplicate (/problems/contains-duplicate) 53.8% Easy
66 Plus One (/problems/plus-one) 41.7% Easy
28 Implement strStr() (/problems/implement-strstr) 33.2% Easy
1007 Minimum Domino Rotations For Equal Row 51.4% Medium
(/problems/minimum-domino-rotations-for-equal-
row)
8 String to Integer (atoi) (/problems/string-to- 14.8% Medium
integer-atoi)
# Title Acceptance Difficulty Frequency
173 Binary Search Tree Iterator (/problems/binary- 51.5% Medium
search-tree-iterator)
125 Valid Palindrome (/problems/valid-palindrome) 33.0% Easy
145 Binary Tree Postorder Traversal (/problems/binary- 51.0% Hard
tree-postorder-traversal)
176 Second Highest Salary (/problems/second- 28.9% Easy
highest-salary)
235 Lowest Common Ancestor of a Binary Search 46.9% Easy
Tree (/problems/lowest-common-ancestor-of-a-
binary-search-tree)
230 Kth Smallest Element in a BST (/problems/kth- 54.2% Medium
smallest-element-in-a-bst)
118 Pascal's Triangle (/problems/pascals-triangle) 48.7% Easy
144 Binary Tree Preorder Traversal (/problems/binary- 53.1% Medium
tree-preorder-traversal)
67 Add Binary (/problems/add-binary) 41.2% Easy
160 Intersection of Two Linked Lists 36.4% Easy
(/problems/intersection-of-two-linked-lists)
226 Invert Binary Tree (/problems/invert-binary-tree) 60.3% Easy
202 Happy Number (/problems/happy-number) 47.3% Easy
104 Maximum Depth of Binary Tree 62.8% Easy
(/problems/maximum-depth-of-binary-tree)
Copyright © 2019 LeetCode
Help Center (/support/) | Terms (/terms/) | Privacy Policy (/privacy/)
United States (/region/)