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