Chore: Add headers to all the files (#54)

## Description
- Add headers to all the CSV files

## Script used
```py
import csv
import os

# Set the path of the folder containing the CSV files
folder_path = "./LeetCode-Questions-CompanyWise"
headers = [
    "ID",
    "Title",
    "Acceptance",
    "Difficulty",
    "Frequency",
    "Leetcode Question Link",
]

# Loop through all the CSV files in the folder
for file_name in os.listdir(folder_path):
    if file_name.endswith(".csv"):
        # Read the CSV file into a list of rows
        file_path = os.path.join(folder_path, file_name)
        with open(file_path, "r") as f:
            reader = csv.reader(f)
            rows = list(reader)

        has_headers = False
        if len(rows) > 0 and rows[0] == headers:
            has_headers = True

        if not has_headers:
            rows.insert(0, headers)

            # Write the list of rows back to the CSV file
            with open(file_path, "w", newline="") as f:
                writer = csv.writer(f)
                writer.writerows(rows)

```
This commit is contained in:
Krishna Kumar Dey
2023-04-01 11:07:49 +05:30
committed by GitHub
parent 0aeadbd612
commit fb5f78b55e
534 changed files with 20291 additions and 19757 deletions

View File

@@ -1,366 +1,367 @@
1,Two Sum,45.6%,Easy,2.44165352519978, https://leetcode.com/problems/two-sum
146,LRU Cache,33.2%,Medium,2.288507627845124, https://leetcode.com/problems/lru-cache
403,Frog Jump,39.7%,Hard,2.1353617304904677, https://leetcode.com/problems/frog-jump
54,Spiral Matrix,34.1%,Medium,1.9822158331358115, https://leetcode.com/problems/spiral-matrix
2,Add Two Numbers,33.9%,Medium,1.9375806091809586, https://leetcode.com/problems/add-two-numbers
284,Peeking Iterator,45.7%,Medium,1.8988473588427888, https://leetcode.com/problems/peeking-iterator
4,Median of Two Sorted Arrays,29.6%,Hard,1.7457014614881325, https://leetcode.com/problems/median-of-two-sorted-arrays
53,Maximum Subarray,46.5%,Easy,1.6039792365262746, https://leetcode.com/problems/maximum-subarray
341,Flatten Nested List Iterator,52.9%,Medium,1.5961203655643161, https://leetcode.com/problems/flatten-nested-list-iterator
42,Trapping Rain Water,48.9%,Hard,1.4504927724580507, https://leetcode.com/problems/trapping-rain-water
391,Perfect Rectangle,30.5%,Hard,1.2973468751033945, https://leetcode.com/problems/perfect-rectangle
206,Reverse Linked List,62.5%,Easy,1.2889543040599838, https://leetcode.com/problems/reverse-linked-list
295,Find Median from Data Stream,44.3%,Hard,1.2415624618248458, https://leetcode.com/problems/find-median-from-data-stream
200,Number of Islands,46.8%,Medium,1.2336678652006239, https://leetcode.com/problems/number-of-islands
5,Longest Palindromic Substring,29.5%,Medium,1.2049820501287227, https://leetcode.com/problems/longest-palindromic-substring
218,The Skyline Problem,34.6%,Hard,1.2026816485623162, https://leetcode.com/problems/the-skyline-problem
1095,Find in Mountain Array,35.8%,Hard,1.2013559031699637, https://leetcode.com/problems/find-in-mountain-array
97,Interleaving String,31.5%,Hard,1.1879190873014442, https://leetcode.com/problems/interleaving-string
479,Largest Palindrome Product,29.0%,Hard,1.1700712526502546, https://leetcode.com/problems/largest-palindrome-product
393,UTF-8 Validation,37.5%,Medium,1.1560693436928968, https://leetcode.com/problems/utf-8-validation
238,Product of Array Except Self,60.1%,Medium,1.125997958136907, https://leetcode.com/problems/product-of-array-except-self
311,Sparse Matrix Multiplication,61.9%,Medium,1.1083957349771807, https://leetcode.com/problems/sparse-matrix-multiplication
8,String to Integer (atoi),15.4%,Medium,1.0728242725044976, https://leetcode.com/problems/string-to-integer-atoi
428,Serialize and Deserialize N-ary Tree,59.4%,Hard,1.0697178226683948, https://leetcode.com/problems/serialize-and-deserialize-n-ary-tree
348,Design Tic-Tac-Toe,54.3%,Medium,1.0191481173138628, https://leetcode.com/problems/design-tic-tac-toe
56,Merge Intervals,39.3%,Medium,1.01565662402753, https://leetcode.com/problems/merge-intervals
15,3Sum,26.8%,Medium,1.0028066641920665, https://leetcode.com/problems/3sum
202,Happy Number,50.4%,Easy,0.9974860771490718, https://leetcode.com/problems/happy-number
329,Longest Increasing Path in a Matrix,43.4%,Hard,0.9678875215177066, https://leetcode.com/problems/longest-increasing-path-in-a-matrix
49,Group Anagrams,56.9%,Medium,0.9561708823315207, https://leetcode.com/problems/group-anagrams
23,Merge k Sorted Lists,40.2%,Hard,0.9024122656636089, https://leetcode.com/problems/merge-k-sorted-lists
3,Longest Substring Without Repeating Characters,30.4%,Medium,0.8759518910272411, https://leetcode.com/problems/longest-substring-without-repeating-characters
21,Merge Two Sorted Lists,53.5%,Easy,0.8331029734573284, https://leetcode.com/problems/merge-two-sorted-lists
139,Word Break,40.1%,Medium,0.7861844908659293, https://leetcode.com/problems/word-break
351,Android Unlock Patterns,48.4%,Medium,0.7857399673877702, https://leetcode.com/problems/android-unlock-patterns
20,Valid Parentheses,39.0%,Easy,0.7728842221115333, https://leetcode.com/problems/valid-parentheses
269,Alien Dictionary,33.3%,Hard,0.7683984542353193, https://leetcode.com/problems/alien-dictionary
212,Word Search II,34.9%,Hard,0.7375344172881568, https://leetcode.com/problems/word-search-ii
149,Max Points on a Line,16.9%,Hard,0.7241094061639122, https://leetcode.com/problems/max-points-on-a-line
33,Search in Rotated Sorted Array,34.5%,Medium,0.7169635384120102, https://leetcode.com/problems/search-in-rotated-sorted-array
48,Rotate Image,56.7%,Medium,0.6937855463652177, https://leetcode.com/problems/rotate-image
242,Valid Anagram,56.9%,Easy,0.6931992137571369, https://leetcode.com/problems/valid-anagram
7,Reverse Integer,25.8%,Easy,0.6643014117400133, https://leetcode.com/problems/reverse-integer
204,Count Primes,31.5%,Easy,0.6619706759370921, https://leetcode.com/problems/count-primes
17,Letter Combinations of a Phone Number,46.8%,Medium,0.6562442821203051, https://leetcode.com/problems/letter-combinations-of-a-phone-number
227,Basic Calculator II,36.9%,Medium,0.642608764196984, https://leetcode.com/problems/basic-calculator-ii
412,Fizz Buzz,62.3%,Easy,0.6260403395391076, https://leetcode.com/problems/fizz-buzz
121,Best Time to Buy and Sell Stock,50.5%,Easy,0.6154427600124589, https://leetcode.com/problems/best-time-to-buy-and-sell-stock
472,Concatenated Words,43.7%,Hard,0.6143892946481566, https://leetcode.com/problems/concatenated-words
387,First Unique Character in a String,53.4%,Easy,0.599968522143342, https://leetcode.com/problems/first-unique-character-in-a-string
688,Knight Probability in Chessboard,48.9%,Medium,0.581062856900522, https://leetcode.com/problems/knight-probability-in-chessboard
281,Zigzag Iterator,58.4%,Medium,0.5665602602882338, https://leetcode.com/problems/zigzag-iterator
344,Reverse String,68.5%,Easy,0.5520785062823355, https://leetcode.com/problems/reverse-string
380,Insert Delete GetRandom O(1),47.5%,Medium,0.5382766101249649, https://leetcode.com/problems/insert-delete-getrandom-o1
12,Integer to Roman,55.1%,Medium,0.527144190884061, https://leetcode.com/problems/integer-to-roman
322,Coin Change,35.5%,Medium,0.5202300817939691, https://leetcode.com/problems/coin-change
545,Boundary of Binary Tree,38.9%,Medium,0.5184398737512361, https://leetcode.com/problems/boundary-of-binary-tree
394,Decode String,50.0%,Medium,0.5093485186229775, https://leetcode.com/problems/decode-string
36,Valid Sudoku,48.7%,Medium,0.505273909298483, https://leetcode.com/problems/valid-sudoku
297,Serialize and Deserialize Binary Tree,47.5%,Hard,0.4952936935923334, https://leetcode.com/problems/serialize-and-deserialize-binary-tree
236,Lowest Common Ancestor of a Binary Tree,45.7%,Medium,0.4854623787914392, https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-tree
125,Valid Palindrome,36.7%,Easy,0.48439503752030155, https://leetcode.com/problems/valid-palindrome
251,Flatten 2D Vector,45.7%,Medium,0.4808790962829651, https://leetcode.com/problems/flatten-2d-vector
45,Jump Game II,30.6%,Hard,0.47865910784592636, https://leetcode.com/problems/jump-game-ii
46,Permutations,63.5%,Medium,0.4752581007118412, https://leetcode.com/problems/permutations
191,Number of 1 Bits,49.8%,Easy,0.4747037980781537, https://leetcode.com/problems/number-of-1-bits
14,Longest Common Prefix,35.4%,Easy,0.47383141489567654, https://leetcode.com/problems/longest-common-prefix
31,Next Permutation,32.6%,Medium,0.4704916447217573, https://leetcode.com/problems/next-permutation
771,Jewels and Stones,86.4%,Easy,0.4651251797550661, https://leetcode.com/problems/jewels-and-stones
724,Find Pivot Index,44.0%,Easy,0.4632690080861186, https://leetcode.com/problems/find-pivot-index
336,Palindrome Pairs,33.7%,Hard,0.462623521948113, https://leetcode.com/problems/palindrome-pairs
155,Min Stack,44.5%,Easy,0.421871495581358, https://leetcode.com/problems/min-stack
177,Nth Highest Salary,31.4%,Medium,0.41948151008170015, https://leetcode.com/problems/nth-highest-salary
253,Meeting Rooms II,45.7%,Medium,0.41816049272375677, https://leetcode.com/problems/meeting-rooms-ii
273,Integer to English Words,27.1%,Hard,0.4144392041299435, https://leetcode.com/problems/integer-to-english-words
460,LFU Cache,34.2%,Hard,0.40755934971127916, https://leetcode.com/problems/lfu-cache
836,Rectangle Overlap,48.6%,Easy,0.4032144677719462, https://leetcode.com/problems/rectangle-overlap
1229,Meeting Scheduler,52.7%,Medium,0.40225040958769004, https://leetcode.com/problems/meeting-scheduler
13,Roman to Integer,55.7%,Easy,0.40185220095239377, https://leetcode.com/problems/roman-to-integer
175,Combine Two Tables,60.8%,Easy,0.4017882776475531, https://leetcode.com/problems/combine-two-tables
419,Battleships in a Board,70.0%,Medium,0.3933437475758196, https://leetcode.com/problems/battleships-in-a-board
909,Snakes and Ladders,38.4%,Medium,0.38977851194046487, https://leetcode.com/problems/snakes-and-ladders
733,Flood Fill,55.3%,Easy,0.38973764039563735, https://leetcode.com/problems/flood-fill
981,Time Based Key-Value Store,53.1%,Medium,0.3755723540313778, https://leetcode.com/problems/time-based-key-value-store
279,Perfect Squares,47.4%,Medium,0.3741145782240884, https://leetcode.com/problems/perfect-squares
138,Copy List with Random Pointer,36.4%,Medium,0.37065838268713125, https://leetcode.com/problems/copy-list-with-random-pointer
388,Longest Absolute File Path,41.8%,Medium,0.3696340885812376, https://leetcode.com/problems/longest-absolute-file-path
168,Excel Sheet Column Title,31.1%,Easy,0.3628674542424574, https://leetcode.com/problems/excel-sheet-column-title
88,Merge Sorted Array,39.4%,Easy,0.3605564574852291, https://leetcode.com/problems/merge-sorted-array
141,Linked List Cycle,41.1%,Easy,0.3531074716115724, https://leetcode.com/problems/linked-list-cycle
18,4Sum,33.7%,Medium,0.34917906630295314, https://leetcode.com/problems/4sum
609,Find Duplicate File in System,59.5%,Medium,0.34796661604694806, https://leetcode.com/problems/find-duplicate-file-in-system
51,N-Queens,46.6%,Hard,0.34587301090591877, https://leetcode.com/problems/n-queens
694,Number of Distinct Islands,56.0%,Medium,0.34240697214102744, https://leetcode.com/problems/number-of-distinct-islands
102,Binary Tree Level Order Traversal,54.6%,Medium,0.3378514215595053, https://leetcode.com/problems/binary-tree-level-order-traversal
76,Minimum Window Substring,34.6%,Hard,0.33651688545811814, https://leetcode.com/problems/minimum-window-substring
59,Spiral Matrix II,53.9%,Medium,0.33499311472223486, https://leetcode.com/problems/spiral-matrix-ii
233,Number of Digit One,31.3%,Hard,0.3343430661930074, https://leetcode.com/problems/number-of-digit-one
268,Missing Number,51.7%,Easy,0.3338128467131867, https://leetcode.com/problems/missing-number
195,Tenth Line,33.0%,Easy,0.33285477845978384, https://leetcode.com/problems/tenth-line
140,Word Break II,32.6%,Hard,0.3295552897925928, https://leetcode.com/problems/word-break-ii
333,Largest BST Subtree,35.8%,Medium,0.32931497055013925, https://leetcode.com/problems/largest-bst-subtree
32,Longest Valid Parentheses,28.4%,Hard,0.3269467909737243, https://leetcode.com/problems/longest-valid-parentheses
38,Count and Say,44.6%,Easy,0.3258044151850429, https://leetcode.com/problems/count-and-say
384,Shuffle an Array,52.8%,Medium,0.3251022057535279, https://leetcode.com/problems/shuffle-an-array
127,Word Ladder,29.6%,Medium,0.32483918858722843, https://leetcode.com/problems/word-ladder
16,3Sum Closest,46.0%,Medium,0.3149279072827814, https://leetcode.com/problems/3sum-closest
692,Top K Frequent Words,51.8%,Medium,0.31457116512531025, https://leetcode.com/problems/top-k-frequent-words
706,Design HashMap,61.3%,Easy,0.30607943759149703, https://leetcode.com/problems/design-hashmap
10,Regular Expression Matching,26.8%,Hard,0.3026257535192428, https://leetcode.com/problems/regular-expression-matching
24,Swap Nodes in Pairs,50.4%,Medium,0.30089598994357436, https://leetcode.com/problems/swap-nodes-in-pairs
283,Move Zeroes,57.8%,Easy,0.29983432977210245, https://leetcode.com/problems/move-zeroes
179,Largest Number,28.8%,Medium,0.2993933318726824, https://leetcode.com/problems/largest-number
332,Reconstruct Itinerary,36.7%,Medium,0.29733066556761284, https://leetcode.com/problems/reconstruct-itinerary
193,Valid Phone Numbers,25.3%,Easy,0.29626581614317243, https://leetcode.com/problems/valid-phone-numbers
34,Find First and Last Position of Element in Sorted Array,36.2%,Medium,0.2962385293756158, https://leetcode.com/problems/find-first-and-last-position-of-element-in-sorted-array
68,Text Justification,27.7%,Hard,0.29518712556880805, https://leetcode.com/problems/text-justification
232,Implement Queue using Stacks,49.6%,Easy,0.29416188100982804, https://leetcode.com/problems/implement-queue-using-stacks
171,Excel Sheet Column Number,55.9%,Easy,0.2930854047798333, https://leetcode.com/problems/excel-sheet-column-number
401,Binary Watch,47.5%,Easy,0.29139641067451033, https://leetcode.com/problems/binary-watch
300,Longest Increasing Subsequence,42.6%,Medium,0.29104142745374856, https://leetcode.com/problems/longest-increasing-subsequence
91,Decode Ways,24.7%,Medium,0.2902229900433467, https://leetcode.com/problems/decode-ways
796,Rotate String,49.6%,Easy,0.28922092887241174, https://leetcode.com/problems/rotate-string
239,Sliding Window Maximum,43.0%,Hard,0.2889699026362096, https://leetcode.com/problems/sliding-window-maximum
729,My Calendar I,51.8%,Medium,0.28814578681204955, https://leetcode.com/problems/my-calendar-i
463,Island Perimeter,65.7%,Easy,0.2871321686710828, https://leetcode.com/problems/island-perimeter
996,Number of Squareful Arrays,47.8%,Hard,0.28675913745318005, https://leetcode.com/problems/number-of-squareful-arrays
973,K Closest Points to Origin,63.8%,Medium,0.28194765395047156, https://leetcode.com/problems/k-closest-points-to-origin
39,Combination Sum,56.1%,Medium,0.2794799975469249, https://leetcode.com/problems/combination-sum
75,Sort Colors,47.3%,Medium,0.2778743740687611, https://leetcode.com/problems/sort-colors
136,Single Number,65.5%,Easy,0.27522969174444734, https://leetcode.com/problems/single-number
41,First Missing Positive,32.0%,Hard,0.2739607716310848, https://leetcode.com/problems/first-missing-positive
362,Design Hit Counter,63.7%,Medium,0.2737682417732349, https://leetcode.com/problems/design-hit-counter
11,Container With Most Water,50.8%,Medium,0.2679205380972798, https://leetcode.com/problems/container-with-most-water
486,Predict the Winner,47.9%,Medium,0.26356981012283964, https://leetcode.com/problems/predict-the-winner
221,Maximal Square,37.7%,Medium,0.26278452083005377, https://leetcode.com/problems/maximal-square
223,Rectangle Area,37.8%,Medium,0.2578291093020998, https://leetcode.com/problems/rectangle-area
315,Count of Smaller Numbers After Self,41.5%,Hard,0.2567607594720918, https://leetcode.com/problems/count-of-smaller-numbers-after-self
187,Repeated DNA Sequences,38.9%,Medium,0.2529118727100632, https://leetcode.com/problems/repeated-dna-sequences
443,String Compression,41.3%,Easy,0.2496791049401753, https://leetcode.com/problems/string-compression
22,Generate Parentheses,62.7%,Medium,0.24664152258151367, https://leetcode.com/problems/generate-parentheses
316,Remove Duplicate Letters,35.8%,Hard,0.24545840052279075, https://leetcode.com/problems/remove-duplicate-letters
895,Maximum Frequency Stack,60.6%,Hard,0.24416008667586836, https://leetcode.com/problems/maximum-frequency-stack
415,Add Strings,47.5%,Easy,0.24230382668402778, https://leetcode.com/problems/add-strings
277,Find the Celebrity,41.8%,Medium,0.24003104821376078, https://leetcode.com/problems/find-the-celebrity
167,Two Sum II - Input array is sorted,54.1%,Easy,0.23949403264353084, https://leetcode.com/problems/two-sum-ii-input-array-is-sorted
658,Find K Closest Elements,40.9%,Medium,0.23744614004484665, https://leetcode.com/problems/find-k-closest-elements
381,Insert Delete GetRandom O(1) - Duplicates allowed,34.1%,Hard,0.2349381278070467, https://leetcode.com/problems/insert-delete-getrandom-o1-duplicates-allowed
92,Reverse Linked List II,38.8%,Medium,0.23274095442047985, https://leetcode.com/problems/reverse-linked-list-ii
636,Exclusive Time of Functions,52.0%,Medium,0.23128872777861115, https://leetcode.com/problems/exclusive-time-of-functions
509,Fibonacci Number,67.2%,Easy,0.22873204718012582, https://leetcode.com/problems/fibonacci-number
165,Compare Version Numbers,27.4%,Medium,0.22687712200146865, https://leetcode.com/problems/compare-version-numbers
28,Implement strStr(),34.5%,Easy,0.22543251399322328, https://leetcode.com/problems/implement-strstr
237,Delete Node in a Linked List,63.8%,Easy,0.22533328620090126, https://leetcode.com/problems/delete-node-in-a-linked-list
104,Maximum Depth of Binary Tree,66.0%,Easy,0.2247057029374007, https://leetcode.com/problems/maximum-depth-of-binary-tree
498,Diagonal Traverse,48.2%,Medium,0.22440062250426088, https://leetcode.com/problems/diagonal-traverse
69,Sqrt(x),33.9%,Easy,0.22365492948950624, https://leetcode.com/problems/sqrtx
215,Kth Largest Element in an Array,55.4%,Medium,0.22333903562721621, https://leetcode.com/problems/kth-largest-element-in-an-array
353,Design Snake Game,34.2%,Medium,0.2228314901476892, https://leetcode.com/problems/design-snake-game
133,Clone Graph,34.8%,Medium,0.22085334910266116, https://leetcode.com/problems/clone-graph
9,Palindrome Number,48.4%,Easy,0.2202947418496198, https://leetcode.com/problems/palindrome-number
986,Interval List Intersections,67.3%,Medium,0.21819454006628897, https://leetcode.com/problems/interval-list-intersections
229,Majority Element II,35.6%,Medium,0.21162970925187066, https://leetcode.com/problems/majority-element-ii
108,Convert Sorted Array to Binary Search Tree,57.9%,Easy,0.2113223542441748, https://leetcode.com/problems/convert-sorted-array-to-binary-search-tree
661,Image Smoother,51.5%,Easy,0.21106039931128698, https://leetcode.com/problems/image-smoother
124,Binary Tree Maximum Path Sum,34.3%,Hard,0.21055599204217199, https://leetcode.com/problems/binary-tree-maximum-path-sum
6,ZigZag Conversion,36.3%,Medium,0.21040551802808702, https://leetcode.com/problems/zigzag-conversion
741,Cherry Pickup,33.9%,Hard,0.20909179785855941, https://leetcode.com/problems/cherry-pickup
169,Majority Element,58.7%,Easy,0.2079562741042954, https://leetcode.com/problems/majority-element
837,New 21 Game,34.6%,Medium,0.20526312603636132, https://leetcode.com/problems/new-21-game
62,Unique Paths,54.1%,Medium,0.20453705875726236, https://leetcode.com/problems/unique-paths
220,Contains Duplicate III,20.9%,Medium,0.20432784239539936, https://leetcode.com/problems/contains-duplicate-iii
37,Sudoku Solver,43.6%,Hard,0.20309089276282075, https://leetcode.com/problems/sudoku-solver
543,Diameter of Binary Tree,48.4%,Easy,0.2027481163433401, https://leetcode.com/problems/diameter-of-binary-tree
557,Reverse Words in a String III,69.8%,Easy,0.1998533423830101, https://leetcode.com/problems/reverse-words-in-a-string-iii
349,Intersection of Two Arrays,62.5%,Easy,0.19894926823907688, https://leetcode.com/problems/intersection-of-two-arrays
120,Triangle,44.2%,Medium,0.19325424809414601, https://leetcode.com/problems/triangle
173,Binary Search Tree Iterator,56.6%,Medium,0.1932027494363769, https://leetcode.com/problems/binary-search-tree-iterator
65,Valid Number,15.3%,Hard,0.18904265746703205, https://leetcode.com/problems/valid-number
25,Reverse Nodes in k-Group,42.1%,Hard,0.18884373606243307, https://leetcode.com/problems/reverse-nodes-in-k-group
549,Binary Tree Longest Consecutive Sequence II,47.0%,Medium,0.1884471502206373, https://leetcode.com/problems/binary-tree-longest-consecutive-sequence-ii
178,Rank Scores,45.8%,Medium,0.18843907402659216, https://leetcode.com/problems/rank-scores
72,Edit Distance,44.8%,Hard,0.18554648786569794, https://leetcode.com/problems/edit-distance
77,Combinations,54.7%,Medium,0.18405670984385755, https://leetcode.com/problems/combinations
518,Coin Change 2,50.2%,Medium,0.18373876827436816, https://leetcode.com/problems/coin-change-2
231,Power of Two,43.7%,Easy,0.18077110562857268, https://leetcode.com/problems/power-of-two
234,Palindrome Linked List,39.3%,Easy,0.17561579569700486, https://leetcode.com/problems/palindrome-linked-list
240,Search a 2D Matrix II,43.2%,Medium,0.17420113958996, https://leetcode.com/problems/search-a-2d-matrix-ii
911,Online Election,50.4%,Medium,0.1741842396477574, https://leetcode.com/problems/online-election
74,Search a 2D Matrix,36.5%,Medium,0.17399668345849942, https://leetcode.com/problems/search-a-2d-matrix
1278,Palindrome Partitioning III,59.9%,Hard,0.17284281283941086, https://leetcode.com/problems/palindrome-partitioning-iii
151,Reverse Words in a String,21.9%,Medium,0.1707401585649133, https://leetcode.com/problems/reverse-words-in-a-string
43,Multiply Strings,33.9%,Medium,0.17061651017204038, https://leetcode.com/problems/multiply-strings
176,Second Highest Salary,31.6%,Easy,0.17018888346853764, https://leetcode.com/problems/second-highest-salary
190,Reverse Bits,39.8%,Easy,0.16833660590895258, https://leetcode.com/problems/reverse-bits
528,Random Pick with Weight,43.9%,Medium,0.16808800301828727, https://leetcode.com/problems/random-pick-with-weight
55,Jump Game,34.6%,Medium,0.16658918460830285, https://leetcode.com/problems/jump-game
642,Design Search Autocomplete System,44.7%,Hard,0.16312782492496253, https://leetcode.com/problems/design-search-autocomplete-system
821,Shortest Distance to a Character,66.9%,Easy,0.16229864091884685, https://leetcode.com/problems/shortest-distance-to-a-character
29,Divide Two Integers,16.4%,Medium,0.156913715105051, https://leetcode.com/problems/divide-two-integers
647,Palindromic Substrings,60.6%,Medium,0.154673282399905, https://leetcode.com/problems/palindromic-substrings
632,Smallest Range Covering Elements from K Lists,52.4%,Hard,0.15283920422944758, https://leetcode.com/problems/smallest-range-covering-elements-from-k-lists
470,Implement Rand10() Using Rand7(),46.3%,Medium,0.15154989812720093, https://leetcode.com/problems/implement-rand10-using-rand7
57,Insert Interval,33.5%,Hard,0.14994432629434787, https://leetcode.com/problems/insert-interval
739,Daily Temperatures,63.3%,Medium,0.14956674442158685, https://leetcode.com/problems/daily-temperatures
383,Ransom Note,53.1%,Easy,0.14842000511827327, https://leetcode.com/problems/ransom-note
83,Remove Duplicates from Sorted List,45.4%,Easy,0.14784842578508967, https://leetcode.com/problems/remove-duplicates-from-sorted-list
30,Substring with Concatenation of All Words,25.4%,Hard,0.1461170580676051, https://leetcode.com/problems/substring-with-concatenation-of-all-words
546,Remove Boxes,42.7%,Hard,0.14361551169114867, https://leetcode.com/problems/remove-boxes
116,Populating Next Right Pointers in Each Node,45.2%,Medium,0.13899325359219267, https://leetcode.com/problems/populating-next-right-pointers-in-each-node
1108,Defanging an IP Address,87.5%,Easy,0.13892162300436822, https://leetcode.com/problems/defanging-an-ip-address
687,Longest Univalue Path,36.2%,Easy,0.13857217423956994, https://leetcode.com/problems/longest-univalue-path
128,Longest Consecutive Sequence,45.1%,Hard,0.13583040733187832, https://leetcode.com/problems/longest-consecutive-sequence
427,Construct Quad Tree,61.4%,Medium,0.13580154115906176, https://leetcode.com/problems/construct-quad-tree
1044,Longest Duplicate Substring,31.9%,Hard,0.1351378186727963, https://leetcode.com/problems/longest-duplicate-substring
86,Partition List,41.5%,Medium,0.1338296774887775, https://leetcode.com/problems/partition-list
199,Binary Tree Right Side View,54.1%,Medium,0.13319296807660722, https://leetcode.com/problems/binary-tree-right-side-view
1221,Split a String in Balanced Strings,83.3%,Easy,0.1319324949716959, https://leetcode.com/problems/split-a-string-in-balanced-strings
977,Squares of a Sorted Array,72.1%,Easy,0.13133600206108695, https://leetcode.com/problems/squares-of-a-sorted-array
118,Pascal's Triangle,52.5%,Easy,0.12852395589356347, https://leetcode.com/problems/pascals-triangle
70,Climbing Stairs,47.8%,Easy,0.12772618382036388, https://leetcode.com/problems/climbing-stairs
198,House Robber,42.0%,Easy,0.12709898426651453, https://leetcode.com/problems/house-robber
359,Logger Rate Limiter,70.8%,Easy,0.1248502028794759, https://leetcode.com/problems/logger-rate-limiter
350,Intersection of Two Arrays II,51.4%,Easy,0.12274798010265034, https://leetcode.com/problems/intersection-of-two-arrays-ii
1114,Print in Order,65.7%,Easy,0.12136085700426744, https://leetcode.com/problems/print-in-order
211,Add and Search Word - Data structure design,38.1%,Medium,0.12092604505358262, https://leetcode.com/problems/add-and-search-word-data-structure-design
454,4Sum II,53.1%,Medium,0.1208030670124105, https://leetcode.com/problems/4sum-ii
867,Transpose Matrix,62.8%,Easy,0.11927747573936125, https://leetcode.com/problems/transpose-matrix
93,Restore IP Addresses,35.6%,Medium,0.11756123239496619, https://leetcode.com/problems/restore-ip-addresses
101,Symmetric Tree,46.8%,Easy,0.11583847861592966, https://leetcode.com/problems/symmetric-tree
184,Department Highest Salary,36.7%,Medium,0.111723209445655, https://leetcode.com/problems/department-highest-salary
82,Remove Duplicates from Sorted List II,36.8%,Medium,0.1110882064011508, https://leetcode.com/problems/remove-duplicates-from-sorted-list-ii
450,Delete Node in a BST,43.1%,Medium,0.11058538292750217, https://leetcode.com/problems/delete-node-in-a-bst
219,Contains Duplicate II,37.7%,Easy,0.10943188230246585, https://leetcode.com/problems/contains-duplicate-ii
78,Subsets,62.0%,Medium,0.10594222506883655, https://leetcode.com/problems/subsets
114,Flatten Binary Tree to Linked List,49.3%,Medium,0.1050144350175837, https://leetcode.com/problems/flatten-binary-tree-to-linked-list
407,Trapping Rain Water II,42.4%,Hard,0.10486899438963619, https://leetcode.com/problems/trapping-rain-water-ii
448,Find All Numbers Disappeared in an Array,55.9%,Easy,0.10453372768183221, https://leetcode.com/problems/find-all-numbers-disappeared-in-an-array
343,Integer Break,50.4%,Medium,0.10446541455492596, https://leetcode.com/problems/integer-break
560,Subarray Sum Equals K,43.9%,Medium,0.10184840494454048, https://leetcode.com/problems/subarray-sum-equals-k
453,Minimum Moves to Equal Array Elements,50.2%,Easy,0.10178269430994231, https://leetcode.com/problems/minimum-moves-to-equal-array-elements
416,Partition Equal Subset Sum,43.7%,Medium,0.10153641921942286, https://leetcode.com/problems/partition-equal-subset-sum
417,Pacific Atlantic Water Flow,41.1%,Medium,0.10008345855698253, https://leetcode.com/problems/pacific-atlantic-water-flow
143,Reorder List,37.1%,Medium,0.09969510903753867, https://leetcode.com/problems/reorder-list
162,Find Peak Element,43.3%,Medium,0.09706051838470164, https://leetcode.com/problems/find-peak-element
230,Kth Smallest Element in a BST,60.2%,Medium,0.09685471541555685, https://leetcode.com/problems/kth-smallest-element-in-a-bst
207,Course Schedule,43.1%,Medium,0.09601114875296962, https://leetcode.com/problems/course-schedule
338,Counting Bits,69.5%,Medium,0.09394125419698317, https://leetcode.com/problems/counting-bits
87,Scramble String,33.7%,Hard,0.09333193979221914, https://leetcode.com/problems/scramble-string
266,Palindrome Permutation,61.9%,Easy,0.091248671465145, https://leetcode.com/problems/palindrome-permutation
282,Expression Add Operators,35.5%,Hard,0.08720118433574389, https://leetcode.com/problems/expression-add-operators
622,Design Circular Queue,43.7%,Medium,0.08696405427235052, https://leetcode.com/problems/design-circular-queue
256,Paint House,52.1%,Easy,0.08650924290928251, https://leetcode.com/problems/paint-house
105,Construct Binary Tree from Preorder and Inorder Traversal,48.8%,Medium,0.08645856912332787, https://leetcode.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal
98,Validate Binary Search Tree,27.8%,Medium,0.0854255093169086, https://leetcode.com/problems/validate-binary-search-tree
287,Find the Duplicate Number,55.5%,Medium,0.0845834791494423, https://leetcode.com/problems/find-the-duplicate-number
345,Reverse Vowels of a String,44.2%,Easy,0.08413974844494757, https://leetcode.com/problems/reverse-vowels-of-a-string
582,Kill Process,60.8%,Medium,0.08355588569097351, https://leetcode.com/problems/kill-process
73,Set Matrix Zeroes,43.1%,Medium,0.08271965106891821, https://leetcode.com/problems/set-matrix-zeroes
26,Remove Duplicates from Sorted Array,45.1%,Easy,0.0792949457576407, https://leetcode.com/problems/remove-duplicates-from-sorted-array
208,Implement Trie (Prefix Tree),49.4%,Medium,0.07910997849332738, https://leetcode.com/problems/implement-trie-prefix-tree
180,Consecutive Numbers,39.7%,Medium,0.07851014032375832, https://leetcode.com/problems/consecutive-numbers
79,Word Search,35.6%,Medium,0.07847790263416941, https://leetcode.com/problems/word-search
142,Linked List Cycle II,37.3%,Medium,0.0775950985761474, https://leetcode.com/problems/linked-list-cycle-ii
435,Non-overlapping Intervals,42.9%,Medium,0.07565042495900788, https://leetcode.com/problems/non-overlapping-intervals
540,Single Element in a Sorted Array,57.9%,Medium,0.07473130562267008, https://leetcode.com/problems/single-element-in-a-sorted-array
445,Add Two Numbers II,54.5%,Medium,0.07468384317453133, https://leetcode.com/problems/add-two-numbers-ii
669,Trim a Binary Search Tree,63.0%,Easy,0.07445297819474968, https://leetcode.com/problems/trim-a-binary-search-tree
480,Sliding Window Median,37.2%,Hard,0.0743529801177063, https://leetcode.com/problems/sliding-window-median
515,Find Largest Value in Each Tree Row,61.1%,Medium,0.07428007438287054, https://leetcode.com/problems/find-largest-value-in-each-tree-row
19,Remove Nth Node From End of List,35.2%,Medium,0.07420700547851658, https://leetcode.com/problems/remove-nth-node-from-end-of-list
721,Accounts Merge,48.8%,Medium,0.07349495575336484, https://leetcode.com/problems/accounts-merge
153,Find Minimum in Rotated Sorted Array,45.1%,Medium,0.07343579359779528, https://leetcode.com/problems/find-minimum-in-rotated-sorted-array
617,Merge Two Binary Trees,74.1%,Easy,0.07201671240916602, https://leetcode.com/problems/merge-two-binary-trees
35,Search Insert Position,42.6%,Easy,0.07187646029497265, https://leetcode.com/problems/search-insert-position
442,Find All Duplicates in an Array,67.8%,Medium,0.07083107135140704, https://leetcode.com/problems/find-all-duplicates-in-an-array
378,Kth Smallest Element in a Sorted Matrix,54.3%,Medium,0.07059096970081927, https://leetcode.com/problems/kth-smallest-element-in-a-sorted-matrix
126,Word Ladder II,22.1%,Hard,0.07011193038456472, https://leetcode.com/problems/word-ladder-ii
542,01 Matrix,39.8%,Medium,0.0700198447248843, https://leetcode.com/problems/01-matrix
123,Best Time to Buy and Sell Stock III,37.5%,Hard,0.06838868749455218, https://leetcode.com/problems/best-time-to-buy-and-sell-stock-iii
1011,Capacity To Ship Packages Within D Days,58.1%,Medium,0.06649420875558125, https://leetcode.com/problems/capacity-to-ship-packages-within-d-days
863,All Nodes Distance K in Binary Tree,55.4%,Medium,0.06616716425077336, https://leetcode.com/problems/all-nodes-distance-k-in-binary-tree
94,Binary Tree Inorder Traversal,63.3%,Medium,0.06583997601175454, https://leetcode.com/problems/binary-tree-inorder-traversal
122,Best Time to Buy and Sell Stock II,57.0%,Easy,0.06582927042348097, https://leetcode.com/problems/best-time-to-buy-and-sell-stock-ii
95,Unique Binary Search Trees II,40.6%,Medium,0.06578614881622968, https://leetcode.com/problems/unique-binary-search-trees-ii
135,Candy,31.6%,Hard,0.06576510995956455, https://leetcode.com/problems/candy
326,Power of Three,42.1%,Easy,0.06353762681243758, https://leetcode.com/problems/power-of-three
772,Basic Calculator III,41.3%,Hard,0.06331227941432688, https://leetcode.com/problems/basic-calculator-iii
110,Balanced Binary Tree,43.5%,Easy,0.06153684147582857, https://leetcode.com/problems/balanced-binary-tree
1002,Find Common Characters,67.6%,Easy,0.059741539575795824, https://leetcode.com/problems/find-common-characters
103,Binary Tree Zigzag Level Order Traversal,48.3%,Medium,0.05973658149689521, https://leetcode.com/problems/binary-tree-zigzag-level-order-traversal
561,Array Partition I,72.0%,Easy,0.059408706690609644, https://leetcode.com/problems/array-partition-i
931,Minimum Falling Path Sum,62.5%,Medium,0.05914995982464103, https://leetcode.com/problems/minimum-falling-path-sum
890,Find and Replace Pattern,73.4%,Medium,0.0568334747631659, https://leetcode.com/problems/find-and-replace-pattern
301,Remove Invalid Parentheses,43.3%,Hard,0.0566523153423806, https://leetcode.com/problems/remove-invalid-parentheses
912,Sort an Array,63.9%,Medium,0.056512210263342307, https://leetcode.com/problems/sort-an-array
371,Sum of Two Integers,50.7%,Medium,0.05511036271051877, https://leetcode.com/problems/sum-of-two-integers
304,Range Sum Query 2D - Immutable,38.6%,Medium,0.054527987071175225, https://leetcode.com/problems/range-sum-query-2d-immutable
594,Longest Harmonious Subsequence,46.6%,Easy,0.054435206555017046, https://leetcode.com/problems/longest-harmonious-subsequence
63,Unique Paths II,34.6%,Medium,0.05324937607387791, https://leetcode.com/problems/unique-paths-ii
1315,Sum of Nodes with Even-Valued Grandparent,83.5%,Medium,0.05317259535592034, https://leetcode.com/problems/sum-of-nodes-with-even-valued-grandparent
134,Gas Station,38.5%,Medium,0.05304524877458272, https://leetcode.com/problems/gas-station
1275,Find Winner on a Tic Tac Toe Game,52.8%,Easy,0.05292240145434251, https://leetcode.com/problems/find-winner-on-a-tic-tac-toe-game
767,Reorganize String,48.7%,Medium,0.05216306328458592, https://leetcode.com/problems/reorganize-string
695,Max Area of Island,62.7%,Medium,0.04980799142417255, https://leetcode.com/problems/max-area-of-island
50,Pow(x;n),30.3%,Medium,0.049262619451480506, https://leetcode.com/problems/powx-n
709,To Lower Case,79.3%,Easy,0.048909503032274274, https://leetcode.com/problems/to-lower-case
621,Task Scheduler,50.1%,Medium,0.04638413032188776, https://leetcode.com/problems/task-scheduler
166,Fraction to Recurring Decimal,21.6%,Medium,0.04478360262697337, https://leetcode.com/problems/fraction-to-recurring-decimal
347,Top K Frequent Elements,61.2%,Medium,0.04399269847160566, https://leetcode.com/problems/top-k-frequent-elements
490,The Maze,51.4%,Medium,0.04287902305923364, https://leetcode.com/problems/the-maze
674,Longest Continuous Increasing Subsequence,45.9%,Easy,0.04225980928988265, https://leetcode.com/problems/longest-continuous-increasing-subsequence
430,Flatten a Multilevel Doubly Linked List,55.1%,Medium,0.04154283751370906, https://leetcode.com/problems/flatten-a-multilevel-doubly-linked-list
907,Sum of Subarray Minimums,32.3%,Medium,0.04069737616380998, https://leetcode.com/problems/sum-of-subarray-minimums
1060,Missing Element in Sorted Array,54.5%,Medium,0.03879796954098255, https://leetcode.com/problems/missing-element-in-sorted-array
47,Permutations II,46.4%,Medium,0.038145268259690404, https://leetcode.com/problems/permutations-ii
210,Course Schedule II,40.7%,Medium,0.03795788828372613, https://leetcode.com/problems/course-schedule-ii
40,Combination Sum II,48.2%,Medium,0.037775974158907266, https://leetcode.com/problems/combination-sum-ii
64,Minimum Path Sum,54.5%,Medium,0.03769479893530684, https://leetcode.com/problems/minimum-path-sum
1021,Remove Outermost Parentheses,78.0%,Easy,0.03660433056251234, https://leetcode.com/problems/remove-outermost-parentheses
374,Guess Number Higher or Lower,43.1%,Easy,0.03422387238757742, https://leetcode.com/problems/guess-number-higher-or-lower
886,Possible Bipartition,44.2%,Medium,0.034103901828857086, https://leetcode.com/problems/possible-bipartition
226,Invert Binary Tree,65.0%,Easy,0.03393837323839263, https://leetcode.com/problems/invert-binary-tree
112,Path Sum,41.2%,Easy,0.03370499686939782, https://leetcode.com/problems/path-sum
217,Contains Duplicate,56.0%,Easy,0.03367321510658789, https://leetcode.com/problems/contains-duplicate
516,Longest Palindromic Subsequence,53.2%,Medium,0.0332870969222259, https://leetcode.com/problems/longest-palindromic-subsequence
1146,Snapshot Array,37.0%,Medium,0.0317991816929387, https://leetcode.com/problems/snapshot-array
703,Kth Largest Element in a Stream,49.7%,Easy,0.031004894819414507, https://leetcode.com/problems/kth-largest-element-in-a-stream
530,Minimum Absolute Difference in BST,53.8%,Easy,0.030677252247047038, https://leetcode.com/problems/minimum-absolute-difference-in-bst
876,Middle of the Linked List,68.4%,Easy,0.030156827290986423, https://leetcode.com/problems/middle-of-the-linked-list
1197,Minimum Knight Moves,36.1%,Medium,0.02969780239174205, https://leetcode.com/problems/minimum-knight-moves
938,Range Sum of BST,81.3%,Easy,0.027755467721532374, https://leetcode.com/problems/range-sum-of-bst
811,Subdomain Visit Count,69.9%,Easy,0.02772180293027194, https://leetcode.com/problems/subdomain-visit-count
67,Add Binary,45.2%,Easy,0.026266540645351912, https://leetcode.com/problems/add-binary
373,Find K Pairs with Smallest Sums,36.7%,Medium,0.02626546261018635, https://leetcode.com/problems/find-k-pairs-with-smallest-sums
111,Minimum Depth of Binary Tree,37.4%,Easy,0.026222413650382477, https://leetcode.com/problems/minimum-depth-of-binary-tree
961,N-Repeated Element in Size 2N Array,73.7%,Easy,0.025609594204324387, https://leetcode.com/problems/n-repeated-element-in-size-2n-array
1038,Binary Search Tree to Greater Sum Tree,80.8%,Medium,0.025446665661164262, https://leetcode.com/problems/binary-search-tree-to-greater-sum-tree
310,Minimum Height Trees,32.3%,Medium,0.02446605215440636, https://leetcode.com/problems/minimum-height-trees
804,Unique Morse Code Words,77.0%,Easy,0.024332100659530644, https://leetcode.com/problems/unique-morse-code-words
286,Walls and Gates,54.5%,Medium,0.02324334737232728, https://leetcode.com/problems/walls-and-gates
766,Toeplitz Matrix,65.1%,Easy,0.02280600552903764, https://leetcode.com/problems/toeplitz-matrix
113,Path Sum II,46.7%,Medium,0.021882711249507664, https://leetcode.com/problems/path-sum-ii
905,Sort Array By Parity,74.1%,Easy,0.02148053951675942, https://leetcode.com/problems/sort-array-by-parity
670,Maximum Swap,43.6%,Medium,0.020844944430365928, https://leetcode.com/problems/maximum-swap
60,Permutation Sequence,38.4%,Hard,0.020471543980187256, https://leetcode.com/problems/permutation-sequence
66,Plus One,43.0%,Easy,0.020215776991954044, https://leetcode.com/problems/plus-one
525,Contiguous Array,42.8%,Medium,0.01975372873623256, https://leetcode.com/problems/contiguous-array
700,Search in a Binary Search Tree,73.1%,Easy,0.01905222743200806, https://leetcode.com/problems/search-in-a-binary-search-tree
209,Minimum Size Subarray Sum,38.2%,Medium,0.018832948333092125, https://leetcode.com/problems/minimum-size-subarray-sum
406,Queue Reconstruction by Height,66.9%,Medium,0.01774669468133533, https://leetcode.com/problems/queue-reconstruction-by-height
100,Same Tree,53.4%,Easy,0.017112941192143866, https://leetcode.com/problems/same-tree
628,Maximum Product of Three Numbers,47.1%,Easy,0.016529301951210565, https://leetcode.com/problems/maximum-product-of-three-numbers
188,Best Time to Buy and Sell Stock IV,28.0%,Hard,0.01651565203072114, https://leetcode.com/problems/best-time-to-buy-and-sell-stock-iv
203,Remove Linked List Elements,38.6%,Easy,0.014519311324453305, https://leetcode.com/problems/remove-linked-list-elements
107,Binary Tree Level Order Traversal II,53.5%,Easy,0.014395642075089957, https://leetcode.com/problems/binary-tree-level-order-traversal-ii
258,Add Digits,57.6%,Easy,0.012859598023941623, https://leetcode.com/problems/add-digits
181,Employees Earning More Than Their Managers,56.9%,Easy,0.012618463959211509, https://leetcode.com/problems/employees-earning-more-than-their-managers
257,Binary Tree Paths,51.5%,Easy,0.010457611643958139, https://leetcode.com/problems/binary-tree-paths
819,Most Common Word,44.8%,Easy,0.010269666637456105, https://leetcode.com/problems/most-common-word
96,Unique Binary Search Trees,52.9%,Medium,0.009242209964820877, https://leetcode.com/problems/unique-binary-search-trees
937,Reorder Data in Log Files,54.3%,Easy,0.008415787099648575, https://leetcode.com/problems/reorder-data-in-log-files
763,Partition Labels,76.1%,Medium,0.008385793376274025, https://leetcode.com/problems/partition-labels
260,Single Number III,64.3%,Medium,0.008090659020153698, https://leetcode.com/problems/single-number-iii
309,Best Time to Buy and Sell Stock with Cooldown,47.4%,Medium,0.006400704591951834, https://leetcode.com/problems/best-time-to-buy-and-sell-stock-with-cooldown
565,Array Nesting,55.5%,Medium,0, https://leetcode.com/problems/array-nesting
ID,Title,Acceptance,Difficulty,Frequency,Leetcode Question Link
1,Two Sum,45.6%,Easy,2.44165352519978, https://leetcode.com/problems/two-sum
146,LRU Cache,33.2%,Medium,2.288507627845124, https://leetcode.com/problems/lru-cache
403,Frog Jump,39.7%,Hard,2.1353617304904677, https://leetcode.com/problems/frog-jump
54,Spiral Matrix,34.1%,Medium,1.9822158331358115, https://leetcode.com/problems/spiral-matrix
2,Add Two Numbers,33.9%,Medium,1.9375806091809586, https://leetcode.com/problems/add-two-numbers
284,Peeking Iterator,45.7%,Medium,1.8988473588427888, https://leetcode.com/problems/peeking-iterator
4,Median of Two Sorted Arrays,29.6%,Hard,1.7457014614881325, https://leetcode.com/problems/median-of-two-sorted-arrays
53,Maximum Subarray,46.5%,Easy,1.6039792365262746, https://leetcode.com/problems/maximum-subarray
341,Flatten Nested List Iterator,52.9%,Medium,1.5961203655643161, https://leetcode.com/problems/flatten-nested-list-iterator
42,Trapping Rain Water,48.9%,Hard,1.4504927724580507, https://leetcode.com/problems/trapping-rain-water
391,Perfect Rectangle,30.5%,Hard,1.2973468751033945, https://leetcode.com/problems/perfect-rectangle
206,Reverse Linked List,62.5%,Easy,1.2889543040599838, https://leetcode.com/problems/reverse-linked-list
295,Find Median from Data Stream,44.3%,Hard,1.2415624618248458, https://leetcode.com/problems/find-median-from-data-stream
200,Number of Islands,46.8%,Medium,1.2336678652006239, https://leetcode.com/problems/number-of-islands
5,Longest Palindromic Substring,29.5%,Medium,1.2049820501287227, https://leetcode.com/problems/longest-palindromic-substring
218,The Skyline Problem,34.6%,Hard,1.2026816485623162, https://leetcode.com/problems/the-skyline-problem
1095,Find in Mountain Array,35.8%,Hard,1.2013559031699637, https://leetcode.com/problems/find-in-mountain-array
97,Interleaving String,31.5%,Hard,1.1879190873014442, https://leetcode.com/problems/interleaving-string
479,Largest Palindrome Product,29.0%,Hard,1.1700712526502546, https://leetcode.com/problems/largest-palindrome-product
393,UTF-8 Validation,37.5%,Medium,1.1560693436928968, https://leetcode.com/problems/utf-8-validation
238,Product of Array Except Self,60.1%,Medium,1.125997958136907, https://leetcode.com/problems/product-of-array-except-self
311,Sparse Matrix Multiplication,61.9%,Medium,1.1083957349771807, https://leetcode.com/problems/sparse-matrix-multiplication
8,String to Integer (atoi),15.4%,Medium,1.0728242725044976, https://leetcode.com/problems/string-to-integer-atoi
428,Serialize and Deserialize N-ary Tree,59.4%,Hard,1.0697178226683948, https://leetcode.com/problems/serialize-and-deserialize-n-ary-tree
348,Design Tic-Tac-Toe,54.3%,Medium,1.0191481173138628, https://leetcode.com/problems/design-tic-tac-toe
56,Merge Intervals,39.3%,Medium,1.01565662402753, https://leetcode.com/problems/merge-intervals
15,3Sum,26.8%,Medium,1.0028066641920665, https://leetcode.com/problems/3sum
202,Happy Number,50.4%,Easy,0.9974860771490718, https://leetcode.com/problems/happy-number
329,Longest Increasing Path in a Matrix,43.4%,Hard,0.9678875215177066, https://leetcode.com/problems/longest-increasing-path-in-a-matrix
49,Group Anagrams,56.9%,Medium,0.9561708823315207, https://leetcode.com/problems/group-anagrams
23,Merge k Sorted Lists,40.2%,Hard,0.9024122656636089, https://leetcode.com/problems/merge-k-sorted-lists
3,Longest Substring Without Repeating Characters,30.4%,Medium,0.8759518910272411, https://leetcode.com/problems/longest-substring-without-repeating-characters
21,Merge Two Sorted Lists,53.5%,Easy,0.8331029734573284, https://leetcode.com/problems/merge-two-sorted-lists
139,Word Break,40.1%,Medium,0.7861844908659293, https://leetcode.com/problems/word-break
351,Android Unlock Patterns,48.4%,Medium,0.7857399673877702, https://leetcode.com/problems/android-unlock-patterns
20,Valid Parentheses,39.0%,Easy,0.7728842221115333, https://leetcode.com/problems/valid-parentheses
269,Alien Dictionary,33.3%,Hard,0.7683984542353193, https://leetcode.com/problems/alien-dictionary
212,Word Search II,34.9%,Hard,0.7375344172881568, https://leetcode.com/problems/word-search-ii
149,Max Points on a Line,16.9%,Hard,0.7241094061639122, https://leetcode.com/problems/max-points-on-a-line
33,Search in Rotated Sorted Array,34.5%,Medium,0.7169635384120102, https://leetcode.com/problems/search-in-rotated-sorted-array
48,Rotate Image,56.7%,Medium,0.6937855463652177, https://leetcode.com/problems/rotate-image
242,Valid Anagram,56.9%,Easy,0.6931992137571369, https://leetcode.com/problems/valid-anagram
7,Reverse Integer,25.8%,Easy,0.6643014117400133, https://leetcode.com/problems/reverse-integer
204,Count Primes,31.5%,Easy,0.6619706759370921, https://leetcode.com/problems/count-primes
17,Letter Combinations of a Phone Number,46.8%,Medium,0.6562442821203051, https://leetcode.com/problems/letter-combinations-of-a-phone-number
227,Basic Calculator II,36.9%,Medium,0.642608764196984, https://leetcode.com/problems/basic-calculator-ii
412,Fizz Buzz,62.3%,Easy,0.6260403395391076, https://leetcode.com/problems/fizz-buzz
121,Best Time to Buy and Sell Stock,50.5%,Easy,0.6154427600124589, https://leetcode.com/problems/best-time-to-buy-and-sell-stock
472,Concatenated Words,43.7%,Hard,0.6143892946481566, https://leetcode.com/problems/concatenated-words
387,First Unique Character in a String,53.4%,Easy,0.599968522143342, https://leetcode.com/problems/first-unique-character-in-a-string
688,Knight Probability in Chessboard,48.9%,Medium,0.581062856900522, https://leetcode.com/problems/knight-probability-in-chessboard
281,Zigzag Iterator,58.4%,Medium,0.5665602602882338, https://leetcode.com/problems/zigzag-iterator
344,Reverse String,68.5%,Easy,0.5520785062823355, https://leetcode.com/problems/reverse-string
380,Insert Delete GetRandom O(1),47.5%,Medium,0.5382766101249649, https://leetcode.com/problems/insert-delete-getrandom-o1
12,Integer to Roman,55.1%,Medium,0.527144190884061, https://leetcode.com/problems/integer-to-roman
322,Coin Change,35.5%,Medium,0.5202300817939691, https://leetcode.com/problems/coin-change
545,Boundary of Binary Tree,38.9%,Medium,0.5184398737512361, https://leetcode.com/problems/boundary-of-binary-tree
394,Decode String,50.0%,Medium,0.5093485186229775, https://leetcode.com/problems/decode-string
36,Valid Sudoku,48.7%,Medium,0.505273909298483, https://leetcode.com/problems/valid-sudoku
297,Serialize and Deserialize Binary Tree,47.5%,Hard,0.4952936935923334, https://leetcode.com/problems/serialize-and-deserialize-binary-tree
236,Lowest Common Ancestor of a Binary Tree,45.7%,Medium,0.4854623787914392, https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-tree
125,Valid Palindrome,36.7%,Easy,0.48439503752030155, https://leetcode.com/problems/valid-palindrome
251,Flatten 2D Vector,45.7%,Medium,0.4808790962829651, https://leetcode.com/problems/flatten-2d-vector
45,Jump Game II,30.6%,Hard,0.47865910784592636, https://leetcode.com/problems/jump-game-ii
46,Permutations,63.5%,Medium,0.4752581007118412, https://leetcode.com/problems/permutations
191,Number of 1 Bits,49.8%,Easy,0.4747037980781537, https://leetcode.com/problems/number-of-1-bits
14,Longest Common Prefix,35.4%,Easy,0.47383141489567654, https://leetcode.com/problems/longest-common-prefix
31,Next Permutation,32.6%,Medium,0.4704916447217573, https://leetcode.com/problems/next-permutation
771,Jewels and Stones,86.4%,Easy,0.4651251797550661, https://leetcode.com/problems/jewels-and-stones
724,Find Pivot Index,44.0%,Easy,0.4632690080861186, https://leetcode.com/problems/find-pivot-index
336,Palindrome Pairs,33.7%,Hard,0.462623521948113, https://leetcode.com/problems/palindrome-pairs
155,Min Stack,44.5%,Easy,0.421871495581358, https://leetcode.com/problems/min-stack
177,Nth Highest Salary,31.4%,Medium,0.41948151008170015, https://leetcode.com/problems/nth-highest-salary
253,Meeting Rooms II,45.7%,Medium,0.41816049272375677, https://leetcode.com/problems/meeting-rooms-ii
273,Integer to English Words,27.1%,Hard,0.4144392041299435, https://leetcode.com/problems/integer-to-english-words
460,LFU Cache,34.2%,Hard,0.40755934971127916, https://leetcode.com/problems/lfu-cache
836,Rectangle Overlap,48.6%,Easy,0.4032144677719462, https://leetcode.com/problems/rectangle-overlap
1229,Meeting Scheduler,52.7%,Medium,0.40225040958769004, https://leetcode.com/problems/meeting-scheduler
13,Roman to Integer,55.7%,Easy,0.40185220095239377, https://leetcode.com/problems/roman-to-integer
175,Combine Two Tables,60.8%,Easy,0.4017882776475531, https://leetcode.com/problems/combine-two-tables
419,Battleships in a Board,70.0%,Medium,0.3933437475758196, https://leetcode.com/problems/battleships-in-a-board
909,Snakes and Ladders,38.4%,Medium,0.38977851194046487, https://leetcode.com/problems/snakes-and-ladders
733,Flood Fill,55.3%,Easy,0.38973764039563735, https://leetcode.com/problems/flood-fill
981,Time Based Key-Value Store,53.1%,Medium,0.3755723540313778, https://leetcode.com/problems/time-based-key-value-store
279,Perfect Squares,47.4%,Medium,0.3741145782240884, https://leetcode.com/problems/perfect-squares
138,Copy List with Random Pointer,36.4%,Medium,0.37065838268713125, https://leetcode.com/problems/copy-list-with-random-pointer
388,Longest Absolute File Path,41.8%,Medium,0.3696340885812376, https://leetcode.com/problems/longest-absolute-file-path
168,Excel Sheet Column Title,31.1%,Easy,0.3628674542424574, https://leetcode.com/problems/excel-sheet-column-title
88,Merge Sorted Array,39.4%,Easy,0.3605564574852291, https://leetcode.com/problems/merge-sorted-array
141,Linked List Cycle,41.1%,Easy,0.3531074716115724, https://leetcode.com/problems/linked-list-cycle
18,4Sum,33.7%,Medium,0.34917906630295314, https://leetcode.com/problems/4sum
609,Find Duplicate File in System,59.5%,Medium,0.34796661604694806, https://leetcode.com/problems/find-duplicate-file-in-system
51,N-Queens,46.6%,Hard,0.34587301090591877, https://leetcode.com/problems/n-queens
694,Number of Distinct Islands,56.0%,Medium,0.34240697214102744, https://leetcode.com/problems/number-of-distinct-islands
102,Binary Tree Level Order Traversal,54.6%,Medium,0.3378514215595053, https://leetcode.com/problems/binary-tree-level-order-traversal
76,Minimum Window Substring,34.6%,Hard,0.33651688545811814, https://leetcode.com/problems/minimum-window-substring
59,Spiral Matrix II,53.9%,Medium,0.33499311472223486, https://leetcode.com/problems/spiral-matrix-ii
233,Number of Digit One,31.3%,Hard,0.3343430661930074, https://leetcode.com/problems/number-of-digit-one
268,Missing Number,51.7%,Easy,0.3338128467131867, https://leetcode.com/problems/missing-number
195,Tenth Line,33.0%,Easy,0.33285477845978384, https://leetcode.com/problems/tenth-line
140,Word Break II,32.6%,Hard,0.3295552897925928, https://leetcode.com/problems/word-break-ii
333,Largest BST Subtree,35.8%,Medium,0.32931497055013925, https://leetcode.com/problems/largest-bst-subtree
32,Longest Valid Parentheses,28.4%,Hard,0.3269467909737243, https://leetcode.com/problems/longest-valid-parentheses
38,Count and Say,44.6%,Easy,0.3258044151850429, https://leetcode.com/problems/count-and-say
384,Shuffle an Array,52.8%,Medium,0.3251022057535279, https://leetcode.com/problems/shuffle-an-array
127,Word Ladder,29.6%,Medium,0.32483918858722843, https://leetcode.com/problems/word-ladder
16,3Sum Closest,46.0%,Medium,0.3149279072827814, https://leetcode.com/problems/3sum-closest
692,Top K Frequent Words,51.8%,Medium,0.31457116512531025, https://leetcode.com/problems/top-k-frequent-words
706,Design HashMap,61.3%,Easy,0.30607943759149703, https://leetcode.com/problems/design-hashmap
10,Regular Expression Matching,26.8%,Hard,0.3026257535192428, https://leetcode.com/problems/regular-expression-matching
24,Swap Nodes in Pairs,50.4%,Medium,0.30089598994357436, https://leetcode.com/problems/swap-nodes-in-pairs
283,Move Zeroes,57.8%,Easy,0.29983432977210245, https://leetcode.com/problems/move-zeroes
179,Largest Number,28.8%,Medium,0.2993933318726824, https://leetcode.com/problems/largest-number
332,Reconstruct Itinerary,36.7%,Medium,0.29733066556761284, https://leetcode.com/problems/reconstruct-itinerary
193,Valid Phone Numbers,25.3%,Easy,0.29626581614317243, https://leetcode.com/problems/valid-phone-numbers
34,Find First and Last Position of Element in Sorted Array,36.2%,Medium,0.2962385293756158, https://leetcode.com/problems/find-first-and-last-position-of-element-in-sorted-array
68,Text Justification,27.7%,Hard,0.29518712556880805, https://leetcode.com/problems/text-justification
232,Implement Queue using Stacks,49.6%,Easy,0.29416188100982804, https://leetcode.com/problems/implement-queue-using-stacks
171,Excel Sheet Column Number,55.9%,Easy,0.2930854047798333, https://leetcode.com/problems/excel-sheet-column-number
401,Binary Watch,47.5%,Easy,0.29139641067451033, https://leetcode.com/problems/binary-watch
300,Longest Increasing Subsequence,42.6%,Medium,0.29104142745374856, https://leetcode.com/problems/longest-increasing-subsequence
91,Decode Ways,24.7%,Medium,0.2902229900433467, https://leetcode.com/problems/decode-ways
796,Rotate String,49.6%,Easy,0.28922092887241174, https://leetcode.com/problems/rotate-string
239,Sliding Window Maximum,43.0%,Hard,0.2889699026362096, https://leetcode.com/problems/sliding-window-maximum
729,My Calendar I,51.8%,Medium,0.28814578681204955, https://leetcode.com/problems/my-calendar-i
463,Island Perimeter,65.7%,Easy,0.2871321686710828, https://leetcode.com/problems/island-perimeter
996,Number of Squareful Arrays,47.8%,Hard,0.28675913745318005, https://leetcode.com/problems/number-of-squareful-arrays
973,K Closest Points to Origin,63.8%,Medium,0.28194765395047156, https://leetcode.com/problems/k-closest-points-to-origin
39,Combination Sum,56.1%,Medium,0.2794799975469249, https://leetcode.com/problems/combination-sum
75,Sort Colors,47.3%,Medium,0.2778743740687611, https://leetcode.com/problems/sort-colors
136,Single Number,65.5%,Easy,0.27522969174444734, https://leetcode.com/problems/single-number
41,First Missing Positive,32.0%,Hard,0.2739607716310848, https://leetcode.com/problems/first-missing-positive
362,Design Hit Counter,63.7%,Medium,0.2737682417732349, https://leetcode.com/problems/design-hit-counter
11,Container With Most Water,50.8%,Medium,0.2679205380972798, https://leetcode.com/problems/container-with-most-water
486,Predict the Winner,47.9%,Medium,0.26356981012283964, https://leetcode.com/problems/predict-the-winner
221,Maximal Square,37.7%,Medium,0.26278452083005377, https://leetcode.com/problems/maximal-square
223,Rectangle Area,37.8%,Medium,0.2578291093020998, https://leetcode.com/problems/rectangle-area
315,Count of Smaller Numbers After Self,41.5%,Hard,0.2567607594720918, https://leetcode.com/problems/count-of-smaller-numbers-after-self
187,Repeated DNA Sequences,38.9%,Medium,0.2529118727100632, https://leetcode.com/problems/repeated-dna-sequences
443,String Compression,41.3%,Easy,0.2496791049401753, https://leetcode.com/problems/string-compression
22,Generate Parentheses,62.7%,Medium,0.24664152258151367, https://leetcode.com/problems/generate-parentheses
316,Remove Duplicate Letters,35.8%,Hard,0.24545840052279075, https://leetcode.com/problems/remove-duplicate-letters
895,Maximum Frequency Stack,60.6%,Hard,0.24416008667586836, https://leetcode.com/problems/maximum-frequency-stack
415,Add Strings,47.5%,Easy,0.24230382668402778, https://leetcode.com/problems/add-strings
277,Find the Celebrity,41.8%,Medium,0.24003104821376078, https://leetcode.com/problems/find-the-celebrity
167,Two Sum II - Input array is sorted,54.1%,Easy,0.23949403264353084, https://leetcode.com/problems/two-sum-ii-input-array-is-sorted
658,Find K Closest Elements,40.9%,Medium,0.23744614004484665, https://leetcode.com/problems/find-k-closest-elements
381,Insert Delete GetRandom O(1) - Duplicates allowed,34.1%,Hard,0.2349381278070467, https://leetcode.com/problems/insert-delete-getrandom-o1-duplicates-allowed
92,Reverse Linked List II,38.8%,Medium,0.23274095442047985, https://leetcode.com/problems/reverse-linked-list-ii
636,Exclusive Time of Functions,52.0%,Medium,0.23128872777861115, https://leetcode.com/problems/exclusive-time-of-functions
509,Fibonacci Number,67.2%,Easy,0.22873204718012582, https://leetcode.com/problems/fibonacci-number
165,Compare Version Numbers,27.4%,Medium,0.22687712200146865, https://leetcode.com/problems/compare-version-numbers
28,Implement strStr(),34.5%,Easy,0.22543251399322328, https://leetcode.com/problems/implement-strstr
237,Delete Node in a Linked List,63.8%,Easy,0.22533328620090126, https://leetcode.com/problems/delete-node-in-a-linked-list
104,Maximum Depth of Binary Tree,66.0%,Easy,0.2247057029374007, https://leetcode.com/problems/maximum-depth-of-binary-tree
498,Diagonal Traverse,48.2%,Medium,0.22440062250426088, https://leetcode.com/problems/diagonal-traverse
69,Sqrt(x),33.9%,Easy,0.22365492948950624, https://leetcode.com/problems/sqrtx
215,Kth Largest Element in an Array,55.4%,Medium,0.22333903562721621, https://leetcode.com/problems/kth-largest-element-in-an-array
353,Design Snake Game,34.2%,Medium,0.2228314901476892, https://leetcode.com/problems/design-snake-game
133,Clone Graph,34.8%,Medium,0.22085334910266116, https://leetcode.com/problems/clone-graph
9,Palindrome Number,48.4%,Easy,0.2202947418496198, https://leetcode.com/problems/palindrome-number
986,Interval List Intersections,67.3%,Medium,0.21819454006628897, https://leetcode.com/problems/interval-list-intersections
229,Majority Element II,35.6%,Medium,0.21162970925187066, https://leetcode.com/problems/majority-element-ii
108,Convert Sorted Array to Binary Search Tree,57.9%,Easy,0.2113223542441748, https://leetcode.com/problems/convert-sorted-array-to-binary-search-tree
661,Image Smoother,51.5%,Easy,0.21106039931128698, https://leetcode.com/problems/image-smoother
124,Binary Tree Maximum Path Sum,34.3%,Hard,0.21055599204217199, https://leetcode.com/problems/binary-tree-maximum-path-sum
6,ZigZag Conversion,36.3%,Medium,0.21040551802808702, https://leetcode.com/problems/zigzag-conversion
741,Cherry Pickup,33.9%,Hard,0.20909179785855941, https://leetcode.com/problems/cherry-pickup
169,Majority Element,58.7%,Easy,0.2079562741042954, https://leetcode.com/problems/majority-element
837,New 21 Game,34.6%,Medium,0.20526312603636132, https://leetcode.com/problems/new-21-game
62,Unique Paths,54.1%,Medium,0.20453705875726236, https://leetcode.com/problems/unique-paths
220,Contains Duplicate III,20.9%,Medium,0.20432784239539936, https://leetcode.com/problems/contains-duplicate-iii
37,Sudoku Solver,43.6%,Hard,0.20309089276282075, https://leetcode.com/problems/sudoku-solver
543,Diameter of Binary Tree,48.4%,Easy,0.2027481163433401, https://leetcode.com/problems/diameter-of-binary-tree
557,Reverse Words in a String III,69.8%,Easy,0.1998533423830101, https://leetcode.com/problems/reverse-words-in-a-string-iii
349,Intersection of Two Arrays,62.5%,Easy,0.19894926823907688, https://leetcode.com/problems/intersection-of-two-arrays
120,Triangle,44.2%,Medium,0.19325424809414601, https://leetcode.com/problems/triangle
173,Binary Search Tree Iterator,56.6%,Medium,0.1932027494363769, https://leetcode.com/problems/binary-search-tree-iterator
65,Valid Number,15.3%,Hard,0.18904265746703205, https://leetcode.com/problems/valid-number
25,Reverse Nodes in k-Group,42.1%,Hard,0.18884373606243307, https://leetcode.com/problems/reverse-nodes-in-k-group
549,Binary Tree Longest Consecutive Sequence II,47.0%,Medium,0.1884471502206373, https://leetcode.com/problems/binary-tree-longest-consecutive-sequence-ii
178,Rank Scores,45.8%,Medium,0.18843907402659216, https://leetcode.com/problems/rank-scores
72,Edit Distance,44.8%,Hard,0.18554648786569794, https://leetcode.com/problems/edit-distance
77,Combinations,54.7%,Medium,0.18405670984385755, https://leetcode.com/problems/combinations
518,Coin Change 2,50.2%,Medium,0.18373876827436816, https://leetcode.com/problems/coin-change-2
231,Power of Two,43.7%,Easy,0.18077110562857268, https://leetcode.com/problems/power-of-two
234,Palindrome Linked List,39.3%,Easy,0.17561579569700486, https://leetcode.com/problems/palindrome-linked-list
240,Search a 2D Matrix II,43.2%,Medium,0.17420113958996, https://leetcode.com/problems/search-a-2d-matrix-ii
911,Online Election,50.4%,Medium,0.1741842396477574, https://leetcode.com/problems/online-election
74,Search a 2D Matrix,36.5%,Medium,0.17399668345849942, https://leetcode.com/problems/search-a-2d-matrix
1278,Palindrome Partitioning III,59.9%,Hard,0.17284281283941086, https://leetcode.com/problems/palindrome-partitioning-iii
151,Reverse Words in a String,21.9%,Medium,0.1707401585649133, https://leetcode.com/problems/reverse-words-in-a-string
43,Multiply Strings,33.9%,Medium,0.17061651017204038, https://leetcode.com/problems/multiply-strings
176,Second Highest Salary,31.6%,Easy,0.17018888346853764, https://leetcode.com/problems/second-highest-salary
190,Reverse Bits,39.8%,Easy,0.16833660590895258, https://leetcode.com/problems/reverse-bits
528,Random Pick with Weight,43.9%,Medium,0.16808800301828727, https://leetcode.com/problems/random-pick-with-weight
55,Jump Game,34.6%,Medium,0.16658918460830285, https://leetcode.com/problems/jump-game
642,Design Search Autocomplete System,44.7%,Hard,0.16312782492496253, https://leetcode.com/problems/design-search-autocomplete-system
821,Shortest Distance to a Character,66.9%,Easy,0.16229864091884685, https://leetcode.com/problems/shortest-distance-to-a-character
29,Divide Two Integers,16.4%,Medium,0.156913715105051, https://leetcode.com/problems/divide-two-integers
647,Palindromic Substrings,60.6%,Medium,0.154673282399905, https://leetcode.com/problems/palindromic-substrings
632,Smallest Range Covering Elements from K Lists,52.4%,Hard,0.15283920422944758, https://leetcode.com/problems/smallest-range-covering-elements-from-k-lists
470,Implement Rand10() Using Rand7(),46.3%,Medium,0.15154989812720093, https://leetcode.com/problems/implement-rand10-using-rand7
57,Insert Interval,33.5%,Hard,0.14994432629434787, https://leetcode.com/problems/insert-interval
739,Daily Temperatures,63.3%,Medium,0.14956674442158685, https://leetcode.com/problems/daily-temperatures
383,Ransom Note,53.1%,Easy,0.14842000511827327, https://leetcode.com/problems/ransom-note
83,Remove Duplicates from Sorted List,45.4%,Easy,0.14784842578508967, https://leetcode.com/problems/remove-duplicates-from-sorted-list
30,Substring with Concatenation of All Words,25.4%,Hard,0.1461170580676051, https://leetcode.com/problems/substring-with-concatenation-of-all-words
546,Remove Boxes,42.7%,Hard,0.14361551169114867, https://leetcode.com/problems/remove-boxes
116,Populating Next Right Pointers in Each Node,45.2%,Medium,0.13899325359219267, https://leetcode.com/problems/populating-next-right-pointers-in-each-node
1108,Defanging an IP Address,87.5%,Easy,0.13892162300436822, https://leetcode.com/problems/defanging-an-ip-address
687,Longest Univalue Path,36.2%,Easy,0.13857217423956994, https://leetcode.com/problems/longest-univalue-path
128,Longest Consecutive Sequence,45.1%,Hard,0.13583040733187832, https://leetcode.com/problems/longest-consecutive-sequence
427,Construct Quad Tree,61.4%,Medium,0.13580154115906176, https://leetcode.com/problems/construct-quad-tree
1044,Longest Duplicate Substring,31.9%,Hard,0.1351378186727963, https://leetcode.com/problems/longest-duplicate-substring
86,Partition List,41.5%,Medium,0.1338296774887775, https://leetcode.com/problems/partition-list
199,Binary Tree Right Side View,54.1%,Medium,0.13319296807660722, https://leetcode.com/problems/binary-tree-right-side-view
1221,Split a String in Balanced Strings,83.3%,Easy,0.1319324949716959, https://leetcode.com/problems/split-a-string-in-balanced-strings
977,Squares of a Sorted Array,72.1%,Easy,0.13133600206108695, https://leetcode.com/problems/squares-of-a-sorted-array
118,Pascal's Triangle,52.5%,Easy,0.12852395589356347, https://leetcode.com/problems/pascals-triangle
70,Climbing Stairs,47.8%,Easy,0.12772618382036388, https://leetcode.com/problems/climbing-stairs
198,House Robber,42.0%,Easy,0.12709898426651453, https://leetcode.com/problems/house-robber
359,Logger Rate Limiter,70.8%,Easy,0.1248502028794759, https://leetcode.com/problems/logger-rate-limiter
350,Intersection of Two Arrays II,51.4%,Easy,0.12274798010265034, https://leetcode.com/problems/intersection-of-two-arrays-ii
1114,Print in Order,65.7%,Easy,0.12136085700426744, https://leetcode.com/problems/print-in-order
211,Add and Search Word - Data structure design,38.1%,Medium,0.12092604505358262, https://leetcode.com/problems/add-and-search-word-data-structure-design
454,4Sum II,53.1%,Medium,0.1208030670124105, https://leetcode.com/problems/4sum-ii
867,Transpose Matrix,62.8%,Easy,0.11927747573936125, https://leetcode.com/problems/transpose-matrix
93,Restore IP Addresses,35.6%,Medium,0.11756123239496619, https://leetcode.com/problems/restore-ip-addresses
101,Symmetric Tree,46.8%,Easy,0.11583847861592966, https://leetcode.com/problems/symmetric-tree
184,Department Highest Salary,36.7%,Medium,0.111723209445655, https://leetcode.com/problems/department-highest-salary
82,Remove Duplicates from Sorted List II,36.8%,Medium,0.1110882064011508, https://leetcode.com/problems/remove-duplicates-from-sorted-list-ii
450,Delete Node in a BST,43.1%,Medium,0.11058538292750217, https://leetcode.com/problems/delete-node-in-a-bst
219,Contains Duplicate II,37.7%,Easy,0.10943188230246585, https://leetcode.com/problems/contains-duplicate-ii
78,Subsets,62.0%,Medium,0.10594222506883655, https://leetcode.com/problems/subsets
114,Flatten Binary Tree to Linked List,49.3%,Medium,0.1050144350175837, https://leetcode.com/problems/flatten-binary-tree-to-linked-list
407,Trapping Rain Water II,42.4%,Hard,0.10486899438963619, https://leetcode.com/problems/trapping-rain-water-ii
448,Find All Numbers Disappeared in an Array,55.9%,Easy,0.10453372768183221, https://leetcode.com/problems/find-all-numbers-disappeared-in-an-array
343,Integer Break,50.4%,Medium,0.10446541455492596, https://leetcode.com/problems/integer-break
560,Subarray Sum Equals K,43.9%,Medium,0.10184840494454048, https://leetcode.com/problems/subarray-sum-equals-k
453,Minimum Moves to Equal Array Elements,50.2%,Easy,0.10178269430994231, https://leetcode.com/problems/minimum-moves-to-equal-array-elements
416,Partition Equal Subset Sum,43.7%,Medium,0.10153641921942286, https://leetcode.com/problems/partition-equal-subset-sum
417,Pacific Atlantic Water Flow,41.1%,Medium,0.10008345855698253, https://leetcode.com/problems/pacific-atlantic-water-flow
143,Reorder List,37.1%,Medium,0.09969510903753867, https://leetcode.com/problems/reorder-list
162,Find Peak Element,43.3%,Medium,0.09706051838470164, https://leetcode.com/problems/find-peak-element
230,Kth Smallest Element in a BST,60.2%,Medium,0.09685471541555685, https://leetcode.com/problems/kth-smallest-element-in-a-bst
207,Course Schedule,43.1%,Medium,0.09601114875296962, https://leetcode.com/problems/course-schedule
338,Counting Bits,69.5%,Medium,0.09394125419698317, https://leetcode.com/problems/counting-bits
87,Scramble String,33.7%,Hard,0.09333193979221914, https://leetcode.com/problems/scramble-string
266,Palindrome Permutation,61.9%,Easy,0.091248671465145, https://leetcode.com/problems/palindrome-permutation
282,Expression Add Operators,35.5%,Hard,0.08720118433574389, https://leetcode.com/problems/expression-add-operators
622,Design Circular Queue,43.7%,Medium,0.08696405427235052, https://leetcode.com/problems/design-circular-queue
256,Paint House,52.1%,Easy,0.08650924290928251, https://leetcode.com/problems/paint-house
105,Construct Binary Tree from Preorder and Inorder Traversal,48.8%,Medium,0.08645856912332787, https://leetcode.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal
98,Validate Binary Search Tree,27.8%,Medium,0.0854255093169086, https://leetcode.com/problems/validate-binary-search-tree
287,Find the Duplicate Number,55.5%,Medium,0.0845834791494423, https://leetcode.com/problems/find-the-duplicate-number
345,Reverse Vowels of a String,44.2%,Easy,0.08413974844494757, https://leetcode.com/problems/reverse-vowels-of-a-string
582,Kill Process,60.8%,Medium,0.08355588569097351, https://leetcode.com/problems/kill-process
73,Set Matrix Zeroes,43.1%,Medium,0.08271965106891821, https://leetcode.com/problems/set-matrix-zeroes
26,Remove Duplicates from Sorted Array,45.1%,Easy,0.0792949457576407, https://leetcode.com/problems/remove-duplicates-from-sorted-array
208,Implement Trie (Prefix Tree),49.4%,Medium,0.07910997849332738, https://leetcode.com/problems/implement-trie-prefix-tree
180,Consecutive Numbers,39.7%,Medium,0.07851014032375832, https://leetcode.com/problems/consecutive-numbers
79,Word Search,35.6%,Medium,0.07847790263416941, https://leetcode.com/problems/word-search
142,Linked List Cycle II,37.3%,Medium,0.0775950985761474, https://leetcode.com/problems/linked-list-cycle-ii
435,Non-overlapping Intervals,42.9%,Medium,0.07565042495900788, https://leetcode.com/problems/non-overlapping-intervals
540,Single Element in a Sorted Array,57.9%,Medium,0.07473130562267008, https://leetcode.com/problems/single-element-in-a-sorted-array
445,Add Two Numbers II,54.5%,Medium,0.07468384317453133, https://leetcode.com/problems/add-two-numbers-ii
669,Trim a Binary Search Tree,63.0%,Easy,0.07445297819474968, https://leetcode.com/problems/trim-a-binary-search-tree
480,Sliding Window Median,37.2%,Hard,0.0743529801177063, https://leetcode.com/problems/sliding-window-median
515,Find Largest Value in Each Tree Row,61.1%,Medium,0.07428007438287054, https://leetcode.com/problems/find-largest-value-in-each-tree-row
19,Remove Nth Node From End of List,35.2%,Medium,0.07420700547851658, https://leetcode.com/problems/remove-nth-node-from-end-of-list
721,Accounts Merge,48.8%,Medium,0.07349495575336484, https://leetcode.com/problems/accounts-merge
153,Find Minimum in Rotated Sorted Array,45.1%,Medium,0.07343579359779528, https://leetcode.com/problems/find-minimum-in-rotated-sorted-array
617,Merge Two Binary Trees,74.1%,Easy,0.07201671240916602, https://leetcode.com/problems/merge-two-binary-trees
35,Search Insert Position,42.6%,Easy,0.07187646029497265, https://leetcode.com/problems/search-insert-position
442,Find All Duplicates in an Array,67.8%,Medium,0.07083107135140704, https://leetcode.com/problems/find-all-duplicates-in-an-array
378,Kth Smallest Element in a Sorted Matrix,54.3%,Medium,0.07059096970081927, https://leetcode.com/problems/kth-smallest-element-in-a-sorted-matrix
126,Word Ladder II,22.1%,Hard,0.07011193038456472, https://leetcode.com/problems/word-ladder-ii
542,01 Matrix,39.8%,Medium,0.0700198447248843, https://leetcode.com/problems/01-matrix
123,Best Time to Buy and Sell Stock III,37.5%,Hard,0.06838868749455218, https://leetcode.com/problems/best-time-to-buy-and-sell-stock-iii
1011,Capacity To Ship Packages Within D Days,58.1%,Medium,0.06649420875558125, https://leetcode.com/problems/capacity-to-ship-packages-within-d-days
863,All Nodes Distance K in Binary Tree,55.4%,Medium,0.06616716425077336, https://leetcode.com/problems/all-nodes-distance-k-in-binary-tree
94,Binary Tree Inorder Traversal,63.3%,Medium,0.06583997601175454, https://leetcode.com/problems/binary-tree-inorder-traversal
122,Best Time to Buy and Sell Stock II,57.0%,Easy,0.06582927042348097, https://leetcode.com/problems/best-time-to-buy-and-sell-stock-ii
95,Unique Binary Search Trees II,40.6%,Medium,0.06578614881622968, https://leetcode.com/problems/unique-binary-search-trees-ii
135,Candy,31.6%,Hard,0.06576510995956455, https://leetcode.com/problems/candy
326,Power of Three,42.1%,Easy,0.06353762681243758, https://leetcode.com/problems/power-of-three
772,Basic Calculator III,41.3%,Hard,0.06331227941432688, https://leetcode.com/problems/basic-calculator-iii
110,Balanced Binary Tree,43.5%,Easy,0.06153684147582857, https://leetcode.com/problems/balanced-binary-tree
1002,Find Common Characters,67.6%,Easy,0.059741539575795824, https://leetcode.com/problems/find-common-characters
103,Binary Tree Zigzag Level Order Traversal,48.3%,Medium,0.05973658149689521, https://leetcode.com/problems/binary-tree-zigzag-level-order-traversal
561,Array Partition I,72.0%,Easy,0.059408706690609644, https://leetcode.com/problems/array-partition-i
931,Minimum Falling Path Sum,62.5%,Medium,0.05914995982464103, https://leetcode.com/problems/minimum-falling-path-sum
890,Find and Replace Pattern,73.4%,Medium,0.0568334747631659, https://leetcode.com/problems/find-and-replace-pattern
301,Remove Invalid Parentheses,43.3%,Hard,0.0566523153423806, https://leetcode.com/problems/remove-invalid-parentheses
912,Sort an Array,63.9%,Medium,0.056512210263342307, https://leetcode.com/problems/sort-an-array
371,Sum of Two Integers,50.7%,Medium,0.05511036271051877, https://leetcode.com/problems/sum-of-two-integers
304,Range Sum Query 2D - Immutable,38.6%,Medium,0.054527987071175225, https://leetcode.com/problems/range-sum-query-2d-immutable
594,Longest Harmonious Subsequence,46.6%,Easy,0.054435206555017046, https://leetcode.com/problems/longest-harmonious-subsequence
63,Unique Paths II,34.6%,Medium,0.05324937607387791, https://leetcode.com/problems/unique-paths-ii
1315,Sum of Nodes with Even-Valued Grandparent,83.5%,Medium,0.05317259535592034, https://leetcode.com/problems/sum-of-nodes-with-even-valued-grandparent
134,Gas Station,38.5%,Medium,0.05304524877458272, https://leetcode.com/problems/gas-station
1275,Find Winner on a Tic Tac Toe Game,52.8%,Easy,0.05292240145434251, https://leetcode.com/problems/find-winner-on-a-tic-tac-toe-game
767,Reorganize String,48.7%,Medium,0.05216306328458592, https://leetcode.com/problems/reorganize-string
695,Max Area of Island,62.7%,Medium,0.04980799142417255, https://leetcode.com/problems/max-area-of-island
50,Pow(x;n),30.3%,Medium,0.049262619451480506, https://leetcode.com/problems/powx-n
709,To Lower Case,79.3%,Easy,0.048909503032274274, https://leetcode.com/problems/to-lower-case
621,Task Scheduler,50.1%,Medium,0.04638413032188776, https://leetcode.com/problems/task-scheduler
166,Fraction to Recurring Decimal,21.6%,Medium,0.04478360262697337, https://leetcode.com/problems/fraction-to-recurring-decimal
347,Top K Frequent Elements,61.2%,Medium,0.04399269847160566, https://leetcode.com/problems/top-k-frequent-elements
490,The Maze,51.4%,Medium,0.04287902305923364, https://leetcode.com/problems/the-maze
674,Longest Continuous Increasing Subsequence,45.9%,Easy,0.04225980928988265, https://leetcode.com/problems/longest-continuous-increasing-subsequence
430,Flatten a Multilevel Doubly Linked List,55.1%,Medium,0.04154283751370906, https://leetcode.com/problems/flatten-a-multilevel-doubly-linked-list
907,Sum of Subarray Minimums,32.3%,Medium,0.04069737616380998, https://leetcode.com/problems/sum-of-subarray-minimums
1060,Missing Element in Sorted Array,54.5%,Medium,0.03879796954098255, https://leetcode.com/problems/missing-element-in-sorted-array
47,Permutations II,46.4%,Medium,0.038145268259690404, https://leetcode.com/problems/permutations-ii
210,Course Schedule II,40.7%,Medium,0.03795788828372613, https://leetcode.com/problems/course-schedule-ii
40,Combination Sum II,48.2%,Medium,0.037775974158907266, https://leetcode.com/problems/combination-sum-ii
64,Minimum Path Sum,54.5%,Medium,0.03769479893530684, https://leetcode.com/problems/minimum-path-sum
1021,Remove Outermost Parentheses,78.0%,Easy,0.03660433056251234, https://leetcode.com/problems/remove-outermost-parentheses
374,Guess Number Higher or Lower,43.1%,Easy,0.03422387238757742, https://leetcode.com/problems/guess-number-higher-or-lower
886,Possible Bipartition,44.2%,Medium,0.034103901828857086, https://leetcode.com/problems/possible-bipartition
226,Invert Binary Tree,65.0%,Easy,0.03393837323839263, https://leetcode.com/problems/invert-binary-tree
112,Path Sum,41.2%,Easy,0.03370499686939782, https://leetcode.com/problems/path-sum
217,Contains Duplicate,56.0%,Easy,0.03367321510658789, https://leetcode.com/problems/contains-duplicate
516,Longest Palindromic Subsequence,53.2%,Medium,0.0332870969222259, https://leetcode.com/problems/longest-palindromic-subsequence
1146,Snapshot Array,37.0%,Medium,0.0317991816929387, https://leetcode.com/problems/snapshot-array
703,Kth Largest Element in a Stream,49.7%,Easy,0.031004894819414507, https://leetcode.com/problems/kth-largest-element-in-a-stream
530,Minimum Absolute Difference in BST,53.8%,Easy,0.030677252247047038, https://leetcode.com/problems/minimum-absolute-difference-in-bst
876,Middle of the Linked List,68.4%,Easy,0.030156827290986423, https://leetcode.com/problems/middle-of-the-linked-list
1197,Minimum Knight Moves,36.1%,Medium,0.02969780239174205, https://leetcode.com/problems/minimum-knight-moves
938,Range Sum of BST,81.3%,Easy,0.027755467721532374, https://leetcode.com/problems/range-sum-of-bst
811,Subdomain Visit Count,69.9%,Easy,0.02772180293027194, https://leetcode.com/problems/subdomain-visit-count
67,Add Binary,45.2%,Easy,0.026266540645351912, https://leetcode.com/problems/add-binary
373,Find K Pairs with Smallest Sums,36.7%,Medium,0.02626546261018635, https://leetcode.com/problems/find-k-pairs-with-smallest-sums
111,Minimum Depth of Binary Tree,37.4%,Easy,0.026222413650382477, https://leetcode.com/problems/minimum-depth-of-binary-tree
961,N-Repeated Element in Size 2N Array,73.7%,Easy,0.025609594204324387, https://leetcode.com/problems/n-repeated-element-in-size-2n-array
1038,Binary Search Tree to Greater Sum Tree,80.8%,Medium,0.025446665661164262, https://leetcode.com/problems/binary-search-tree-to-greater-sum-tree
310,Minimum Height Trees,32.3%,Medium,0.02446605215440636, https://leetcode.com/problems/minimum-height-trees
804,Unique Morse Code Words,77.0%,Easy,0.024332100659530644, https://leetcode.com/problems/unique-morse-code-words
286,Walls and Gates,54.5%,Medium,0.02324334737232728, https://leetcode.com/problems/walls-and-gates
766,Toeplitz Matrix,65.1%,Easy,0.02280600552903764, https://leetcode.com/problems/toeplitz-matrix
113,Path Sum II,46.7%,Medium,0.021882711249507664, https://leetcode.com/problems/path-sum-ii
905,Sort Array By Parity,74.1%,Easy,0.02148053951675942, https://leetcode.com/problems/sort-array-by-parity
670,Maximum Swap,43.6%,Medium,0.020844944430365928, https://leetcode.com/problems/maximum-swap
60,Permutation Sequence,38.4%,Hard,0.020471543980187256, https://leetcode.com/problems/permutation-sequence
66,Plus One,43.0%,Easy,0.020215776991954044, https://leetcode.com/problems/plus-one
525,Contiguous Array,42.8%,Medium,0.01975372873623256, https://leetcode.com/problems/contiguous-array
700,Search in a Binary Search Tree,73.1%,Easy,0.01905222743200806, https://leetcode.com/problems/search-in-a-binary-search-tree
209,Minimum Size Subarray Sum,38.2%,Medium,0.018832948333092125, https://leetcode.com/problems/minimum-size-subarray-sum
406,Queue Reconstruction by Height,66.9%,Medium,0.01774669468133533, https://leetcode.com/problems/queue-reconstruction-by-height
100,Same Tree,53.4%,Easy,0.017112941192143866, https://leetcode.com/problems/same-tree
628,Maximum Product of Three Numbers,47.1%,Easy,0.016529301951210565, https://leetcode.com/problems/maximum-product-of-three-numbers
188,Best Time to Buy and Sell Stock IV,28.0%,Hard,0.01651565203072114, https://leetcode.com/problems/best-time-to-buy-and-sell-stock-iv
203,Remove Linked List Elements,38.6%,Easy,0.014519311324453305, https://leetcode.com/problems/remove-linked-list-elements
107,Binary Tree Level Order Traversal II,53.5%,Easy,0.014395642075089957, https://leetcode.com/problems/binary-tree-level-order-traversal-ii
258,Add Digits,57.6%,Easy,0.012859598023941623, https://leetcode.com/problems/add-digits
181,Employees Earning More Than Their Managers,56.9%,Easy,0.012618463959211509, https://leetcode.com/problems/employees-earning-more-than-their-managers
257,Binary Tree Paths,51.5%,Easy,0.010457611643958139, https://leetcode.com/problems/binary-tree-paths
819,Most Common Word,44.8%,Easy,0.010269666637456105, https://leetcode.com/problems/most-common-word
96,Unique Binary Search Trees,52.9%,Medium,0.009242209964820877, https://leetcode.com/problems/unique-binary-search-trees
937,Reorder Data in Log Files,54.3%,Easy,0.008415787099648575, https://leetcode.com/problems/reorder-data-in-log-files
763,Partition Labels,76.1%,Medium,0.008385793376274025, https://leetcode.com/problems/partition-labels
260,Single Number III,64.3%,Medium,0.008090659020153698, https://leetcode.com/problems/single-number-iii
309,Best Time to Buy and Sell Stock with Cooldown,47.4%,Medium,0.006400704591951834, https://leetcode.com/problems/best-time-to-buy-and-sell-stock-with-cooldown
565,Array Nesting,55.5%,Medium,0, https://leetcode.com/problems/array-nesting
1 1 ID Two Sum Title 45.6% Acceptance Easy Difficulty 2.44165352519978 Frequency https://leetcode.com/problems/two-sum Leetcode Question Link
2 146 1 LRU Cache Two Sum 33.2% 45.6% Medium Easy 2.288507627845124 2.44165352519978 https://leetcode.com/problems/lru-cache https://leetcode.com/problems/two-sum
3 403 146 Frog Jump LRU Cache 39.7% 33.2% Hard Medium 2.1353617304904677 2.288507627845124 https://leetcode.com/problems/frog-jump https://leetcode.com/problems/lru-cache
4 54 403 Spiral Matrix Frog Jump 34.1% 39.7% Medium Hard 1.9822158331358115 2.1353617304904677 https://leetcode.com/problems/spiral-matrix https://leetcode.com/problems/frog-jump
5 2 54 Add Two Numbers Spiral Matrix 33.9% 34.1% Medium Medium 1.9375806091809586 1.9822158331358115 https://leetcode.com/problems/add-two-numbers https://leetcode.com/problems/spiral-matrix
6 284 2 Peeking Iterator Add Two Numbers 45.7% 33.9% Medium Medium 1.8988473588427888 1.9375806091809586 https://leetcode.com/problems/peeking-iterator https://leetcode.com/problems/add-two-numbers
7 4 284 Median of Two Sorted Arrays Peeking Iterator 29.6% 45.7% Hard Medium 1.7457014614881325 1.8988473588427888 https://leetcode.com/problems/median-of-two-sorted-arrays https://leetcode.com/problems/peeking-iterator
8 53 4 Maximum Subarray Median of Two Sorted Arrays 46.5% 29.6% Easy Hard 1.6039792365262746 1.7457014614881325 https://leetcode.com/problems/maximum-subarray https://leetcode.com/problems/median-of-two-sorted-arrays
9 341 53 Flatten Nested List Iterator Maximum Subarray 52.9% 46.5% Medium Easy 1.5961203655643161 1.6039792365262746 https://leetcode.com/problems/flatten-nested-list-iterator https://leetcode.com/problems/maximum-subarray
10 42 341 Trapping Rain Water Flatten Nested List Iterator 48.9% 52.9% Hard Medium 1.4504927724580507 1.5961203655643161 https://leetcode.com/problems/trapping-rain-water https://leetcode.com/problems/flatten-nested-list-iterator
11 391 42 Perfect Rectangle Trapping Rain Water 30.5% 48.9% Hard Hard 1.2973468751033945 1.4504927724580507 https://leetcode.com/problems/perfect-rectangle https://leetcode.com/problems/trapping-rain-water
12 206 391 Reverse Linked List Perfect Rectangle 62.5% 30.5% Easy Hard 1.2889543040599838 1.2973468751033945 https://leetcode.com/problems/reverse-linked-list https://leetcode.com/problems/perfect-rectangle
13 295 206 Find Median from Data Stream Reverse Linked List 44.3% 62.5% Hard Easy 1.2415624618248458 1.2889543040599838 https://leetcode.com/problems/find-median-from-data-stream https://leetcode.com/problems/reverse-linked-list
14 200 295 Number of Islands Find Median from Data Stream 46.8% 44.3% Medium Hard 1.2336678652006239 1.2415624618248458 https://leetcode.com/problems/number-of-islands https://leetcode.com/problems/find-median-from-data-stream
15 5 200 Longest Palindromic Substring Number of Islands 29.5% 46.8% Medium Medium 1.2049820501287227 1.2336678652006239 https://leetcode.com/problems/longest-palindromic-substring https://leetcode.com/problems/number-of-islands
16 218 5 The Skyline Problem Longest Palindromic Substring 34.6% 29.5% Hard Medium 1.2026816485623162 1.2049820501287227 https://leetcode.com/problems/the-skyline-problem https://leetcode.com/problems/longest-palindromic-substring
17 1095 218 Find in Mountain Array The Skyline Problem 35.8% 34.6% Hard Hard 1.2013559031699637 1.2026816485623162 https://leetcode.com/problems/find-in-mountain-array https://leetcode.com/problems/the-skyline-problem
18 97 1095 Interleaving String Find in Mountain Array 31.5% 35.8% Hard Hard 1.1879190873014442 1.2013559031699637 https://leetcode.com/problems/interleaving-string https://leetcode.com/problems/find-in-mountain-array
19 479 97 Largest Palindrome Product Interleaving String 29.0% 31.5% Hard Hard 1.1700712526502546 1.1879190873014442 https://leetcode.com/problems/largest-palindrome-product https://leetcode.com/problems/interleaving-string
20 393 479 UTF-8 Validation Largest Palindrome Product 37.5% 29.0% Medium Hard 1.1560693436928968 1.1700712526502546 https://leetcode.com/problems/utf-8-validation https://leetcode.com/problems/largest-palindrome-product
21 238 393 Product of Array Except Self UTF-8 Validation 60.1% 37.5% Medium Medium 1.125997958136907 1.1560693436928968 https://leetcode.com/problems/product-of-array-except-self https://leetcode.com/problems/utf-8-validation
22 311 238 Sparse Matrix Multiplication Product of Array Except Self 61.9% 60.1% Medium Medium 1.1083957349771807 1.125997958136907 https://leetcode.com/problems/sparse-matrix-multiplication https://leetcode.com/problems/product-of-array-except-self
23 8 311 String to Integer (atoi) Sparse Matrix Multiplication 15.4% 61.9% Medium Medium 1.0728242725044976 1.1083957349771807 https://leetcode.com/problems/string-to-integer-atoi https://leetcode.com/problems/sparse-matrix-multiplication
24 428 8 Serialize and Deserialize N-ary Tree String to Integer (atoi) 59.4% 15.4% Hard Medium 1.0697178226683948 1.0728242725044976 https://leetcode.com/problems/serialize-and-deserialize-n-ary-tree https://leetcode.com/problems/string-to-integer-atoi
25 348 428 Design Tic-Tac-Toe Serialize and Deserialize N-ary Tree 54.3% 59.4% Medium Hard 1.0191481173138628 1.0697178226683948 https://leetcode.com/problems/design-tic-tac-toe https://leetcode.com/problems/serialize-and-deserialize-n-ary-tree
26 56 348 Merge Intervals Design Tic-Tac-Toe 39.3% 54.3% Medium Medium 1.01565662402753 1.0191481173138628 https://leetcode.com/problems/merge-intervals https://leetcode.com/problems/design-tic-tac-toe
27 15 56 3Sum Merge Intervals 26.8% 39.3% Medium Medium 1.0028066641920665 1.01565662402753 https://leetcode.com/problems/3sum https://leetcode.com/problems/merge-intervals
28 202 15 Happy Number 3Sum 50.4% 26.8% Easy Medium 0.9974860771490718 1.0028066641920665 https://leetcode.com/problems/happy-number https://leetcode.com/problems/3sum
29 329 202 Longest Increasing Path in a Matrix Happy Number 43.4% 50.4% Hard Easy 0.9678875215177066 0.9974860771490718 https://leetcode.com/problems/longest-increasing-path-in-a-matrix https://leetcode.com/problems/happy-number
30 49 329 Group Anagrams Longest Increasing Path in a Matrix 56.9% 43.4% Medium Hard 0.9561708823315207 0.9678875215177066 https://leetcode.com/problems/group-anagrams https://leetcode.com/problems/longest-increasing-path-in-a-matrix
31 23 49 Merge k Sorted Lists Group Anagrams 40.2% 56.9% Hard Medium 0.9024122656636089 0.9561708823315207 https://leetcode.com/problems/merge-k-sorted-lists https://leetcode.com/problems/group-anagrams
32 3 23 Longest Substring Without Repeating Characters Merge k Sorted Lists 30.4% 40.2% Medium Hard 0.8759518910272411 0.9024122656636089 https://leetcode.com/problems/longest-substring-without-repeating-characters https://leetcode.com/problems/merge-k-sorted-lists
33 21 3 Merge Two Sorted Lists Longest Substring Without Repeating Characters 53.5% 30.4% Easy Medium 0.8331029734573284 0.8759518910272411 https://leetcode.com/problems/merge-two-sorted-lists https://leetcode.com/problems/longest-substring-without-repeating-characters
34 139 21 Word Break Merge Two Sorted Lists 40.1% 53.5% Medium Easy 0.7861844908659293 0.8331029734573284 https://leetcode.com/problems/word-break https://leetcode.com/problems/merge-two-sorted-lists
35 351 139 Android Unlock Patterns Word Break 48.4% 40.1% Medium Medium 0.7857399673877702 0.7861844908659293 https://leetcode.com/problems/android-unlock-patterns https://leetcode.com/problems/word-break
36 20 351 Valid Parentheses Android Unlock Patterns 39.0% 48.4% Easy Medium 0.7728842221115333 0.7857399673877702 https://leetcode.com/problems/valid-parentheses https://leetcode.com/problems/android-unlock-patterns
37 269 20 Alien Dictionary Valid Parentheses 33.3% 39.0% Hard Easy 0.7683984542353193 0.7728842221115333 https://leetcode.com/problems/alien-dictionary https://leetcode.com/problems/valid-parentheses
38 212 269 Word Search II Alien Dictionary 34.9% 33.3% Hard Hard 0.7375344172881568 0.7683984542353193 https://leetcode.com/problems/word-search-ii https://leetcode.com/problems/alien-dictionary
39 149 212 Max Points on a Line Word Search II 16.9% 34.9% Hard Hard 0.7241094061639122 0.7375344172881568 https://leetcode.com/problems/max-points-on-a-line https://leetcode.com/problems/word-search-ii
40 33 149 Search in Rotated Sorted Array Max Points on a Line 34.5% 16.9% Medium Hard 0.7169635384120102 0.7241094061639122 https://leetcode.com/problems/search-in-rotated-sorted-array https://leetcode.com/problems/max-points-on-a-line
41 48 33 Rotate Image Search in Rotated Sorted Array 56.7% 34.5% Medium Medium 0.6937855463652177 0.7169635384120102 https://leetcode.com/problems/rotate-image https://leetcode.com/problems/search-in-rotated-sorted-array
42 242 48 Valid Anagram Rotate Image 56.9% 56.7% Easy Medium 0.6931992137571369 0.6937855463652177 https://leetcode.com/problems/valid-anagram https://leetcode.com/problems/rotate-image
43 7 242 Reverse Integer Valid Anagram 25.8% 56.9% Easy Easy 0.6643014117400133 0.6931992137571369 https://leetcode.com/problems/reverse-integer https://leetcode.com/problems/valid-anagram
44 204 7 Count Primes Reverse Integer 31.5% 25.8% Easy Easy 0.6619706759370921 0.6643014117400133 https://leetcode.com/problems/count-primes https://leetcode.com/problems/reverse-integer
45 17 204 Letter Combinations of a Phone Number Count Primes 46.8% 31.5% Medium Easy 0.6562442821203051 0.6619706759370921 https://leetcode.com/problems/letter-combinations-of-a-phone-number https://leetcode.com/problems/count-primes
46 227 17 Basic Calculator II Letter Combinations of a Phone Number 36.9% 46.8% Medium Medium 0.642608764196984 0.6562442821203051 https://leetcode.com/problems/basic-calculator-ii https://leetcode.com/problems/letter-combinations-of-a-phone-number
47 412 227 Fizz Buzz Basic Calculator II 62.3% 36.9% Easy Medium 0.6260403395391076 0.642608764196984 https://leetcode.com/problems/fizz-buzz https://leetcode.com/problems/basic-calculator-ii
48 121 412 Best Time to Buy and Sell Stock Fizz Buzz 50.5% 62.3% Easy Easy 0.6154427600124589 0.6260403395391076 https://leetcode.com/problems/best-time-to-buy-and-sell-stock https://leetcode.com/problems/fizz-buzz
49 472 121 Concatenated Words Best Time to Buy and Sell Stock 43.7% 50.5% Hard Easy 0.6143892946481566 0.6154427600124589 https://leetcode.com/problems/concatenated-words https://leetcode.com/problems/best-time-to-buy-and-sell-stock
50 387 472 First Unique Character in a String Concatenated Words 53.4% 43.7% Easy Hard 0.599968522143342 0.6143892946481566 https://leetcode.com/problems/first-unique-character-in-a-string https://leetcode.com/problems/concatenated-words
51 688 387 Knight Probability in Chessboard First Unique Character in a String 48.9% 53.4% Medium Easy 0.581062856900522 0.599968522143342 https://leetcode.com/problems/knight-probability-in-chessboard https://leetcode.com/problems/first-unique-character-in-a-string
52 281 688 Zigzag Iterator Knight Probability in Chessboard 58.4% 48.9% Medium Medium 0.5665602602882338 0.581062856900522 https://leetcode.com/problems/zigzag-iterator https://leetcode.com/problems/knight-probability-in-chessboard
53 344 281 Reverse String Zigzag Iterator 68.5% 58.4% Easy Medium 0.5520785062823355 0.5665602602882338 https://leetcode.com/problems/reverse-string https://leetcode.com/problems/zigzag-iterator
54 380 344 Insert Delete GetRandom O(1) Reverse String 47.5% 68.5% Medium Easy 0.5382766101249649 0.5520785062823355 https://leetcode.com/problems/insert-delete-getrandom-o1 https://leetcode.com/problems/reverse-string
55 12 380 Integer to Roman Insert Delete GetRandom O(1) 55.1% 47.5% Medium Medium 0.527144190884061 0.5382766101249649 https://leetcode.com/problems/integer-to-roman https://leetcode.com/problems/insert-delete-getrandom-o1
56 322 12 Coin Change Integer to Roman 35.5% 55.1% Medium Medium 0.5202300817939691 0.527144190884061 https://leetcode.com/problems/coin-change https://leetcode.com/problems/integer-to-roman
57 545 322 Boundary of Binary Tree Coin Change 38.9% 35.5% Medium Medium 0.5184398737512361 0.5202300817939691 https://leetcode.com/problems/boundary-of-binary-tree https://leetcode.com/problems/coin-change
58 394 545 Decode String Boundary of Binary Tree 50.0% 38.9% Medium Medium 0.5093485186229775 0.5184398737512361 https://leetcode.com/problems/decode-string https://leetcode.com/problems/boundary-of-binary-tree
59 36 394 Valid Sudoku Decode String 48.7% 50.0% Medium Medium 0.505273909298483 0.5093485186229775 https://leetcode.com/problems/valid-sudoku https://leetcode.com/problems/decode-string
60 297 36 Serialize and Deserialize Binary Tree Valid Sudoku 47.5% 48.7% Hard Medium 0.4952936935923334 0.505273909298483 https://leetcode.com/problems/serialize-and-deserialize-binary-tree https://leetcode.com/problems/valid-sudoku
61 236 297 Lowest Common Ancestor of a Binary Tree Serialize and Deserialize Binary Tree 45.7% 47.5% Medium Hard 0.4854623787914392 0.4952936935923334 https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-tree https://leetcode.com/problems/serialize-and-deserialize-binary-tree
62 125 236 Valid Palindrome Lowest Common Ancestor of a Binary Tree 36.7% 45.7% Easy Medium 0.48439503752030155 0.4854623787914392 https://leetcode.com/problems/valid-palindrome https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-tree
63 251 125 Flatten 2D Vector Valid Palindrome 45.7% 36.7% Medium Easy 0.4808790962829651 0.48439503752030155 https://leetcode.com/problems/flatten-2d-vector https://leetcode.com/problems/valid-palindrome
64 45 251 Jump Game II Flatten 2D Vector 30.6% 45.7% Hard Medium 0.47865910784592636 0.4808790962829651 https://leetcode.com/problems/jump-game-ii https://leetcode.com/problems/flatten-2d-vector
65 46 45 Permutations Jump Game II 63.5% 30.6% Medium Hard 0.4752581007118412 0.47865910784592636 https://leetcode.com/problems/permutations https://leetcode.com/problems/jump-game-ii
66 191 46 Number of 1 Bits Permutations 49.8% 63.5% Easy Medium 0.4747037980781537 0.4752581007118412 https://leetcode.com/problems/number-of-1-bits https://leetcode.com/problems/permutations
67 14 191 Longest Common Prefix Number of 1 Bits 35.4% 49.8% Easy Easy 0.47383141489567654 0.4747037980781537 https://leetcode.com/problems/longest-common-prefix https://leetcode.com/problems/number-of-1-bits
68 31 14 Next Permutation Longest Common Prefix 32.6% 35.4% Medium Easy 0.4704916447217573 0.47383141489567654 https://leetcode.com/problems/next-permutation https://leetcode.com/problems/longest-common-prefix
69 771 31 Jewels and Stones Next Permutation 86.4% 32.6% Easy Medium 0.4651251797550661 0.4704916447217573 https://leetcode.com/problems/jewels-and-stones https://leetcode.com/problems/next-permutation
70 724 771 Find Pivot Index Jewels and Stones 44.0% 86.4% Easy Easy 0.4632690080861186 0.4651251797550661 https://leetcode.com/problems/find-pivot-index https://leetcode.com/problems/jewels-and-stones
71 336 724 Palindrome Pairs Find Pivot Index 33.7% 44.0% Hard Easy 0.462623521948113 0.4632690080861186 https://leetcode.com/problems/palindrome-pairs https://leetcode.com/problems/find-pivot-index
72 155 336 Min Stack Palindrome Pairs 44.5% 33.7% Easy Hard 0.421871495581358 0.462623521948113 https://leetcode.com/problems/min-stack https://leetcode.com/problems/palindrome-pairs
73 177 155 Nth Highest Salary Min Stack 31.4% 44.5% Medium Easy 0.41948151008170015 0.421871495581358 https://leetcode.com/problems/nth-highest-salary https://leetcode.com/problems/min-stack
74 253 177 Meeting Rooms II Nth Highest Salary 45.7% 31.4% Medium Medium 0.41816049272375677 0.41948151008170015 https://leetcode.com/problems/meeting-rooms-ii https://leetcode.com/problems/nth-highest-salary
75 273 253 Integer to English Words Meeting Rooms II 27.1% 45.7% Hard Medium 0.4144392041299435 0.41816049272375677 https://leetcode.com/problems/integer-to-english-words https://leetcode.com/problems/meeting-rooms-ii
76 460 273 LFU Cache Integer to English Words 34.2% 27.1% Hard Hard 0.40755934971127916 0.4144392041299435 https://leetcode.com/problems/lfu-cache https://leetcode.com/problems/integer-to-english-words
77 836 460 Rectangle Overlap LFU Cache 48.6% 34.2% Easy Hard 0.4032144677719462 0.40755934971127916 https://leetcode.com/problems/rectangle-overlap https://leetcode.com/problems/lfu-cache
78 1229 836 Meeting Scheduler Rectangle Overlap 52.7% 48.6% Medium Easy 0.40225040958769004 0.4032144677719462 https://leetcode.com/problems/meeting-scheduler https://leetcode.com/problems/rectangle-overlap
79 13 1229 Roman to Integer Meeting Scheduler 55.7% 52.7% Easy Medium 0.40185220095239377 0.40225040958769004 https://leetcode.com/problems/roman-to-integer https://leetcode.com/problems/meeting-scheduler
80 175 13 Combine Two Tables Roman to Integer 60.8% 55.7% Easy Easy 0.4017882776475531 0.40185220095239377 https://leetcode.com/problems/combine-two-tables https://leetcode.com/problems/roman-to-integer
81 419 175 Battleships in a Board Combine Two Tables 70.0% 60.8% Medium Easy 0.3933437475758196 0.4017882776475531 https://leetcode.com/problems/battleships-in-a-board https://leetcode.com/problems/combine-two-tables
82 909 419 Snakes and Ladders Battleships in a Board 38.4% 70.0% Medium Medium 0.38977851194046487 0.3933437475758196 https://leetcode.com/problems/snakes-and-ladders https://leetcode.com/problems/battleships-in-a-board
83 733 909 Flood Fill Snakes and Ladders 55.3% 38.4% Easy Medium 0.38973764039563735 0.38977851194046487 https://leetcode.com/problems/flood-fill https://leetcode.com/problems/snakes-and-ladders
84 981 733 Time Based Key-Value Store Flood Fill 53.1% 55.3% Medium Easy 0.3755723540313778 0.38973764039563735 https://leetcode.com/problems/time-based-key-value-store https://leetcode.com/problems/flood-fill
85 279 981 Perfect Squares Time Based Key-Value Store 47.4% 53.1% Medium Medium 0.3741145782240884 0.3755723540313778 https://leetcode.com/problems/perfect-squares https://leetcode.com/problems/time-based-key-value-store
86 138 279 Copy List with Random Pointer Perfect Squares 36.4% 47.4% Medium Medium 0.37065838268713125 0.3741145782240884 https://leetcode.com/problems/copy-list-with-random-pointer https://leetcode.com/problems/perfect-squares
87 388 138 Longest Absolute File Path Copy List with Random Pointer 41.8% 36.4% Medium Medium 0.3696340885812376 0.37065838268713125 https://leetcode.com/problems/longest-absolute-file-path https://leetcode.com/problems/copy-list-with-random-pointer
88 168 388 Excel Sheet Column Title Longest Absolute File Path 31.1% 41.8% Easy Medium 0.3628674542424574 0.3696340885812376 https://leetcode.com/problems/excel-sheet-column-title https://leetcode.com/problems/longest-absolute-file-path
89 88 168 Merge Sorted Array Excel Sheet Column Title 39.4% 31.1% Easy Easy 0.3605564574852291 0.3628674542424574 https://leetcode.com/problems/merge-sorted-array https://leetcode.com/problems/excel-sheet-column-title
90 141 88 Linked List Cycle Merge Sorted Array 41.1% 39.4% Easy Easy 0.3531074716115724 0.3605564574852291 https://leetcode.com/problems/linked-list-cycle https://leetcode.com/problems/merge-sorted-array
91 18 141 4Sum Linked List Cycle 33.7% 41.1% Medium Easy 0.34917906630295314 0.3531074716115724 https://leetcode.com/problems/4sum https://leetcode.com/problems/linked-list-cycle
92 609 18 Find Duplicate File in System 4Sum 59.5% 33.7% Medium Medium 0.34796661604694806 0.34917906630295314 https://leetcode.com/problems/find-duplicate-file-in-system https://leetcode.com/problems/4sum
93 51 609 N-Queens Find Duplicate File in System 46.6% 59.5% Hard Medium 0.34587301090591877 0.34796661604694806 https://leetcode.com/problems/n-queens https://leetcode.com/problems/find-duplicate-file-in-system
94 694 51 Number of Distinct Islands N-Queens 56.0% 46.6% Medium Hard 0.34240697214102744 0.34587301090591877 https://leetcode.com/problems/number-of-distinct-islands https://leetcode.com/problems/n-queens
95 102 694 Binary Tree Level Order Traversal Number of Distinct Islands 54.6% 56.0% Medium Medium 0.3378514215595053 0.34240697214102744 https://leetcode.com/problems/binary-tree-level-order-traversal https://leetcode.com/problems/number-of-distinct-islands
96 76 102 Minimum Window Substring Binary Tree Level Order Traversal 34.6% 54.6% Hard Medium 0.33651688545811814 0.3378514215595053 https://leetcode.com/problems/minimum-window-substring https://leetcode.com/problems/binary-tree-level-order-traversal
97 59 76 Spiral Matrix II Minimum Window Substring 53.9% 34.6% Medium Hard 0.33499311472223486 0.33651688545811814 https://leetcode.com/problems/spiral-matrix-ii https://leetcode.com/problems/minimum-window-substring
98 233 59 Number of Digit One Spiral Matrix II 31.3% 53.9% Hard Medium 0.3343430661930074 0.33499311472223486 https://leetcode.com/problems/number-of-digit-one https://leetcode.com/problems/spiral-matrix-ii
99 268 233 Missing Number Number of Digit One 51.7% 31.3% Easy Hard 0.3338128467131867 0.3343430661930074 https://leetcode.com/problems/missing-number https://leetcode.com/problems/number-of-digit-one
100 195 268 Tenth Line Missing Number 33.0% 51.7% Easy Easy 0.33285477845978384 0.3338128467131867 https://leetcode.com/problems/tenth-line https://leetcode.com/problems/missing-number
101 140 195 Word Break II Tenth Line 32.6% 33.0% Hard Easy 0.3295552897925928 0.33285477845978384 https://leetcode.com/problems/word-break-ii https://leetcode.com/problems/tenth-line
102 333 140 Largest BST Subtree Word Break II 35.8% 32.6% Medium Hard 0.32931497055013925 0.3295552897925928 https://leetcode.com/problems/largest-bst-subtree https://leetcode.com/problems/word-break-ii
103 32 333 Longest Valid Parentheses Largest BST Subtree 28.4% 35.8% Hard Medium 0.3269467909737243 0.32931497055013925 https://leetcode.com/problems/longest-valid-parentheses https://leetcode.com/problems/largest-bst-subtree
104 38 32 Count and Say Longest Valid Parentheses 44.6% 28.4% Easy Hard 0.3258044151850429 0.3269467909737243 https://leetcode.com/problems/count-and-say https://leetcode.com/problems/longest-valid-parentheses
105 384 38 Shuffle an Array Count and Say 52.8% 44.6% Medium Easy 0.3251022057535279 0.3258044151850429 https://leetcode.com/problems/shuffle-an-array https://leetcode.com/problems/count-and-say
106 127 384 Word Ladder Shuffle an Array 29.6% 52.8% Medium Medium 0.32483918858722843 0.3251022057535279 https://leetcode.com/problems/word-ladder https://leetcode.com/problems/shuffle-an-array
107 16 127 3Sum Closest Word Ladder 46.0% 29.6% Medium Medium 0.3149279072827814 0.32483918858722843 https://leetcode.com/problems/3sum-closest https://leetcode.com/problems/word-ladder
108 692 16 Top K Frequent Words 3Sum Closest 51.8% 46.0% Medium Medium 0.31457116512531025 0.3149279072827814 https://leetcode.com/problems/top-k-frequent-words https://leetcode.com/problems/3sum-closest
109 706 692 Design HashMap Top K Frequent Words 61.3% 51.8% Easy Medium 0.30607943759149703 0.31457116512531025 https://leetcode.com/problems/design-hashmap https://leetcode.com/problems/top-k-frequent-words
110 10 706 Regular Expression Matching Design HashMap 26.8% 61.3% Hard Easy 0.3026257535192428 0.30607943759149703 https://leetcode.com/problems/regular-expression-matching https://leetcode.com/problems/design-hashmap
111 24 10 Swap Nodes in Pairs Regular Expression Matching 50.4% 26.8% Medium Hard 0.30089598994357436 0.3026257535192428 https://leetcode.com/problems/swap-nodes-in-pairs https://leetcode.com/problems/regular-expression-matching
112 283 24 Move Zeroes Swap Nodes in Pairs 57.8% 50.4% Easy Medium 0.29983432977210245 0.30089598994357436 https://leetcode.com/problems/move-zeroes https://leetcode.com/problems/swap-nodes-in-pairs
113 179 283 Largest Number Move Zeroes 28.8% 57.8% Medium Easy 0.2993933318726824 0.29983432977210245 https://leetcode.com/problems/largest-number https://leetcode.com/problems/move-zeroes
114 332 179 Reconstruct Itinerary Largest Number 36.7% 28.8% Medium Medium 0.29733066556761284 0.2993933318726824 https://leetcode.com/problems/reconstruct-itinerary https://leetcode.com/problems/largest-number
115 193 332 Valid Phone Numbers Reconstruct Itinerary 25.3% 36.7% Easy Medium 0.29626581614317243 0.29733066556761284 https://leetcode.com/problems/valid-phone-numbers https://leetcode.com/problems/reconstruct-itinerary
116 34 193 Find First and Last Position of Element in Sorted Array Valid Phone Numbers 36.2% 25.3% Medium Easy 0.2962385293756158 0.29626581614317243 https://leetcode.com/problems/find-first-and-last-position-of-element-in-sorted-array https://leetcode.com/problems/valid-phone-numbers
117 68 34 Text Justification Find First and Last Position of Element in Sorted Array 27.7% 36.2% Hard Medium 0.29518712556880805 0.2962385293756158 https://leetcode.com/problems/text-justification https://leetcode.com/problems/find-first-and-last-position-of-element-in-sorted-array
118 232 68 Implement Queue using Stacks Text Justification 49.6% 27.7% Easy Hard 0.29416188100982804 0.29518712556880805 https://leetcode.com/problems/implement-queue-using-stacks https://leetcode.com/problems/text-justification
119 171 232 Excel Sheet Column Number Implement Queue using Stacks 55.9% 49.6% Easy Easy 0.2930854047798333 0.29416188100982804 https://leetcode.com/problems/excel-sheet-column-number https://leetcode.com/problems/implement-queue-using-stacks
120 401 171 Binary Watch Excel Sheet Column Number 47.5% 55.9% Easy Easy 0.29139641067451033 0.2930854047798333 https://leetcode.com/problems/binary-watch https://leetcode.com/problems/excel-sheet-column-number
121 300 401 Longest Increasing Subsequence Binary Watch 42.6% 47.5% Medium Easy 0.29104142745374856 0.29139641067451033 https://leetcode.com/problems/longest-increasing-subsequence https://leetcode.com/problems/binary-watch
122 91 300 Decode Ways Longest Increasing Subsequence 24.7% 42.6% Medium Medium 0.2902229900433467 0.29104142745374856 https://leetcode.com/problems/decode-ways https://leetcode.com/problems/longest-increasing-subsequence
123 796 91 Rotate String Decode Ways 49.6% 24.7% Easy Medium 0.28922092887241174 0.2902229900433467 https://leetcode.com/problems/rotate-string https://leetcode.com/problems/decode-ways
124 239 796 Sliding Window Maximum Rotate String 43.0% 49.6% Hard Easy 0.2889699026362096 0.28922092887241174 https://leetcode.com/problems/sliding-window-maximum https://leetcode.com/problems/rotate-string
125 729 239 My Calendar I Sliding Window Maximum 51.8% 43.0% Medium Hard 0.28814578681204955 0.2889699026362096 https://leetcode.com/problems/my-calendar-i https://leetcode.com/problems/sliding-window-maximum
126 463 729 Island Perimeter My Calendar I 65.7% 51.8% Easy Medium 0.2871321686710828 0.28814578681204955 https://leetcode.com/problems/island-perimeter https://leetcode.com/problems/my-calendar-i
127 996 463 Number of Squareful Arrays Island Perimeter 47.8% 65.7% Hard Easy 0.28675913745318005 0.2871321686710828 https://leetcode.com/problems/number-of-squareful-arrays https://leetcode.com/problems/island-perimeter
128 973 996 K Closest Points to Origin Number of Squareful Arrays 63.8% 47.8% Medium Hard 0.28194765395047156 0.28675913745318005 https://leetcode.com/problems/k-closest-points-to-origin https://leetcode.com/problems/number-of-squareful-arrays
129 39 973 Combination Sum K Closest Points to Origin 56.1% 63.8% Medium Medium 0.2794799975469249 0.28194765395047156 https://leetcode.com/problems/combination-sum https://leetcode.com/problems/k-closest-points-to-origin
130 75 39 Sort Colors Combination Sum 47.3% 56.1% Medium Medium 0.2778743740687611 0.2794799975469249 https://leetcode.com/problems/sort-colors https://leetcode.com/problems/combination-sum
131 136 75 Single Number Sort Colors 65.5% 47.3% Easy Medium 0.27522969174444734 0.2778743740687611 https://leetcode.com/problems/single-number https://leetcode.com/problems/sort-colors
132 41 136 First Missing Positive Single Number 32.0% 65.5% Hard Easy 0.2739607716310848 0.27522969174444734 https://leetcode.com/problems/first-missing-positive https://leetcode.com/problems/single-number
133 362 41 Design Hit Counter First Missing Positive 63.7% 32.0% Medium Hard 0.2737682417732349 0.2739607716310848 https://leetcode.com/problems/design-hit-counter https://leetcode.com/problems/first-missing-positive
134 11 362 Container With Most Water Design Hit Counter 50.8% 63.7% Medium Medium 0.2679205380972798 0.2737682417732349 https://leetcode.com/problems/container-with-most-water https://leetcode.com/problems/design-hit-counter
135 486 11 Predict the Winner Container With Most Water 47.9% 50.8% Medium Medium 0.26356981012283964 0.2679205380972798 https://leetcode.com/problems/predict-the-winner https://leetcode.com/problems/container-with-most-water
136 221 486 Maximal Square Predict the Winner 37.7% 47.9% Medium Medium 0.26278452083005377 0.26356981012283964 https://leetcode.com/problems/maximal-square https://leetcode.com/problems/predict-the-winner
137 223 221 Rectangle Area Maximal Square 37.8% 37.7% Medium Medium 0.2578291093020998 0.26278452083005377 https://leetcode.com/problems/rectangle-area https://leetcode.com/problems/maximal-square
138 315 223 Count of Smaller Numbers After Self Rectangle Area 41.5% 37.8% Hard Medium 0.2567607594720918 0.2578291093020998 https://leetcode.com/problems/count-of-smaller-numbers-after-self https://leetcode.com/problems/rectangle-area
139 187 315 Repeated DNA Sequences Count of Smaller Numbers After Self 38.9% 41.5% Medium Hard 0.2529118727100632 0.2567607594720918 https://leetcode.com/problems/repeated-dna-sequences https://leetcode.com/problems/count-of-smaller-numbers-after-self
140 443 187 String Compression Repeated DNA Sequences 41.3% 38.9% Easy Medium 0.2496791049401753 0.2529118727100632 https://leetcode.com/problems/string-compression https://leetcode.com/problems/repeated-dna-sequences
141 22 443 Generate Parentheses String Compression 62.7% 41.3% Medium Easy 0.24664152258151367 0.2496791049401753 https://leetcode.com/problems/generate-parentheses https://leetcode.com/problems/string-compression
142 316 22 Remove Duplicate Letters Generate Parentheses 35.8% 62.7% Hard Medium 0.24545840052279075 0.24664152258151367 https://leetcode.com/problems/remove-duplicate-letters https://leetcode.com/problems/generate-parentheses
143 895 316 Maximum Frequency Stack Remove Duplicate Letters 60.6% 35.8% Hard Hard 0.24416008667586836 0.24545840052279075 https://leetcode.com/problems/maximum-frequency-stack https://leetcode.com/problems/remove-duplicate-letters
144 415 895 Add Strings Maximum Frequency Stack 47.5% 60.6% Easy Hard 0.24230382668402778 0.24416008667586836 https://leetcode.com/problems/add-strings https://leetcode.com/problems/maximum-frequency-stack
145 277 415 Find the Celebrity Add Strings 41.8% 47.5% Medium Easy 0.24003104821376078 0.24230382668402778 https://leetcode.com/problems/find-the-celebrity https://leetcode.com/problems/add-strings
146 167 277 Two Sum II - Input array is sorted Find the Celebrity 54.1% 41.8% Easy Medium 0.23949403264353084 0.24003104821376078 https://leetcode.com/problems/two-sum-ii-input-array-is-sorted https://leetcode.com/problems/find-the-celebrity
147 658 167 Find K Closest Elements Two Sum II - Input array is sorted 40.9% 54.1% Medium Easy 0.23744614004484665 0.23949403264353084 https://leetcode.com/problems/find-k-closest-elements https://leetcode.com/problems/two-sum-ii-input-array-is-sorted
148 381 658 Insert Delete GetRandom O(1) - Duplicates allowed Find K Closest Elements 34.1% 40.9% Hard Medium 0.2349381278070467 0.23744614004484665 https://leetcode.com/problems/insert-delete-getrandom-o1-duplicates-allowed https://leetcode.com/problems/find-k-closest-elements
149 92 381 Reverse Linked List II Insert Delete GetRandom O(1) - Duplicates allowed 38.8% 34.1% Medium Hard 0.23274095442047985 0.2349381278070467 https://leetcode.com/problems/reverse-linked-list-ii https://leetcode.com/problems/insert-delete-getrandom-o1-duplicates-allowed
150 636 92 Exclusive Time of Functions Reverse Linked List II 52.0% 38.8% Medium Medium 0.23128872777861115 0.23274095442047985 https://leetcode.com/problems/exclusive-time-of-functions https://leetcode.com/problems/reverse-linked-list-ii
151 509 636 Fibonacci Number Exclusive Time of Functions 67.2% 52.0% Easy Medium 0.22873204718012582 0.23128872777861115 https://leetcode.com/problems/fibonacci-number https://leetcode.com/problems/exclusive-time-of-functions
152 165 509 Compare Version Numbers Fibonacci Number 27.4% 67.2% Medium Easy 0.22687712200146865 0.22873204718012582 https://leetcode.com/problems/compare-version-numbers https://leetcode.com/problems/fibonacci-number
153 28 165 Implement strStr() Compare Version Numbers 34.5% 27.4% Easy Medium 0.22543251399322328 0.22687712200146865 https://leetcode.com/problems/implement-strstr https://leetcode.com/problems/compare-version-numbers
154 237 28 Delete Node in a Linked List Implement strStr() 63.8% 34.5% Easy Easy 0.22533328620090126 0.22543251399322328 https://leetcode.com/problems/delete-node-in-a-linked-list https://leetcode.com/problems/implement-strstr
155 104 237 Maximum Depth of Binary Tree Delete Node in a Linked List 66.0% 63.8% Easy Easy 0.2247057029374007 0.22533328620090126 https://leetcode.com/problems/maximum-depth-of-binary-tree https://leetcode.com/problems/delete-node-in-a-linked-list
156 498 104 Diagonal Traverse Maximum Depth of Binary Tree 48.2% 66.0% Medium Easy 0.22440062250426088 0.2247057029374007 https://leetcode.com/problems/diagonal-traverse https://leetcode.com/problems/maximum-depth-of-binary-tree
157 69 498 Sqrt(x) Diagonal Traverse 33.9% 48.2% Easy Medium 0.22365492948950624 0.22440062250426088 https://leetcode.com/problems/sqrtx https://leetcode.com/problems/diagonal-traverse
158 215 69 Kth Largest Element in an Array Sqrt(x) 55.4% 33.9% Medium Easy 0.22333903562721621 0.22365492948950624 https://leetcode.com/problems/kth-largest-element-in-an-array https://leetcode.com/problems/sqrtx
159 353 215 Design Snake Game Kth Largest Element in an Array 34.2% 55.4% Medium Medium 0.2228314901476892 0.22333903562721621 https://leetcode.com/problems/design-snake-game https://leetcode.com/problems/kth-largest-element-in-an-array
160 133 353 Clone Graph Design Snake Game 34.8% 34.2% Medium Medium 0.22085334910266116 0.2228314901476892 https://leetcode.com/problems/clone-graph https://leetcode.com/problems/design-snake-game
161 9 133 Palindrome Number Clone Graph 48.4% 34.8% Easy Medium 0.2202947418496198 0.22085334910266116 https://leetcode.com/problems/palindrome-number https://leetcode.com/problems/clone-graph
162 986 9 Interval List Intersections Palindrome Number 67.3% 48.4% Medium Easy 0.21819454006628897 0.2202947418496198 https://leetcode.com/problems/interval-list-intersections https://leetcode.com/problems/palindrome-number
163 229 986 Majority Element II Interval List Intersections 35.6% 67.3% Medium Medium 0.21162970925187066 0.21819454006628897 https://leetcode.com/problems/majority-element-ii https://leetcode.com/problems/interval-list-intersections
164 108 229 Convert Sorted Array to Binary Search Tree Majority Element II 57.9% 35.6% Easy Medium 0.2113223542441748 0.21162970925187066 https://leetcode.com/problems/convert-sorted-array-to-binary-search-tree https://leetcode.com/problems/majority-element-ii
165 661 108 Image Smoother Convert Sorted Array to Binary Search Tree 51.5% 57.9% Easy Easy 0.21106039931128698 0.2113223542441748 https://leetcode.com/problems/image-smoother https://leetcode.com/problems/convert-sorted-array-to-binary-search-tree
166 124 661 Binary Tree Maximum Path Sum Image Smoother 34.3% 51.5% Hard Easy 0.21055599204217199 0.21106039931128698 https://leetcode.com/problems/binary-tree-maximum-path-sum https://leetcode.com/problems/image-smoother
167 6 124 ZigZag Conversion Binary Tree Maximum Path Sum 36.3% 34.3% Medium Hard 0.21040551802808702 0.21055599204217199 https://leetcode.com/problems/zigzag-conversion https://leetcode.com/problems/binary-tree-maximum-path-sum
168 741 6 Cherry Pickup ZigZag Conversion 33.9% 36.3% Hard Medium 0.20909179785855941 0.21040551802808702 https://leetcode.com/problems/cherry-pickup https://leetcode.com/problems/zigzag-conversion
169 169 741 Majority Element Cherry Pickup 58.7% 33.9% Easy Hard 0.2079562741042954 0.20909179785855941 https://leetcode.com/problems/majority-element https://leetcode.com/problems/cherry-pickup
170 837 169 New 21 Game Majority Element 34.6% 58.7% Medium Easy 0.20526312603636132 0.2079562741042954 https://leetcode.com/problems/new-21-game https://leetcode.com/problems/majority-element
171 62 837 Unique Paths New 21 Game 54.1% 34.6% Medium Medium 0.20453705875726236 0.20526312603636132 https://leetcode.com/problems/unique-paths https://leetcode.com/problems/new-21-game
172 220 62 Contains Duplicate III Unique Paths 20.9% 54.1% Medium Medium 0.20432784239539936 0.20453705875726236 https://leetcode.com/problems/contains-duplicate-iii https://leetcode.com/problems/unique-paths
173 37 220 Sudoku Solver Contains Duplicate III 43.6% 20.9% Hard Medium 0.20309089276282075 0.20432784239539936 https://leetcode.com/problems/sudoku-solver https://leetcode.com/problems/contains-duplicate-iii
174 543 37 Diameter of Binary Tree Sudoku Solver 48.4% 43.6% Easy Hard 0.2027481163433401 0.20309089276282075 https://leetcode.com/problems/diameter-of-binary-tree https://leetcode.com/problems/sudoku-solver
175 557 543 Reverse Words in a String III Diameter of Binary Tree 69.8% 48.4% Easy Easy 0.1998533423830101 0.2027481163433401 https://leetcode.com/problems/reverse-words-in-a-string-iii https://leetcode.com/problems/diameter-of-binary-tree
176 349 557 Intersection of Two Arrays Reverse Words in a String III 62.5% 69.8% Easy Easy 0.19894926823907688 0.1998533423830101 https://leetcode.com/problems/intersection-of-two-arrays https://leetcode.com/problems/reverse-words-in-a-string-iii
177 120 349 Triangle Intersection of Two Arrays 44.2% 62.5% Medium Easy 0.19325424809414601 0.19894926823907688 https://leetcode.com/problems/triangle https://leetcode.com/problems/intersection-of-two-arrays
178 173 120 Binary Search Tree Iterator Triangle 56.6% 44.2% Medium Medium 0.1932027494363769 0.19325424809414601 https://leetcode.com/problems/binary-search-tree-iterator https://leetcode.com/problems/triangle
179 65 173 Valid Number Binary Search Tree Iterator 15.3% 56.6% Hard Medium 0.18904265746703205 0.1932027494363769 https://leetcode.com/problems/valid-number https://leetcode.com/problems/binary-search-tree-iterator
180 25 65 Reverse Nodes in k-Group Valid Number 42.1% 15.3% Hard Hard 0.18884373606243307 0.18904265746703205 https://leetcode.com/problems/reverse-nodes-in-k-group https://leetcode.com/problems/valid-number
181 549 25 Binary Tree Longest Consecutive Sequence II Reverse Nodes in k-Group 47.0% 42.1% Medium Hard 0.1884471502206373 0.18884373606243307 https://leetcode.com/problems/binary-tree-longest-consecutive-sequence-ii https://leetcode.com/problems/reverse-nodes-in-k-group
182 178 549 Rank Scores Binary Tree Longest Consecutive Sequence II 45.8% 47.0% Medium Medium 0.18843907402659216 0.1884471502206373 https://leetcode.com/problems/rank-scores https://leetcode.com/problems/binary-tree-longest-consecutive-sequence-ii
183 72 178 Edit Distance Rank Scores 44.8% 45.8% Hard Medium 0.18554648786569794 0.18843907402659216 https://leetcode.com/problems/edit-distance https://leetcode.com/problems/rank-scores
184 77 72 Combinations Edit Distance 54.7% 44.8% Medium Hard 0.18405670984385755 0.18554648786569794 https://leetcode.com/problems/combinations https://leetcode.com/problems/edit-distance
185 518 77 Coin Change 2 Combinations 50.2% 54.7% Medium Medium 0.18373876827436816 0.18405670984385755 https://leetcode.com/problems/coin-change-2 https://leetcode.com/problems/combinations
186 231 518 Power of Two Coin Change 2 43.7% 50.2% Easy Medium 0.18077110562857268 0.18373876827436816 https://leetcode.com/problems/power-of-two https://leetcode.com/problems/coin-change-2
187 234 231 Palindrome Linked List Power of Two 39.3% 43.7% Easy Easy 0.17561579569700486 0.18077110562857268 https://leetcode.com/problems/palindrome-linked-list https://leetcode.com/problems/power-of-two
188 240 234 Search a 2D Matrix II Palindrome Linked List 43.2% 39.3% Medium Easy 0.17420113958996 0.17561579569700486 https://leetcode.com/problems/search-a-2d-matrix-ii https://leetcode.com/problems/palindrome-linked-list
189 911 240 Online Election Search a 2D Matrix II 50.4% 43.2% Medium Medium 0.1741842396477574 0.17420113958996 https://leetcode.com/problems/online-election https://leetcode.com/problems/search-a-2d-matrix-ii
190 74 911 Search a 2D Matrix Online Election 36.5% 50.4% Medium Medium 0.17399668345849942 0.1741842396477574 https://leetcode.com/problems/search-a-2d-matrix https://leetcode.com/problems/online-election
191 1278 74 Palindrome Partitioning III Search a 2D Matrix 59.9% 36.5% Hard Medium 0.17284281283941086 0.17399668345849942 https://leetcode.com/problems/palindrome-partitioning-iii https://leetcode.com/problems/search-a-2d-matrix
192 151 1278 Reverse Words in a String Palindrome Partitioning III 21.9% 59.9% Medium Hard 0.1707401585649133 0.17284281283941086 https://leetcode.com/problems/reverse-words-in-a-string https://leetcode.com/problems/palindrome-partitioning-iii
193 43 151 Multiply Strings Reverse Words in a String 33.9% 21.9% Medium Medium 0.17061651017204038 0.1707401585649133 https://leetcode.com/problems/multiply-strings https://leetcode.com/problems/reverse-words-in-a-string
194 176 43 Second Highest Salary Multiply Strings 31.6% 33.9% Easy Medium 0.17018888346853764 0.17061651017204038 https://leetcode.com/problems/second-highest-salary https://leetcode.com/problems/multiply-strings
195 190 176 Reverse Bits Second Highest Salary 39.8% 31.6% Easy Easy 0.16833660590895258 0.17018888346853764 https://leetcode.com/problems/reverse-bits https://leetcode.com/problems/second-highest-salary
196 528 190 Random Pick with Weight Reverse Bits 43.9% 39.8% Medium Easy 0.16808800301828727 0.16833660590895258 https://leetcode.com/problems/random-pick-with-weight https://leetcode.com/problems/reverse-bits
197 55 528 Jump Game Random Pick with Weight 34.6% 43.9% Medium Medium 0.16658918460830285 0.16808800301828727 https://leetcode.com/problems/jump-game https://leetcode.com/problems/random-pick-with-weight
198 642 55 Design Search Autocomplete System Jump Game 44.7% 34.6% Hard Medium 0.16312782492496253 0.16658918460830285 https://leetcode.com/problems/design-search-autocomplete-system https://leetcode.com/problems/jump-game
199 821 642 Shortest Distance to a Character Design Search Autocomplete System 66.9% 44.7% Easy Hard 0.16229864091884685 0.16312782492496253 https://leetcode.com/problems/shortest-distance-to-a-character https://leetcode.com/problems/design-search-autocomplete-system
200 29 821 Divide Two Integers Shortest Distance to a Character 16.4% 66.9% Medium Easy 0.156913715105051 0.16229864091884685 https://leetcode.com/problems/divide-two-integers https://leetcode.com/problems/shortest-distance-to-a-character
201 647 29 Palindromic Substrings Divide Two Integers 60.6% 16.4% Medium Medium 0.154673282399905 0.156913715105051 https://leetcode.com/problems/palindromic-substrings https://leetcode.com/problems/divide-two-integers
202 632 647 Smallest Range Covering Elements from K Lists Palindromic Substrings 52.4% 60.6% Hard Medium 0.15283920422944758 0.154673282399905 https://leetcode.com/problems/smallest-range-covering-elements-from-k-lists https://leetcode.com/problems/palindromic-substrings
203 470 632 Implement Rand10() Using Rand7() Smallest Range Covering Elements from K Lists 46.3% 52.4% Medium Hard 0.15154989812720093 0.15283920422944758 https://leetcode.com/problems/implement-rand10-using-rand7 https://leetcode.com/problems/smallest-range-covering-elements-from-k-lists
204 57 470 Insert Interval Implement Rand10() Using Rand7() 33.5% 46.3% Hard Medium 0.14994432629434787 0.15154989812720093 https://leetcode.com/problems/insert-interval https://leetcode.com/problems/implement-rand10-using-rand7
205 739 57 Daily Temperatures Insert Interval 63.3% 33.5% Medium Hard 0.14956674442158685 0.14994432629434787 https://leetcode.com/problems/daily-temperatures https://leetcode.com/problems/insert-interval
206 383 739 Ransom Note Daily Temperatures 53.1% 63.3% Easy Medium 0.14842000511827327 0.14956674442158685 https://leetcode.com/problems/ransom-note https://leetcode.com/problems/daily-temperatures
207 83 383 Remove Duplicates from Sorted List Ransom Note 45.4% 53.1% Easy Easy 0.14784842578508967 0.14842000511827327 https://leetcode.com/problems/remove-duplicates-from-sorted-list https://leetcode.com/problems/ransom-note
208 30 83 Substring with Concatenation of All Words Remove Duplicates from Sorted List 25.4% 45.4% Hard Easy 0.1461170580676051 0.14784842578508967 https://leetcode.com/problems/substring-with-concatenation-of-all-words https://leetcode.com/problems/remove-duplicates-from-sorted-list
209 546 30 Remove Boxes Substring with Concatenation of All Words 42.7% 25.4% Hard Hard 0.14361551169114867 0.1461170580676051 https://leetcode.com/problems/remove-boxes https://leetcode.com/problems/substring-with-concatenation-of-all-words
210 116 546 Populating Next Right Pointers in Each Node Remove Boxes 45.2% 42.7% Medium Hard 0.13899325359219267 0.14361551169114867 https://leetcode.com/problems/populating-next-right-pointers-in-each-node https://leetcode.com/problems/remove-boxes
211 1108 116 Defanging an IP Address Populating Next Right Pointers in Each Node 87.5% 45.2% Easy Medium 0.13892162300436822 0.13899325359219267 https://leetcode.com/problems/defanging-an-ip-address https://leetcode.com/problems/populating-next-right-pointers-in-each-node
212 687 1108 Longest Univalue Path Defanging an IP Address 36.2% 87.5% Easy Easy 0.13857217423956994 0.13892162300436822 https://leetcode.com/problems/longest-univalue-path https://leetcode.com/problems/defanging-an-ip-address
213 128 687 Longest Consecutive Sequence Longest Univalue Path 45.1% 36.2% Hard Easy 0.13583040733187832 0.13857217423956994 https://leetcode.com/problems/longest-consecutive-sequence https://leetcode.com/problems/longest-univalue-path
214 427 128 Construct Quad Tree Longest Consecutive Sequence 61.4% 45.1% Medium Hard 0.13580154115906176 0.13583040733187832 https://leetcode.com/problems/construct-quad-tree https://leetcode.com/problems/longest-consecutive-sequence
215 1044 427 Longest Duplicate Substring Construct Quad Tree 31.9% 61.4% Hard Medium 0.1351378186727963 0.13580154115906176 https://leetcode.com/problems/longest-duplicate-substring https://leetcode.com/problems/construct-quad-tree
216 86 1044 Partition List Longest Duplicate Substring 41.5% 31.9% Medium Hard 0.1338296774887775 0.1351378186727963 https://leetcode.com/problems/partition-list https://leetcode.com/problems/longest-duplicate-substring
217 199 86 Binary Tree Right Side View Partition List 54.1% 41.5% Medium Medium 0.13319296807660722 0.1338296774887775 https://leetcode.com/problems/binary-tree-right-side-view https://leetcode.com/problems/partition-list
218 1221 199 Split a String in Balanced Strings Binary Tree Right Side View 83.3% 54.1% Easy Medium 0.1319324949716959 0.13319296807660722 https://leetcode.com/problems/split-a-string-in-balanced-strings https://leetcode.com/problems/binary-tree-right-side-view
219 977 1221 Squares of a Sorted Array Split a String in Balanced Strings 72.1% 83.3% Easy Easy 0.13133600206108695 0.1319324949716959 https://leetcode.com/problems/squares-of-a-sorted-array https://leetcode.com/problems/split-a-string-in-balanced-strings
220 118 977 Pascal's Triangle Squares of a Sorted Array 52.5% 72.1% Easy Easy 0.12852395589356347 0.13133600206108695 https://leetcode.com/problems/pascals-triangle https://leetcode.com/problems/squares-of-a-sorted-array
221 70 118 Climbing Stairs Pascal's Triangle 47.8% 52.5% Easy Easy 0.12772618382036388 0.12852395589356347 https://leetcode.com/problems/climbing-stairs https://leetcode.com/problems/pascals-triangle
222 198 70 House Robber Climbing Stairs 42.0% 47.8% Easy Easy 0.12709898426651453 0.12772618382036388 https://leetcode.com/problems/house-robber https://leetcode.com/problems/climbing-stairs
223 359 198 Logger Rate Limiter House Robber 70.8% 42.0% Easy Easy 0.1248502028794759 0.12709898426651453 https://leetcode.com/problems/logger-rate-limiter https://leetcode.com/problems/house-robber
224 350 359 Intersection of Two Arrays II Logger Rate Limiter 51.4% 70.8% Easy Easy 0.12274798010265034 0.1248502028794759 https://leetcode.com/problems/intersection-of-two-arrays-ii https://leetcode.com/problems/logger-rate-limiter
225 1114 350 Print in Order Intersection of Two Arrays II 65.7% 51.4% Easy Easy 0.12136085700426744 0.12274798010265034 https://leetcode.com/problems/print-in-order https://leetcode.com/problems/intersection-of-two-arrays-ii
226 211 1114 Add and Search Word - Data structure design Print in Order 38.1% 65.7% Medium Easy 0.12092604505358262 0.12136085700426744 https://leetcode.com/problems/add-and-search-word-data-structure-design https://leetcode.com/problems/print-in-order
227 454 211 4Sum II Add and Search Word - Data structure design 53.1% 38.1% Medium Medium 0.1208030670124105 0.12092604505358262 https://leetcode.com/problems/4sum-ii https://leetcode.com/problems/add-and-search-word-data-structure-design
228 867 454 Transpose Matrix 4Sum II 62.8% 53.1% Easy Medium 0.11927747573936125 0.1208030670124105 https://leetcode.com/problems/transpose-matrix https://leetcode.com/problems/4sum-ii
229 93 867 Restore IP Addresses Transpose Matrix 35.6% 62.8% Medium Easy 0.11756123239496619 0.11927747573936125 https://leetcode.com/problems/restore-ip-addresses https://leetcode.com/problems/transpose-matrix
230 101 93 Symmetric Tree Restore IP Addresses 46.8% 35.6% Easy Medium 0.11583847861592966 0.11756123239496619 https://leetcode.com/problems/symmetric-tree https://leetcode.com/problems/restore-ip-addresses
231 184 101 Department Highest Salary Symmetric Tree 36.7% 46.8% Medium Easy 0.111723209445655 0.11583847861592966 https://leetcode.com/problems/department-highest-salary https://leetcode.com/problems/symmetric-tree
232 82 184 Remove Duplicates from Sorted List II Department Highest Salary 36.8% 36.7% Medium Medium 0.1110882064011508 0.111723209445655 https://leetcode.com/problems/remove-duplicates-from-sorted-list-ii https://leetcode.com/problems/department-highest-salary
233 450 82 Delete Node in a BST Remove Duplicates from Sorted List II 43.1% 36.8% Medium Medium 0.11058538292750217 0.1110882064011508 https://leetcode.com/problems/delete-node-in-a-bst https://leetcode.com/problems/remove-duplicates-from-sorted-list-ii
234 219 450 Contains Duplicate II Delete Node in a BST 37.7% 43.1% Easy Medium 0.10943188230246585 0.11058538292750217 https://leetcode.com/problems/contains-duplicate-ii https://leetcode.com/problems/delete-node-in-a-bst
235 78 219 Subsets Contains Duplicate II 62.0% 37.7% Medium Easy 0.10594222506883655 0.10943188230246585 https://leetcode.com/problems/subsets https://leetcode.com/problems/contains-duplicate-ii
236 114 78 Flatten Binary Tree to Linked List Subsets 49.3% 62.0% Medium Medium 0.1050144350175837 0.10594222506883655 https://leetcode.com/problems/flatten-binary-tree-to-linked-list https://leetcode.com/problems/subsets
237 407 114 Trapping Rain Water II Flatten Binary Tree to Linked List 42.4% 49.3% Hard Medium 0.10486899438963619 0.1050144350175837 https://leetcode.com/problems/trapping-rain-water-ii https://leetcode.com/problems/flatten-binary-tree-to-linked-list
238 448 407 Find All Numbers Disappeared in an Array Trapping Rain Water II 55.9% 42.4% Easy Hard 0.10453372768183221 0.10486899438963619 https://leetcode.com/problems/find-all-numbers-disappeared-in-an-array https://leetcode.com/problems/trapping-rain-water-ii
239 343 448 Integer Break Find All Numbers Disappeared in an Array 50.4% 55.9% Medium Easy 0.10446541455492596 0.10453372768183221 https://leetcode.com/problems/integer-break https://leetcode.com/problems/find-all-numbers-disappeared-in-an-array
240 560 343 Subarray Sum Equals K Integer Break 43.9% 50.4% Medium Medium 0.10184840494454048 0.10446541455492596 https://leetcode.com/problems/subarray-sum-equals-k https://leetcode.com/problems/integer-break
241 453 560 Minimum Moves to Equal Array Elements Subarray Sum Equals K 50.2% 43.9% Easy Medium 0.10178269430994231 0.10184840494454048 https://leetcode.com/problems/minimum-moves-to-equal-array-elements https://leetcode.com/problems/subarray-sum-equals-k
242 416 453 Partition Equal Subset Sum Minimum Moves to Equal Array Elements 43.7% 50.2% Medium Easy 0.10153641921942286 0.10178269430994231 https://leetcode.com/problems/partition-equal-subset-sum https://leetcode.com/problems/minimum-moves-to-equal-array-elements
243 417 416 Pacific Atlantic Water Flow Partition Equal Subset Sum 41.1% 43.7% Medium Medium 0.10008345855698253 0.10153641921942286 https://leetcode.com/problems/pacific-atlantic-water-flow https://leetcode.com/problems/partition-equal-subset-sum
244 143 417 Reorder List Pacific Atlantic Water Flow 37.1% 41.1% Medium Medium 0.09969510903753867 0.10008345855698253 https://leetcode.com/problems/reorder-list https://leetcode.com/problems/pacific-atlantic-water-flow
245 162 143 Find Peak Element Reorder List 43.3% 37.1% Medium Medium 0.09706051838470164 0.09969510903753867 https://leetcode.com/problems/find-peak-element https://leetcode.com/problems/reorder-list
246 230 162 Kth Smallest Element in a BST Find Peak Element 60.2% 43.3% Medium Medium 0.09685471541555685 0.09706051838470164 https://leetcode.com/problems/kth-smallest-element-in-a-bst https://leetcode.com/problems/find-peak-element
247 207 230 Course Schedule Kth Smallest Element in a BST 43.1% 60.2% Medium Medium 0.09601114875296962 0.09685471541555685 https://leetcode.com/problems/course-schedule https://leetcode.com/problems/kth-smallest-element-in-a-bst
248 338 207 Counting Bits Course Schedule 69.5% 43.1% Medium Medium 0.09394125419698317 0.09601114875296962 https://leetcode.com/problems/counting-bits https://leetcode.com/problems/course-schedule
249 87 338 Scramble String Counting Bits 33.7% 69.5% Hard Medium 0.09333193979221914 0.09394125419698317 https://leetcode.com/problems/scramble-string https://leetcode.com/problems/counting-bits
250 266 87 Palindrome Permutation Scramble String 61.9% 33.7% Easy Hard 0.091248671465145 0.09333193979221914 https://leetcode.com/problems/palindrome-permutation https://leetcode.com/problems/scramble-string
251 282 266 Expression Add Operators Palindrome Permutation 35.5% 61.9% Hard Easy 0.08720118433574389 0.091248671465145 https://leetcode.com/problems/expression-add-operators https://leetcode.com/problems/palindrome-permutation
252 622 282 Design Circular Queue Expression Add Operators 43.7% 35.5% Medium Hard 0.08696405427235052 0.08720118433574389 https://leetcode.com/problems/design-circular-queue https://leetcode.com/problems/expression-add-operators
253 256 622 Paint House Design Circular Queue 52.1% 43.7% Easy Medium 0.08650924290928251 0.08696405427235052 https://leetcode.com/problems/paint-house https://leetcode.com/problems/design-circular-queue
254 105 256 Construct Binary Tree from Preorder and Inorder Traversal Paint House 48.8% 52.1% Medium Easy 0.08645856912332787 0.08650924290928251 https://leetcode.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal https://leetcode.com/problems/paint-house
255 98 105 Validate Binary Search Tree Construct Binary Tree from Preorder and Inorder Traversal 27.8% 48.8% Medium Medium 0.0854255093169086 0.08645856912332787 https://leetcode.com/problems/validate-binary-search-tree https://leetcode.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal
256 287 98 Find the Duplicate Number Validate Binary Search Tree 55.5% 27.8% Medium Medium 0.0845834791494423 0.0854255093169086 https://leetcode.com/problems/find-the-duplicate-number https://leetcode.com/problems/validate-binary-search-tree
257 345 287 Reverse Vowels of a String Find the Duplicate Number 44.2% 55.5% Easy Medium 0.08413974844494757 0.0845834791494423 https://leetcode.com/problems/reverse-vowels-of-a-string https://leetcode.com/problems/find-the-duplicate-number
258 582 345 Kill Process Reverse Vowels of a String 60.8% 44.2% Medium Easy 0.08355588569097351 0.08413974844494757 https://leetcode.com/problems/kill-process https://leetcode.com/problems/reverse-vowels-of-a-string
259 73 582 Set Matrix Zeroes Kill Process 43.1% 60.8% Medium Medium 0.08271965106891821 0.08355588569097351 https://leetcode.com/problems/set-matrix-zeroes https://leetcode.com/problems/kill-process
260 26 73 Remove Duplicates from Sorted Array Set Matrix Zeroes 45.1% 43.1% Easy Medium 0.0792949457576407 0.08271965106891821 https://leetcode.com/problems/remove-duplicates-from-sorted-array https://leetcode.com/problems/set-matrix-zeroes
261 208 26 Implement Trie (Prefix Tree) Remove Duplicates from Sorted Array 49.4% 45.1% Medium Easy 0.07910997849332738 0.0792949457576407 https://leetcode.com/problems/implement-trie-prefix-tree https://leetcode.com/problems/remove-duplicates-from-sorted-array
262 180 208 Consecutive Numbers Implement Trie (Prefix Tree) 39.7% 49.4% Medium Medium 0.07851014032375832 0.07910997849332738 https://leetcode.com/problems/consecutive-numbers https://leetcode.com/problems/implement-trie-prefix-tree
263 79 180 Word Search Consecutive Numbers 35.6% 39.7% Medium Medium 0.07847790263416941 0.07851014032375832 https://leetcode.com/problems/word-search https://leetcode.com/problems/consecutive-numbers
264 142 79 Linked List Cycle II Word Search 37.3% 35.6% Medium Medium 0.0775950985761474 0.07847790263416941 https://leetcode.com/problems/linked-list-cycle-ii https://leetcode.com/problems/word-search
265 435 142 Non-overlapping Intervals Linked List Cycle II 42.9% 37.3% Medium Medium 0.07565042495900788 0.0775950985761474 https://leetcode.com/problems/non-overlapping-intervals https://leetcode.com/problems/linked-list-cycle-ii
266 540 435 Single Element in a Sorted Array Non-overlapping Intervals 57.9% 42.9% Medium Medium 0.07473130562267008 0.07565042495900788 https://leetcode.com/problems/single-element-in-a-sorted-array https://leetcode.com/problems/non-overlapping-intervals
267 445 540 Add Two Numbers II Single Element in a Sorted Array 54.5% 57.9% Medium Medium 0.07468384317453133 0.07473130562267008 https://leetcode.com/problems/add-two-numbers-ii https://leetcode.com/problems/single-element-in-a-sorted-array
268 669 445 Trim a Binary Search Tree Add Two Numbers II 63.0% 54.5% Easy Medium 0.07445297819474968 0.07468384317453133 https://leetcode.com/problems/trim-a-binary-search-tree https://leetcode.com/problems/add-two-numbers-ii
269 480 669 Sliding Window Median Trim a Binary Search Tree 37.2% 63.0% Hard Easy 0.0743529801177063 0.07445297819474968 https://leetcode.com/problems/sliding-window-median https://leetcode.com/problems/trim-a-binary-search-tree
270 515 480 Find Largest Value in Each Tree Row Sliding Window Median 61.1% 37.2% Medium Hard 0.07428007438287054 0.0743529801177063 https://leetcode.com/problems/find-largest-value-in-each-tree-row https://leetcode.com/problems/sliding-window-median
271 19 515 Remove Nth Node From End of List Find Largest Value in Each Tree Row 35.2% 61.1% Medium Medium 0.07420700547851658 0.07428007438287054 https://leetcode.com/problems/remove-nth-node-from-end-of-list https://leetcode.com/problems/find-largest-value-in-each-tree-row
272 721 19 Accounts Merge Remove Nth Node From End of List 48.8% 35.2% Medium Medium 0.07349495575336484 0.07420700547851658 https://leetcode.com/problems/accounts-merge https://leetcode.com/problems/remove-nth-node-from-end-of-list
273 153 721 Find Minimum in Rotated Sorted Array Accounts Merge 45.1% 48.8% Medium Medium 0.07343579359779528 0.07349495575336484 https://leetcode.com/problems/find-minimum-in-rotated-sorted-array https://leetcode.com/problems/accounts-merge
274 617 153 Merge Two Binary Trees Find Minimum in Rotated Sorted Array 74.1% 45.1% Easy Medium 0.07201671240916602 0.07343579359779528 https://leetcode.com/problems/merge-two-binary-trees https://leetcode.com/problems/find-minimum-in-rotated-sorted-array
275 35 617 Search Insert Position Merge Two Binary Trees 42.6% 74.1% Easy Easy 0.07187646029497265 0.07201671240916602 https://leetcode.com/problems/search-insert-position https://leetcode.com/problems/merge-two-binary-trees
276 442 35 Find All Duplicates in an Array Search Insert Position 67.8% 42.6% Medium Easy 0.07083107135140704 0.07187646029497265 https://leetcode.com/problems/find-all-duplicates-in-an-array https://leetcode.com/problems/search-insert-position
277 378 442 Kth Smallest Element in a Sorted Matrix Find All Duplicates in an Array 54.3% 67.8% Medium Medium 0.07059096970081927 0.07083107135140704 https://leetcode.com/problems/kth-smallest-element-in-a-sorted-matrix https://leetcode.com/problems/find-all-duplicates-in-an-array
278 126 378 Word Ladder II Kth Smallest Element in a Sorted Matrix 22.1% 54.3% Hard Medium 0.07011193038456472 0.07059096970081927 https://leetcode.com/problems/word-ladder-ii https://leetcode.com/problems/kth-smallest-element-in-a-sorted-matrix
279 542 126 01 Matrix Word Ladder II 39.8% 22.1% Medium Hard 0.0700198447248843 0.07011193038456472 https://leetcode.com/problems/01-matrix https://leetcode.com/problems/word-ladder-ii
280 123 542 Best Time to Buy and Sell Stock III 01 Matrix 37.5% 39.8% Hard Medium 0.06838868749455218 0.0700198447248843 https://leetcode.com/problems/best-time-to-buy-and-sell-stock-iii https://leetcode.com/problems/01-matrix
281 1011 123 Capacity To Ship Packages Within D Days Best Time to Buy and Sell Stock III 58.1% 37.5% Medium Hard 0.06649420875558125 0.06838868749455218 https://leetcode.com/problems/capacity-to-ship-packages-within-d-days https://leetcode.com/problems/best-time-to-buy-and-sell-stock-iii
282 863 1011 All Nodes Distance K in Binary Tree Capacity To Ship Packages Within D Days 55.4% 58.1% Medium Medium 0.06616716425077336 0.06649420875558125 https://leetcode.com/problems/all-nodes-distance-k-in-binary-tree https://leetcode.com/problems/capacity-to-ship-packages-within-d-days
283 94 863 Binary Tree Inorder Traversal All Nodes Distance K in Binary Tree 63.3% 55.4% Medium Medium 0.06583997601175454 0.06616716425077336 https://leetcode.com/problems/binary-tree-inorder-traversal https://leetcode.com/problems/all-nodes-distance-k-in-binary-tree
284 122 94 Best Time to Buy and Sell Stock II Binary Tree Inorder Traversal 57.0% 63.3% Easy Medium 0.06582927042348097 0.06583997601175454 https://leetcode.com/problems/best-time-to-buy-and-sell-stock-ii https://leetcode.com/problems/binary-tree-inorder-traversal
285 95 122 Unique Binary Search Trees II Best Time to Buy and Sell Stock II 40.6% 57.0% Medium Easy 0.06578614881622968 0.06582927042348097 https://leetcode.com/problems/unique-binary-search-trees-ii https://leetcode.com/problems/best-time-to-buy-and-sell-stock-ii
286 135 95 Candy Unique Binary Search Trees II 31.6% 40.6% Hard Medium 0.06576510995956455 0.06578614881622968 https://leetcode.com/problems/candy https://leetcode.com/problems/unique-binary-search-trees-ii
287 326 135 Power of Three Candy 42.1% 31.6% Easy Hard 0.06353762681243758 0.06576510995956455 https://leetcode.com/problems/power-of-three https://leetcode.com/problems/candy
288 772 326 Basic Calculator III Power of Three 41.3% 42.1% Hard Easy 0.06331227941432688 0.06353762681243758 https://leetcode.com/problems/basic-calculator-iii https://leetcode.com/problems/power-of-three
289 110 772 Balanced Binary Tree Basic Calculator III 43.5% 41.3% Easy Hard 0.06153684147582857 0.06331227941432688 https://leetcode.com/problems/balanced-binary-tree https://leetcode.com/problems/basic-calculator-iii
290 1002 110 Find Common Characters Balanced Binary Tree 67.6% 43.5% Easy Easy 0.059741539575795824 0.06153684147582857 https://leetcode.com/problems/find-common-characters https://leetcode.com/problems/balanced-binary-tree
291 103 1002 Binary Tree Zigzag Level Order Traversal Find Common Characters 48.3% 67.6% Medium Easy 0.05973658149689521 0.059741539575795824 https://leetcode.com/problems/binary-tree-zigzag-level-order-traversal https://leetcode.com/problems/find-common-characters
292 561 103 Array Partition I Binary Tree Zigzag Level Order Traversal 72.0% 48.3% Easy Medium 0.059408706690609644 0.05973658149689521 https://leetcode.com/problems/array-partition-i https://leetcode.com/problems/binary-tree-zigzag-level-order-traversal
293 931 561 Minimum Falling Path Sum Array Partition I 62.5% 72.0% Medium Easy 0.05914995982464103 0.059408706690609644 https://leetcode.com/problems/minimum-falling-path-sum https://leetcode.com/problems/array-partition-i
294 890 931 Find and Replace Pattern Minimum Falling Path Sum 73.4% 62.5% Medium Medium 0.0568334747631659 0.05914995982464103 https://leetcode.com/problems/find-and-replace-pattern https://leetcode.com/problems/minimum-falling-path-sum
295 301 890 Remove Invalid Parentheses Find and Replace Pattern 43.3% 73.4% Hard Medium 0.0566523153423806 0.0568334747631659 https://leetcode.com/problems/remove-invalid-parentheses https://leetcode.com/problems/find-and-replace-pattern
296 912 301 Sort an Array Remove Invalid Parentheses 63.9% 43.3% Medium Hard 0.056512210263342307 0.0566523153423806 https://leetcode.com/problems/sort-an-array https://leetcode.com/problems/remove-invalid-parentheses
297 371 912 Sum of Two Integers Sort an Array 50.7% 63.9% Medium Medium 0.05511036271051877 0.056512210263342307 https://leetcode.com/problems/sum-of-two-integers https://leetcode.com/problems/sort-an-array
298 304 371 Range Sum Query 2D - Immutable Sum of Two Integers 38.6% 50.7% Medium Medium 0.054527987071175225 0.05511036271051877 https://leetcode.com/problems/range-sum-query-2d-immutable https://leetcode.com/problems/sum-of-two-integers
299 594 304 Longest Harmonious Subsequence Range Sum Query 2D - Immutable 46.6% 38.6% Easy Medium 0.054435206555017046 0.054527987071175225 https://leetcode.com/problems/longest-harmonious-subsequence https://leetcode.com/problems/range-sum-query-2d-immutable
300 63 594 Unique Paths II Longest Harmonious Subsequence 34.6% 46.6% Medium Easy 0.05324937607387791 0.054435206555017046 https://leetcode.com/problems/unique-paths-ii https://leetcode.com/problems/longest-harmonious-subsequence
301 1315 63 Sum of Nodes with Even-Valued Grandparent Unique Paths II 83.5% 34.6% Medium Medium 0.05317259535592034 0.05324937607387791 https://leetcode.com/problems/sum-of-nodes-with-even-valued-grandparent https://leetcode.com/problems/unique-paths-ii
302 134 1315 Gas Station Sum of Nodes with Even-Valued Grandparent 38.5% 83.5% Medium Medium 0.05304524877458272 0.05317259535592034 https://leetcode.com/problems/gas-station https://leetcode.com/problems/sum-of-nodes-with-even-valued-grandparent
303 1275 134 Find Winner on a Tic Tac Toe Game Gas Station 52.8% 38.5% Easy Medium 0.05292240145434251 0.05304524877458272 https://leetcode.com/problems/find-winner-on-a-tic-tac-toe-game https://leetcode.com/problems/gas-station
304 767 1275 Reorganize String Find Winner on a Tic Tac Toe Game 48.7% 52.8% Medium Easy 0.05216306328458592 0.05292240145434251 https://leetcode.com/problems/reorganize-string https://leetcode.com/problems/find-winner-on-a-tic-tac-toe-game
305 695 767 Max Area of Island Reorganize String 62.7% 48.7% Medium Medium 0.04980799142417255 0.05216306328458592 https://leetcode.com/problems/max-area-of-island https://leetcode.com/problems/reorganize-string
306 50 695 Pow(x;n) Max Area of Island 30.3% 62.7% Medium Medium 0.049262619451480506 0.04980799142417255 https://leetcode.com/problems/powx-n https://leetcode.com/problems/max-area-of-island
307 709 50 To Lower Case Pow(x;n) 79.3% 30.3% Easy Medium 0.048909503032274274 0.049262619451480506 https://leetcode.com/problems/to-lower-case https://leetcode.com/problems/powx-n
308 621 709 Task Scheduler To Lower Case 50.1% 79.3% Medium Easy 0.04638413032188776 0.048909503032274274 https://leetcode.com/problems/task-scheduler https://leetcode.com/problems/to-lower-case
309 166 621 Fraction to Recurring Decimal Task Scheduler 21.6% 50.1% Medium Medium 0.04478360262697337 0.04638413032188776 https://leetcode.com/problems/fraction-to-recurring-decimal https://leetcode.com/problems/task-scheduler
310 347 166 Top K Frequent Elements Fraction to Recurring Decimal 61.2% 21.6% Medium Medium 0.04399269847160566 0.04478360262697337 https://leetcode.com/problems/top-k-frequent-elements https://leetcode.com/problems/fraction-to-recurring-decimal
311 490 347 The Maze Top K Frequent Elements 51.4% 61.2% Medium Medium 0.04287902305923364 0.04399269847160566 https://leetcode.com/problems/the-maze https://leetcode.com/problems/top-k-frequent-elements
312 674 490 Longest Continuous Increasing Subsequence The Maze 45.9% 51.4% Easy Medium 0.04225980928988265 0.04287902305923364 https://leetcode.com/problems/longest-continuous-increasing-subsequence https://leetcode.com/problems/the-maze
313 430 674 Flatten a Multilevel Doubly Linked List Longest Continuous Increasing Subsequence 55.1% 45.9% Medium Easy 0.04154283751370906 0.04225980928988265 https://leetcode.com/problems/flatten-a-multilevel-doubly-linked-list https://leetcode.com/problems/longest-continuous-increasing-subsequence
314 907 430 Sum of Subarray Minimums Flatten a Multilevel Doubly Linked List 32.3% 55.1% Medium Medium 0.04069737616380998 0.04154283751370906 https://leetcode.com/problems/sum-of-subarray-minimums https://leetcode.com/problems/flatten-a-multilevel-doubly-linked-list
315 1060 907 Missing Element in Sorted Array Sum of Subarray Minimums 54.5% 32.3% Medium Medium 0.03879796954098255 0.04069737616380998 https://leetcode.com/problems/missing-element-in-sorted-array https://leetcode.com/problems/sum-of-subarray-minimums
316 47 1060 Permutations II Missing Element in Sorted Array 46.4% 54.5% Medium Medium 0.038145268259690404 0.03879796954098255 https://leetcode.com/problems/permutations-ii https://leetcode.com/problems/missing-element-in-sorted-array
317 210 47 Course Schedule II Permutations II 40.7% 46.4% Medium Medium 0.03795788828372613 0.038145268259690404 https://leetcode.com/problems/course-schedule-ii https://leetcode.com/problems/permutations-ii
318 40 210 Combination Sum II Course Schedule II 48.2% 40.7% Medium Medium 0.037775974158907266 0.03795788828372613 https://leetcode.com/problems/combination-sum-ii https://leetcode.com/problems/course-schedule-ii
319 64 40 Minimum Path Sum Combination Sum II 54.5% 48.2% Medium Medium 0.03769479893530684 0.037775974158907266 https://leetcode.com/problems/minimum-path-sum https://leetcode.com/problems/combination-sum-ii
320 1021 64 Remove Outermost Parentheses Minimum Path Sum 78.0% 54.5% Easy Medium 0.03660433056251234 0.03769479893530684 https://leetcode.com/problems/remove-outermost-parentheses https://leetcode.com/problems/minimum-path-sum
321 374 1021 Guess Number Higher or Lower Remove Outermost Parentheses 43.1% 78.0% Easy Easy 0.03422387238757742 0.03660433056251234 https://leetcode.com/problems/guess-number-higher-or-lower https://leetcode.com/problems/remove-outermost-parentheses
322 886 374 Possible Bipartition Guess Number Higher or Lower 44.2% 43.1% Medium Easy 0.034103901828857086 0.03422387238757742 https://leetcode.com/problems/possible-bipartition https://leetcode.com/problems/guess-number-higher-or-lower
323 226 886 Invert Binary Tree Possible Bipartition 65.0% 44.2% Easy Medium 0.03393837323839263 0.034103901828857086 https://leetcode.com/problems/invert-binary-tree https://leetcode.com/problems/possible-bipartition
324 112 226 Path Sum Invert Binary Tree 41.2% 65.0% Easy Easy 0.03370499686939782 0.03393837323839263 https://leetcode.com/problems/path-sum https://leetcode.com/problems/invert-binary-tree
325 217 112 Contains Duplicate Path Sum 56.0% 41.2% Easy Easy 0.03367321510658789 0.03370499686939782 https://leetcode.com/problems/contains-duplicate https://leetcode.com/problems/path-sum
326 516 217 Longest Palindromic Subsequence Contains Duplicate 53.2% 56.0% Medium Easy 0.0332870969222259 0.03367321510658789 https://leetcode.com/problems/longest-palindromic-subsequence https://leetcode.com/problems/contains-duplicate
327 1146 516 Snapshot Array Longest Palindromic Subsequence 37.0% 53.2% Medium Medium 0.0317991816929387 0.0332870969222259 https://leetcode.com/problems/snapshot-array https://leetcode.com/problems/longest-palindromic-subsequence
328 703 1146 Kth Largest Element in a Stream Snapshot Array 49.7% 37.0% Easy Medium 0.031004894819414507 0.0317991816929387 https://leetcode.com/problems/kth-largest-element-in-a-stream https://leetcode.com/problems/snapshot-array
329 530 703 Minimum Absolute Difference in BST Kth Largest Element in a Stream 53.8% 49.7% Easy Easy 0.030677252247047038 0.031004894819414507 https://leetcode.com/problems/minimum-absolute-difference-in-bst https://leetcode.com/problems/kth-largest-element-in-a-stream
330 876 530 Middle of the Linked List Minimum Absolute Difference in BST 68.4% 53.8% Easy Easy 0.030156827290986423 0.030677252247047038 https://leetcode.com/problems/middle-of-the-linked-list https://leetcode.com/problems/minimum-absolute-difference-in-bst
331 1197 876 Minimum Knight Moves Middle of the Linked List 36.1% 68.4% Medium Easy 0.02969780239174205 0.030156827290986423 https://leetcode.com/problems/minimum-knight-moves https://leetcode.com/problems/middle-of-the-linked-list
332 938 1197 Range Sum of BST Minimum Knight Moves 81.3% 36.1% Easy Medium 0.027755467721532374 0.02969780239174205 https://leetcode.com/problems/range-sum-of-bst https://leetcode.com/problems/minimum-knight-moves
333 811 938 Subdomain Visit Count Range Sum of BST 69.9% 81.3% Easy Easy 0.02772180293027194 0.027755467721532374 https://leetcode.com/problems/subdomain-visit-count https://leetcode.com/problems/range-sum-of-bst
334 67 811 Add Binary Subdomain Visit Count 45.2% 69.9% Easy Easy 0.026266540645351912 0.02772180293027194 https://leetcode.com/problems/add-binary https://leetcode.com/problems/subdomain-visit-count
335 373 67 Find K Pairs with Smallest Sums Add Binary 36.7% 45.2% Medium Easy 0.02626546261018635 0.026266540645351912 https://leetcode.com/problems/find-k-pairs-with-smallest-sums https://leetcode.com/problems/add-binary
336 111 373 Minimum Depth of Binary Tree Find K Pairs with Smallest Sums 37.4% 36.7% Easy Medium 0.026222413650382477 0.02626546261018635 https://leetcode.com/problems/minimum-depth-of-binary-tree https://leetcode.com/problems/find-k-pairs-with-smallest-sums
337 961 111 N-Repeated Element in Size 2N Array Minimum Depth of Binary Tree 73.7% 37.4% Easy Easy 0.025609594204324387 0.026222413650382477 https://leetcode.com/problems/n-repeated-element-in-size-2n-array https://leetcode.com/problems/minimum-depth-of-binary-tree
338 1038 961 Binary Search Tree to Greater Sum Tree N-Repeated Element in Size 2N Array 80.8% 73.7% Medium Easy 0.025446665661164262 0.025609594204324387 https://leetcode.com/problems/binary-search-tree-to-greater-sum-tree https://leetcode.com/problems/n-repeated-element-in-size-2n-array
339 310 1038 Minimum Height Trees Binary Search Tree to Greater Sum Tree 32.3% 80.8% Medium Medium 0.02446605215440636 0.025446665661164262 https://leetcode.com/problems/minimum-height-trees https://leetcode.com/problems/binary-search-tree-to-greater-sum-tree
340 804 310 Unique Morse Code Words Minimum Height Trees 77.0% 32.3% Easy Medium 0.024332100659530644 0.02446605215440636 https://leetcode.com/problems/unique-morse-code-words https://leetcode.com/problems/minimum-height-trees
341 286 804 Walls and Gates Unique Morse Code Words 54.5% 77.0% Medium Easy 0.02324334737232728 0.024332100659530644 https://leetcode.com/problems/walls-and-gates https://leetcode.com/problems/unique-morse-code-words
342 766 286 Toeplitz Matrix Walls and Gates 65.1% 54.5% Easy Medium 0.02280600552903764 0.02324334737232728 https://leetcode.com/problems/toeplitz-matrix https://leetcode.com/problems/walls-and-gates
343 113 766 Path Sum II Toeplitz Matrix 46.7% 65.1% Medium Easy 0.021882711249507664 0.02280600552903764 https://leetcode.com/problems/path-sum-ii https://leetcode.com/problems/toeplitz-matrix
344 905 113 Sort Array By Parity Path Sum II 74.1% 46.7% Easy Medium 0.02148053951675942 0.021882711249507664 https://leetcode.com/problems/sort-array-by-parity https://leetcode.com/problems/path-sum-ii
345 670 905 Maximum Swap Sort Array By Parity 43.6% 74.1% Medium Easy 0.020844944430365928 0.02148053951675942 https://leetcode.com/problems/maximum-swap https://leetcode.com/problems/sort-array-by-parity
346 60 670 Permutation Sequence Maximum Swap 38.4% 43.6% Hard Medium 0.020471543980187256 0.020844944430365928 https://leetcode.com/problems/permutation-sequence https://leetcode.com/problems/maximum-swap
347 66 60 Plus One Permutation Sequence 43.0% 38.4% Easy Hard 0.020215776991954044 0.020471543980187256 https://leetcode.com/problems/plus-one https://leetcode.com/problems/permutation-sequence
348 525 66 Contiguous Array Plus One 42.8% 43.0% Medium Easy 0.01975372873623256 0.020215776991954044 https://leetcode.com/problems/contiguous-array https://leetcode.com/problems/plus-one
349 700 525 Search in a Binary Search Tree Contiguous Array 73.1% 42.8% Easy Medium 0.01905222743200806 0.01975372873623256 https://leetcode.com/problems/search-in-a-binary-search-tree https://leetcode.com/problems/contiguous-array
350 209 700 Minimum Size Subarray Sum Search in a Binary Search Tree 38.2% 73.1% Medium Easy 0.018832948333092125 0.01905222743200806 https://leetcode.com/problems/minimum-size-subarray-sum https://leetcode.com/problems/search-in-a-binary-search-tree
351 406 209 Queue Reconstruction by Height Minimum Size Subarray Sum 66.9% 38.2% Medium Medium 0.01774669468133533 0.018832948333092125 https://leetcode.com/problems/queue-reconstruction-by-height https://leetcode.com/problems/minimum-size-subarray-sum
352 100 406 Same Tree Queue Reconstruction by Height 53.4% 66.9% Easy Medium 0.017112941192143866 0.01774669468133533 https://leetcode.com/problems/same-tree https://leetcode.com/problems/queue-reconstruction-by-height
353 628 100 Maximum Product of Three Numbers Same Tree 47.1% 53.4% Easy Easy 0.016529301951210565 0.017112941192143866 https://leetcode.com/problems/maximum-product-of-three-numbers https://leetcode.com/problems/same-tree
354 188 628 Best Time to Buy and Sell Stock IV Maximum Product of Three Numbers 28.0% 47.1% Hard Easy 0.01651565203072114 0.016529301951210565 https://leetcode.com/problems/best-time-to-buy-and-sell-stock-iv https://leetcode.com/problems/maximum-product-of-three-numbers
355 203 188 Remove Linked List Elements Best Time to Buy and Sell Stock IV 38.6% 28.0% Easy Hard 0.014519311324453305 0.01651565203072114 https://leetcode.com/problems/remove-linked-list-elements https://leetcode.com/problems/best-time-to-buy-and-sell-stock-iv
356 107 203 Binary Tree Level Order Traversal II Remove Linked List Elements 53.5% 38.6% Easy Easy 0.014395642075089957 0.014519311324453305 https://leetcode.com/problems/binary-tree-level-order-traversal-ii https://leetcode.com/problems/remove-linked-list-elements
357 258 107 Add Digits Binary Tree Level Order Traversal II 57.6% 53.5% Easy Easy 0.012859598023941623 0.014395642075089957 https://leetcode.com/problems/add-digits https://leetcode.com/problems/binary-tree-level-order-traversal-ii
358 181 258 Employees Earning More Than Their Managers Add Digits 56.9% 57.6% Easy Easy 0.012618463959211509 0.012859598023941623 https://leetcode.com/problems/employees-earning-more-than-their-managers https://leetcode.com/problems/add-digits
359 257 181 Binary Tree Paths Employees Earning More Than Their Managers 51.5% 56.9% Easy Easy 0.010457611643958139 0.012618463959211509 https://leetcode.com/problems/binary-tree-paths https://leetcode.com/problems/employees-earning-more-than-their-managers
360 819 257 Most Common Word Binary Tree Paths 44.8% 51.5% Easy Easy 0.010269666637456105 0.010457611643958139 https://leetcode.com/problems/most-common-word https://leetcode.com/problems/binary-tree-paths
361 96 819 Unique Binary Search Trees Most Common Word 52.9% 44.8% Medium Easy 0.009242209964820877 0.010269666637456105 https://leetcode.com/problems/unique-binary-search-trees https://leetcode.com/problems/most-common-word
362 937 96 Reorder Data in Log Files Unique Binary Search Trees 54.3% 52.9% Easy Medium 0.008415787099648575 0.009242209964820877 https://leetcode.com/problems/reorder-data-in-log-files https://leetcode.com/problems/unique-binary-search-trees
363 763 937 Partition Labels Reorder Data in Log Files 76.1% 54.3% Medium Easy 0.008385793376274025 0.008415787099648575 https://leetcode.com/problems/partition-labels https://leetcode.com/problems/reorder-data-in-log-files
364 260 763 Single Number III Partition Labels 64.3% 76.1% Medium Medium 0.008090659020153698 0.008385793376274025 https://leetcode.com/problems/single-number-iii https://leetcode.com/problems/partition-labels
365 309 260 Best Time to Buy and Sell Stock with Cooldown Single Number III 47.4% 64.3% Medium Medium 0.006400704591951834 0.008090659020153698 https://leetcode.com/problems/best-time-to-buy-and-sell-stock-with-cooldown https://leetcode.com/problems/single-number-iii
366 565 309 Array Nesting Best Time to Buy and Sell Stock with Cooldown 55.5% 47.4% Medium Medium 0 0.006400704591951834 https://leetcode.com/problems/array-nesting https://leetcode.com/problems/best-time-to-buy-and-sell-stock-with-cooldown
367 565 Array Nesting 55.5% Medium 0 https://leetcode.com/problems/array-nesting