(/contest/) Challenge + GIVEAWAY!
🎁 (/discuss/general-
(/) Explore(/explore/) Problems(/problemset/all/) Interview🎁NewLeetCoding
Contest Discuss(/discuss/) Storediscussion/655704/)
Google
Problems Discuss
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 / 438 problems.
Show problem tags Select time period: 6 months
# Title Acceptance Difficulty Frequency
1 Two Sum (/problems/two-sum) 48.0% Easy
2 Add Two Numbers (/problems/add-two-numbers) 37.5% Medium
3 Longest Substring Without Repeating Characters (/problems/longest- 32.6% Medium
substring-without-repeating-characters)
4 Median of Two Sorted Arrays (/problems/median-of-two-sorted-arrays) 33.3% Hard
5 Longest Palindromic Substring (/problems/longest-palindromic-substring) 31.6% Medium
7 Reverse Integer (/problems/reverse-integer) 26.3% Medium
8 String to Integer (atoi) (/problems/string-to-integer-atoi) 16.1% Medium
9 Palindrome Number (/problems/palindrome-number) 51.9% Easy
10 Regular Expression Matching (/problems/regular-expression-matching) 28.1% Hard
11 Container With Most Water (/problems/container-with-most-water) 53.2% Medium
12 Integer to Roman (/problems/integer-to-roman) 58.6% Medium
14 Longest Common Prefix (/problems/longest-common-prefix) 38.4% Easy
15 3Sum (/problems/3sum) 30.2% Medium
16 3Sum Closest (/problems/3sum-closest) 46.9% Medium
17 Letter Combinations of a Phone Number (/problems/letter-combinations-of- 52.4% Medium
a-phone-number)
18 4Sum (/problems/4sum) 36.8% Medium
19 Remove Nth Node From End of List (/problems/remove-nth-node-from-end- 37.5% Medium
of-list)
20 Valid Parentheses (/problems/valid-parentheses) 40.5% Easy
21 Merge Two Sorted Lists (/problems/merge-two-sorted-lists) 58.8% Easy
22 Generate Parentheses (/problems/generate-parentheses) 68.8% Medium
# Title Acceptance Difficulty Frequency
23 Merge k Sorted Lists (/problems/merge-k-sorted-lists) 45.5% Hard
25 Reverse Nodes in k-Group (/problems/reverse-nodes-in-k-group) 49.4% Hard
26 Remove Duplicates from Sorted Array (/problems/remove-duplicates-from- 47.9% Easy
sorted-array)
27 Remove Element (/problems/remove-element) 50.6% Easy
28 Implement strStr() (/problems/implement-strstr) 35.7% Easy
29 Divide Two Integers (/problems/divide-two-integers) 17.0% Medium
31 Next Permutation (/problems/next-permutation) 35.0% Medium
32 Longest Valid Parentheses (/problems/longest-valid-parentheses) 30.9% Hard
34 Find First and Last Position of Element in Sorted Array (/problems/find-first- 39.2% Medium
and-last-position-of-element-in-sorted-array)
35 Search Insert Position (/problems/search-insert-position) 42.6% Easy
36 Valid Sudoku (/problems/valid-sudoku) 53.9% Medium
37 Sudoku Solver (/problems/sudoku-solver) 52.1% Hard
41 First Missing Positive (/problems/first-missing-positive) 35.4% Hard
42 Trapping Rain Water (/problems/trapping-rain-water) 55.0% Hard
43 Multiply Strings (/problems/multiply-strings) 37.0% Medium
44 Wildcard Matching (/problems/wildcard-matching) 26.3% Hard
45 Jump Game II (/problems/jump-game-ii) 35.8% Medium
46 Permutations (/problems/permutations) 70.6% Medium
48 Rotate Image (/problems/rotate-image) 64.8% Medium
49 Group Anagrams (/problems/group-anagrams) 62.8% Medium
50 Pow(x, n) (/problems/powx-n) 31.8% Medium
53 Maximum Subarray (/problems/maximum-subarray) 49.2% Easy
54 Spiral Matrix (/problems/spiral-matrix) 39.9% Medium
56 Merge Intervals (/problems/merge-intervals) 43.9% Medium
57 Insert Interval (/problems/insert-interval) 36.9% Medium
62 Unique Paths (/problems/unique-paths) 58.9% Medium
64 Minimum Path Sum (/problems/minimum-path-sum) 58.4% Medium
66 Plus One (/problems/plus-one) 42.3% Easy
67 Add Binary (/problems/add-binary) 49.2% Easy
68 Text Justification (/problems/text-justification) 33.6% Hard
69 Sqrt(x) (/problems/sqrtx) 36.1% Easy
70 Climbing Stairs (/problems/climbing-stairs) 50.3% Easy
71 Simplify Path (/problems/simplify-path) 36.9% Medium
# Title Acceptance Difficulty Frequency
72 Edit Distance (/problems/edit-distance) 49.7% Hard
74 Search a 2D Matrix (/problems/search-a-2d-matrix) 41.5% Medium
76 Minimum Window Substring (/problems/minimum-window-substring) 38.2% Hard
77 Combinations (/problems/combinations) 62.0% Medium
78 Subsets (/problems/subsets) 69.1% Medium
79 Word Search (/problems/word-search) 39.2% Medium
84 Largest Rectangle in Histogram (/problems/largest-rectangle-in-histogram) 39.4% Hard
85 Maximal Rectangle (/problems/maximal-rectangle) 41.9% Hard
91 Decode Ways (/problems/decode-ways) 29.3% Medium
92 Reverse Linked List II (/problems/reverse-linked-list-ii) 42.8% Medium
93 Restore IP Addresses (/problems/restore-ip-addresses) 40.5% Medium
98 Validate Binary Search Tree (/problems/validate-binary-search-tree) 29.9% Medium
99 Recover Binary Search Tree (/problems/recover-binary-search-tree) 45.3% Medium
100 Same Tree (/problems/same-tree) 55.0% Easy
101 Symmetric Tree (/problems/symmetric-tree) 50.6% Easy
102 Binary Tree Level Order Traversal (/problems/binary-tree-level-order- 59.7% Medium
traversal)
103 Binary Tree Zigzag Level Order Traversal (/problems/binary-tree-zigzag- 52.5% Medium
level-order-traversal)
104 Maximum Depth of Binary Tree (/problems/maximum-depth-of-binary-tree) 70.6% Easy
110 Balanced Binary Tree (/problems/balanced-binary-tree) 46.1% Easy
114 Flatten Binary Tree to Linked List (/problems/flatten-binary-tree-to-linked- 56.3% Medium
list)
118 Pascal's Triangle (/problems/pascals-triangle) 61.6% Easy
120 Triangle (/problems/triangle) 49.3% Medium
121 Best Time to Buy and Sell Stock (/problems/best-time-to-buy-and-sell-stock) 53.2% Easy
122 Best Time to Buy and Sell Stock II (/problems/best-time-to-buy-and-sell- 61.1% Medium
stock-ii)
124 Binary Tree Maximum Path Sum (/problems/binary-tree-maximum-path-sum) 37.1% Hard
126 Word Ladder II (/problems/word-ladder-ii) 26.2% Hard
127 Word Ladder (/problems/word-ladder) 34.1% Hard
128 Longest Consecutive Sequence (/problems/longest-consecutive-sequence) 48.2% Medium
130 Surrounded Regions (/problems/surrounded-regions) 33.0% Medium
133 Clone Graph (/problems/clone-graph) 44.4% Medium
134 Gas Station (/problems/gas-station) 43.4% Medium
# Title Acceptance Difficulty Frequency
135 Candy (/problems/candy) 36.3% Hard
139 Word Break (/problems/word-break) 43.7% Medium
140 Word Break II (/problems/word-break-ii) 40.2% Hard
141 Linked List Cycle (/problems/linked-list-cycle) 44.6% Easy
143 Reorder List (/problems/reorder-list) 45.8% Medium
146 LRU Cache (/problems/lru-cache) 38.9% Medium
149 Max Points on a Line (/problems/max-points-on-a-line) 19.6% Hard
150 Evaluate Reverse Polish Notation (/problems/evaluate-reverse-polish- 41.1% Medium
notation)
152 Maximum Product Subarray (/problems/maximum-product-subarray) 34.2% Medium
155 Min Stack (/problems/min-stack) 49.2% Easy
158 Read N Characters Given read4 II - Call Multiple Times (/problems/read-n- 40.0% Hard
characters-given-read4-ii-call-multiple-times)
160 Intersection of Two Linked Lists (/problems/intersection-of-two-linked-lists) 48.2% Easy
161 One Edit Distance (/problems/one-edit-distance) 33.8% Medium
162 Find Peak Element (/problems/find-peak-element) 45.3% Medium
167 Two Sum II - Input Array Is Sorted (/problems/two-sum-ii-input-array-is- 57.8% Easy
sorted)
168 Excel Sheet Column Title (/problems/excel-sheet-column-title) 33.2% Easy
173 Binary Search Tree Iterator (/problems/binary-search-tree-iterator) 64.1% Medium
174 Dungeon Game (/problems/dungeon-game) 35.9% Hard
176 Second Highest Salary (/problems/second-highest-salary) 34.9% Medium
188 Best Time to Buy and Sell Stock IV (/problems/best-time-to-buy-and-sell- 32.4% Hard
stock-iv)
191 Number of 1 Bits (/problems/number-of-1-bits) 57.9% Easy
198 House Robber (/problems/house-robber) 45.8% Medium
200 Number of Islands (/problems/number-of-islands) 52.5% Medium
205 Isomorphic Strings (/problems/isomorphic-strings) 41.7% Easy
207 Course Schedule (/problems/course-schedule) 44.8% Medium
208 Implement Trie (Prefix Tree) (/problems/implement-trie-prefix-tree) 56.4% Medium
209 Minimum Size Subarray Sum (/problems/minimum-size-subarray-sum) 42.0% Medium
210 Course Schedule II (/problems/course-schedule-ii) 45.6% Medium
212 Word Search II (/problems/word-search-ii) 38.5% Hard
213 House Robber II (/problems/house-robber-ii) 39.1% Medium
215 Kth Largest Element in an Array (/problems/kth-largest-element-in-an-array) 62.0% Medium
# Title Acceptance Difficulty Frequency
217 Contains Duplicate (/problems/contains-duplicate) 59.6% Easy
218 The Skyline Problem (/problems/the-skyline-problem) 38.1% Hard
219 Contains Duplicate II (/problems/contains-duplicate-ii) 40.3% Easy
220 Contains Duplicate III (/problems/contains-duplicate-iii) 21.6% Medium
221 Maximal Square (/problems/maximal-square) 42.5% Medium
222 Count Complete Tree Nodes (/problems/count-complete-tree-nodes) 53.9% Medium
224 Basic Calculator (/problems/basic-calculator) 39.9% Hard
226 Invert Binary Tree (/problems/invert-binary-tree) 70.3% Easy
227 Basic Calculator II (/problems/basic-calculator-ii) 40.8% Medium
228 Summary Ranges (/problems/summary-ranges) 44.4% Easy
231 Power of Two (/problems/power-of-two) 44.5% Easy
233 Number of Digit One (/problems/number-of-digit-one) 32.9% Hard
235 Lowest Common Ancestor of a Binary Search Tree (/problems/lowest- 55.5% Easy
common-ancestor-of-a-binary-search-tree)
236 Lowest Common Ancestor of a Binary Tree (/problems/lowest-common- 53.5% Medium
ancestor-of-a-binary-tree)
238 Product of Array Except Self (/problems/product-of-array-except-self) 63.2% Medium
239 Sliding Window Maximum (/problems/sliding-window-maximum) 45.9% Hard
242 Valid Anagram (/problems/valid-anagram) 60.6% Easy
246 Strobogrammatic Number (/problems/strobogrammatic-number) 47.3% Easy
250 Count Univalue Subtrees (/problems/count-univalue-subtrees) 54.4% Medium
253 Meeting Rooms II (/problems/meeting-rooms-ii) 48.8% Medium
259 3Sum Smaller (/problems/3sum-smaller) 50.1% Medium
260 Single Number III (/problems/single-number-iii) 66.9% Medium
261 Graph Valid Tree (/problems/graph-valid-tree) 45.0% Medium
268 Missing Number (/problems/missing-number) 58.2% Easy
269 Alien Dictionary (/problems/alien-dictionary) 34.5% Hard
273 Integer to English Words (/problems/integer-to-english-words) 29.2% Hard
274 H-Index (/problems/h-index) 37.1% Medium
278 First Bad Version (/problems/first-bad-version) 40.5% Easy
279 Perfect Squares (/problems/perfect-squares) 51.4% Medium
280 Wiggle Sort (/problems/wiggle-sort) 65.6% Medium
282 Expression Add Operators (/problems/expression-add-operators) 39.0% Hard
284 Peeking Iterator (/problems/peeking-iterator) 52.9% Medium
286 Walls and Gates (/problems/walls-and-gates) 58.3% Medium
# Title Acceptance Difficulty Frequency
287 Find the Duplicate Number (/problems/find-the-duplicate-number) 58.3% Medium
295 Find Median from Data Stream (/problems/find-median-from-data-stream) 49.7% Hard
297 Serialize and Deserialize Binary Tree (/problems/serialize-and-deserialize- 52.6% Hard
binary-tree)
298 Binary Tree Longest Consecutive Sequence (/problems/binary-tree-longest- 50.2% Medium
consecutive-sequence)
299 Bulls and Cows (/problems/bulls-and-cows) 46.5% Medium
300 Longest Increasing Subsequence (/problems/longest-increasing- 48.0% Medium
subsequence)
302 Smallest Rectangle Enclosing Black Pixels (/problems/smallest-rectangle- 55.1% Hard
enclosing-black-pixels)
305 Number of Islands II (/problems/number-of-islands-ii) 39.3% Hard
307 Range Sum Query - Mutable (/problems/range-sum-query-mutable) 38.3% Medium
310 Minimum Height Trees (/problems/minimum-height-trees) 37.7% Medium
313 Super Ugly Number (/problems/super-ugly-number) 46.5% Medium
315 Count of Smaller Numbers After Self (/problems/count-of-smaller-numbers- 42.1% Hard
after-self)
316 Remove Duplicate Letters (/problems/remove-duplicate-letters) 40.9% Medium
317 Shortest Distance from All Buildings (/problems/shortest-distance-from-all- 43.7% Hard
buildings)
322 Coin Change (/problems/coin-change) 39.3% Medium
324 Wiggle Sort II (/problems/wiggle-sort-ii) 31.8% Medium
329 Longest Increasing Path in a Matrix (/problems/longest-increasing-path-in-a- 48.7% Hard
matrix)
332 Reconstruct Itinerary (/problems/reconstruct-itinerary) 39.6% Hard
334 Increasing Triplet Subsequence (/problems/increasing-triplet-subsequence) 41.2% Medium
336 Palindrome Pairs (/problems/palindrome-pairs) 36.3% Hard
337 House Robber III (/problems/house-robber-iii) 53.2% Medium
338 Counting Bits (/problems/counting-bits) 72.2% Easy
345 Reverse Vowels of a String (/problems/reverse-vowels-of-a-string) 46.4% Easy
347 Top K Frequent Elements (/problems/top-k-frequent-elements) 64.1% Medium
348 Design Tic-Tac-Toe (/problems/design-tic-tac-toe) 56.8% Medium
349 Intersection of Two Arrays (/problems/intersection-of-two-arrays) 67.9% Easy
350 Intersection of Two Arrays II (/problems/intersection-of-two-arrays-ii) 54.1% Easy
353 Design Snake Game (/problems/design-snake-game) 37.5% Medium
354 Russian Doll Envelopes (/problems/russian-doll-envelopes) 39.4% Hard
359 Logger Rate Limiter (/problems/logger-rate-limiter) 74.3% Easy
# Title Acceptance Difficulty Frequency
360 Sort Transformed Array (/problems/sort-transformed-array) 52.2% Medium
362 Design Hit Counter (/problems/design-hit-counter) 66.8% Medium
363 Max Sum of Rectangle No Larger Than K (/problems/max-sum-of-rectangle- 40.2% Hard
no-larger-than-k)
366 Find Leaves of Binary Tree (/problems/find-leaves-of-binary-tree) 76.3% Medium
368 Largest Divisible Subset (/problems/largest-divisible-subset) 40.2% Medium
377 Combination Sum IV (/problems/combination-sum-iv) 48.4% Medium
380 Insert Delete GetRandom O(1) (/problems/insert-delete-getrandom-o1) 50.8% Medium
384 Shuffle an Array (/problems/shuffle-an-array) 56.3% Medium
387 First Unique Character in a String (/problems/first-unique-character-in-a- 56.0% Easy
string)
388 Longest Absolute File Path (/problems/longest-absolute-file-path) 45.2% Medium
389 Find the Difference (/problems/find-the-difference) 59.0% Easy
392 Is Subsequence (/problems/is-subsequence) 50.0% Easy
394 Decode String (/problems/decode-string) 55.6% Medium
399 Evaluate Division (/problems/evaluate-division) 56.3% Medium
400 Nth Digit (/problems/nth-digit) 33.2% Medium
403 Frog Jump (/problems/frog-jump) 42.6% Hard
406 Queue Reconstruction by Height (/problems/queue-reconstruction-by- 69.7% Medium
height)
407 Trapping Rain Water II (/problems/trapping-rain-water-ii) 46.2% Hard
408 Valid Word Abbreviation (/problems/valid-word-abbreviation) 33.4% Easy
410 Split Array Largest Sum (/problems/split-array-largest-sum) 49.1% Hard
414 Third Maximum Number (/problems/third-maximum-number) 31.3% Easy
415 Add Strings (/problems/add-strings) 51.3% Easy
416 Partition Equal Subset Sum (/problems/partition-equal-subset-sum) 46.1% Medium
417 Pacific Atlantic Water Flow (/problems/pacific-atlantic-water-flow) 47.2% Medium
418 Sentence Screen Fitting (/problems/sentence-screen-fitting) 35.1% Medium
433 Minimum Genetic Mutation (/problems/minimum-genetic-mutation) 45.2% Medium
437 Path Sum III (/problems/path-sum-iii) 49.8% Medium
438 Find All Anagrams in a String (/problems/find-all-anagrams-in-a-string) 46.9% Medium
442 Find All Duplicates in an Array (/problems/find-all-duplicates-in-an-array) 71.7% Medium
447 Number of Boomerangs (/problems/number-of-boomerangs) 53.3% Medium
450 Delete Node in a BST (/problems/delete-node-in-a-bst) 48.1% Medium
459 Repeated Substring Pattern (/problems/repeated-substring-pattern) 43.5% Easy
# Title Acceptance Difficulty Frequency
460 LFU Cache (/problems/lfu-cache) 38.6% Hard
461 Hamming Distance (/problems/hamming-distance) 74.3% Easy
465 Optimal Account Balancing (/problems/optimal-account-balancing) 48.6% Hard
493 Reverse Pairs (/problems/reverse-pairs) 29.2% Hard
498 Diagonal Traverse (/problems/diagonal-traverse) 54.5% Medium
501 Find Mode in Binary Search Tree (/problems/find-mode-in-binary-search- 46.2% Easy
tree)
503 Next Greater Element II (/problems/next-greater-element-ii) 61.1% Medium
505 The Maze II (/problems/the-maze-ii) 50.7% Medium
525 Contiguous Array (/problems/contiguous-array) 44.7% Medium
532 K-diff Pairs in an Array (/problems/k-diff-pairs-in-an-array) 37.3% Medium
539 Minimum Time Difference (/problems/minimum-time-difference) 53.1% Medium
540 Single Element in a Sorted Array (/problems/single-element-in-a-sorted- 58.7% Medium
array)
542 01 Matrix (/problems/01-matrix) 43.3% Medium
543 Diameter of Binary Tree (/problems/diameter-of-binary-tree) 52.9% Easy
549 Binary Tree Longest Consecutive Sequence II (/problems/binary-tree-longest- 48.4% Medium
consecutive-sequence-ii)
1730 Shortest Path to Get Food (/problems/shortest-path-to-get-food) 54.2% Medium
552 Student Attendance Record II (/problems/student-attendance-record-ii) 39.9% Hard
560 Subarray Sum Equals K (/problems/subarray-sum-equals-k) 43.8% Medium
562 Longest Line of Consecutive One in Matrix (/problems/longest-line-of- 48.6% Medium
consecutive-one-in-matrix)
564 Find the Closest Palindrome (/problems/find-the-closest-palindrome) 20.9% Hard
582 Kill Process (/problems/kill-process) 65.8% Medium
588 Design In-Memory File System (/problems/design-in-memory-file-system) 47.7% Hard
593 Valid Square (/problems/valid-square) 43.7% Medium
616 Add Bold Tag in String (/problems/add-bold-tag-in-string) 47.0% Medium
621 Task Scheduler (/problems/task-scheduler) 53.9% Medium
631 Design Excel Sum Formula (/problems/design-excel-sum-formula) 39.1% Hard
632 Smallest Range Covering Elements from K Lists (/problems/smallest-range- 57.3% Hard
covering-elements-from-k-lists)
642 Design Search Autocomplete System (/problems/design-search- 47.8% Hard
autocomplete-system)
647 Palindromic Substrings (/problems/palindromic-substrings) 63.9% Medium
652 Find Duplicate Subtrees (/problems/find-duplicate-subtrees) 55.1% Medium
# Title Acceptance Difficulty Frequency
658 Find K Closest Elements (/problems/find-k-closest-elements) 44.0% Medium
659 Split Array into Consecutive Subsequences (/problems/split-array-into- 45.2% Medium
consecutive-subsequences)
660 Remove 9 (/problems/remove-9) 54.8% Hard
662 Maximum Width of Binary Tree (/problems/maximum-width-of-binary-tree) 39.7% Medium
664 Strange Printer (/problems/strange-printer) 44.2% Hard
673 Number of Longest Increasing Subsequence (/problems/number-of-longest- 40.1% Medium
increasing-subsequence)
676 Implement Magic Dictionary (/problems/implement-magic-dictionary) 56.3% Medium
677 Map Sum Pairs (/problems/map-sum-pairs) 56.9% Medium
679 24 Game (/problems/24-game) 48.4% Hard
690 Employee Importance (/problems/employee-importance) 62.5% Medium
692 Top K Frequent Words (/problems/top-k-frequent-words) 54.0% Medium
695 Max Area of Island (/problems/max-area-of-island) 68.4% Medium
718 Maximum Length of Repeated Subarray (/problems/maximum-length-of- 51.3% Medium
repeated-subarray)
719 Find K-th Smallest Pair Distance (/problems/find-k-th-smallest-pair-distance) 34.2% Hard
720 Longest Word in Dictionary (/problems/longest-word-in-dictionary) 50.5% Medium
721 Accounts Merge (/problems/accounts-merge) 54.9% Medium
726 Number of Atoms (/problems/number-of-atoms) 51.6% Hard
727 Minimum Window Subsequence (/problems/minimum-window-subsequence) 42.9% Hard
729 My Calendar I (/problems/my-calendar-i) 54.8% Medium
731 My Calendar II (/problems/my-calendar-ii) 52.7% Medium
732 My Calendar III (/problems/my-calendar-iii) 65.8% Hard
733 Flood Fill (/problems/flood-fill) 57.2% Easy
735 Asteroid Collision (/problems/asteroid-collision) 44.3% Medium
739 Daily Temperatures (/problems/daily-temperatures) 66.6% Medium
743 Network Delay Time (/problems/network-delay-time) 47.5% Medium
745 Prefix and Suffix Search (/problems/prefix-and-suffix-search) 36.0% Hard
759 Employee Free Time (/problems/employee-free-time) 70.4% Hard
767 Reorganize String (/problems/reorganize-string) 51.4% Medium
771 Jewels and Stones (/problems/jewels-and-stones) 87.5% Easy
772 Basic Calculator III (/problems/basic-calculator-iii) 46.6% Hard
773 Sliding Puzzle (/problems/sliding-puzzle) 62.7% Hard
# Title Acceptance Difficulty Frequency
777 Swap Adjacent in LR String (/problems/swap-adjacent-in-lr-string) 36.0% Medium
778 Swim in Rising Water (/problems/swim-in-rising-water) 58.1% Hard
780 Reaching Points (/problems/reaching-points) 30.9% Hard
785 Is Graph Bipartite? (/problems/is-graph-bipartite) 49.8% Medium
787 Cheapest Flights Within K Stops (/problems/cheapest-flights-within-k-stops) 36.5% Medium
788 Rotated Digits (/problems/rotated-digits) 57.3% Medium
792 Number of Matching Subsequences (/problems/number-of-matching- 50.2% Medium
subsequences)
794 Valid Tic-Tac-Toe State (/problems/valid-tic-tac-toe-state) 35.0% Medium
797 All Paths From Source to Target (/problems/all-paths-from-source-to-target) 80.4% Medium
801 Minimum Swaps To Make Sequences Increasing (/problems/minimum-swaps- 39.2% Hard
to-make-sequences-increasing)
803 Bricks Falling When Hit (/problems/bricks-falling-when-hit) 33.4% Hard
809 Expressive Words (/problems/expressive-words) 46.2% Medium
815 Bus Routes (/problems/bus-routes) 44.9% Hard
818 Race Car (/problems/race-car) 41.6% Hard
708 Insert into a Sorted Circular Linked List (/problems/insert-into-a-sorted- 33.8% Medium
circular-linked-list)
827 Making A Large Island (/problems/making-a-large-island) 44.5% Hard
833 Find And Replace in String (/problems/find-and-replace-in-string) 53.5% Medium
834 Sum of Distances in Tree (/problems/sum-of-distances-in-tree) 52.5% Hard
489 Robot Room Cleaner (/problems/robot-room-cleaner) 74.9% Hard
836 Rectangle Overlap (/problems/rectangle-overlap) 43.0% Easy
837 New 21 Game (/problems/new-21-game) 35.9% Medium
843 Guess the Word (/problems/guess-the-word) 43.8% Hard
844 Backspace String Compare (/problems/backspace-string-compare) 47.5% Easy
846 Hand of Straights (/problems/hand-of-straights) 56.0% Medium
847 Shortest Path Visiting All Nodes (/problems/shortest-path-visiting-all-nodes) 55.8% Hard
849 Maximize Distance to Closest Person (/problems/maximize-distance-to- 44.9% Medium
closest-person)
850 Rectangle Area II (/problems/rectangle-area-ii) 53.0% Hard
852 Peak Index in a Mountain Array (/problems/peak-index-in-a-mountain-array) 71.4% Easy
853 Car Fleet (/problems/car-fleet) 47.3% Medium
856 Score of Parentheses (/problems/score-of-parentheses) 65.6% Medium
857 Minimum Cost to Hire K Workers (/problems/minimum-cost-to-hire-k- 51.5% Hard
workers)
# Title Acceptance Difficulty Frequency
710 Random Pick with Blacklist (/problems/random-pick-with-blacklist) 33.1% Hard
871 Minimum Number of Refueling Stops (/problems/minimum-number-of- 35.5% Hard
refueling-stops)
877 Stone Game (/problems/stone-game) 68.8% Medium
528 Random Pick with Weight (/problems/random-pick-with-weight) 45.9% Medium
886 Possible Bipartition (/problems/possible-bipartition) 46.6% Medium
889 Construct Binary Tree from Preorder and Postorder Traversal 69.3% Medium
(/problems/construct-binary-tree-from-preorder-and-postorder-traversal)
894 All Possible Full Binary Trees (/problems/all-possible-full-binary-trees) 79.0% Medium
900 RLE Iterator (/problems/rle-iterator) 58.1% Medium
905 Sort Array By Parity (/problems/sort-array-by-parity) 74.8% Easy
909 Snakes and Ladders (/problems/snakes-and-ladders) 39.9% Medium
919 Complete Binary Tree Inserter (/problems/complete-binary-tree-inserter) 63.0% Medium
920 Number of Music Playlists (/problems/number-of-music-playlists) 48.9% Hard
925 Long Pressed Name (/problems/long-pressed-name) 35.3% Easy
934 Shortest Bridge (/problems/shortest-bridge) 51.9% Medium
939 Minimum Area Rectangle (/problems/minimum-area-rectangle) 53.3% Medium
940 Distinct Subsequences II (/problems/distinct-subsequences-ii) 43.9% Hard
947 Most Stones Removed with Same Row or Column (/problems/most-stones- 56.2% Medium
removed-with-same-row-or-column)
951 Flip Equivalent Binary Trees (/problems/flip-equivalent-binary-trees) 66.5% Medium
954 Array of Doubled Pairs (/problems/array-of-doubled-pairs) 37.7% Medium
965 Univalued Binary Tree (/problems/univalued-binary-tree) 68.6% Easy
968 Binary Tree Cameras (/problems/binary-tree-cameras) 41.3% Hard
973 K Closest Points to Origin (/problems/k-closest-points-to-origin) 66.1% Medium
977 Squares of a Sorted Array (/problems/squares-of-a-sorted-array) 71.4% Easy
981 Time Based Key-Value Store (/problems/time-based-key-value-store) 53.0% Medium
983 Minimum Cost For Tickets (/problems/minimum-cost-for-tickets) 63.5% Medium
986 Interval List Intersections (/problems/interval-list-intersections) 70.6% Medium
990 Satisfiability of Equality Equations (/problems/satisfiability-of-equality- 49.3% Medium
equations)
996 Number of Squareful Arrays (/problems/number-of-squareful-arrays) 49.1% Hard
997 Find the Town Judge (/problems/find-the-town-judge) 49.9% Easy
1007 Minimum Domino Rotations For Equal Row (/problems/minimum-domino- 50.8% Medium
rotations-for-equal-row)
1055 Shortest Way to Form String (/problems/shortest-way-to-form-string) 58.1% Medium
# Title Acceptance Difficulty Frequency
1011 Capacity To Ship Packages Within D Days (/problems/capacity-to-ship- 62.4% Medium
packages-within-d-days)
1088 Confusing Number II (/problems/confusing-number-ii) 46.5% Hard
1024 Video Stitching (/problems/video-stitching) 49.8% Medium
1101 The Earliest Moment When Everyone Become Friends (/problems/the- 63.0% Medium
earliest-moment-when-everyone-become-friends)
1032 Stream of Characters (/problems/stream-of-characters) 51.2% Hard
1102 Path With Maximum Minimum Value (/problems/path-with-maximum- 52.1% Medium
minimum-value)
1136 Parallel Courses (/problems/parallel-courses) 60.4% Medium
1162 As Far from Land as Possible (/problems/as-far-from-land-as-possible) 47.4% Medium
1041 Robot Bounded In Circle (/problems/robot-bounded-in-circle) 54.4% Medium
1042 Flower Planting With No Adjacent (/problems/flower-planting-with-no- 49.5% Medium
adjacent)
1044 Longest Duplicate Substring (/problems/longest-duplicate-substring) 31.5% Hard
1153 String Transforms Into Another String (/problems/string-transforms-into- 35.6% Hard
another-string)
1166 Design File System (/problems/design-file-system) 59.6% Medium
1047 Remove All Adjacent Duplicates In String (/problems/remove-all-adjacent- 71.1% Easy
duplicates-in-string)
1048 Longest String Chain (/problems/longest-string-chain) 57.4% Medium
1049 Last Stone Weight II (/problems/last-stone-weight-ii) 50.0% Medium
1074 Number of Submatrices That Sum to Target (/problems/number-of- 66.1% Hard
submatrices-that-sum-to-target)
1230 Toss Strange Coins (/problems/toss-strange-coins) 52.1% Medium
1092 Shortest Common Supersequence (/problems/shortest-common- 55.3% Hard
supersequence)
1091 Shortest Path in Binary Matrix (/problems/shortest-path-in-binary-matrix) 41.7% Medium
1244 Design A Leaderboard (/problems/design-a-leaderboard) 67.8% Medium
1094 Car Pooling (/problems/car-pooling) 59.3% Medium
1231 Divide Chocolate (/problems/divide-chocolate) 55.8% Hard
1272 Remove Interval (/problems/remove-interval) 60.0% Medium
1110 Delete Nodes And Return Forest (/problems/delete-nodes-and-return-forest) 69.0% Medium
1138 Alphabet Board Path (/problems/alphabet-board-path) 52.2% Medium
1146 Snapshot Array (/problems/snapshot-array) 37.1% Medium
1143 Longest Common Subsequence (/problems/longest-common-subsequence) 58.8% Medium
1200 Minimum Absolute Difference (/problems/minimum-absolute-difference) 69.6% Easy
# Title Acceptance Difficulty Frequency
1209 Remove All Adjacent Duplicates in String II (/problems/remove-all-adjacent- 56.1% Medium
duplicates-in-string-ii)
1706 Where Will the Ball Fall (/problems/where-will-the-ball-fall) 65.9% Medium
1514 Path with Maximum Probability (/problems/path-with-maximum-probability) 44.9% Medium
1218 Longest Arithmetic Subsequence of Given Difference (/problems/longest- 49.7% Medium
arithmetic-subsequence-of-given-difference)
1235 Maximum Profit in Job Scheduling (/problems/maximum-profit-in-job- 50.6% Hard
scheduling)
1227 Airplane Seat Assignment Probability (/problems/airplane-seat-assignment- 63.5% Medium
probability)
1691 Maximum Height by Stacking Cuboids (/problems/maximum-height-by- 52.8% Hard
stacking-cuboids)
1252 Cells with Odd Values in a Matrix (/problems/cells-with-odd-values-in-a- 78.4% Easy
matrix)
1254 Number of Closed Islands (/problems/number-of-closed-islands) 62.8% Medium
1255 Maximum Score Words Formed by Letters (/problems/maximum-score- 71.6% Hard
words-formed-by-letters)
1618 Maximum Font to Fit a Sentence in a Screen (/problems/maximum-font-to-fit- 57.6% Medium
a-sentence-in-a-screen)
1275 Find Winner on a Tic Tac Toe Game (/problems/find-winner-on-a-tic-tac-toe- 55.7% Easy
game)
1277 Count Square Submatrices with All Ones (/problems/count-square- 74.0% Medium
submatrices-with-all-ones)
1270 All People Report to the Given Manager (/problems/all-people-report-to-the- 88.2% Medium
given-manager)
1284 Minimum Number of Flips to Convert Binary Matrix to Zero Matrix 71.1% Hard
(/problems/minimum-number-of-flips-to-convert-binary-matrix-to-zero-
matrix)
1293 Shortest Path in a Grid with Obstacles Elimination (/problems/shortest-path- 43.8% Hard
in-a-grid-with-obstacles-elimination)
1296 Divide Array in Sets of K Consecutive Numbers (/problems/divide-array-in- 56.2% Medium
sets-of-k-consecutive-numbers)
1345 Jump Game IV (/problems/jump-game-iv) 42.1% Hard
1325 Delete Leaves With a Given Value (/problems/delete-leaves-with-a-given- 74.8% Medium
value)
1335 Minimum Difficulty of a Job Schedule (/problems/minimum-difficulty-of-a- 57.0% Hard
job-schedule)
1352 Product of the Last K Numbers (/problems/product-of-the-last-k-numbers) 47.2% Medium
1368 Minimum Cost to Make at Least One Valid Path in a Grid (/problems/minimum- 60.0% Hard
cost-to-make-at-least-one-valid-path-in-a-grid)
1376 Time Needed to Inform All Employees (/problems/time-needed-to-inform-all- 58.0% Medium
employees)
# Title Acceptance Difficulty Frequency
1377 Frog Position After T Seconds (/problems/frog-position-after-t-seconds) 36.1% Hard
1406 Stone Game III (/problems/stone-game-iii) 60.3% Hard
1423 Maximum Points You Can Obtain from Cards (/problems/maximum-points- 49.6% Medium
you-can-obtain-from-cards)
1446 Consecutive Characters (/problems/consecutive-characters) 62.0% Easy
1436 Destination City (/problems/destination-city) 77.5% Easy
1438 Longest Continuous Subarray With Absolute Diff Less Than or Equal to Limit 45.5% Medium
(/problems/longest-continuous-subarray-with-absolute-diff-less-than-or-
equal-to-limit)
1477 Find Two Non-overlapping Sub-arrays Each With Target Sum (/problems/find- 36.3% Medium
two-non-overlapping-sub-arrays-each-with-target-sum)
1472 Design Browser History (/problems/design-browser-history) 74.0% Medium
1494 Parallel Courses II (/problems/parallel-courses-ii) 31.2% Hard
1509 Minimum Difference Between Largest and Smallest Value in Three Moves 56.2% Medium
(/problems/minimum-difference-between-largest-and-smallest-value-in-
three-moves)
1499 Max Value of Equation (/problems/max-value-of-equation) 46.9% Hard
1525 Number of Good Ways to Split a String (/problems/number-of-good-ways-to- 70.9% Medium
split-a-string)
1526 Minimum Number of Increments on Subarrays to Form a Target Array 67.7% Hard
(/problems/minimum-number-of-increments-on-subarrays-to-form-a-target-
array)
1490 Clone N-ary Tree (/problems/clone-n-ary-tree) 82.8% Medium
1531 String Compression II (/problems/string-compression-ii) 37.3% Hard
1539 Kth Missing Positive Number (/problems/kth-missing-positive-number) 55.0% Easy
1547 Minimum Cost to Cut a Stick (/problems/minimum-cost-to-cut-a-stick) 54.5% Hard
1553 Minimum Number of Days to Eat N Oranges (/problems/minimum-number-of- 32.4% Hard
days-to-eat-n-oranges)
1554 Strings Differ by One Character (/problems/strings-differ-by-one-character) 66.0% Medium
1570 Dot Product of Two Sparse Vectors (/problems/dot-product-of-two-sparse- 90.6% Medium
vectors)
1592 Rearrange Spaces Between Words (/problems/rearrange-spaces-between- 44.0% Easy
words)
1610 Maximum Number of Visible Points (/problems/maximum-number-of-visible- 35.4% Hard
points)
1636 Sort Array by Increasing Frequency (/problems/sort-array-by-increasing- 67.9% Easy
frequency)
1631 Path With Minimum Effort (/problems/path-with-minimum-effort) 51.4% Medium
1641 Count Sorted Vowel Strings (/problems/count-sorted-vowel-strings) 74.9% Medium
# Title Acceptance Difficulty Frequency
1642 Furthest Building You Can Reach (/problems/furthest-building-you-can- 44.2% Medium
reach)
1650 Lowest Common Ancestor of a Binary Tree III (/problems/lowest-common- 77.4% Medium
ancestor-of-a-binary-tree-iii)
1680 Concatenation of Consecutive Binary Numbers (/problems/concatenation-of- 52.6% Medium
consecutive-binary-numbers)
1770 Maximum Score from Performing Multiplication Operations 33.3% Medium
(/problems/maximum-score-from-performing-multiplication-operations)
1776 Car Fleet II (/problems/car-fleet-ii) 52.2% Hard
1834 Single-Threaded CPU (/problems/single-threaded-cpu) 39.1% Medium
1859 Sorting the Sentence (/problems/sorting-the-sentence) 83.9% Easy
1855 Maximum Distance Between a Pair of Values (/problems/maximum-distance- 48.0% Medium
between-a-pair-of-values)
1877 Minimize Maximum Pair Sum in Array (/problems/minimize-maximum-pair- 80.3% Medium
sum-in-array)
1864 Minimum Number of Swaps to Make the Binary String Alternating 37.5% Medium
(/problems/minimum-number-of-swaps-to-make-the-binary-string-
alternating)
1882 Process Tasks Using Servers (/problems/process-tasks-using-servers) 36.1% Medium
1888 Minimum Number of Flips to Make the Binary String Alternating 35.5% Medium
(/problems/minimum-number-of-flips-to-make-the-binary-string-alternating)
1910 Remove All Occurrences of a Substring (/problems/remove-all-occurrences- 70.7% Medium
of-a-substring)
1884 Egg Drop With 2 Eggs and N Floors (/problems/egg-drop-with-2-eggs-and- 69.9% Medium
n-floors)
1928 Minimum Cost to Reach Destination in Time (/problems/minimum-cost-to- 36.6% Hard
reach-destination-in-time)
1929 Concatenation of Array (/problems/concatenation-of-array) 91.7% Easy
1937 Maximum Number of Points with Cost (/problems/maximum-number-of- 33.7% Medium
points-with-cost)
1987 Number of Unique Good Subsequences (/problems/number-of-unique-good- 51.2% Hard
subsequences)
2007 Find Original Array From Doubled Array (/problems/find-original-array-from- 35.6% Medium
doubled-array)
1971 Find if Path Exists in Graph (/problems/find-if-path-exists-in-graph) 49.5% Easy
2013 Detect Squares (/problems/detect-squares) 39.5% Medium
2018 Check if Word Can Be Placed In Crossword (/problems/check-if-word-can- 46.8% Medium
be-placed-in-crossword)
2034 Stock Price Fluctuation (/problems/stock-price-fluctuation) 40.9% Medium
2089 Find Target Indices After Sorting Array (/problems/find-target-indices-after- 83.4% Easy
sorting-array)
# Title Acceptance Difficulty Frequency
2092 Find All People With Secret (/problems/find-all-people-with-secret) 30.5% Hard
2096 Step-By-Step Directions From a Binary Tree Node to Another 44.0% Medium
(/problems/step-by-step-directions-from-a-binary-tree-node-to-another)
2083 Substrings That Begin and End With the Same Letter (/problems/substrings- 70.0% Medium
that-begin-and-end-with-the-same-letter)
2103 Rings and Rods (/problems/rings-and-rods) 81.0% Easy
Copyright © 2021 LeetCode
Help Center (/support) Jobs (/jobs) Bug Bounty (/bugbounty) Online Interview (/interview/) Students (/student) Terms (/terms)
Privacy Policy (/privacy)
United States (/region)