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,348 +1,349 @@
138,Copy List with Random Pointer,36.4%,Medium,2.9916072330367776, https://leetcode.com/problems/copy-list-with-random-pointer
146,LRU Cache,33.2%,Medium,2.88011930741835, https://leetcode.com/problems/lru-cache
1396,Design Underground System,64.7%,Medium,2.7686313817999224, https://leetcode.com/problems/design-underground-system
430,Flatten a Multilevel Doubly Linked List,55.1%,Medium,2.699294019942542, https://leetcode.com/problems/flatten-a-multilevel-doubly-linked-list
200,Number of Islands,46.8%,Medium,2.5893928602940184, https://leetcode.com/problems/number-of-islands
445,Add Two Numbers II,54.5%,Medium,2.5005209232280814, https://leetcode.com/problems/add-two-numbers-ii
723,Candy Crush,69.2%,Medium,2.4433718804091535, https://leetcode.com/problems/candy-crush
394,Decode String,50.0%,Medium,2.4354178381724667, https://leetcode.com/problems/decode-string
582,Kill Process,60.8%,Medium,2.329004207705794, https://leetcode.com/problems/kill-process
1,Two Sum,45.6%,Easy,2.2663379529079926, https://leetcode.com/problems/two-sum
451,Sort Characters By Frequency,63.0%,Medium,2.214754567267123, https://leetcode.com/problems/sort-characters-by-frequency
2,Add Two Numbers,33.9%,Medium,2.2105161651535843, https://leetcode.com/problems/add-two-numbers
1169,Invalid Transactions,31.2%,Medium,2.1276788037634873, https://leetcode.com/problems/invalid-transactions
117,Populating Next Right Pointers in Each Node II,39.1%,Medium,2.118212486885331, https://leetcode.com/problems/populating-next-right-pointers-in-each-node-ii
42,Trapping Rain Water,48.9%,Hard,2.0660776889450734, https://leetcode.com/problems/trapping-rain-water
20,Valid Parentheses,39.0%,Easy,2.0208637675689056, https://leetcode.com/problems/valid-parentheses
380,Insert Delete GetRandom O(1),47.5%,Medium,1.9093758419504783, https://leetcode.com/problems/insert-delete-getrandom-o1
155,Min Stack,44.5%,Easy,1.8753356079546997, https://leetcode.com/problems/min-stack
98,Validate Binary Search Tree,27.8%,Medium,1.8280334735241495, https://leetcode.com/problems/validate-binary-search-tree
253,Meeting Rooms II,45.7%,Medium,1.7748254445172882, https://leetcode.com/problems/meeting-rooms-ii
121,Best Time to Buy and Sell Stock,50.5%,Easy,1.7316498584399342, https://leetcode.com/problems/best-time-to-buy-and-sell-stock
387,First Unique Character in a String,53.4%,Easy,1.6717206372907538, https://leetcode.com/problems/first-unique-character-in-a-string
56,Merge Intervals,39.3%,Medium,1.6344853036753995, https://leetcode.com/problems/merge-intervals
214,Shortest Palindrome,29.8%,Hard,1.628304607593452, https://leetcode.com/problems/shortest-palindrome
1274,Number of Ships in a Rectangle,66.3%,Hard,1.6253239794553143, https://leetcode.com/problems/number-of-ships-in-a-rectangle
1029,Two City Scheduling,56.1%,Easy,1.6062408497394156, https://leetcode.com/problems/two-city-scheduling
283,Move Zeroes,57.8%,Easy,1.5700380214242422, https://leetcode.com/problems/move-zeroes
116,Populating Next Right Pointers in Each Node,45.2%,Medium,1.5282163044390433, https://leetcode.com/problems/populating-next-right-pointers-in-each-node
390,Elimination Game,44.5%,Medium,1.435519307483543, https://leetcode.com/problems/elimination-game
3,Longest Substring Without Repeating Characters,30.4%,Medium,1.3959826812294072, https://leetcode.com/problems/longest-substring-without-repeating-characters
23,Merge k Sorted Lists,40.2%,Hard,1.390362038117481, https://leetcode.com/problems/merge-k-sorted-lists
1209,Remove All Adjacent Duplicates in String II,56.9%,Medium,1.2788741124990537, https://leetcode.com/problems/remove-all-adjacent-duplicates-in-string-ii
463,Island Perimeter,65.7%,Easy,1.245274068255333, https://leetcode.com/problems/island-perimeter
242,Valid Anagram,56.9%,Easy,1.1337861426369056, https://leetcode.com/problems/valid-anagram
269,Alien Dictionary,33.3%,Hard,1.099252698552309, https://leetcode.com/problems/alien-dictionary
114,Flatten Binary Tree to Linked List,49.3%,Medium,1.0986122886681096, https://leetcode.com/problems/flatten-binary-tree-to-linked-list
139,Word Break,40.1%,Medium,1.0903842081598691, https://leetcode.com/problems/word-break
4,Median of Two Sorted Arrays,29.6%,Hard,1.0617282987657621, https://leetcode.com/problems/median-of-two-sorted-arrays
271,Encode and Decode Strings,31.5%,Medium,1.0528027526368156, https://leetcode.com/problems/encode-and-decode-strings
33,Search in Rotated Sorted Array,34.5%,Medium,1.0520357838367607, https://leetcode.com/problems/search-in-rotated-sorted-array
12,Integer to Roman,55.1%,Medium,1.0302007147147747, https://leetcode.com/problems/integer-to-roman
206,Reverse Linked List,62.5%,Easy,1.0194232916385328, https://leetcode.com/problems/reverse-linked-list
301,Remove Invalid Parentheses,43.3%,Hard,1.0163915378390016, https://leetcode.com/problems/remove-invalid-parentheses
21,Merge Two Sorted Lists,53.5%,Easy,0.9730025194287449, https://leetcode.com/problems/merge-two-sorted-lists
7,Reverse Integer,25.8%,Easy,0.9636538129651142, https://leetcode.com/problems/reverse-integer
69,Sqrt(x),33.9%,Easy,0.9425416082510271, https://leetcode.com/problems/sqrtx
628,Maximum Product of Three Numbers,47.1%,Easy,0.9179560111932162, https://leetcode.com/problems/maximum-product-of-three-numbers
15,3Sum,26.8%,Medium,0.9115464188984339, https://leetcode.com/problems/3sum
346,Moving Average from Data Stream,70.9%,Easy,0.893574774039618, https://leetcode.com/problems/moving-average-from-data-stream
105,Construct Binary Tree from Preorder and Inorder Traversal,48.8%,Medium,0.856966942738701, https://leetcode.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal
554,Brick Wall,50.0%,Medium,0.8487112881843506, https://leetcode.com/problems/brick-wall
460,LFU Cache,34.2%,Hard,0.8452742509276767, https://leetcode.com/problems/lfu-cache
53,Maximum Subarray,46.5%,Easy,0.8338660450189812, https://leetcode.com/problems/maximum-subarray
692,Top K Frequent Words,51.8%,Medium,0.8219759071619612, https://leetcode.com/problems/top-k-frequent-words
5,Longest Palindromic Substring,29.5%,Medium,0.8154521489335768, https://leetcode.com/problems/longest-palindromic-substring
239,Sliding Window Maximum,43.0%,Hard,0.8060721931479718, https://leetcode.com/problems/sliding-window-maximum
295,Find Median from Data Stream,44.3%,Hard,0.7864008043695105, https://leetcode.com/problems/find-median-from-data-stream
62,Unique Paths,54.1%,Medium,0.7819517612115802, https://leetcode.com/problems/unique-paths
236,Lowest Common Ancestor of a Binary Tree,45.7%,Medium,0.7585897524597297, https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-tree
54,Spiral Matrix,34.1%,Medium,0.7505169147393441, https://leetcode.com/problems/spiral-matrix
273,Integer to English Words,27.1%,Hard,0.7404748586772619, https://leetcode.com/problems/integer-to-english-words
611,Valid Triangle Number,48.4%,Medium,0.7357067949787413, https://leetcode.com/problems/valid-triangle-number
160,Intersection of Two Linked Lists,40.6%,Easy,0.7095335003665627, https://leetcode.com/problems/intersection-of-two-linked-lists
332,Reconstruct Itinerary,36.7%,Medium,0.6934933810134637, https://leetcode.com/problems/reconstruct-itinerary
987,Vertical Order Traversal of a Binary Tree,36.6%,Medium,0.6653429641530142, https://leetcode.com/problems/vertical-order-traversal-of-a-binary-tree
173,Binary Search Tree Iterator,56.6%,Medium,0.6626352388032212, https://leetcode.com/problems/binary-search-tree-iterator
10,Regular Expression Matching,26.8%,Hard,0.6273817982285409, https://leetcode.com/problems/regular-expression-matching
122,Best Time to Buy and Sell Stock II,57.0%,Easy,0.620692101344523, https://leetcode.com/problems/best-time-to-buy-and-sell-stock-ii
49,Group Anagrams,56.9%,Medium,0.6192590691619644, https://leetcode.com/problems/group-anagrams
797,All Paths From Source to Target,77.9%,Medium,0.6133054173259477, https://leetcode.com/problems/all-paths-from-source-to-target
102,Binary Tree Level Order Traversal,54.6%,Medium,0.598984719563006, https://leetcode.com/problems/binary-tree-level-order-traversal
127,Word Ladder,29.6%,Medium,0.5839478885949534, https://leetcode.com/problems/word-ladder
443,String Compression,41.3%,Easy,0.5809942743419542, https://leetcode.com/problems/string-compression
88,Merge Sorted Array,39.4%,Easy,0.571985667665598, https://leetcode.com/problems/merge-sorted-array
314,Binary Tree Vertical Order Traversal,45.3%,Medium,0.5697543914580919, https://leetcode.com/problems/binary-tree-vertical-order-traversal
384,Shuffle an Array,52.8%,Medium,0.5613156759328372, https://leetcode.com/problems/shuffle-an-array
235,Lowest Common Ancestor of a Binary Search Tree,49.9%,Easy,0.5565464902832835, https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-search-tree
322,Coin Change,35.5%,Medium,0.5515361644679891, https://leetcode.com/problems/coin-change
78,Subsets,62.0%,Medium,0.5447142447216986, https://leetcode.com/problems/subsets
1472,Design Browser History,64.6%,Medium,0.5365781198684054, https://leetcode.com/problems/design-browser-history
399,Evaluate Division,51.6%,Medium,0.5332723866487983, https://leetcode.com/problems/evaluate-division
140,Word Break II,32.6%,Hard,0.5270660323324061, https://leetcode.com/problems/word-break-ii
72,Edit Distance,44.8%,Hard,0.4973447790261514, https://leetcode.com/problems/edit-distance
199,Binary Tree Right Side View,54.1%,Medium,0.48753322716717645, https://leetcode.com/problems/binary-tree-right-side-view
662,Maximum Width of Binary Tree,41.0%,Medium,0.4763908360365309, https://leetcode.com/problems/maximum-width-of-binary-tree
759,Employee Free Time,66.3%,Hard,0.4763656648250958, https://leetcode.com/problems/employee-free-time
84,Largest Rectangle in Histogram,35.2%,Hard,0.47303377627978027, https://leetcode.com/problems/largest-rectangle-in-histogram
8,String to Integer (atoi),15.4%,Medium,0.4660655155190756, https://leetcode.com/problems/string-to-integer-atoi
128,Longest Consecutive Sequence,45.1%,Hard,0.4586585434961303, https://leetcode.com/problems/longest-consecutive-sequence
41,First Missing Positive,32.0%,Hard,0.4577280774627401, https://leetcode.com/problems/first-missing-positive
162,Find Peak Element,43.3%,Medium,0.4542122961558814, https://leetcode.com/problems/find-peak-element
739,Daily Temperatures,63.3%,Medium,0.4492773337550074, https://leetcode.com/problems/daily-temperatures
328,Odd Even Linked List,55.7%,Medium,0.44107885769261934, https://leetcode.com/problems/odd-even-linked-list
126,Word Ladder II,22.1%,Hard,0.43777160210436394, https://leetcode.com/problems/word-ladder-ii
50,Pow(x;n),30.3%,Medium,0.4274653596092084, https://leetcode.com/problems/powx-n
535,Encode and Decode TinyURL,79.9%,Medium,0.4221173972425086, https://leetcode.com/problems/encode-and-decode-tinyurl
347,Top K Frequent Elements,61.2%,Medium,0.4113452979974663, https://leetcode.com/problems/top-k-frequent-elements
234,Palindrome Linked List,39.3%,Easy,0.40610862095331074, https://leetcode.com/problems/palindrome-linked-list
488,Zuma Game,39.9%,Hard,0.3999856423435388, https://leetcode.com/problems/zuma-game
118,Pascal's Triangle,52.5%,Easy,0.3983282893707838, https://leetcode.com/problems/pascals-triangle
31,Next Permutation,32.6%,Medium,0.3965135773768611, https://leetcode.com/problems/next-permutation
11,Container With Most Water,50.8%,Medium,0.3920877580285051, https://leetcode.com/problems/container-with-most-water
496,Next Greater Element I,63.8%,Easy,0.39096401741736453, https://leetcode.com/problems/next-greater-element-i
171,Excel Sheet Column Number,55.9%,Easy,0.3891015365515057, https://leetcode.com/problems/excel-sheet-column-number
9,Palindrome Number,48.4%,Easy,0.3889248192216875, https://leetcode.com/problems/palindrome-number
1047,Remove All Adjacent Duplicates In String,68.6%,Easy,0.38744859425846845, https://leetcode.com/problems/remove-all-adjacent-duplicates-in-string
34,Find First and Last Position of Element in Sorted Array,36.2%,Medium,0.3847852205330874, https://leetcode.com/problems/find-first-and-last-position-of-element-in-sorted-array
349,Intersection of Two Arrays,62.5%,Easy,0.3823387899165356, https://leetcode.com/problems/intersection-of-two-arrays
311,Sparse Matrix Multiplication,61.9%,Medium,0.37117603462953225, https://leetcode.com/problems/sparse-matrix-multiplication
79,Word Search,35.6%,Medium,0.355241060704579, https://leetcode.com/problems/word-search
44,Wildcard Matching,24.7%,Hard,0.34881383996175425, https://leetcode.com/problems/wildcard-matching
362,Design Hit Counter,63.7%,Medium,0.34451909789108437, https://leetcode.com/problems/design-hit-counter
230,Kth Smallest Element in a BST,60.2%,Medium,0.3413184800841155, https://leetcode.com/problems/kth-smallest-element-in-a-bst
124,Binary Tree Maximum Path Sum,34.3%,Hard,0.33702679091242466, https://leetcode.com/problems/binary-tree-maximum-path-sum
268,Missing Number,51.7%,Easy,0.3338128467131867, https://leetcode.com/problems/missing-number
64,Minimum Path Sum,54.5%,Medium,0.3317195432884912, https://leetcode.com/problems/minimum-path-sum
215,Kth Largest Element in an Array,55.4%,Medium,0.3300278321382259, https://leetcode.com/problems/kth-largest-element-in-an-array
353,Design Snake Game,34.2%,Medium,0.32931497055013925, https://leetcode.com/problems/design-snake-game
46,Permutations,63.5%,Medium,0.32304289477761106, https://leetcode.com/problems/permutations
221,Maximal Square,37.7%,Medium,0.3057737602882765, https://leetcode.com/problems/maximal-square
17,Letter Combinations of a Phone Number,46.8%,Medium,0.30552675752628056, https://leetcode.com/problems/letter-combinations-of-a-phone-number
205,Isomorphic Strings,39.8%,Easy,0.30101800626340847, https://leetcode.com/problems/isomorphic-strings
75,Sort Colors,47.3%,Medium,0.2778743740687611, https://leetcode.com/problems/sort-colors
695,Max Area of Island,62.7%,Medium,0.2770125235595406, https://leetcode.com/problems/max-area-of-island
136,Single Number,65.5%,Easy,0.27522969174444734, https://leetcode.com/problems/single-number
22,Generate Parentheses,62.7%,Medium,0.274428104404814, https://leetcode.com/problems/generate-parentheses
229,Majority Element II,35.6%,Medium,0.2683771567744578, https://leetcode.com/problems/majority-element-ii
503,Next Greater Element II,56.5%,Medium,0.26590939545778536, https://leetcode.com/problems/next-greater-element-ii
209,Minimum Size Subarray Sum,38.2%,Medium,0.26557641498817536, https://leetcode.com/problems/minimum-size-subarray-sum
694,Number of Distinct Islands,56.0%,Medium,0.26236426446749106, https://leetcode.com/problems/number-of-distinct-islands
422,Valid Word Square,37.7%,Easy,0.2578291093020998, https://leetcode.com/problems/valid-word-square
252,Meeting Rooms,54.6%,Easy,0.2539330877151399, https://leetcode.com/problems/meeting-rooms
286,Walls and Gates,54.5%,Medium,0.2531417471996048, https://leetcode.com/problems/walls-and-gates
48,Rotate Image,56.7%,Medium,0.2525907526405108, https://leetcode.com/problems/rotate-image
821,Shortest Distance to a Character,66.9%,Easy,0.24320527953164725, https://leetcode.com/problems/shortest-distance-to-a-character
240,Search a 2D Matrix II,43.2%,Medium,0.24218097481422138, https://leetcode.com/problems/search-a-2d-matrix-ii
716,Max Stack,42.6%,Easy,0.24108416003009112, https://leetcode.com/problems/max-stack
85,Maximal Rectangle,37.7%,Hard,0.2404427185770219, https://leetcode.com/problems/maximal-rectangle
63,Unique Paths II,34.6%,Medium,0.2348446787507317, https://leetcode.com/problems/unique-paths-ii
76,Minimum Window Substring,34.6%,Hard,0.23436338587849237, https://leetcode.com/problems/minimum-window-substring
572,Subtree of Another Tree,44.1%,Easy,0.23328636844031944, https://leetcode.com/problems/subtree-of-another-tree
151,Reverse Words in a String,21.9%,Medium,0.23114347137583938, https://leetcode.com/problems/reverse-words-in-a-string
412,Fizz Buzz,62.3%,Easy,0.23023806672070082, https://leetcode.com/problems/fizz-buzz
652,Find Duplicate Subtrees,50.2%,Medium,0.23015822831359434, https://leetcode.com/problems/find-duplicate-subtrees
924,Minimize Malware Spread,42.0%,Hard,0.22884157242884745, https://leetcode.com/problems/minimize-malware-spread
91,Decode Ways,24.7%,Medium,0.2254754606491885, https://leetcode.com/problems/decode-ways
238,Product of Array Except Self,60.1%,Medium,0.22477655808124566, https://leetcode.com/problems/product-of-array-except-self
1223,Dice Roll Simulation,45.6%,Medium,0.2166710368085923, https://leetcode.com/problems/dice-roll-simulation
560,Subarray Sum Equals K,43.9%,Medium,0.21610695147886494, https://leetcode.com/problems/subarray-sum-equals-k
442,Find All Duplicates in an Array,67.8%,Medium,0.21334822899856468, https://leetcode.com/problems/find-all-duplicates-in-an-array
6,ZigZag Conversion,36.3%,Medium,0.21040551802808702, https://leetcode.com/problems/zigzag-conversion
287,Find the Duplicate Number,55.5%,Medium,0.20950804936372536, https://leetcode.com/problems/find-the-duplicate-number
315,Count of Smaller Numbers After Self,41.5%,Hard,0.20806843787404064, https://leetcode.com/problems/count-of-smaller-numbers-after-self
232,Implement Queue using Stacks,49.6%,Easy,0.20615437352136948, https://leetcode.com/problems/implement-queue-using-stacks
208,Implement Trie (Prefix Tree),49.4%,Medium,0.20593713931590088, https://leetcode.com/problems/implement-trie-prefix-tree
16,3Sum Closest,46.0%,Medium,0.2058081329110988, https://leetcode.com/problems/3sum-closest
513,Find Bottom Left Tree Value,61.5%,Medium,0.20328581918106378, https://leetcode.com/problems/find-bottom-left-tree-value
543,Diameter of Binary Tree,48.4%,Easy,0.2027481163433401, https://leetcode.com/problems/diameter-of-binary-tree
836,Rectangle Overlap,48.6%,Easy,0.19944370144318244, https://leetcode.com/problems/rectangle-overlap
13,Roman to Integer,55.7%,Easy,0.19870163716069, https://leetcode.com/problems/roman-to-integer
510,Inorder Successor in BST II,58.0%,Medium,0.19714257713870645, https://leetcode.com/problems/inorder-successor-in-bst-ii
329,Longest Increasing Path in a Matrix,43.4%,Hard,0.1954447382872236, https://leetcode.com/problems/longest-increasing-path-in-a-matrix
1060,Missing Element in Sorted Array,54.5%,Medium,0.1950605825713844, https://leetcode.com/problems/missing-element-in-sorted-array
94,Binary Tree Inorder Traversal,63.3%,Medium,0.1948180665300998, https://leetcode.com/problems/binary-tree-inorder-traversal
120,Triangle,44.2%,Medium,0.19325424809414601, https://leetcode.com/problems/triangle
92,Reverse Linked List II,38.8%,Medium,0.19248981022320735, https://leetcode.com/problems/reverse-linked-list-ii
153,Find Minimum in Rotated Sorted Array,45.1%,Medium,0.191995528322351, https://leetcode.com/problems/find-minimum-in-rotated-sorted-array
207,Course Schedule,43.1%,Medium,0.19082802919680183, https://leetcode.com/problems/course-schedule
402,Remove K Digits,28.4%,Medium,0.18924199963852842, https://leetcode.com/problems/remove-k-digits
658,Find K Closest Elements,40.9%,Medium,0.18663941293482042, https://leetcode.com/problems/find-k-closest-elements
518,Coin Change 2,50.2%,Medium,0.18373876827436816, https://leetcode.com/problems/coin-change-2
889,Construct Binary Tree from Preorder and Postorder Traversal,66.2%,Medium,0.18315872720701828, https://leetcode.com/problems/construct-binary-tree-from-preorder-and-postorder-traversal
70,Climbing Stairs,47.8%,Easy,0.1820258821345787, https://leetcode.com/problems/climbing-stairs
226,Invert Binary Tree,65.0%,Easy,0.18135450553395235, https://leetcode.com/problems/invert-binary-tree
19,Remove Nth Node From End of List,35.2%,Medium,0.17998225417577363, https://leetcode.com/problems/remove-nth-node-from-end-of-list
203,Remove Linked List Elements,38.6%,Easy,0.17950766176348673, https://leetcode.com/problems/remove-linked-list-elements
1244,Design A Leaderboard,60.7%,Medium,0.17763094743610072, https://leetcode.com/problems/design-a-leaderboard
202,Happy Number,50.4%,Easy,0.17408932588103054, https://leetcode.com/problems/happy-number
1249,Minimum Remove to Make Valid Parentheses,62.5%,Medium,0.17148553745267525, https://leetcode.com/problems/minimum-remove-to-make-valid-parentheses
97,Interleaving String,31.5%,Hard,0.17070662167607636, https://leetcode.com/problems/interleaving-string
344,Reverse String,68.5%,Easy,0.16907996884887766, https://leetcode.com/problems/reverse-string
971,Flip Binary Tree To Match Preorder Traversal,45.7%,Medium,0.1670540846631662, https://leetcode.com/problems/flip-binary-tree-to-match-preorder-traversal
529,Minesweeper,59.1%,Medium,0.16635770580494058, https://leetcode.com/problems/minesweeper
727,Minimum Window Subsequence,41.8%,Hard,0.15970111035790735, https://leetcode.com/problems/minimum-window-subsequence
101,Symmetric Tree,46.8%,Easy,0.15457702816029933, https://leetcode.com/problems/symmetric-tree
414,Third Maximum Number,30.5%,Easy,0.15407631103237035, https://leetcode.com/problems/third-maximum-number
417,Pacific Atlantic Water Flow,41.1%,Medium,0.15226921172755276, https://leetcode.com/problems/pacific-atlantic-water-flow
470,Implement Rand10() Using Rand7(),46.3%,Medium,0.15154989812720093, https://leetcode.com/problems/implement-rand10-using-rand7
386,Lexicographical Numbers,51.6%,Medium,0.14854271203296188, https://leetcode.com/problems/lexicographical-numbers
504,Base 7,46.2%,Easy,0.14612656455721032, https://leetcode.com/problems/base-7
24,Swap Nodes in Pairs,50.4%,Medium,0.14499222491243005, https://leetcode.com/problems/swap-nodes-in-pairs
237,Delete Node in a Linked List,63.8%,Easy,0.14499031042859406, https://leetcode.com/problems/delete-node-in-a-linked-list
852,Peak Index in a Mountain Array,71.6%,Easy,0.1445812288111076, https://leetcode.com/problems/peak-index-in-a-mountain-array
415,Add Strings,47.5%,Easy,0.14343082219506165, https://leetcode.com/problems/add-strings
426,Convert Binary Search Tree to Sorted Doubly Linked List,59.1%,Medium,0.14252878462127264, https://leetcode.com/problems/convert-binary-search-tree-to-sorted-doubly-linked-list
348,Design Tic-Tac-Toe,54.3%,Medium,0.14252878462127264, https://leetcode.com/problems/design-tic-tac-toe
188,Best Time to Buy and Sell Stock IV,28.0%,Hard,0.1396533313293086, https://leetcode.com/problems/best-time-to-buy-and-sell-stock-iv
225,Implement Stack using Queues,45.1%,Easy,0.1390589799907463, https://leetcode.com/problems/implement-stack-using-queues
250,Count Univalue Subtrees,52.0%,Medium,0.13767409129953323, https://leetcode.com/problems/count-univalue-subtrees
71,Simplify Path,32.6%,Medium,0.13762137787604775, https://leetcode.com/problems/simplify-path
565,Array Nesting,55.5%,Medium,0.13762137787604775, https://leetcode.com/problems/array-nesting
397,Integer Replacement,32.9%,Medium,0.13720112151348504, https://leetcode.com/problems/integer-replacement
99,Recover Binary Search Tree,39.7%,Hard,0.1363765523041528, https://leetcode.com/problems/recover-binary-search-tree
81,Search in Rotated Sorted Array II,33.0%,Medium,0.13455967035008862, https://leetcode.com/problems/search-in-rotated-sorted-array-ii
678,Valid Parenthesis String,31.0%,Medium,0.13417736429600724, https://leetcode.com/problems/valid-parenthesis-string
125,Valid Palindrome,36.7%,Easy,0.13416684727631417, https://leetcode.com/problems/valid-palindrome
378,Kth Smallest Element in a Sorted Matrix,54.3%,Medium,0.13397014948713715, https://leetcode.com/problems/kth-smallest-element-in-a-sorted-matrix
1347,Minimum Number of Steps to Make Two Strings Anagram,74.7%,Medium,0.13375498122243565, https://leetcode.com/problems/minimum-number-of-steps-to-make-two-strings-anagram
123,Best Time to Buy and Sell Stock III,37.5%,Hard,0.12991500860874672, https://leetcode.com/problems/best-time-to-buy-and-sell-stock-iii
359,Logger Rate Limiter,70.8%,Easy,0.1248502028794759, https://leetcode.com/problems/logger-rate-limiter
109,Convert Sorted List to Binary Search Tree,47.7%,Medium,0.12302181451266285, https://leetcode.com/problems/convert-sorted-list-to-binary-search-tree
228,Summary Ranges,39.5%,Medium,0.1207191114343526, https://leetcode.com/problems/summary-ranges
404,Sum of Left Leaves,50.9%,Easy,0.1193071581156751, https://leetcode.com/problems/sum-of-left-leaves
341,Flatten Nested List Iterator,52.9%,Medium,0.11879160861126825, https://leetcode.com/problems/flatten-nested-list-iterator
1054,Distant Barcodes,43.2%,Medium,0.11855973472455572, https://leetcode.com/problems/distant-barcodes
103,Binary Tree Zigzag Level Order Traversal,48.3%,Medium,0.11648551004070631, https://leetcode.com/problems/binary-tree-zigzag-level-order-traversal
435,Non-overlapping Intervals,42.9%,Medium,0.1158164666843426, https://leetcode.com/problems/non-overlapping-intervals
61,Rotate List,30.0%,Medium,0.11528615545779625, https://leetcode.com/problems/rotate-list
28,Implement strStr(),34.5%,Easy,0.11289821506454988, https://leetcode.com/problems/implement-strstr
721,Accounts Merge,48.8%,Medium,0.11257939199174459, https://leetcode.com/problems/accounts-merge
708,Insert into a Sorted Circular Linked List,31.6%,Medium,0.11219725014953141, https://leetcode.com/problems/insert-into-a-sorted-circular-linked-list
532,K-diff Pairs in an Array,31.6%,Easy,0.111723209445655, https://leetcode.com/problems/k-diff-pairs-in-an-array
82,Remove Duplicates from Sorted List II,36.8%,Medium,0.1110882064011508, https://leetcode.com/problems/remove-duplicates-from-sorted-list-ii
1188,Design Bounded Blocking Queue,70.5%,Medium,0.11030454201470608, https://leetcode.com/problems/design-bounded-blocking-queue
198,House Robber,42.0%,Easy,0.10785152815546674, https://leetcode.com/problems/house-robber
108,Convert Sorted Array to Binary Search Tree,57.9%,Easy,0.10686314554236129, https://leetcode.com/problems/convert-sorted-array-to-binary-search-tree
112,Path Sum,41.2%,Easy,0.10531937947649221, https://leetcode.com/problems/path-sum
26,Remove Duplicates from Sorted Array,45.1%,Easy,0.10424167132184688, https://leetcode.com/problems/remove-duplicates-from-sorted-array
289,Game of Life,54.5%,Medium,0.10365526175211173, https://leetcode.com/problems/game-of-life
336,Palindrome Pairs,33.7%,Hard,0.10259559233600947, https://leetcode.com/problems/palindrome-pairs
141,Linked List Cycle,41.1%,Easy,0.10063328674952829, https://leetcode.com/problems/linked-list-cycle
90,Subsets II,47.1%,Medium,0.09830555874512009, https://leetcode.com/problems/subsets-ii
642,Design Search Autocomplete System,44.7%,Hard,0.09500811062818718, https://leetcode.com/problems/design-search-autocomplete-system
567,Permutation in String,44.4%,Medium,0.08995633353390375, https://leetcode.com/problems/permutation-in-string
285,Inorder Successor in BST,40.4%,Medium,0.08649364464568089, https://leetcode.com/problems/inorder-successor-in-bst
991,Broken Calculator,45.6%,Medium,0.08515780834030685, https://leetcode.com/problems/broken-calculator
131,Palindrome Partitioning,47.5%,Medium,0.08388550716227433, https://leetcode.com/problems/palindrome-partitioning
297,Serialize and Deserialize Binary Tree,47.5%,Hard,0.0834242216674795, https://leetcode.com/problems/serialize-and-deserialize-binary-tree
204,Count Primes,31.5%,Easy,0.08336741437414971, https://leetcode.com/problems/count-primes
857,Minimum Cost to Hire K Workers,49.6%,Hard,0.08320805808821628, https://leetcode.com/problems/minimum-cost-to-hire-k-workers
557,Reverse Words in a String III,69.8%,Easy,0.0828837318214325, https://leetcode.com/problems/reverse-words-in-a-string-iii
813,Largest Sum of Averages,49.9%,Medium,0.08201315166083516, https://leetcode.com/problems/largest-sum-of-averages
737,Sentence Similarity II,45.8%,Medium,0.08167803101426718, https://leetcode.com/problems/sentence-similarity-ii
74,Search a 2D Matrix,36.5%,Medium,0.08108897817576358, https://leetcode.com/problems/search-a-2d-matrix
448,Find All Numbers Disappeared in an Array,55.9%,Easy,0.08099584515633794, https://leetcode.com/problems/find-all-numbers-disappeared-in-an-array
96,Unique Binary Search Trees,52.9%,Medium,0.08025695513016742, https://leetcode.com/problems/unique-binary-search-trees
673,Number of Longest Increasing Subsequence,35.7%,Medium,0.08025695513016742, https://leetcode.com/problems/number-of-longest-increasing-subsequence
303,Range Sum Query - Immutable,44.7%,Easy,0.08001707486353822, https://leetcode.com/problems/range-sum-query-immutable
392,Is Subsequence,49.2%,Easy,0.07897107508821988, https://leetcode.com/problems/is-subsequence
784,Letter Case Permutation,64.6%,Medium,0.0787033338274549, https://leetcode.com/problems/letter-case-permutation
189,Rotate Array,34.7%,Easy,0.07859731751631634, https://leetcode.com/problems/rotate-array
1297,Maximum Number of Occurrences of a Substring,47.3%,Medium,0.07770898432731625, https://leetcode.com/problems/maximum-number-of-occurrences-of-a-substring
55,Jump Game,34.6%,Medium,0.07748307858552587, https://leetcode.com/problems/jump-game
1155,Number of Dice Rolls With Target Sum,49.0%,Medium,0.07356256717701673, https://leetcode.com/problems/number-of-dice-rolls-with-target-sum
450,Delete Node in a BST,43.1%,Medium,0.07216836682371046, https://leetcode.com/problems/delete-node-in-a-bst
35,Search Insert Position,42.6%,Easy,0.07187646029497265, https://leetcode.com/problems/search-insert-position
1114,Print in Order,65.7%,Easy,0.0700675626167169, https://leetcode.com/problems/print-in-order
432,All O`one Data Structure,32.4%,Hard,0.06887402901251127, https://leetcode.com/problems/all-oone-data-structure
338,Counting Bits,69.5%,Medium,0.06616169008990747, https://leetcode.com/problems/counting-bits
1145,Binary Tree Coloring Game,51.2%,Medium,0.06592172080482424, https://leetcode.com/problems/binary-tree-coloring-game
167,Two Sum II - Input array is sorted,54.1%,Easy,0.06546140041370939, https://leetcode.com/problems/two-sum-ii-input-array-is-sorted
14,Longest Common Prefix,35.4%,Easy,0.06517750377430989, https://leetcode.com/problems/longest-common-prefix
846,Hand of Straights,54.2%,Medium,0.06472423940349638, https://leetcode.com/problems/hand-of-straights
1105,Filling Bookcase Shelves,58.1%,Medium,0.06464285626208545, https://leetcode.com/problems/filling-bookcase-shelves
36,Valid Sudoku,48.7%,Medium,0.06350219850936348, https://leetcode.com/problems/valid-sudoku
413,Arithmetic Slices,57.9%,Medium,0.06286986221654821, https://leetcode.com/problems/arithmetic-slices
350,Intersection of Two Arrays II,51.4%,Easy,0.06202949919751832, https://leetcode.com/problems/intersection-of-two-arrays-ii
47,Permutations II,46.4%,Medium,0.05897935516253239, https://leetcode.com/problems/permutations-ii
516,Longest Palindromic Subsequence,53.2%,Medium,0.058432099871092734, https://leetcode.com/problems/longest-palindromic-subsequence
32,Longest Valid Parentheses,28.4%,Hard,0.0556316959861487, https://leetcode.com/problems/longest-valid-parentheses
30,Substring with Concatenation of All Words,25.4%,Hard,0.05509349054082484, https://leetcode.com/problems/substring-with-concatenation-of-all-words
149,Max Points on a Line,16.9%,Hard,0.0550597771830274, https://leetcode.com/problems/max-points-on-a-line
222,Count Complete Tree Nodes,46.8%,Medium,0.05492114472894792, https://leetcode.com/problems/count-complete-tree-nodes
752,Open the Lock,51.8%,Medium,0.05449289949671372, https://leetcode.com/problems/open-the-lock
703,Kth Largest Element in a Stream,49.7%,Easy,0.054472280837981495, https://leetcode.com/problems/kth-largest-element-in-a-stream
724,Find Pivot Index,44.0%,Easy,0.05428741283782842, https://leetcode.com/problems/find-pivot-index
714,Best Time to Buy and Sell Stock with Transaction Fee,54.7%,Medium,0.05377639678080413, https://leetcode.com/problems/best-time-to-buy-and-sell-stock-with-transaction-fee
395,Longest Substring with At Least K Repeating Characters,41.4%,Medium,0.05371219359052555, https://leetcode.com/problems/longest-substring-with-at-least-k-repeating-characters
1312,Minimum Insertion Steps to Make a String Palindrome,58.1%,Hard,0.050261834780888255, https://leetcode.com/problems/minimum-insertion-steps-to-make-a-string-palindrome
216,Combination Sum III,56.6%,Medium,0.05017774958571902, https://leetcode.com/problems/combination-sum-iii
219,Contains Duplicate II,37.7%,Easy,0.05012010405957234, https://leetcode.com/problems/contains-duplicate-ii
129,Sum Root to Leaf Numbers,49.1%,Medium,0.050010420574661374, https://leetcode.com/problems/sum-root-to-leaf-numbers
152,Maximum Product Subarray,31.7%,Medium,0.04922388062576129, https://leetcode.com/problems/maximum-product-subarray
437,Path Sum III,47.2%,Medium,0.047656426639019575, https://leetcode.com/problems/path-sum-iii
986,Interval List Intersections,67.3%,Medium,0.04703983015489417, https://leetcode.com/problems/interval-list-intersections
556,Next Greater Element III,31.7%,Medium,0.04679216150675895, https://leetcode.com/problems/next-greater-element-iii
933,Number of Recent Calls,71.9%,Easy,0.046737477851689815, https://leetcode.com/problems/number-of-recent-calls
978,Longest Turbulent Subarray,46.6%,Medium,0.046737477851689815, https://leetcode.com/problems/longest-turbulent-subarray
176,Second Highest Salary,31.6%,Easy,0.045338680589061736, https://leetcode.com/problems/second-highest-salary
733,Flood Fill,55.3%,Easy,0.04413292021115189, https://leetcode.com/problems/flood-fill
104,Maximum Depth of Binary Tree,66.0%,Easy,0.043698924213377836, https://leetcode.com/problems/maximum-depth-of-binary-tree
895,Maximum Frequency Stack,60.6%,Hard,0.04329680575332419, https://leetcode.com/problems/maximum-frequency-stack
110,Balanced Binary Tree,43.5%,Easy,0.04313244044957316, https://leetcode.com/problems/balanced-binary-tree
540,Single Element in a Sorted Array,57.9%,Medium,0.042721256704769804, https://leetcode.com/problems/single-element-in-a-sorted-array
787,Cheapest Flights Within K Stops,39.3%,Medium,0.04186657939278993, https://leetcode.com/problems/cheapest-flights-within-k-stops
29,Divide Two Integers,16.4%,Medium,0.04159641425367403, https://leetcode.com/problems/divide-two-integers
258,Add Digits,57.6%,Easy,0.04107874349984602, https://leetcode.com/problems/add-digits
292,Nim Game,54.9%,Easy,0.03996979643236185, https://leetcode.com/problems/nim-game
212,Word Search II,34.9%,Hard,0.03881156536434583, https://leetcode.com/problems/word-search-ii
18,4Sum,33.7%,Medium,0.03880215185647971, https://leetcode.com/problems/4sum
993,Cousins in Binary Tree,52.0%,Easy,0.03876454345024432, https://leetcode.com/problems/cousins-in-binary-tree
270,Closest Binary Search Tree Value,48.5%,Easy,0.03812405784173832, https://leetcode.com/problems/closest-binary-search-tree-value
144,Binary Tree Preorder Traversal,55.7%,Medium,0.03751377610149742, https://leetcode.com/problems/binary-tree-preorder-traversal
646,Maximum Length of Pair Chain,51.9%,Medium,0.036870535808327706, https://leetcode.com/problems/maximum-length-of-pair-chain
340,Longest Substring with At Most K Distinct Characters,44.1%,Hard,0.035917667750755534, https://leetcode.com/problems/longest-substring-with-at-most-k-distinct-characters
650,2 Keys Keyboard,49.2%,Medium,0.035910501305770864, https://leetcode.com/problems/2-keys-keyboard
334,Increasing Triplet Subsequence,40.0%,Medium,0.03577488021091517, https://leetcode.com/problems/increasing-triplet-subsequence
595,Big Countries,77.3%,Easy,0.03475253199083958, https://leetcode.com/problems/big-countries
1002,Find Common Characters,67.6%,Easy,0.03404262162737441, https://leetcode.com/problems/find-common-characters
217,Contains Duplicate,56.0%,Easy,0.03367321510658789, https://leetcode.com/problems/contains-duplicate
274,H-Index,36.1%,Medium,0.03364488914272426, https://leetcode.com/problems/h-index
1123,Lowest Common Ancestor of Deepest Leaves,66.8%,Medium,0.03147388037973136, https://leetcode.com/problems/lowest-common-ancestor-of-deepest-leaves
38,Count and Say,44.6%,Easy,0.030956234663467107, https://leetcode.com/problems/count-and-say
581,Shortest Unsorted Continuous Subarray,31.1%,Easy,0.029773949243192512, https://leetcode.com/problems/shortest-unsorted-continuous-subarray
66,Plus One,43.0%,Easy,0.028982869090985654, https://leetcode.com/problems/plus-one
147,Insertion Sort List,41.1%,Medium,0.028675799976666333, https://leetcode.com/problems/insertion-sort-list
621,Task Scheduler,50.1%,Medium,0.028315771352780777, https://leetcode.com/problems/task-scheduler
547,Friend Circles,58.6%,Medium,0.027307522052851193, https://leetcode.com/problems/friend-circles
310,Minimum Height Trees,32.3%,Medium,0.02446605215440636, https://leetcode.com/problems/minimum-height-trees
210,Course Schedule II,40.7%,Medium,0.023133880315464483, https://leetcode.com/problems/course-schedule-ii
39,Combination Sum,56.1%,Medium,0.02267028230338623, https://leetcode.com/problems/combination-sum
113,Path Sum II,46.7%,Medium,0.021882711249507664, https://leetcode.com/problems/path-sum-ii
40,Combination Sum II,48.2%,Medium,0.021424290044083395, https://leetcode.com/problems/combination-sum-ii
278,First Bad Version,35.7%,Easy,0.021394050366625766, https://leetcode.com/problems/first-bad-version
224,Basic Calculator,36.8%,Hard,0.020965128465044926, https://leetcode.com/problems/basic-calculator
424,Longest Repeating Character Replacement,47.0%,Medium,0.020461071871340063, https://leetcode.com/problems/longest-repeating-character-replacement
617,Merge Two Binary Trees,74.1%,Easy,0.018496211633622316, https://leetcode.com/problems/merge-two-binary-trees
438,Find All Anagrams in a String,43.3%,Medium,0.01819334596120571, https://leetcode.com/problems/find-all-anagrams-in-a-string
406,Queue Reconstruction by Height,66.9%,Medium,0.01774669468133533, https://leetcode.com/problems/queue-reconstruction-by-height
863,All Nodes Distance K in Binary Tree,55.4%,Medium,0.01695674371877865, https://leetcode.com/problems/all-nodes-distance-k-in-binary-tree
1025,Divisor Game,66.3%,Easy,0.015015297119995507, https://leetcode.com/problems/divisor-game
912,Sort an Array,63.9%,Medium,0.01443026482902881, https://leetcode.com/problems/sort-an-array
27,Remove Element,48.2%,Easy,0.01413451093490476, https://leetcode.com/problems/remove-element
100,Same Tree,53.4%,Easy,0.012601237835529503, https://leetcode.com/problems/same-tree
172,Factorial Trailing Zeroes,37.8%,Easy,0.012326812480658571, https://leetcode.com/problems/factorial-trailing-zeroes
957,Prison Cells After N Days,40.7%,Medium,0.010986103354595014, https://leetcode.com/problems/prison-cells-after-n-days
559,Maximum Depth of N-ary Tree,68.7%,Easy,0.010974047031976715, https://leetcode.com/problems/maximum-depth-of-n-ary-tree
746,Min Cost Climbing Stairs,50.3%,Easy,0.009818439209289494, https://leetcode.com/problems/min-cost-climbing-stairs
106,Construct Binary Tree from Inorder and Postorder Traversal,47.2%,Medium,0.009328969762346678, https://leetcode.com/problems/construct-binary-tree-from-inorder-and-postorder-traversal
977,Squares of a Sorted Array,72.1%,Easy,0.008733679968754604, https://leetcode.com/problems/squares-of-a-sorted-array
1480,Running Sum of 1d Array,90.5%,Easy,0.0026196884456014947, https://leetcode.com/problems/running-sum-of-1d-array
266,Palindrome Permutation,61.9%,Easy,0, https://leetcode.com/problems/palindrome-permutation
158,Read N Characters Given Read4 II - Call multiple times,33.8%,Hard,0, https://leetcode.com/problems/read-n-characters-given-read4-ii-call-multiple-times
570,Managers with at Least 5 Direct Reports,66.0%,Medium,0, https://leetcode.com/problems/managers-with-at-least-5-direct-reports
669,Trim a Binary Search Tree,63.0%,Easy,0, https://leetcode.com/problems/trim-a-binary-search-tree
749,Contain Virus,44.6%,Hard,0, https://leetcode.com/problems/contain-virus
1104,Path In Zigzag Labelled Binary Tree,72.0%,Medium,0, https://leetcode.com/problems/path-in-zigzag-labelled-binary-tree
1478,Allocate Mailboxes,54.9%,Hard,0, https://leetcode.com/problems/allocate-mailboxes
ID,Title,Acceptance,Difficulty,Frequency,Leetcode Question Link
138,Copy List with Random Pointer,36.4%,Medium,2.9916072330367776, https://leetcode.com/problems/copy-list-with-random-pointer
146,LRU Cache,33.2%,Medium,2.88011930741835, https://leetcode.com/problems/lru-cache
1396,Design Underground System,64.7%,Medium,2.7686313817999224, https://leetcode.com/problems/design-underground-system
430,Flatten a Multilevel Doubly Linked List,55.1%,Medium,2.699294019942542, https://leetcode.com/problems/flatten-a-multilevel-doubly-linked-list
200,Number of Islands,46.8%,Medium,2.5893928602940184, https://leetcode.com/problems/number-of-islands
445,Add Two Numbers II,54.5%,Medium,2.5005209232280814, https://leetcode.com/problems/add-two-numbers-ii
723,Candy Crush,69.2%,Medium,2.4433718804091535, https://leetcode.com/problems/candy-crush
394,Decode String,50.0%,Medium,2.4354178381724667, https://leetcode.com/problems/decode-string
582,Kill Process,60.8%,Medium,2.329004207705794, https://leetcode.com/problems/kill-process
1,Two Sum,45.6%,Easy,2.2663379529079926, https://leetcode.com/problems/two-sum
451,Sort Characters By Frequency,63.0%,Medium,2.214754567267123, https://leetcode.com/problems/sort-characters-by-frequency
2,Add Two Numbers,33.9%,Medium,2.2105161651535843, https://leetcode.com/problems/add-two-numbers
1169,Invalid Transactions,31.2%,Medium,2.1276788037634873, https://leetcode.com/problems/invalid-transactions
117,Populating Next Right Pointers in Each Node II,39.1%,Medium,2.118212486885331, https://leetcode.com/problems/populating-next-right-pointers-in-each-node-ii
42,Trapping Rain Water,48.9%,Hard,2.0660776889450734, https://leetcode.com/problems/trapping-rain-water
20,Valid Parentheses,39.0%,Easy,2.0208637675689056, https://leetcode.com/problems/valid-parentheses
380,Insert Delete GetRandom O(1),47.5%,Medium,1.9093758419504783, https://leetcode.com/problems/insert-delete-getrandom-o1
155,Min Stack,44.5%,Easy,1.8753356079546997, https://leetcode.com/problems/min-stack
98,Validate Binary Search Tree,27.8%,Medium,1.8280334735241495, https://leetcode.com/problems/validate-binary-search-tree
253,Meeting Rooms II,45.7%,Medium,1.7748254445172882, https://leetcode.com/problems/meeting-rooms-ii
121,Best Time to Buy and Sell Stock,50.5%,Easy,1.7316498584399342, https://leetcode.com/problems/best-time-to-buy-and-sell-stock
387,First Unique Character in a String,53.4%,Easy,1.6717206372907538, https://leetcode.com/problems/first-unique-character-in-a-string
56,Merge Intervals,39.3%,Medium,1.6344853036753995, https://leetcode.com/problems/merge-intervals
214,Shortest Palindrome,29.8%,Hard,1.628304607593452, https://leetcode.com/problems/shortest-palindrome
1274,Number of Ships in a Rectangle,66.3%,Hard,1.6253239794553143, https://leetcode.com/problems/number-of-ships-in-a-rectangle
1029,Two City Scheduling,56.1%,Easy,1.6062408497394156, https://leetcode.com/problems/two-city-scheduling
283,Move Zeroes,57.8%,Easy,1.5700380214242422, https://leetcode.com/problems/move-zeroes
116,Populating Next Right Pointers in Each Node,45.2%,Medium,1.5282163044390433, https://leetcode.com/problems/populating-next-right-pointers-in-each-node
390,Elimination Game,44.5%,Medium,1.435519307483543, https://leetcode.com/problems/elimination-game
3,Longest Substring Without Repeating Characters,30.4%,Medium,1.3959826812294072, https://leetcode.com/problems/longest-substring-without-repeating-characters
23,Merge k Sorted Lists,40.2%,Hard,1.390362038117481, https://leetcode.com/problems/merge-k-sorted-lists
1209,Remove All Adjacent Duplicates in String II,56.9%,Medium,1.2788741124990537, https://leetcode.com/problems/remove-all-adjacent-duplicates-in-string-ii
463,Island Perimeter,65.7%,Easy,1.245274068255333, https://leetcode.com/problems/island-perimeter
242,Valid Anagram,56.9%,Easy,1.1337861426369056, https://leetcode.com/problems/valid-anagram
269,Alien Dictionary,33.3%,Hard,1.099252698552309, https://leetcode.com/problems/alien-dictionary
114,Flatten Binary Tree to Linked List,49.3%,Medium,1.0986122886681096, https://leetcode.com/problems/flatten-binary-tree-to-linked-list
139,Word Break,40.1%,Medium,1.0903842081598691, https://leetcode.com/problems/word-break
4,Median of Two Sorted Arrays,29.6%,Hard,1.0617282987657621, https://leetcode.com/problems/median-of-two-sorted-arrays
271,Encode and Decode Strings,31.5%,Medium,1.0528027526368156, https://leetcode.com/problems/encode-and-decode-strings
33,Search in Rotated Sorted Array,34.5%,Medium,1.0520357838367607, https://leetcode.com/problems/search-in-rotated-sorted-array
12,Integer to Roman,55.1%,Medium,1.0302007147147747, https://leetcode.com/problems/integer-to-roman
206,Reverse Linked List,62.5%,Easy,1.0194232916385328, https://leetcode.com/problems/reverse-linked-list
301,Remove Invalid Parentheses,43.3%,Hard,1.0163915378390016, https://leetcode.com/problems/remove-invalid-parentheses
21,Merge Two Sorted Lists,53.5%,Easy,0.9730025194287449, https://leetcode.com/problems/merge-two-sorted-lists
7,Reverse Integer,25.8%,Easy,0.9636538129651142, https://leetcode.com/problems/reverse-integer
69,Sqrt(x),33.9%,Easy,0.9425416082510271, https://leetcode.com/problems/sqrtx
628,Maximum Product of Three Numbers,47.1%,Easy,0.9179560111932162, https://leetcode.com/problems/maximum-product-of-three-numbers
15,3Sum,26.8%,Medium,0.9115464188984339, https://leetcode.com/problems/3sum
346,Moving Average from Data Stream,70.9%,Easy,0.893574774039618, https://leetcode.com/problems/moving-average-from-data-stream
105,Construct Binary Tree from Preorder and Inorder Traversal,48.8%,Medium,0.856966942738701, https://leetcode.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal
554,Brick Wall,50.0%,Medium,0.8487112881843506, https://leetcode.com/problems/brick-wall
460,LFU Cache,34.2%,Hard,0.8452742509276767, https://leetcode.com/problems/lfu-cache
53,Maximum Subarray,46.5%,Easy,0.8338660450189812, https://leetcode.com/problems/maximum-subarray
692,Top K Frequent Words,51.8%,Medium,0.8219759071619612, https://leetcode.com/problems/top-k-frequent-words
5,Longest Palindromic Substring,29.5%,Medium,0.8154521489335768, https://leetcode.com/problems/longest-palindromic-substring
239,Sliding Window Maximum,43.0%,Hard,0.8060721931479718, https://leetcode.com/problems/sliding-window-maximum
295,Find Median from Data Stream,44.3%,Hard,0.7864008043695105, https://leetcode.com/problems/find-median-from-data-stream
62,Unique Paths,54.1%,Medium,0.7819517612115802, https://leetcode.com/problems/unique-paths
236,Lowest Common Ancestor of a Binary Tree,45.7%,Medium,0.7585897524597297, https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-tree
54,Spiral Matrix,34.1%,Medium,0.7505169147393441, https://leetcode.com/problems/spiral-matrix
273,Integer to English Words,27.1%,Hard,0.7404748586772619, https://leetcode.com/problems/integer-to-english-words
611,Valid Triangle Number,48.4%,Medium,0.7357067949787413, https://leetcode.com/problems/valid-triangle-number
160,Intersection of Two Linked Lists,40.6%,Easy,0.7095335003665627, https://leetcode.com/problems/intersection-of-two-linked-lists
332,Reconstruct Itinerary,36.7%,Medium,0.6934933810134637, https://leetcode.com/problems/reconstruct-itinerary
987,Vertical Order Traversal of a Binary Tree,36.6%,Medium,0.6653429641530142, https://leetcode.com/problems/vertical-order-traversal-of-a-binary-tree
173,Binary Search Tree Iterator,56.6%,Medium,0.6626352388032212, https://leetcode.com/problems/binary-search-tree-iterator
10,Regular Expression Matching,26.8%,Hard,0.6273817982285409, https://leetcode.com/problems/regular-expression-matching
122,Best Time to Buy and Sell Stock II,57.0%,Easy,0.620692101344523, https://leetcode.com/problems/best-time-to-buy-and-sell-stock-ii
49,Group Anagrams,56.9%,Medium,0.6192590691619644, https://leetcode.com/problems/group-anagrams
797,All Paths From Source to Target,77.9%,Medium,0.6133054173259477, https://leetcode.com/problems/all-paths-from-source-to-target
102,Binary Tree Level Order Traversal,54.6%,Medium,0.598984719563006, https://leetcode.com/problems/binary-tree-level-order-traversal
127,Word Ladder,29.6%,Medium,0.5839478885949534, https://leetcode.com/problems/word-ladder
443,String Compression,41.3%,Easy,0.5809942743419542, https://leetcode.com/problems/string-compression
88,Merge Sorted Array,39.4%,Easy,0.571985667665598, https://leetcode.com/problems/merge-sorted-array
314,Binary Tree Vertical Order Traversal,45.3%,Medium,0.5697543914580919, https://leetcode.com/problems/binary-tree-vertical-order-traversal
384,Shuffle an Array,52.8%,Medium,0.5613156759328372, https://leetcode.com/problems/shuffle-an-array
235,Lowest Common Ancestor of a Binary Search Tree,49.9%,Easy,0.5565464902832835, https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-search-tree
322,Coin Change,35.5%,Medium,0.5515361644679891, https://leetcode.com/problems/coin-change
78,Subsets,62.0%,Medium,0.5447142447216986, https://leetcode.com/problems/subsets
1472,Design Browser History,64.6%,Medium,0.5365781198684054, https://leetcode.com/problems/design-browser-history
399,Evaluate Division,51.6%,Medium,0.5332723866487983, https://leetcode.com/problems/evaluate-division
140,Word Break II,32.6%,Hard,0.5270660323324061, https://leetcode.com/problems/word-break-ii
72,Edit Distance,44.8%,Hard,0.4973447790261514, https://leetcode.com/problems/edit-distance
199,Binary Tree Right Side View,54.1%,Medium,0.48753322716717645, https://leetcode.com/problems/binary-tree-right-side-view
662,Maximum Width of Binary Tree,41.0%,Medium,0.4763908360365309, https://leetcode.com/problems/maximum-width-of-binary-tree
759,Employee Free Time,66.3%,Hard,0.4763656648250958, https://leetcode.com/problems/employee-free-time
84,Largest Rectangle in Histogram,35.2%,Hard,0.47303377627978027, https://leetcode.com/problems/largest-rectangle-in-histogram
8,String to Integer (atoi),15.4%,Medium,0.4660655155190756, https://leetcode.com/problems/string-to-integer-atoi
128,Longest Consecutive Sequence,45.1%,Hard,0.4586585434961303, https://leetcode.com/problems/longest-consecutive-sequence
41,First Missing Positive,32.0%,Hard,0.4577280774627401, https://leetcode.com/problems/first-missing-positive
162,Find Peak Element,43.3%,Medium,0.4542122961558814, https://leetcode.com/problems/find-peak-element
739,Daily Temperatures,63.3%,Medium,0.4492773337550074, https://leetcode.com/problems/daily-temperatures
328,Odd Even Linked List,55.7%,Medium,0.44107885769261934, https://leetcode.com/problems/odd-even-linked-list
126,Word Ladder II,22.1%,Hard,0.43777160210436394, https://leetcode.com/problems/word-ladder-ii
50,Pow(x;n),30.3%,Medium,0.4274653596092084, https://leetcode.com/problems/powx-n
535,Encode and Decode TinyURL,79.9%,Medium,0.4221173972425086, https://leetcode.com/problems/encode-and-decode-tinyurl
347,Top K Frequent Elements,61.2%,Medium,0.4113452979974663, https://leetcode.com/problems/top-k-frequent-elements
234,Palindrome Linked List,39.3%,Easy,0.40610862095331074, https://leetcode.com/problems/palindrome-linked-list
488,Zuma Game,39.9%,Hard,0.3999856423435388, https://leetcode.com/problems/zuma-game
118,Pascal's Triangle,52.5%,Easy,0.3983282893707838, https://leetcode.com/problems/pascals-triangle
31,Next Permutation,32.6%,Medium,0.3965135773768611, https://leetcode.com/problems/next-permutation
11,Container With Most Water,50.8%,Medium,0.3920877580285051, https://leetcode.com/problems/container-with-most-water
496,Next Greater Element I,63.8%,Easy,0.39096401741736453, https://leetcode.com/problems/next-greater-element-i
171,Excel Sheet Column Number,55.9%,Easy,0.3891015365515057, https://leetcode.com/problems/excel-sheet-column-number
9,Palindrome Number,48.4%,Easy,0.3889248192216875, https://leetcode.com/problems/palindrome-number
1047,Remove All Adjacent Duplicates In String,68.6%,Easy,0.38744859425846845, https://leetcode.com/problems/remove-all-adjacent-duplicates-in-string
34,Find First and Last Position of Element in Sorted Array,36.2%,Medium,0.3847852205330874, https://leetcode.com/problems/find-first-and-last-position-of-element-in-sorted-array
349,Intersection of Two Arrays,62.5%,Easy,0.3823387899165356, https://leetcode.com/problems/intersection-of-two-arrays
311,Sparse Matrix Multiplication,61.9%,Medium,0.37117603462953225, https://leetcode.com/problems/sparse-matrix-multiplication
79,Word Search,35.6%,Medium,0.355241060704579, https://leetcode.com/problems/word-search
44,Wildcard Matching,24.7%,Hard,0.34881383996175425, https://leetcode.com/problems/wildcard-matching
362,Design Hit Counter,63.7%,Medium,0.34451909789108437, https://leetcode.com/problems/design-hit-counter
230,Kth Smallest Element in a BST,60.2%,Medium,0.3413184800841155, https://leetcode.com/problems/kth-smallest-element-in-a-bst
124,Binary Tree Maximum Path Sum,34.3%,Hard,0.33702679091242466, https://leetcode.com/problems/binary-tree-maximum-path-sum
268,Missing Number,51.7%,Easy,0.3338128467131867, https://leetcode.com/problems/missing-number
64,Minimum Path Sum,54.5%,Medium,0.3317195432884912, https://leetcode.com/problems/minimum-path-sum
215,Kth Largest Element in an Array,55.4%,Medium,0.3300278321382259, https://leetcode.com/problems/kth-largest-element-in-an-array
353,Design Snake Game,34.2%,Medium,0.32931497055013925, https://leetcode.com/problems/design-snake-game
46,Permutations,63.5%,Medium,0.32304289477761106, https://leetcode.com/problems/permutations
221,Maximal Square,37.7%,Medium,0.3057737602882765, https://leetcode.com/problems/maximal-square
17,Letter Combinations of a Phone Number,46.8%,Medium,0.30552675752628056, https://leetcode.com/problems/letter-combinations-of-a-phone-number
205,Isomorphic Strings,39.8%,Easy,0.30101800626340847, https://leetcode.com/problems/isomorphic-strings
75,Sort Colors,47.3%,Medium,0.2778743740687611, https://leetcode.com/problems/sort-colors
695,Max Area of Island,62.7%,Medium,0.2770125235595406, https://leetcode.com/problems/max-area-of-island
136,Single Number,65.5%,Easy,0.27522969174444734, https://leetcode.com/problems/single-number
22,Generate Parentheses,62.7%,Medium,0.274428104404814, https://leetcode.com/problems/generate-parentheses
229,Majority Element II,35.6%,Medium,0.2683771567744578, https://leetcode.com/problems/majority-element-ii
503,Next Greater Element II,56.5%,Medium,0.26590939545778536, https://leetcode.com/problems/next-greater-element-ii
209,Minimum Size Subarray Sum,38.2%,Medium,0.26557641498817536, https://leetcode.com/problems/minimum-size-subarray-sum
694,Number of Distinct Islands,56.0%,Medium,0.26236426446749106, https://leetcode.com/problems/number-of-distinct-islands
422,Valid Word Square,37.7%,Easy,0.2578291093020998, https://leetcode.com/problems/valid-word-square
252,Meeting Rooms,54.6%,Easy,0.2539330877151399, https://leetcode.com/problems/meeting-rooms
286,Walls and Gates,54.5%,Medium,0.2531417471996048, https://leetcode.com/problems/walls-and-gates
48,Rotate Image,56.7%,Medium,0.2525907526405108, https://leetcode.com/problems/rotate-image
821,Shortest Distance to a Character,66.9%,Easy,0.24320527953164725, https://leetcode.com/problems/shortest-distance-to-a-character
240,Search a 2D Matrix II,43.2%,Medium,0.24218097481422138, https://leetcode.com/problems/search-a-2d-matrix-ii
716,Max Stack,42.6%,Easy,0.24108416003009112, https://leetcode.com/problems/max-stack
85,Maximal Rectangle,37.7%,Hard,0.2404427185770219, https://leetcode.com/problems/maximal-rectangle
63,Unique Paths II,34.6%,Medium,0.2348446787507317, https://leetcode.com/problems/unique-paths-ii
76,Minimum Window Substring,34.6%,Hard,0.23436338587849237, https://leetcode.com/problems/minimum-window-substring
572,Subtree of Another Tree,44.1%,Easy,0.23328636844031944, https://leetcode.com/problems/subtree-of-another-tree
151,Reverse Words in a String,21.9%,Medium,0.23114347137583938, https://leetcode.com/problems/reverse-words-in-a-string
412,Fizz Buzz,62.3%,Easy,0.23023806672070082, https://leetcode.com/problems/fizz-buzz
652,Find Duplicate Subtrees,50.2%,Medium,0.23015822831359434, https://leetcode.com/problems/find-duplicate-subtrees
924,Minimize Malware Spread,42.0%,Hard,0.22884157242884745, https://leetcode.com/problems/minimize-malware-spread
91,Decode Ways,24.7%,Medium,0.2254754606491885, https://leetcode.com/problems/decode-ways
238,Product of Array Except Self,60.1%,Medium,0.22477655808124566, https://leetcode.com/problems/product-of-array-except-self
1223,Dice Roll Simulation,45.6%,Medium,0.2166710368085923, https://leetcode.com/problems/dice-roll-simulation
560,Subarray Sum Equals K,43.9%,Medium,0.21610695147886494, https://leetcode.com/problems/subarray-sum-equals-k
442,Find All Duplicates in an Array,67.8%,Medium,0.21334822899856468, https://leetcode.com/problems/find-all-duplicates-in-an-array
6,ZigZag Conversion,36.3%,Medium,0.21040551802808702, https://leetcode.com/problems/zigzag-conversion
287,Find the Duplicate Number,55.5%,Medium,0.20950804936372536, https://leetcode.com/problems/find-the-duplicate-number
315,Count of Smaller Numbers After Self,41.5%,Hard,0.20806843787404064, https://leetcode.com/problems/count-of-smaller-numbers-after-self
232,Implement Queue using Stacks,49.6%,Easy,0.20615437352136948, https://leetcode.com/problems/implement-queue-using-stacks
208,Implement Trie (Prefix Tree),49.4%,Medium,0.20593713931590088, https://leetcode.com/problems/implement-trie-prefix-tree
16,3Sum Closest,46.0%,Medium,0.2058081329110988, https://leetcode.com/problems/3sum-closest
513,Find Bottom Left Tree Value,61.5%,Medium,0.20328581918106378, https://leetcode.com/problems/find-bottom-left-tree-value
543,Diameter of Binary Tree,48.4%,Easy,0.2027481163433401, https://leetcode.com/problems/diameter-of-binary-tree
836,Rectangle Overlap,48.6%,Easy,0.19944370144318244, https://leetcode.com/problems/rectangle-overlap
13,Roman to Integer,55.7%,Easy,0.19870163716069, https://leetcode.com/problems/roman-to-integer
510,Inorder Successor in BST II,58.0%,Medium,0.19714257713870645, https://leetcode.com/problems/inorder-successor-in-bst-ii
329,Longest Increasing Path in a Matrix,43.4%,Hard,0.1954447382872236, https://leetcode.com/problems/longest-increasing-path-in-a-matrix
1060,Missing Element in Sorted Array,54.5%,Medium,0.1950605825713844, https://leetcode.com/problems/missing-element-in-sorted-array
94,Binary Tree Inorder Traversal,63.3%,Medium,0.1948180665300998, https://leetcode.com/problems/binary-tree-inorder-traversal
120,Triangle,44.2%,Medium,0.19325424809414601, https://leetcode.com/problems/triangle
92,Reverse Linked List II,38.8%,Medium,0.19248981022320735, https://leetcode.com/problems/reverse-linked-list-ii
153,Find Minimum in Rotated Sorted Array,45.1%,Medium,0.191995528322351, https://leetcode.com/problems/find-minimum-in-rotated-sorted-array
207,Course Schedule,43.1%,Medium,0.19082802919680183, https://leetcode.com/problems/course-schedule
402,Remove K Digits,28.4%,Medium,0.18924199963852842, https://leetcode.com/problems/remove-k-digits
658,Find K Closest Elements,40.9%,Medium,0.18663941293482042, https://leetcode.com/problems/find-k-closest-elements
518,Coin Change 2,50.2%,Medium,0.18373876827436816, https://leetcode.com/problems/coin-change-2
889,Construct Binary Tree from Preorder and Postorder Traversal,66.2%,Medium,0.18315872720701828, https://leetcode.com/problems/construct-binary-tree-from-preorder-and-postorder-traversal
70,Climbing Stairs,47.8%,Easy,0.1820258821345787, https://leetcode.com/problems/climbing-stairs
226,Invert Binary Tree,65.0%,Easy,0.18135450553395235, https://leetcode.com/problems/invert-binary-tree
19,Remove Nth Node From End of List,35.2%,Medium,0.17998225417577363, https://leetcode.com/problems/remove-nth-node-from-end-of-list
203,Remove Linked List Elements,38.6%,Easy,0.17950766176348673, https://leetcode.com/problems/remove-linked-list-elements
1244,Design A Leaderboard,60.7%,Medium,0.17763094743610072, https://leetcode.com/problems/design-a-leaderboard
202,Happy Number,50.4%,Easy,0.17408932588103054, https://leetcode.com/problems/happy-number
1249,Minimum Remove to Make Valid Parentheses,62.5%,Medium,0.17148553745267525, https://leetcode.com/problems/minimum-remove-to-make-valid-parentheses
97,Interleaving String,31.5%,Hard,0.17070662167607636, https://leetcode.com/problems/interleaving-string
344,Reverse String,68.5%,Easy,0.16907996884887766, https://leetcode.com/problems/reverse-string
971,Flip Binary Tree To Match Preorder Traversal,45.7%,Medium,0.1670540846631662, https://leetcode.com/problems/flip-binary-tree-to-match-preorder-traversal
529,Minesweeper,59.1%,Medium,0.16635770580494058, https://leetcode.com/problems/minesweeper
727,Minimum Window Subsequence,41.8%,Hard,0.15970111035790735, https://leetcode.com/problems/minimum-window-subsequence
101,Symmetric Tree,46.8%,Easy,0.15457702816029933, https://leetcode.com/problems/symmetric-tree
414,Third Maximum Number,30.5%,Easy,0.15407631103237035, https://leetcode.com/problems/third-maximum-number
417,Pacific Atlantic Water Flow,41.1%,Medium,0.15226921172755276, https://leetcode.com/problems/pacific-atlantic-water-flow
470,Implement Rand10() Using Rand7(),46.3%,Medium,0.15154989812720093, https://leetcode.com/problems/implement-rand10-using-rand7
386,Lexicographical Numbers,51.6%,Medium,0.14854271203296188, https://leetcode.com/problems/lexicographical-numbers
504,Base 7,46.2%,Easy,0.14612656455721032, https://leetcode.com/problems/base-7
24,Swap Nodes in Pairs,50.4%,Medium,0.14499222491243005, https://leetcode.com/problems/swap-nodes-in-pairs
237,Delete Node in a Linked List,63.8%,Easy,0.14499031042859406, https://leetcode.com/problems/delete-node-in-a-linked-list
852,Peak Index in a Mountain Array,71.6%,Easy,0.1445812288111076, https://leetcode.com/problems/peak-index-in-a-mountain-array
415,Add Strings,47.5%,Easy,0.14343082219506165, https://leetcode.com/problems/add-strings
426,Convert Binary Search Tree to Sorted Doubly Linked List,59.1%,Medium,0.14252878462127264, https://leetcode.com/problems/convert-binary-search-tree-to-sorted-doubly-linked-list
348,Design Tic-Tac-Toe,54.3%,Medium,0.14252878462127264, https://leetcode.com/problems/design-tic-tac-toe
188,Best Time to Buy and Sell Stock IV,28.0%,Hard,0.1396533313293086, https://leetcode.com/problems/best-time-to-buy-and-sell-stock-iv
225,Implement Stack using Queues,45.1%,Easy,0.1390589799907463, https://leetcode.com/problems/implement-stack-using-queues
250,Count Univalue Subtrees,52.0%,Medium,0.13767409129953323, https://leetcode.com/problems/count-univalue-subtrees
71,Simplify Path,32.6%,Medium,0.13762137787604775, https://leetcode.com/problems/simplify-path
565,Array Nesting,55.5%,Medium,0.13762137787604775, https://leetcode.com/problems/array-nesting
397,Integer Replacement,32.9%,Medium,0.13720112151348504, https://leetcode.com/problems/integer-replacement
99,Recover Binary Search Tree,39.7%,Hard,0.1363765523041528, https://leetcode.com/problems/recover-binary-search-tree
81,Search in Rotated Sorted Array II,33.0%,Medium,0.13455967035008862, https://leetcode.com/problems/search-in-rotated-sorted-array-ii
678,Valid Parenthesis String,31.0%,Medium,0.13417736429600724, https://leetcode.com/problems/valid-parenthesis-string
125,Valid Palindrome,36.7%,Easy,0.13416684727631417, https://leetcode.com/problems/valid-palindrome
378,Kth Smallest Element in a Sorted Matrix,54.3%,Medium,0.13397014948713715, https://leetcode.com/problems/kth-smallest-element-in-a-sorted-matrix
1347,Minimum Number of Steps to Make Two Strings Anagram,74.7%,Medium,0.13375498122243565, https://leetcode.com/problems/minimum-number-of-steps-to-make-two-strings-anagram
123,Best Time to Buy and Sell Stock III,37.5%,Hard,0.12991500860874672, https://leetcode.com/problems/best-time-to-buy-and-sell-stock-iii
359,Logger Rate Limiter,70.8%,Easy,0.1248502028794759, https://leetcode.com/problems/logger-rate-limiter
109,Convert Sorted List to Binary Search Tree,47.7%,Medium,0.12302181451266285, https://leetcode.com/problems/convert-sorted-list-to-binary-search-tree
228,Summary Ranges,39.5%,Medium,0.1207191114343526, https://leetcode.com/problems/summary-ranges
404,Sum of Left Leaves,50.9%,Easy,0.1193071581156751, https://leetcode.com/problems/sum-of-left-leaves
341,Flatten Nested List Iterator,52.9%,Medium,0.11879160861126825, https://leetcode.com/problems/flatten-nested-list-iterator
1054,Distant Barcodes,43.2%,Medium,0.11855973472455572, https://leetcode.com/problems/distant-barcodes
103,Binary Tree Zigzag Level Order Traversal,48.3%,Medium,0.11648551004070631, https://leetcode.com/problems/binary-tree-zigzag-level-order-traversal
435,Non-overlapping Intervals,42.9%,Medium,0.1158164666843426, https://leetcode.com/problems/non-overlapping-intervals
61,Rotate List,30.0%,Medium,0.11528615545779625, https://leetcode.com/problems/rotate-list
28,Implement strStr(),34.5%,Easy,0.11289821506454988, https://leetcode.com/problems/implement-strstr
721,Accounts Merge,48.8%,Medium,0.11257939199174459, https://leetcode.com/problems/accounts-merge
708,Insert into a Sorted Circular Linked List,31.6%,Medium,0.11219725014953141, https://leetcode.com/problems/insert-into-a-sorted-circular-linked-list
532,K-diff Pairs in an Array,31.6%,Easy,0.111723209445655, https://leetcode.com/problems/k-diff-pairs-in-an-array
82,Remove Duplicates from Sorted List II,36.8%,Medium,0.1110882064011508, https://leetcode.com/problems/remove-duplicates-from-sorted-list-ii
1188,Design Bounded Blocking Queue,70.5%,Medium,0.11030454201470608, https://leetcode.com/problems/design-bounded-blocking-queue
198,House Robber,42.0%,Easy,0.10785152815546674, https://leetcode.com/problems/house-robber
108,Convert Sorted Array to Binary Search Tree,57.9%,Easy,0.10686314554236129, https://leetcode.com/problems/convert-sorted-array-to-binary-search-tree
112,Path Sum,41.2%,Easy,0.10531937947649221, https://leetcode.com/problems/path-sum
26,Remove Duplicates from Sorted Array,45.1%,Easy,0.10424167132184688, https://leetcode.com/problems/remove-duplicates-from-sorted-array
289,Game of Life,54.5%,Medium,0.10365526175211173, https://leetcode.com/problems/game-of-life
336,Palindrome Pairs,33.7%,Hard,0.10259559233600947, https://leetcode.com/problems/palindrome-pairs
141,Linked List Cycle,41.1%,Easy,0.10063328674952829, https://leetcode.com/problems/linked-list-cycle
90,Subsets II,47.1%,Medium,0.09830555874512009, https://leetcode.com/problems/subsets-ii
642,Design Search Autocomplete System,44.7%,Hard,0.09500811062818718, https://leetcode.com/problems/design-search-autocomplete-system
567,Permutation in String,44.4%,Medium,0.08995633353390375, https://leetcode.com/problems/permutation-in-string
285,Inorder Successor in BST,40.4%,Medium,0.08649364464568089, https://leetcode.com/problems/inorder-successor-in-bst
991,Broken Calculator,45.6%,Medium,0.08515780834030685, https://leetcode.com/problems/broken-calculator
131,Palindrome Partitioning,47.5%,Medium,0.08388550716227433, https://leetcode.com/problems/palindrome-partitioning
297,Serialize and Deserialize Binary Tree,47.5%,Hard,0.0834242216674795, https://leetcode.com/problems/serialize-and-deserialize-binary-tree
204,Count Primes,31.5%,Easy,0.08336741437414971, https://leetcode.com/problems/count-primes
857,Minimum Cost to Hire K Workers,49.6%,Hard,0.08320805808821628, https://leetcode.com/problems/minimum-cost-to-hire-k-workers
557,Reverse Words in a String III,69.8%,Easy,0.0828837318214325, https://leetcode.com/problems/reverse-words-in-a-string-iii
813,Largest Sum of Averages,49.9%,Medium,0.08201315166083516, https://leetcode.com/problems/largest-sum-of-averages
737,Sentence Similarity II,45.8%,Medium,0.08167803101426718, https://leetcode.com/problems/sentence-similarity-ii
74,Search a 2D Matrix,36.5%,Medium,0.08108897817576358, https://leetcode.com/problems/search-a-2d-matrix
448,Find All Numbers Disappeared in an Array,55.9%,Easy,0.08099584515633794, https://leetcode.com/problems/find-all-numbers-disappeared-in-an-array
96,Unique Binary Search Trees,52.9%,Medium,0.08025695513016742, https://leetcode.com/problems/unique-binary-search-trees
673,Number of Longest Increasing Subsequence,35.7%,Medium,0.08025695513016742, https://leetcode.com/problems/number-of-longest-increasing-subsequence
303,Range Sum Query - Immutable,44.7%,Easy,0.08001707486353822, https://leetcode.com/problems/range-sum-query-immutable
392,Is Subsequence,49.2%,Easy,0.07897107508821988, https://leetcode.com/problems/is-subsequence
784,Letter Case Permutation,64.6%,Medium,0.0787033338274549, https://leetcode.com/problems/letter-case-permutation
189,Rotate Array,34.7%,Easy,0.07859731751631634, https://leetcode.com/problems/rotate-array
1297,Maximum Number of Occurrences of a Substring,47.3%,Medium,0.07770898432731625, https://leetcode.com/problems/maximum-number-of-occurrences-of-a-substring
55,Jump Game,34.6%,Medium,0.07748307858552587, https://leetcode.com/problems/jump-game
1155,Number of Dice Rolls With Target Sum,49.0%,Medium,0.07356256717701673, https://leetcode.com/problems/number-of-dice-rolls-with-target-sum
450,Delete Node in a BST,43.1%,Medium,0.07216836682371046, https://leetcode.com/problems/delete-node-in-a-bst
35,Search Insert Position,42.6%,Easy,0.07187646029497265, https://leetcode.com/problems/search-insert-position
1114,Print in Order,65.7%,Easy,0.0700675626167169, https://leetcode.com/problems/print-in-order
432,All O`one Data Structure,32.4%,Hard,0.06887402901251127, https://leetcode.com/problems/all-oone-data-structure
338,Counting Bits,69.5%,Medium,0.06616169008990747, https://leetcode.com/problems/counting-bits
1145,Binary Tree Coloring Game,51.2%,Medium,0.06592172080482424, https://leetcode.com/problems/binary-tree-coloring-game
167,Two Sum II - Input array is sorted,54.1%,Easy,0.06546140041370939, https://leetcode.com/problems/two-sum-ii-input-array-is-sorted
14,Longest Common Prefix,35.4%,Easy,0.06517750377430989, https://leetcode.com/problems/longest-common-prefix
846,Hand of Straights,54.2%,Medium,0.06472423940349638, https://leetcode.com/problems/hand-of-straights
1105,Filling Bookcase Shelves,58.1%,Medium,0.06464285626208545, https://leetcode.com/problems/filling-bookcase-shelves
36,Valid Sudoku,48.7%,Medium,0.06350219850936348, https://leetcode.com/problems/valid-sudoku
413,Arithmetic Slices,57.9%,Medium,0.06286986221654821, https://leetcode.com/problems/arithmetic-slices
350,Intersection of Two Arrays II,51.4%,Easy,0.06202949919751832, https://leetcode.com/problems/intersection-of-two-arrays-ii
47,Permutations II,46.4%,Medium,0.05897935516253239, https://leetcode.com/problems/permutations-ii
516,Longest Palindromic Subsequence,53.2%,Medium,0.058432099871092734, https://leetcode.com/problems/longest-palindromic-subsequence
32,Longest Valid Parentheses,28.4%,Hard,0.0556316959861487, https://leetcode.com/problems/longest-valid-parentheses
30,Substring with Concatenation of All Words,25.4%,Hard,0.05509349054082484, https://leetcode.com/problems/substring-with-concatenation-of-all-words
149,Max Points on a Line,16.9%,Hard,0.0550597771830274, https://leetcode.com/problems/max-points-on-a-line
222,Count Complete Tree Nodes,46.8%,Medium,0.05492114472894792, https://leetcode.com/problems/count-complete-tree-nodes
752,Open the Lock,51.8%,Medium,0.05449289949671372, https://leetcode.com/problems/open-the-lock
703,Kth Largest Element in a Stream,49.7%,Easy,0.054472280837981495, https://leetcode.com/problems/kth-largest-element-in-a-stream
724,Find Pivot Index,44.0%,Easy,0.05428741283782842, https://leetcode.com/problems/find-pivot-index
714,Best Time to Buy and Sell Stock with Transaction Fee,54.7%,Medium,0.05377639678080413, https://leetcode.com/problems/best-time-to-buy-and-sell-stock-with-transaction-fee
395,Longest Substring with At Least K Repeating Characters,41.4%,Medium,0.05371219359052555, https://leetcode.com/problems/longest-substring-with-at-least-k-repeating-characters
1312,Minimum Insertion Steps to Make a String Palindrome,58.1%,Hard,0.050261834780888255, https://leetcode.com/problems/minimum-insertion-steps-to-make-a-string-palindrome
216,Combination Sum III,56.6%,Medium,0.05017774958571902, https://leetcode.com/problems/combination-sum-iii
219,Contains Duplicate II,37.7%,Easy,0.05012010405957234, https://leetcode.com/problems/contains-duplicate-ii
129,Sum Root to Leaf Numbers,49.1%,Medium,0.050010420574661374, https://leetcode.com/problems/sum-root-to-leaf-numbers
152,Maximum Product Subarray,31.7%,Medium,0.04922388062576129, https://leetcode.com/problems/maximum-product-subarray
437,Path Sum III,47.2%,Medium,0.047656426639019575, https://leetcode.com/problems/path-sum-iii
986,Interval List Intersections,67.3%,Medium,0.04703983015489417, https://leetcode.com/problems/interval-list-intersections
556,Next Greater Element III,31.7%,Medium,0.04679216150675895, https://leetcode.com/problems/next-greater-element-iii
933,Number of Recent Calls,71.9%,Easy,0.046737477851689815, https://leetcode.com/problems/number-of-recent-calls
978,Longest Turbulent Subarray,46.6%,Medium,0.046737477851689815, https://leetcode.com/problems/longest-turbulent-subarray
176,Second Highest Salary,31.6%,Easy,0.045338680589061736, https://leetcode.com/problems/second-highest-salary
733,Flood Fill,55.3%,Easy,0.04413292021115189, https://leetcode.com/problems/flood-fill
104,Maximum Depth of Binary Tree,66.0%,Easy,0.043698924213377836, https://leetcode.com/problems/maximum-depth-of-binary-tree
895,Maximum Frequency Stack,60.6%,Hard,0.04329680575332419, https://leetcode.com/problems/maximum-frequency-stack
110,Balanced Binary Tree,43.5%,Easy,0.04313244044957316, https://leetcode.com/problems/balanced-binary-tree
540,Single Element in a Sorted Array,57.9%,Medium,0.042721256704769804, https://leetcode.com/problems/single-element-in-a-sorted-array
787,Cheapest Flights Within K Stops,39.3%,Medium,0.04186657939278993, https://leetcode.com/problems/cheapest-flights-within-k-stops
29,Divide Two Integers,16.4%,Medium,0.04159641425367403, https://leetcode.com/problems/divide-two-integers
258,Add Digits,57.6%,Easy,0.04107874349984602, https://leetcode.com/problems/add-digits
292,Nim Game,54.9%,Easy,0.03996979643236185, https://leetcode.com/problems/nim-game
212,Word Search II,34.9%,Hard,0.03881156536434583, https://leetcode.com/problems/word-search-ii
18,4Sum,33.7%,Medium,0.03880215185647971, https://leetcode.com/problems/4sum
993,Cousins in Binary Tree,52.0%,Easy,0.03876454345024432, https://leetcode.com/problems/cousins-in-binary-tree
270,Closest Binary Search Tree Value,48.5%,Easy,0.03812405784173832, https://leetcode.com/problems/closest-binary-search-tree-value
144,Binary Tree Preorder Traversal,55.7%,Medium,0.03751377610149742, https://leetcode.com/problems/binary-tree-preorder-traversal
646,Maximum Length of Pair Chain,51.9%,Medium,0.036870535808327706, https://leetcode.com/problems/maximum-length-of-pair-chain
340,Longest Substring with At Most K Distinct Characters,44.1%,Hard,0.035917667750755534, https://leetcode.com/problems/longest-substring-with-at-most-k-distinct-characters
650,2 Keys Keyboard,49.2%,Medium,0.035910501305770864, https://leetcode.com/problems/2-keys-keyboard
334,Increasing Triplet Subsequence,40.0%,Medium,0.03577488021091517, https://leetcode.com/problems/increasing-triplet-subsequence
595,Big Countries,77.3%,Easy,0.03475253199083958, https://leetcode.com/problems/big-countries
1002,Find Common Characters,67.6%,Easy,0.03404262162737441, https://leetcode.com/problems/find-common-characters
217,Contains Duplicate,56.0%,Easy,0.03367321510658789, https://leetcode.com/problems/contains-duplicate
274,H-Index,36.1%,Medium,0.03364488914272426, https://leetcode.com/problems/h-index
1123,Lowest Common Ancestor of Deepest Leaves,66.8%,Medium,0.03147388037973136, https://leetcode.com/problems/lowest-common-ancestor-of-deepest-leaves
38,Count and Say,44.6%,Easy,0.030956234663467107, https://leetcode.com/problems/count-and-say
581,Shortest Unsorted Continuous Subarray,31.1%,Easy,0.029773949243192512, https://leetcode.com/problems/shortest-unsorted-continuous-subarray
66,Plus One,43.0%,Easy,0.028982869090985654, https://leetcode.com/problems/plus-one
147,Insertion Sort List,41.1%,Medium,0.028675799976666333, https://leetcode.com/problems/insertion-sort-list
621,Task Scheduler,50.1%,Medium,0.028315771352780777, https://leetcode.com/problems/task-scheduler
547,Friend Circles,58.6%,Medium,0.027307522052851193, https://leetcode.com/problems/friend-circles
310,Minimum Height Trees,32.3%,Medium,0.02446605215440636, https://leetcode.com/problems/minimum-height-trees
210,Course Schedule II,40.7%,Medium,0.023133880315464483, https://leetcode.com/problems/course-schedule-ii
39,Combination Sum,56.1%,Medium,0.02267028230338623, https://leetcode.com/problems/combination-sum
113,Path Sum II,46.7%,Medium,0.021882711249507664, https://leetcode.com/problems/path-sum-ii
40,Combination Sum II,48.2%,Medium,0.021424290044083395, https://leetcode.com/problems/combination-sum-ii
278,First Bad Version,35.7%,Easy,0.021394050366625766, https://leetcode.com/problems/first-bad-version
224,Basic Calculator,36.8%,Hard,0.020965128465044926, https://leetcode.com/problems/basic-calculator
424,Longest Repeating Character Replacement,47.0%,Medium,0.020461071871340063, https://leetcode.com/problems/longest-repeating-character-replacement
617,Merge Two Binary Trees,74.1%,Easy,0.018496211633622316, https://leetcode.com/problems/merge-two-binary-trees
438,Find All Anagrams in a String,43.3%,Medium,0.01819334596120571, https://leetcode.com/problems/find-all-anagrams-in-a-string
406,Queue Reconstruction by Height,66.9%,Medium,0.01774669468133533, https://leetcode.com/problems/queue-reconstruction-by-height
863,All Nodes Distance K in Binary Tree,55.4%,Medium,0.01695674371877865, https://leetcode.com/problems/all-nodes-distance-k-in-binary-tree
1025,Divisor Game,66.3%,Easy,0.015015297119995507, https://leetcode.com/problems/divisor-game
912,Sort an Array,63.9%,Medium,0.01443026482902881, https://leetcode.com/problems/sort-an-array
27,Remove Element,48.2%,Easy,0.01413451093490476, https://leetcode.com/problems/remove-element
100,Same Tree,53.4%,Easy,0.012601237835529503, https://leetcode.com/problems/same-tree
172,Factorial Trailing Zeroes,37.8%,Easy,0.012326812480658571, https://leetcode.com/problems/factorial-trailing-zeroes
957,Prison Cells After N Days,40.7%,Medium,0.010986103354595014, https://leetcode.com/problems/prison-cells-after-n-days
559,Maximum Depth of N-ary Tree,68.7%,Easy,0.010974047031976715, https://leetcode.com/problems/maximum-depth-of-n-ary-tree
746,Min Cost Climbing Stairs,50.3%,Easy,0.009818439209289494, https://leetcode.com/problems/min-cost-climbing-stairs
106,Construct Binary Tree from Inorder and Postorder Traversal,47.2%,Medium,0.009328969762346678, https://leetcode.com/problems/construct-binary-tree-from-inorder-and-postorder-traversal
977,Squares of a Sorted Array,72.1%,Easy,0.008733679968754604, https://leetcode.com/problems/squares-of-a-sorted-array
1480,Running Sum of 1d Array,90.5%,Easy,0.0026196884456014947, https://leetcode.com/problems/running-sum-of-1d-array
266,Palindrome Permutation,61.9%,Easy,0, https://leetcode.com/problems/palindrome-permutation
158,Read N Characters Given Read4 II - Call multiple times,33.8%,Hard,0, https://leetcode.com/problems/read-n-characters-given-read4-ii-call-multiple-times
570,Managers with at Least 5 Direct Reports,66.0%,Medium,0, https://leetcode.com/problems/managers-with-at-least-5-direct-reports
669,Trim a Binary Search Tree,63.0%,Easy,0, https://leetcode.com/problems/trim-a-binary-search-tree
749,Contain Virus,44.6%,Hard,0, https://leetcode.com/problems/contain-virus
1104,Path In Zigzag Labelled Binary Tree,72.0%,Medium,0, https://leetcode.com/problems/path-in-zigzag-labelled-binary-tree
1478,Allocate Mailboxes,54.9%,Hard,0, https://leetcode.com/problems/allocate-mailboxes
1 138 ID Copy List with Random Pointer Title 36.4% Acceptance Medium Difficulty 2.9916072330367776 Frequency https://leetcode.com/problems/copy-list-with-random-pointer Leetcode Question Link
2 146 138 LRU Cache Copy List with Random Pointer 33.2% 36.4% Medium 2.88011930741835 2.9916072330367776 https://leetcode.com/problems/lru-cache https://leetcode.com/problems/copy-list-with-random-pointer
3 1396 146 Design Underground System LRU Cache 64.7% 33.2% Medium 2.7686313817999224 2.88011930741835 https://leetcode.com/problems/design-underground-system https://leetcode.com/problems/lru-cache
4 430 1396 Flatten a Multilevel Doubly Linked List Design Underground System 55.1% 64.7% Medium 2.699294019942542 2.7686313817999224 https://leetcode.com/problems/flatten-a-multilevel-doubly-linked-list https://leetcode.com/problems/design-underground-system
5 200 430 Number of Islands Flatten a Multilevel Doubly Linked List 46.8% 55.1% Medium 2.5893928602940184 2.699294019942542 https://leetcode.com/problems/number-of-islands https://leetcode.com/problems/flatten-a-multilevel-doubly-linked-list
6 445 200 Add Two Numbers II Number of Islands 54.5% 46.8% Medium 2.5005209232280814 2.5893928602940184 https://leetcode.com/problems/add-two-numbers-ii https://leetcode.com/problems/number-of-islands
7 723 445 Candy Crush Add Two Numbers II 69.2% 54.5% Medium 2.4433718804091535 2.5005209232280814 https://leetcode.com/problems/candy-crush https://leetcode.com/problems/add-two-numbers-ii
8 394 723 Decode String Candy Crush 50.0% 69.2% Medium 2.4354178381724667 2.4433718804091535 https://leetcode.com/problems/decode-string https://leetcode.com/problems/candy-crush
9 582 394 Kill Process Decode String 60.8% 50.0% Medium 2.329004207705794 2.4354178381724667 https://leetcode.com/problems/kill-process https://leetcode.com/problems/decode-string
10 1 582 Two Sum Kill Process 45.6% 60.8% Easy Medium 2.2663379529079926 2.329004207705794 https://leetcode.com/problems/two-sum https://leetcode.com/problems/kill-process
11 451 1 Sort Characters By Frequency Two Sum 63.0% 45.6% Medium Easy 2.214754567267123 2.2663379529079926 https://leetcode.com/problems/sort-characters-by-frequency https://leetcode.com/problems/two-sum
12 2 451 Add Two Numbers Sort Characters By Frequency 33.9% 63.0% Medium 2.2105161651535843 2.214754567267123 https://leetcode.com/problems/add-two-numbers https://leetcode.com/problems/sort-characters-by-frequency
13 1169 2 Invalid Transactions Add Two Numbers 31.2% 33.9% Medium 2.1276788037634873 2.2105161651535843 https://leetcode.com/problems/invalid-transactions https://leetcode.com/problems/add-two-numbers
14 117 1169 Populating Next Right Pointers in Each Node II Invalid Transactions 39.1% 31.2% Medium 2.118212486885331 2.1276788037634873 https://leetcode.com/problems/populating-next-right-pointers-in-each-node-ii https://leetcode.com/problems/invalid-transactions
15 42 117 Trapping Rain Water Populating Next Right Pointers in Each Node II 48.9% 39.1% Hard Medium 2.0660776889450734 2.118212486885331 https://leetcode.com/problems/trapping-rain-water https://leetcode.com/problems/populating-next-right-pointers-in-each-node-ii
16 20 42 Valid Parentheses Trapping Rain Water 39.0% 48.9% Easy Hard 2.0208637675689056 2.0660776889450734 https://leetcode.com/problems/valid-parentheses https://leetcode.com/problems/trapping-rain-water
17 380 20 Insert Delete GetRandom O(1) Valid Parentheses 47.5% 39.0% Medium Easy 1.9093758419504783 2.0208637675689056 https://leetcode.com/problems/insert-delete-getrandom-o1 https://leetcode.com/problems/valid-parentheses
18 155 380 Min Stack Insert Delete GetRandom O(1) 44.5% 47.5% Easy Medium 1.8753356079546997 1.9093758419504783 https://leetcode.com/problems/min-stack https://leetcode.com/problems/insert-delete-getrandom-o1
19 98 155 Validate Binary Search Tree Min Stack 27.8% 44.5% Medium Easy 1.8280334735241495 1.8753356079546997 https://leetcode.com/problems/validate-binary-search-tree https://leetcode.com/problems/min-stack
20 253 98 Meeting Rooms II Validate Binary Search Tree 45.7% 27.8% Medium 1.7748254445172882 1.8280334735241495 https://leetcode.com/problems/meeting-rooms-ii https://leetcode.com/problems/validate-binary-search-tree
21 121 253 Best Time to Buy and Sell Stock Meeting Rooms II 50.5% 45.7% Easy Medium 1.7316498584399342 1.7748254445172882 https://leetcode.com/problems/best-time-to-buy-and-sell-stock https://leetcode.com/problems/meeting-rooms-ii
22 387 121 First Unique Character in a String Best Time to Buy and Sell Stock 53.4% 50.5% Easy 1.6717206372907538 1.7316498584399342 https://leetcode.com/problems/first-unique-character-in-a-string https://leetcode.com/problems/best-time-to-buy-and-sell-stock
23 56 387 Merge Intervals First Unique Character in a String 39.3% 53.4% Medium Easy 1.6344853036753995 1.6717206372907538 https://leetcode.com/problems/merge-intervals https://leetcode.com/problems/first-unique-character-in-a-string
24 214 56 Shortest Palindrome Merge Intervals 29.8% 39.3% Hard Medium 1.628304607593452 1.6344853036753995 https://leetcode.com/problems/shortest-palindrome https://leetcode.com/problems/merge-intervals
25 1274 214 Number of Ships in a Rectangle Shortest Palindrome 66.3% 29.8% Hard 1.6253239794553143 1.628304607593452 https://leetcode.com/problems/number-of-ships-in-a-rectangle https://leetcode.com/problems/shortest-palindrome
26 1029 1274 Two City Scheduling Number of Ships in a Rectangle 56.1% 66.3% Easy Hard 1.6062408497394156 1.6253239794553143 https://leetcode.com/problems/two-city-scheduling https://leetcode.com/problems/number-of-ships-in-a-rectangle
27 283 1029 Move Zeroes Two City Scheduling 57.8% 56.1% Easy 1.5700380214242422 1.6062408497394156 https://leetcode.com/problems/move-zeroes https://leetcode.com/problems/two-city-scheduling
28 116 283 Populating Next Right Pointers in Each Node Move Zeroes 45.2% 57.8% Medium Easy 1.5282163044390433 1.5700380214242422 https://leetcode.com/problems/populating-next-right-pointers-in-each-node https://leetcode.com/problems/move-zeroes
29 390 116 Elimination Game Populating Next Right Pointers in Each Node 44.5% 45.2% Medium 1.435519307483543 1.5282163044390433 https://leetcode.com/problems/elimination-game https://leetcode.com/problems/populating-next-right-pointers-in-each-node
30 3 390 Longest Substring Without Repeating Characters Elimination Game 30.4% 44.5% Medium 1.3959826812294072 1.435519307483543 https://leetcode.com/problems/longest-substring-without-repeating-characters https://leetcode.com/problems/elimination-game
31 23 3 Merge k Sorted Lists Longest Substring Without Repeating Characters 40.2% 30.4% Hard Medium 1.390362038117481 1.3959826812294072 https://leetcode.com/problems/merge-k-sorted-lists https://leetcode.com/problems/longest-substring-without-repeating-characters
32 1209 23 Remove All Adjacent Duplicates in String II Merge k Sorted Lists 56.9% 40.2% Medium Hard 1.2788741124990537 1.390362038117481 https://leetcode.com/problems/remove-all-adjacent-duplicates-in-string-ii https://leetcode.com/problems/merge-k-sorted-lists
33 463 1209 Island Perimeter Remove All Adjacent Duplicates in String II 65.7% 56.9% Easy Medium 1.245274068255333 1.2788741124990537 https://leetcode.com/problems/island-perimeter https://leetcode.com/problems/remove-all-adjacent-duplicates-in-string-ii
34 242 463 Valid Anagram Island Perimeter 56.9% 65.7% Easy 1.1337861426369056 1.245274068255333 https://leetcode.com/problems/valid-anagram https://leetcode.com/problems/island-perimeter
35 269 242 Alien Dictionary Valid Anagram 33.3% 56.9% Hard Easy 1.099252698552309 1.1337861426369056 https://leetcode.com/problems/alien-dictionary https://leetcode.com/problems/valid-anagram
36 114 269 Flatten Binary Tree to Linked List Alien Dictionary 49.3% 33.3% Medium Hard 1.0986122886681096 1.099252698552309 https://leetcode.com/problems/flatten-binary-tree-to-linked-list https://leetcode.com/problems/alien-dictionary
37 139 114 Word Break Flatten Binary Tree to Linked List 40.1% 49.3% Medium 1.0903842081598691 1.0986122886681096 https://leetcode.com/problems/word-break https://leetcode.com/problems/flatten-binary-tree-to-linked-list
38 4 139 Median of Two Sorted Arrays Word Break 29.6% 40.1% Hard Medium 1.0617282987657621 1.0903842081598691 https://leetcode.com/problems/median-of-two-sorted-arrays https://leetcode.com/problems/word-break
39 271 4 Encode and Decode Strings Median of Two Sorted Arrays 31.5% 29.6% Medium Hard 1.0528027526368156 1.0617282987657621 https://leetcode.com/problems/encode-and-decode-strings https://leetcode.com/problems/median-of-two-sorted-arrays
40 33 271 Search in Rotated Sorted Array Encode and Decode Strings 34.5% 31.5% Medium 1.0520357838367607 1.0528027526368156 https://leetcode.com/problems/search-in-rotated-sorted-array https://leetcode.com/problems/encode-and-decode-strings
41 12 33 Integer to Roman Search in Rotated Sorted Array 55.1% 34.5% Medium 1.0302007147147747 1.0520357838367607 https://leetcode.com/problems/integer-to-roman https://leetcode.com/problems/search-in-rotated-sorted-array
42 206 12 Reverse Linked List Integer to Roman 62.5% 55.1% Easy Medium 1.0194232916385328 1.0302007147147747 https://leetcode.com/problems/reverse-linked-list https://leetcode.com/problems/integer-to-roman
43 301 206 Remove Invalid Parentheses Reverse Linked List 43.3% 62.5% Hard Easy 1.0163915378390016 1.0194232916385328 https://leetcode.com/problems/remove-invalid-parentheses https://leetcode.com/problems/reverse-linked-list
44 21 301 Merge Two Sorted Lists Remove Invalid Parentheses 53.5% 43.3% Easy Hard 0.9730025194287449 1.0163915378390016 https://leetcode.com/problems/merge-two-sorted-lists https://leetcode.com/problems/remove-invalid-parentheses
45 7 21 Reverse Integer Merge Two Sorted Lists 25.8% 53.5% Easy 0.9636538129651142 0.9730025194287449 https://leetcode.com/problems/reverse-integer https://leetcode.com/problems/merge-two-sorted-lists
46 69 7 Sqrt(x) Reverse Integer 33.9% 25.8% Easy 0.9425416082510271 0.9636538129651142 https://leetcode.com/problems/sqrtx https://leetcode.com/problems/reverse-integer
47 628 69 Maximum Product of Three Numbers Sqrt(x) 47.1% 33.9% Easy 0.9179560111932162 0.9425416082510271 https://leetcode.com/problems/maximum-product-of-three-numbers https://leetcode.com/problems/sqrtx
48 15 628 3Sum Maximum Product of Three Numbers 26.8% 47.1% Medium Easy 0.9115464188984339 0.9179560111932162 https://leetcode.com/problems/3sum https://leetcode.com/problems/maximum-product-of-three-numbers
49 346 15 Moving Average from Data Stream 3Sum 70.9% 26.8% Easy Medium 0.893574774039618 0.9115464188984339 https://leetcode.com/problems/moving-average-from-data-stream https://leetcode.com/problems/3sum
50 105 346 Construct Binary Tree from Preorder and Inorder Traversal Moving Average from Data Stream 48.8% 70.9% Medium Easy 0.856966942738701 0.893574774039618 https://leetcode.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal https://leetcode.com/problems/moving-average-from-data-stream
51 554 105 Brick Wall Construct Binary Tree from Preorder and Inorder Traversal 50.0% 48.8% Medium 0.8487112881843506 0.856966942738701 https://leetcode.com/problems/brick-wall https://leetcode.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal
52 460 554 LFU Cache Brick Wall 34.2% 50.0% Hard Medium 0.8452742509276767 0.8487112881843506 https://leetcode.com/problems/lfu-cache https://leetcode.com/problems/brick-wall
53 53 460 Maximum Subarray LFU Cache 46.5% 34.2% Easy Hard 0.8338660450189812 0.8452742509276767 https://leetcode.com/problems/maximum-subarray https://leetcode.com/problems/lfu-cache
54 692 53 Top K Frequent Words Maximum Subarray 51.8% 46.5% Medium Easy 0.8219759071619612 0.8338660450189812 https://leetcode.com/problems/top-k-frequent-words https://leetcode.com/problems/maximum-subarray
55 5 692 Longest Palindromic Substring Top K Frequent Words 29.5% 51.8% Medium 0.8154521489335768 0.8219759071619612 https://leetcode.com/problems/longest-palindromic-substring https://leetcode.com/problems/top-k-frequent-words
56 239 5 Sliding Window Maximum Longest Palindromic Substring 43.0% 29.5% Hard Medium 0.8060721931479718 0.8154521489335768 https://leetcode.com/problems/sliding-window-maximum https://leetcode.com/problems/longest-palindromic-substring
57 295 239 Find Median from Data Stream Sliding Window Maximum 44.3% 43.0% Hard 0.7864008043695105 0.8060721931479718 https://leetcode.com/problems/find-median-from-data-stream https://leetcode.com/problems/sliding-window-maximum
58 62 295 Unique Paths Find Median from Data Stream 54.1% 44.3% Medium Hard 0.7819517612115802 0.7864008043695105 https://leetcode.com/problems/unique-paths https://leetcode.com/problems/find-median-from-data-stream
59 236 62 Lowest Common Ancestor of a Binary Tree Unique Paths 45.7% 54.1% Medium 0.7585897524597297 0.7819517612115802 https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-tree https://leetcode.com/problems/unique-paths
60 54 236 Spiral Matrix Lowest Common Ancestor of a Binary Tree 34.1% 45.7% Medium 0.7505169147393441 0.7585897524597297 https://leetcode.com/problems/spiral-matrix https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-tree
61 273 54 Integer to English Words Spiral Matrix 27.1% 34.1% Hard Medium 0.7404748586772619 0.7505169147393441 https://leetcode.com/problems/integer-to-english-words https://leetcode.com/problems/spiral-matrix
62 611 273 Valid Triangle Number Integer to English Words 48.4% 27.1% Medium Hard 0.7357067949787413 0.7404748586772619 https://leetcode.com/problems/valid-triangle-number https://leetcode.com/problems/integer-to-english-words
63 160 611 Intersection of Two Linked Lists Valid Triangle Number 40.6% 48.4% Easy Medium 0.7095335003665627 0.7357067949787413 https://leetcode.com/problems/intersection-of-two-linked-lists https://leetcode.com/problems/valid-triangle-number
64 332 160 Reconstruct Itinerary Intersection of Two Linked Lists 36.7% 40.6% Medium Easy 0.6934933810134637 0.7095335003665627 https://leetcode.com/problems/reconstruct-itinerary https://leetcode.com/problems/intersection-of-two-linked-lists
65 987 332 Vertical Order Traversal of a Binary Tree Reconstruct Itinerary 36.6% 36.7% Medium 0.6653429641530142 0.6934933810134637 https://leetcode.com/problems/vertical-order-traversal-of-a-binary-tree https://leetcode.com/problems/reconstruct-itinerary
66 173 987 Binary Search Tree Iterator Vertical Order Traversal of a Binary Tree 56.6% 36.6% Medium 0.6626352388032212 0.6653429641530142 https://leetcode.com/problems/binary-search-tree-iterator https://leetcode.com/problems/vertical-order-traversal-of-a-binary-tree
67 10 173 Regular Expression Matching Binary Search Tree Iterator 26.8% 56.6% Hard Medium 0.6273817982285409 0.6626352388032212 https://leetcode.com/problems/regular-expression-matching https://leetcode.com/problems/binary-search-tree-iterator
68 122 10 Best Time to Buy and Sell Stock II Regular Expression Matching 57.0% 26.8% Easy Hard 0.620692101344523 0.6273817982285409 https://leetcode.com/problems/best-time-to-buy-and-sell-stock-ii https://leetcode.com/problems/regular-expression-matching
69 49 122 Group Anagrams Best Time to Buy and Sell Stock II 56.9% 57.0% Medium Easy 0.6192590691619644 0.620692101344523 https://leetcode.com/problems/group-anagrams https://leetcode.com/problems/best-time-to-buy-and-sell-stock-ii
70 797 49 All Paths From Source to Target Group Anagrams 77.9% 56.9% Medium 0.6133054173259477 0.6192590691619644 https://leetcode.com/problems/all-paths-from-source-to-target https://leetcode.com/problems/group-anagrams
71 102 797 Binary Tree Level Order Traversal All Paths From Source to Target 54.6% 77.9% Medium 0.598984719563006 0.6133054173259477 https://leetcode.com/problems/binary-tree-level-order-traversal https://leetcode.com/problems/all-paths-from-source-to-target
72 127 102 Word Ladder Binary Tree Level Order Traversal 29.6% 54.6% Medium 0.5839478885949534 0.598984719563006 https://leetcode.com/problems/word-ladder https://leetcode.com/problems/binary-tree-level-order-traversal
73 443 127 String Compression Word Ladder 41.3% 29.6% Easy Medium 0.5809942743419542 0.5839478885949534 https://leetcode.com/problems/string-compression https://leetcode.com/problems/word-ladder
74 88 443 Merge Sorted Array String Compression 39.4% 41.3% Easy 0.571985667665598 0.5809942743419542 https://leetcode.com/problems/merge-sorted-array https://leetcode.com/problems/string-compression
75 314 88 Binary Tree Vertical Order Traversal Merge Sorted Array 45.3% 39.4% Medium Easy 0.5697543914580919 0.571985667665598 https://leetcode.com/problems/binary-tree-vertical-order-traversal https://leetcode.com/problems/merge-sorted-array
76 384 314 Shuffle an Array Binary Tree Vertical Order Traversal 52.8% 45.3% Medium 0.5613156759328372 0.5697543914580919 https://leetcode.com/problems/shuffle-an-array https://leetcode.com/problems/binary-tree-vertical-order-traversal
77 235 384 Lowest Common Ancestor of a Binary Search Tree Shuffle an Array 49.9% 52.8% Easy Medium 0.5565464902832835 0.5613156759328372 https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-search-tree https://leetcode.com/problems/shuffle-an-array
78 322 235 Coin Change Lowest Common Ancestor of a Binary Search Tree 35.5% 49.9% Medium Easy 0.5515361644679891 0.5565464902832835 https://leetcode.com/problems/coin-change https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-search-tree
79 78 322 Subsets Coin Change 62.0% 35.5% Medium 0.5447142447216986 0.5515361644679891 https://leetcode.com/problems/subsets https://leetcode.com/problems/coin-change
80 1472 78 Design Browser History Subsets 64.6% 62.0% Medium 0.5365781198684054 0.5447142447216986 https://leetcode.com/problems/design-browser-history https://leetcode.com/problems/subsets
81 399 1472 Evaluate Division Design Browser History 51.6% 64.6% Medium 0.5332723866487983 0.5365781198684054 https://leetcode.com/problems/evaluate-division https://leetcode.com/problems/design-browser-history
82 140 399 Word Break II Evaluate Division 32.6% 51.6% Hard Medium 0.5270660323324061 0.5332723866487983 https://leetcode.com/problems/word-break-ii https://leetcode.com/problems/evaluate-division
83 72 140 Edit Distance Word Break II 44.8% 32.6% Hard 0.4973447790261514 0.5270660323324061 https://leetcode.com/problems/edit-distance https://leetcode.com/problems/word-break-ii
84 199 72 Binary Tree Right Side View Edit Distance 54.1% 44.8% Medium Hard 0.48753322716717645 0.4973447790261514 https://leetcode.com/problems/binary-tree-right-side-view https://leetcode.com/problems/edit-distance
85 662 199 Maximum Width of Binary Tree Binary Tree Right Side View 41.0% 54.1% Medium 0.4763908360365309 0.48753322716717645 https://leetcode.com/problems/maximum-width-of-binary-tree https://leetcode.com/problems/binary-tree-right-side-view
86 759 662 Employee Free Time Maximum Width of Binary Tree 66.3% 41.0% Hard Medium 0.4763656648250958 0.4763908360365309 https://leetcode.com/problems/employee-free-time https://leetcode.com/problems/maximum-width-of-binary-tree
87 84 759 Largest Rectangle in Histogram Employee Free Time 35.2% 66.3% Hard 0.47303377627978027 0.4763656648250958 https://leetcode.com/problems/largest-rectangle-in-histogram https://leetcode.com/problems/employee-free-time
88 8 84 String to Integer (atoi) Largest Rectangle in Histogram 15.4% 35.2% Medium Hard 0.4660655155190756 0.47303377627978027 https://leetcode.com/problems/string-to-integer-atoi https://leetcode.com/problems/largest-rectangle-in-histogram
89 128 8 Longest Consecutive Sequence String to Integer (atoi) 45.1% 15.4% Hard Medium 0.4586585434961303 0.4660655155190756 https://leetcode.com/problems/longest-consecutive-sequence https://leetcode.com/problems/string-to-integer-atoi
90 41 128 First Missing Positive Longest Consecutive Sequence 32.0% 45.1% Hard 0.4577280774627401 0.4586585434961303 https://leetcode.com/problems/first-missing-positive https://leetcode.com/problems/longest-consecutive-sequence
91 162 41 Find Peak Element First Missing Positive 43.3% 32.0% Medium Hard 0.4542122961558814 0.4577280774627401 https://leetcode.com/problems/find-peak-element https://leetcode.com/problems/first-missing-positive
92 739 162 Daily Temperatures Find Peak Element 63.3% 43.3% Medium 0.4492773337550074 0.4542122961558814 https://leetcode.com/problems/daily-temperatures https://leetcode.com/problems/find-peak-element
93 328 739 Odd Even Linked List Daily Temperatures 55.7% 63.3% Medium 0.44107885769261934 0.4492773337550074 https://leetcode.com/problems/odd-even-linked-list https://leetcode.com/problems/daily-temperatures
94 126 328 Word Ladder II Odd Even Linked List 22.1% 55.7% Hard Medium 0.43777160210436394 0.44107885769261934 https://leetcode.com/problems/word-ladder-ii https://leetcode.com/problems/odd-even-linked-list
95 50 126 Pow(x;n) Word Ladder II 30.3% 22.1% Medium Hard 0.4274653596092084 0.43777160210436394 https://leetcode.com/problems/powx-n https://leetcode.com/problems/word-ladder-ii
96 535 50 Encode and Decode TinyURL Pow(x;n) 79.9% 30.3% Medium 0.4221173972425086 0.4274653596092084 https://leetcode.com/problems/encode-and-decode-tinyurl https://leetcode.com/problems/powx-n
97 347 535 Top K Frequent Elements Encode and Decode TinyURL 61.2% 79.9% Medium 0.4113452979974663 0.4221173972425086 https://leetcode.com/problems/top-k-frequent-elements https://leetcode.com/problems/encode-and-decode-tinyurl
98 234 347 Palindrome Linked List Top K Frequent Elements 39.3% 61.2% Easy Medium 0.40610862095331074 0.4113452979974663 https://leetcode.com/problems/palindrome-linked-list https://leetcode.com/problems/top-k-frequent-elements
99 488 234 Zuma Game Palindrome Linked List 39.9% 39.3% Hard Easy 0.3999856423435388 0.40610862095331074 https://leetcode.com/problems/zuma-game https://leetcode.com/problems/palindrome-linked-list
100 118 488 Pascal's Triangle Zuma Game 52.5% 39.9% Easy Hard 0.3983282893707838 0.3999856423435388 https://leetcode.com/problems/pascals-triangle https://leetcode.com/problems/zuma-game
101 31 118 Next Permutation Pascal's Triangle 32.6% 52.5% Medium Easy 0.3965135773768611 0.3983282893707838 https://leetcode.com/problems/next-permutation https://leetcode.com/problems/pascals-triangle
102 11 31 Container With Most Water Next Permutation 50.8% 32.6% Medium 0.3920877580285051 0.3965135773768611 https://leetcode.com/problems/container-with-most-water https://leetcode.com/problems/next-permutation
103 496 11 Next Greater Element I Container With Most Water 63.8% 50.8% Easy Medium 0.39096401741736453 0.3920877580285051 https://leetcode.com/problems/next-greater-element-i https://leetcode.com/problems/container-with-most-water
104 171 496 Excel Sheet Column Number Next Greater Element I 55.9% 63.8% Easy 0.3891015365515057 0.39096401741736453 https://leetcode.com/problems/excel-sheet-column-number https://leetcode.com/problems/next-greater-element-i
105 9 171 Palindrome Number Excel Sheet Column Number 48.4% 55.9% Easy 0.3889248192216875 0.3891015365515057 https://leetcode.com/problems/palindrome-number https://leetcode.com/problems/excel-sheet-column-number
106 1047 9 Remove All Adjacent Duplicates In String Palindrome Number 68.6% 48.4% Easy 0.38744859425846845 0.3889248192216875 https://leetcode.com/problems/remove-all-adjacent-duplicates-in-string https://leetcode.com/problems/palindrome-number
107 34 1047 Find First and Last Position of Element in Sorted Array Remove All Adjacent Duplicates In String 36.2% 68.6% Medium Easy 0.3847852205330874 0.38744859425846845 https://leetcode.com/problems/find-first-and-last-position-of-element-in-sorted-array https://leetcode.com/problems/remove-all-adjacent-duplicates-in-string
108 349 34 Intersection of Two Arrays Find First and Last Position of Element in Sorted Array 62.5% 36.2% Easy Medium 0.3823387899165356 0.3847852205330874 https://leetcode.com/problems/intersection-of-two-arrays https://leetcode.com/problems/find-first-and-last-position-of-element-in-sorted-array
109 311 349 Sparse Matrix Multiplication Intersection of Two Arrays 61.9% 62.5% Medium Easy 0.37117603462953225 0.3823387899165356 https://leetcode.com/problems/sparse-matrix-multiplication https://leetcode.com/problems/intersection-of-two-arrays
110 79 311 Word Search Sparse Matrix Multiplication 35.6% 61.9% Medium 0.355241060704579 0.37117603462953225 https://leetcode.com/problems/word-search https://leetcode.com/problems/sparse-matrix-multiplication
111 44 79 Wildcard Matching Word Search 24.7% 35.6% Hard Medium 0.34881383996175425 0.355241060704579 https://leetcode.com/problems/wildcard-matching https://leetcode.com/problems/word-search
112 362 44 Design Hit Counter Wildcard Matching 63.7% 24.7% Medium Hard 0.34451909789108437 0.34881383996175425 https://leetcode.com/problems/design-hit-counter https://leetcode.com/problems/wildcard-matching
113 230 362 Kth Smallest Element in a BST Design Hit Counter 60.2% 63.7% Medium 0.3413184800841155 0.34451909789108437 https://leetcode.com/problems/kth-smallest-element-in-a-bst https://leetcode.com/problems/design-hit-counter
114 124 230 Binary Tree Maximum Path Sum Kth Smallest Element in a BST 34.3% 60.2% Hard Medium 0.33702679091242466 0.3413184800841155 https://leetcode.com/problems/binary-tree-maximum-path-sum https://leetcode.com/problems/kth-smallest-element-in-a-bst
115 268 124 Missing Number Binary Tree Maximum Path Sum 51.7% 34.3% Easy Hard 0.3338128467131867 0.33702679091242466 https://leetcode.com/problems/missing-number https://leetcode.com/problems/binary-tree-maximum-path-sum
116 64 268 Minimum Path Sum Missing Number 54.5% 51.7% Medium Easy 0.3317195432884912 0.3338128467131867 https://leetcode.com/problems/minimum-path-sum https://leetcode.com/problems/missing-number
117 215 64 Kth Largest Element in an Array Minimum Path Sum 55.4% 54.5% Medium 0.3300278321382259 0.3317195432884912 https://leetcode.com/problems/kth-largest-element-in-an-array https://leetcode.com/problems/minimum-path-sum
118 353 215 Design Snake Game Kth Largest Element in an Array 34.2% 55.4% Medium 0.32931497055013925 0.3300278321382259 https://leetcode.com/problems/design-snake-game https://leetcode.com/problems/kth-largest-element-in-an-array
119 46 353 Permutations Design Snake Game 63.5% 34.2% Medium 0.32304289477761106 0.32931497055013925 https://leetcode.com/problems/permutations https://leetcode.com/problems/design-snake-game
120 221 46 Maximal Square Permutations 37.7% 63.5% Medium 0.3057737602882765 0.32304289477761106 https://leetcode.com/problems/maximal-square https://leetcode.com/problems/permutations
121 17 221 Letter Combinations of a Phone Number Maximal Square 46.8% 37.7% Medium 0.30552675752628056 0.3057737602882765 https://leetcode.com/problems/letter-combinations-of-a-phone-number https://leetcode.com/problems/maximal-square
122 205 17 Isomorphic Strings Letter Combinations of a Phone Number 39.8% 46.8% Easy Medium 0.30101800626340847 0.30552675752628056 https://leetcode.com/problems/isomorphic-strings https://leetcode.com/problems/letter-combinations-of-a-phone-number
123 75 205 Sort Colors Isomorphic Strings 47.3% 39.8% Medium Easy 0.2778743740687611 0.30101800626340847 https://leetcode.com/problems/sort-colors https://leetcode.com/problems/isomorphic-strings
124 695 75 Max Area of Island Sort Colors 62.7% 47.3% Medium 0.2770125235595406 0.2778743740687611 https://leetcode.com/problems/max-area-of-island https://leetcode.com/problems/sort-colors
125 136 695 Single Number Max Area of Island 65.5% 62.7% Easy Medium 0.27522969174444734 0.2770125235595406 https://leetcode.com/problems/single-number https://leetcode.com/problems/max-area-of-island
126 22 136 Generate Parentheses Single Number 62.7% 65.5% Medium Easy 0.274428104404814 0.27522969174444734 https://leetcode.com/problems/generate-parentheses https://leetcode.com/problems/single-number
127 229 22 Majority Element II Generate Parentheses 35.6% 62.7% Medium 0.2683771567744578 0.274428104404814 https://leetcode.com/problems/majority-element-ii https://leetcode.com/problems/generate-parentheses
128 503 229 Next Greater Element II Majority Element II 56.5% 35.6% Medium 0.26590939545778536 0.2683771567744578 https://leetcode.com/problems/next-greater-element-ii https://leetcode.com/problems/majority-element-ii
129 209 503 Minimum Size Subarray Sum Next Greater Element II 38.2% 56.5% Medium 0.26557641498817536 0.26590939545778536 https://leetcode.com/problems/minimum-size-subarray-sum https://leetcode.com/problems/next-greater-element-ii
130 694 209 Number of Distinct Islands Minimum Size Subarray Sum 56.0% 38.2% Medium 0.26236426446749106 0.26557641498817536 https://leetcode.com/problems/number-of-distinct-islands https://leetcode.com/problems/minimum-size-subarray-sum
131 422 694 Valid Word Square Number of Distinct Islands 37.7% 56.0% Easy Medium 0.2578291093020998 0.26236426446749106 https://leetcode.com/problems/valid-word-square https://leetcode.com/problems/number-of-distinct-islands
132 252 422 Meeting Rooms Valid Word Square 54.6% 37.7% Easy 0.2539330877151399 0.2578291093020998 https://leetcode.com/problems/meeting-rooms https://leetcode.com/problems/valid-word-square
133 286 252 Walls and Gates Meeting Rooms 54.5% 54.6% Medium Easy 0.2531417471996048 0.2539330877151399 https://leetcode.com/problems/walls-and-gates https://leetcode.com/problems/meeting-rooms
134 48 286 Rotate Image Walls and Gates 56.7% 54.5% Medium 0.2525907526405108 0.2531417471996048 https://leetcode.com/problems/rotate-image https://leetcode.com/problems/walls-and-gates
135 821 48 Shortest Distance to a Character Rotate Image 66.9% 56.7% Easy Medium 0.24320527953164725 0.2525907526405108 https://leetcode.com/problems/shortest-distance-to-a-character https://leetcode.com/problems/rotate-image
136 240 821 Search a 2D Matrix II Shortest Distance to a Character 43.2% 66.9% Medium Easy 0.24218097481422138 0.24320527953164725 https://leetcode.com/problems/search-a-2d-matrix-ii https://leetcode.com/problems/shortest-distance-to-a-character
137 716 240 Max Stack Search a 2D Matrix II 42.6% 43.2% Easy Medium 0.24108416003009112 0.24218097481422138 https://leetcode.com/problems/max-stack https://leetcode.com/problems/search-a-2d-matrix-ii
138 85 716 Maximal Rectangle Max Stack 37.7% 42.6% Hard Easy 0.2404427185770219 0.24108416003009112 https://leetcode.com/problems/maximal-rectangle https://leetcode.com/problems/max-stack
139 63 85 Unique Paths II Maximal Rectangle 34.6% 37.7% Medium Hard 0.2348446787507317 0.2404427185770219 https://leetcode.com/problems/unique-paths-ii https://leetcode.com/problems/maximal-rectangle
140 76 63 Minimum Window Substring Unique Paths II 34.6% 34.6% Hard Medium 0.23436338587849237 0.2348446787507317 https://leetcode.com/problems/minimum-window-substring https://leetcode.com/problems/unique-paths-ii
141 572 76 Subtree of Another Tree Minimum Window Substring 44.1% 34.6% Easy Hard 0.23328636844031944 0.23436338587849237 https://leetcode.com/problems/subtree-of-another-tree https://leetcode.com/problems/minimum-window-substring
142 151 572 Reverse Words in a String Subtree of Another Tree 21.9% 44.1% Medium Easy 0.23114347137583938 0.23328636844031944 https://leetcode.com/problems/reverse-words-in-a-string https://leetcode.com/problems/subtree-of-another-tree
143 412 151 Fizz Buzz Reverse Words in a String 62.3% 21.9% Easy Medium 0.23023806672070082 0.23114347137583938 https://leetcode.com/problems/fizz-buzz https://leetcode.com/problems/reverse-words-in-a-string
144 652 412 Find Duplicate Subtrees Fizz Buzz 50.2% 62.3% Medium Easy 0.23015822831359434 0.23023806672070082 https://leetcode.com/problems/find-duplicate-subtrees https://leetcode.com/problems/fizz-buzz
145 924 652 Minimize Malware Spread Find Duplicate Subtrees 42.0% 50.2% Hard Medium 0.22884157242884745 0.23015822831359434 https://leetcode.com/problems/minimize-malware-spread https://leetcode.com/problems/find-duplicate-subtrees
146 91 924 Decode Ways Minimize Malware Spread 24.7% 42.0% Medium Hard 0.2254754606491885 0.22884157242884745 https://leetcode.com/problems/decode-ways https://leetcode.com/problems/minimize-malware-spread
147 238 91 Product of Array Except Self Decode Ways 60.1% 24.7% Medium 0.22477655808124566 0.2254754606491885 https://leetcode.com/problems/product-of-array-except-self https://leetcode.com/problems/decode-ways
148 1223 238 Dice Roll Simulation Product of Array Except Self 45.6% 60.1% Medium 0.2166710368085923 0.22477655808124566 https://leetcode.com/problems/dice-roll-simulation https://leetcode.com/problems/product-of-array-except-self
149 560 1223 Subarray Sum Equals K Dice Roll Simulation 43.9% 45.6% Medium 0.21610695147886494 0.2166710368085923 https://leetcode.com/problems/subarray-sum-equals-k https://leetcode.com/problems/dice-roll-simulation
150 442 560 Find All Duplicates in an Array Subarray Sum Equals K 67.8% 43.9% Medium 0.21334822899856468 0.21610695147886494 https://leetcode.com/problems/find-all-duplicates-in-an-array https://leetcode.com/problems/subarray-sum-equals-k
151 6 442 ZigZag Conversion Find All Duplicates in an Array 36.3% 67.8% Medium 0.21040551802808702 0.21334822899856468 https://leetcode.com/problems/zigzag-conversion https://leetcode.com/problems/find-all-duplicates-in-an-array
152 287 6 Find the Duplicate Number ZigZag Conversion 55.5% 36.3% Medium 0.20950804936372536 0.21040551802808702 https://leetcode.com/problems/find-the-duplicate-number https://leetcode.com/problems/zigzag-conversion
153 315 287 Count of Smaller Numbers After Self Find the Duplicate Number 41.5% 55.5% Hard Medium 0.20806843787404064 0.20950804936372536 https://leetcode.com/problems/count-of-smaller-numbers-after-self https://leetcode.com/problems/find-the-duplicate-number
154 232 315 Implement Queue using Stacks Count of Smaller Numbers After Self 49.6% 41.5% Easy Hard 0.20615437352136948 0.20806843787404064 https://leetcode.com/problems/implement-queue-using-stacks https://leetcode.com/problems/count-of-smaller-numbers-after-self
155 208 232 Implement Trie (Prefix Tree) Implement Queue using Stacks 49.4% 49.6% Medium Easy 0.20593713931590088 0.20615437352136948 https://leetcode.com/problems/implement-trie-prefix-tree https://leetcode.com/problems/implement-queue-using-stacks
156 16 208 3Sum Closest Implement Trie (Prefix Tree) 46.0% 49.4% Medium 0.2058081329110988 0.20593713931590088 https://leetcode.com/problems/3sum-closest https://leetcode.com/problems/implement-trie-prefix-tree
157 513 16 Find Bottom Left Tree Value 3Sum Closest 61.5% 46.0% Medium 0.20328581918106378 0.2058081329110988 https://leetcode.com/problems/find-bottom-left-tree-value https://leetcode.com/problems/3sum-closest
158 543 513 Diameter of Binary Tree Find Bottom Left Tree Value 48.4% 61.5% Easy Medium 0.2027481163433401 0.20328581918106378 https://leetcode.com/problems/diameter-of-binary-tree https://leetcode.com/problems/find-bottom-left-tree-value
159 836 543 Rectangle Overlap Diameter of Binary Tree 48.6% 48.4% Easy 0.19944370144318244 0.2027481163433401 https://leetcode.com/problems/rectangle-overlap https://leetcode.com/problems/diameter-of-binary-tree
160 13 836 Roman to Integer Rectangle Overlap 55.7% 48.6% Easy 0.19870163716069 0.19944370144318244 https://leetcode.com/problems/roman-to-integer https://leetcode.com/problems/rectangle-overlap
161 510 13 Inorder Successor in BST II Roman to Integer 58.0% 55.7% Medium Easy 0.19714257713870645 0.19870163716069 https://leetcode.com/problems/inorder-successor-in-bst-ii https://leetcode.com/problems/roman-to-integer
162 329 510 Longest Increasing Path in a Matrix Inorder Successor in BST II 43.4% 58.0% Hard Medium 0.1954447382872236 0.19714257713870645 https://leetcode.com/problems/longest-increasing-path-in-a-matrix https://leetcode.com/problems/inorder-successor-in-bst-ii
163 1060 329 Missing Element in Sorted Array Longest Increasing Path in a Matrix 54.5% 43.4% Medium Hard 0.1950605825713844 0.1954447382872236 https://leetcode.com/problems/missing-element-in-sorted-array https://leetcode.com/problems/longest-increasing-path-in-a-matrix
164 94 1060 Binary Tree Inorder Traversal Missing Element in Sorted Array 63.3% 54.5% Medium 0.1948180665300998 0.1950605825713844 https://leetcode.com/problems/binary-tree-inorder-traversal https://leetcode.com/problems/missing-element-in-sorted-array
165 120 94 Triangle Binary Tree Inorder Traversal 44.2% 63.3% Medium 0.19325424809414601 0.1948180665300998 https://leetcode.com/problems/triangle https://leetcode.com/problems/binary-tree-inorder-traversal
166 92 120 Reverse Linked List II Triangle 38.8% 44.2% Medium 0.19248981022320735 0.19325424809414601 https://leetcode.com/problems/reverse-linked-list-ii https://leetcode.com/problems/triangle
167 153 92 Find Minimum in Rotated Sorted Array Reverse Linked List II 45.1% 38.8% Medium 0.191995528322351 0.19248981022320735 https://leetcode.com/problems/find-minimum-in-rotated-sorted-array https://leetcode.com/problems/reverse-linked-list-ii
168 207 153 Course Schedule Find Minimum in Rotated Sorted Array 43.1% 45.1% Medium 0.19082802919680183 0.191995528322351 https://leetcode.com/problems/course-schedule https://leetcode.com/problems/find-minimum-in-rotated-sorted-array
169 402 207 Remove K Digits Course Schedule 28.4% 43.1% Medium 0.18924199963852842 0.19082802919680183 https://leetcode.com/problems/remove-k-digits https://leetcode.com/problems/course-schedule
170 658 402 Find K Closest Elements Remove K Digits 40.9% 28.4% Medium 0.18663941293482042 0.18924199963852842 https://leetcode.com/problems/find-k-closest-elements https://leetcode.com/problems/remove-k-digits
171 518 658 Coin Change 2 Find K Closest Elements 50.2% 40.9% Medium 0.18373876827436816 0.18663941293482042 https://leetcode.com/problems/coin-change-2 https://leetcode.com/problems/find-k-closest-elements
172 889 518 Construct Binary Tree from Preorder and Postorder Traversal Coin Change 2 66.2% 50.2% Medium 0.18315872720701828 0.18373876827436816 https://leetcode.com/problems/construct-binary-tree-from-preorder-and-postorder-traversal https://leetcode.com/problems/coin-change-2
173 70 889 Climbing Stairs Construct Binary Tree from Preorder and Postorder Traversal 47.8% 66.2% Easy Medium 0.1820258821345787 0.18315872720701828 https://leetcode.com/problems/climbing-stairs https://leetcode.com/problems/construct-binary-tree-from-preorder-and-postorder-traversal
174 226 70 Invert Binary Tree Climbing Stairs 65.0% 47.8% Easy 0.18135450553395235 0.1820258821345787 https://leetcode.com/problems/invert-binary-tree https://leetcode.com/problems/climbing-stairs
175 19 226 Remove Nth Node From End of List Invert Binary Tree 35.2% 65.0% Medium Easy 0.17998225417577363 0.18135450553395235 https://leetcode.com/problems/remove-nth-node-from-end-of-list https://leetcode.com/problems/invert-binary-tree
176 203 19 Remove Linked List Elements Remove Nth Node From End of List 38.6% 35.2% Easy Medium 0.17950766176348673 0.17998225417577363 https://leetcode.com/problems/remove-linked-list-elements https://leetcode.com/problems/remove-nth-node-from-end-of-list
177 1244 203 Design A Leaderboard Remove Linked List Elements 60.7% 38.6% Medium Easy 0.17763094743610072 0.17950766176348673 https://leetcode.com/problems/design-a-leaderboard https://leetcode.com/problems/remove-linked-list-elements
178 202 1244 Happy Number Design A Leaderboard 50.4% 60.7% Easy Medium 0.17408932588103054 0.17763094743610072 https://leetcode.com/problems/happy-number https://leetcode.com/problems/design-a-leaderboard
179 1249 202 Minimum Remove to Make Valid Parentheses Happy Number 62.5% 50.4% Medium Easy 0.17148553745267525 0.17408932588103054 https://leetcode.com/problems/minimum-remove-to-make-valid-parentheses https://leetcode.com/problems/happy-number
180 97 1249 Interleaving String Minimum Remove to Make Valid Parentheses 31.5% 62.5% Hard Medium 0.17070662167607636 0.17148553745267525 https://leetcode.com/problems/interleaving-string https://leetcode.com/problems/minimum-remove-to-make-valid-parentheses
181 344 97 Reverse String Interleaving String 68.5% 31.5% Easy Hard 0.16907996884887766 0.17070662167607636 https://leetcode.com/problems/reverse-string https://leetcode.com/problems/interleaving-string
182 971 344 Flip Binary Tree To Match Preorder Traversal Reverse String 45.7% 68.5% Medium Easy 0.1670540846631662 0.16907996884887766 https://leetcode.com/problems/flip-binary-tree-to-match-preorder-traversal https://leetcode.com/problems/reverse-string
183 529 971 Minesweeper Flip Binary Tree To Match Preorder Traversal 59.1% 45.7% Medium 0.16635770580494058 0.1670540846631662 https://leetcode.com/problems/minesweeper https://leetcode.com/problems/flip-binary-tree-to-match-preorder-traversal
184 727 529 Minimum Window Subsequence Minesweeper 41.8% 59.1% Hard Medium 0.15970111035790735 0.16635770580494058 https://leetcode.com/problems/minimum-window-subsequence https://leetcode.com/problems/minesweeper
185 101 727 Symmetric Tree Minimum Window Subsequence 46.8% 41.8% Easy Hard 0.15457702816029933 0.15970111035790735 https://leetcode.com/problems/symmetric-tree https://leetcode.com/problems/minimum-window-subsequence
186 414 101 Third Maximum Number Symmetric Tree 30.5% 46.8% Easy 0.15407631103237035 0.15457702816029933 https://leetcode.com/problems/third-maximum-number https://leetcode.com/problems/symmetric-tree
187 417 414 Pacific Atlantic Water Flow Third Maximum Number 41.1% 30.5% Medium Easy 0.15226921172755276 0.15407631103237035 https://leetcode.com/problems/pacific-atlantic-water-flow https://leetcode.com/problems/third-maximum-number
188 470 417 Implement Rand10() Using Rand7() Pacific Atlantic Water Flow 46.3% 41.1% Medium 0.15154989812720093 0.15226921172755276 https://leetcode.com/problems/implement-rand10-using-rand7 https://leetcode.com/problems/pacific-atlantic-water-flow
189 386 470 Lexicographical Numbers Implement Rand10() Using Rand7() 51.6% 46.3% Medium 0.14854271203296188 0.15154989812720093 https://leetcode.com/problems/lexicographical-numbers https://leetcode.com/problems/implement-rand10-using-rand7
190 504 386 Base 7 Lexicographical Numbers 46.2% 51.6% Easy Medium 0.14612656455721032 0.14854271203296188 https://leetcode.com/problems/base-7 https://leetcode.com/problems/lexicographical-numbers
191 24 504 Swap Nodes in Pairs Base 7 50.4% 46.2% Medium Easy 0.14499222491243005 0.14612656455721032 https://leetcode.com/problems/swap-nodes-in-pairs https://leetcode.com/problems/base-7
192 237 24 Delete Node in a Linked List Swap Nodes in Pairs 63.8% 50.4% Easy Medium 0.14499031042859406 0.14499222491243005 https://leetcode.com/problems/delete-node-in-a-linked-list https://leetcode.com/problems/swap-nodes-in-pairs
193 852 237 Peak Index in a Mountain Array Delete Node in a Linked List 71.6% 63.8% Easy 0.1445812288111076 0.14499031042859406 https://leetcode.com/problems/peak-index-in-a-mountain-array https://leetcode.com/problems/delete-node-in-a-linked-list
194 415 852 Add Strings Peak Index in a Mountain Array 47.5% 71.6% Easy 0.14343082219506165 0.1445812288111076 https://leetcode.com/problems/add-strings https://leetcode.com/problems/peak-index-in-a-mountain-array
195 426 415 Convert Binary Search Tree to Sorted Doubly Linked List Add Strings 59.1% 47.5% Medium Easy 0.14252878462127264 0.14343082219506165 https://leetcode.com/problems/convert-binary-search-tree-to-sorted-doubly-linked-list https://leetcode.com/problems/add-strings
196 348 426 Design Tic-Tac-Toe Convert Binary Search Tree to Sorted Doubly Linked List 54.3% 59.1% Medium 0.14252878462127264 0.14252878462127264 https://leetcode.com/problems/design-tic-tac-toe https://leetcode.com/problems/convert-binary-search-tree-to-sorted-doubly-linked-list
197 188 348 Best Time to Buy and Sell Stock IV Design Tic-Tac-Toe 28.0% 54.3% Hard Medium 0.1396533313293086 0.14252878462127264 https://leetcode.com/problems/best-time-to-buy-and-sell-stock-iv https://leetcode.com/problems/design-tic-tac-toe
198 225 188 Implement Stack using Queues Best Time to Buy and Sell Stock IV 45.1% 28.0% Easy Hard 0.1390589799907463 0.1396533313293086 https://leetcode.com/problems/implement-stack-using-queues https://leetcode.com/problems/best-time-to-buy-and-sell-stock-iv
199 250 225 Count Univalue Subtrees Implement Stack using Queues 52.0% 45.1% Medium Easy 0.13767409129953323 0.1390589799907463 https://leetcode.com/problems/count-univalue-subtrees https://leetcode.com/problems/implement-stack-using-queues
200 71 250 Simplify Path Count Univalue Subtrees 32.6% 52.0% Medium 0.13762137787604775 0.13767409129953323 https://leetcode.com/problems/simplify-path https://leetcode.com/problems/count-univalue-subtrees
201 565 71 Array Nesting Simplify Path 55.5% 32.6% Medium 0.13762137787604775 0.13762137787604775 https://leetcode.com/problems/array-nesting https://leetcode.com/problems/simplify-path
202 397 565 Integer Replacement Array Nesting 32.9% 55.5% Medium 0.13720112151348504 0.13762137787604775 https://leetcode.com/problems/integer-replacement https://leetcode.com/problems/array-nesting
203 99 397 Recover Binary Search Tree Integer Replacement 39.7% 32.9% Hard Medium 0.1363765523041528 0.13720112151348504 https://leetcode.com/problems/recover-binary-search-tree https://leetcode.com/problems/integer-replacement
204 81 99 Search in Rotated Sorted Array II Recover Binary Search Tree 33.0% 39.7% Medium Hard 0.13455967035008862 0.1363765523041528 https://leetcode.com/problems/search-in-rotated-sorted-array-ii https://leetcode.com/problems/recover-binary-search-tree
205 678 81 Valid Parenthesis String Search in Rotated Sorted Array II 31.0% 33.0% Medium 0.13417736429600724 0.13455967035008862 https://leetcode.com/problems/valid-parenthesis-string https://leetcode.com/problems/search-in-rotated-sorted-array-ii
206 125 678 Valid Palindrome Valid Parenthesis String 36.7% 31.0% Easy Medium 0.13416684727631417 0.13417736429600724 https://leetcode.com/problems/valid-palindrome https://leetcode.com/problems/valid-parenthesis-string
207 378 125 Kth Smallest Element in a Sorted Matrix Valid Palindrome 54.3% 36.7% Medium Easy 0.13397014948713715 0.13416684727631417 https://leetcode.com/problems/kth-smallest-element-in-a-sorted-matrix https://leetcode.com/problems/valid-palindrome
208 1347 378 Minimum Number of Steps to Make Two Strings Anagram Kth Smallest Element in a Sorted Matrix 74.7% 54.3% Medium 0.13375498122243565 0.13397014948713715 https://leetcode.com/problems/minimum-number-of-steps-to-make-two-strings-anagram https://leetcode.com/problems/kth-smallest-element-in-a-sorted-matrix
209 123 1347 Best Time to Buy and Sell Stock III Minimum Number of Steps to Make Two Strings Anagram 37.5% 74.7% Hard Medium 0.12991500860874672 0.13375498122243565 https://leetcode.com/problems/best-time-to-buy-and-sell-stock-iii https://leetcode.com/problems/minimum-number-of-steps-to-make-two-strings-anagram
210 359 123 Logger Rate Limiter Best Time to Buy and Sell Stock III 70.8% 37.5% Easy Hard 0.1248502028794759 0.12991500860874672 https://leetcode.com/problems/logger-rate-limiter https://leetcode.com/problems/best-time-to-buy-and-sell-stock-iii
211 109 359 Convert Sorted List to Binary Search Tree Logger Rate Limiter 47.7% 70.8% Medium Easy 0.12302181451266285 0.1248502028794759 https://leetcode.com/problems/convert-sorted-list-to-binary-search-tree https://leetcode.com/problems/logger-rate-limiter
212 228 109 Summary Ranges Convert Sorted List to Binary Search Tree 39.5% 47.7% Medium 0.1207191114343526 0.12302181451266285 https://leetcode.com/problems/summary-ranges https://leetcode.com/problems/convert-sorted-list-to-binary-search-tree
213 404 228 Sum of Left Leaves Summary Ranges 50.9% 39.5% Easy Medium 0.1193071581156751 0.1207191114343526 https://leetcode.com/problems/sum-of-left-leaves https://leetcode.com/problems/summary-ranges
214 341 404 Flatten Nested List Iterator Sum of Left Leaves 52.9% 50.9% Medium Easy 0.11879160861126825 0.1193071581156751 https://leetcode.com/problems/flatten-nested-list-iterator https://leetcode.com/problems/sum-of-left-leaves
215 1054 341 Distant Barcodes Flatten Nested List Iterator 43.2% 52.9% Medium 0.11855973472455572 0.11879160861126825 https://leetcode.com/problems/distant-barcodes https://leetcode.com/problems/flatten-nested-list-iterator
216 103 1054 Binary Tree Zigzag Level Order Traversal Distant Barcodes 48.3% 43.2% Medium 0.11648551004070631 0.11855973472455572 https://leetcode.com/problems/binary-tree-zigzag-level-order-traversal https://leetcode.com/problems/distant-barcodes
217 435 103 Non-overlapping Intervals Binary Tree Zigzag Level Order Traversal 42.9% 48.3% Medium 0.1158164666843426 0.11648551004070631 https://leetcode.com/problems/non-overlapping-intervals https://leetcode.com/problems/binary-tree-zigzag-level-order-traversal
218 61 435 Rotate List Non-overlapping Intervals 30.0% 42.9% Medium 0.11528615545779625 0.1158164666843426 https://leetcode.com/problems/rotate-list https://leetcode.com/problems/non-overlapping-intervals
219 28 61 Implement strStr() Rotate List 34.5% 30.0% Easy Medium 0.11289821506454988 0.11528615545779625 https://leetcode.com/problems/implement-strstr https://leetcode.com/problems/rotate-list
220 721 28 Accounts Merge Implement strStr() 48.8% 34.5% Medium Easy 0.11257939199174459 0.11289821506454988 https://leetcode.com/problems/accounts-merge https://leetcode.com/problems/implement-strstr
221 708 721 Insert into a Sorted Circular Linked List Accounts Merge 31.6% 48.8% Medium 0.11219725014953141 0.11257939199174459 https://leetcode.com/problems/insert-into-a-sorted-circular-linked-list https://leetcode.com/problems/accounts-merge
222 532 708 K-diff Pairs in an Array Insert into a Sorted Circular Linked List 31.6% 31.6% Easy Medium 0.111723209445655 0.11219725014953141 https://leetcode.com/problems/k-diff-pairs-in-an-array https://leetcode.com/problems/insert-into-a-sorted-circular-linked-list
223 82 532 Remove Duplicates from Sorted List II K-diff Pairs in an Array 36.8% 31.6% Medium Easy 0.1110882064011508 0.111723209445655 https://leetcode.com/problems/remove-duplicates-from-sorted-list-ii https://leetcode.com/problems/k-diff-pairs-in-an-array
224 1188 82 Design Bounded Blocking Queue Remove Duplicates from Sorted List II 70.5% 36.8% Medium 0.11030454201470608 0.1110882064011508 https://leetcode.com/problems/design-bounded-blocking-queue https://leetcode.com/problems/remove-duplicates-from-sorted-list-ii
225 198 1188 House Robber Design Bounded Blocking Queue 42.0% 70.5% Easy Medium 0.10785152815546674 0.11030454201470608 https://leetcode.com/problems/house-robber https://leetcode.com/problems/design-bounded-blocking-queue
226 108 198 Convert Sorted Array to Binary Search Tree House Robber 57.9% 42.0% Easy 0.10686314554236129 0.10785152815546674 https://leetcode.com/problems/convert-sorted-array-to-binary-search-tree https://leetcode.com/problems/house-robber
227 112 108 Path Sum Convert Sorted Array to Binary Search Tree 41.2% 57.9% Easy 0.10531937947649221 0.10686314554236129 https://leetcode.com/problems/path-sum https://leetcode.com/problems/convert-sorted-array-to-binary-search-tree
228 26 112 Remove Duplicates from Sorted Array Path Sum 45.1% 41.2% Easy 0.10424167132184688 0.10531937947649221 https://leetcode.com/problems/remove-duplicates-from-sorted-array https://leetcode.com/problems/path-sum
229 289 26 Game of Life Remove Duplicates from Sorted Array 54.5% 45.1% Medium Easy 0.10365526175211173 0.10424167132184688 https://leetcode.com/problems/game-of-life https://leetcode.com/problems/remove-duplicates-from-sorted-array
230 336 289 Palindrome Pairs Game of Life 33.7% 54.5% Hard Medium 0.10259559233600947 0.10365526175211173 https://leetcode.com/problems/palindrome-pairs https://leetcode.com/problems/game-of-life
231 141 336 Linked List Cycle Palindrome Pairs 41.1% 33.7% Easy Hard 0.10063328674952829 0.10259559233600947 https://leetcode.com/problems/linked-list-cycle https://leetcode.com/problems/palindrome-pairs
232 90 141 Subsets II Linked List Cycle 47.1% 41.1% Medium Easy 0.09830555874512009 0.10063328674952829 https://leetcode.com/problems/subsets-ii https://leetcode.com/problems/linked-list-cycle
233 642 90 Design Search Autocomplete System Subsets II 44.7% 47.1% Hard Medium 0.09500811062818718 0.09830555874512009 https://leetcode.com/problems/design-search-autocomplete-system https://leetcode.com/problems/subsets-ii
234 567 642 Permutation in String Design Search Autocomplete System 44.4% 44.7% Medium Hard 0.08995633353390375 0.09500811062818718 https://leetcode.com/problems/permutation-in-string https://leetcode.com/problems/design-search-autocomplete-system
235 285 567 Inorder Successor in BST Permutation in String 40.4% 44.4% Medium 0.08649364464568089 0.08995633353390375 https://leetcode.com/problems/inorder-successor-in-bst https://leetcode.com/problems/permutation-in-string
236 991 285 Broken Calculator Inorder Successor in BST 45.6% 40.4% Medium 0.08515780834030685 0.08649364464568089 https://leetcode.com/problems/broken-calculator https://leetcode.com/problems/inorder-successor-in-bst
237 131 991 Palindrome Partitioning Broken Calculator 47.5% 45.6% Medium 0.08388550716227433 0.08515780834030685 https://leetcode.com/problems/palindrome-partitioning https://leetcode.com/problems/broken-calculator
238 297 131 Serialize and Deserialize Binary Tree Palindrome Partitioning 47.5% 47.5% Hard Medium 0.0834242216674795 0.08388550716227433 https://leetcode.com/problems/serialize-and-deserialize-binary-tree https://leetcode.com/problems/palindrome-partitioning
239 204 297 Count Primes Serialize and Deserialize Binary Tree 31.5% 47.5% Easy Hard 0.08336741437414971 0.0834242216674795 https://leetcode.com/problems/count-primes https://leetcode.com/problems/serialize-and-deserialize-binary-tree
240 857 204 Minimum Cost to Hire K Workers Count Primes 49.6% 31.5% Hard Easy 0.08320805808821628 0.08336741437414971 https://leetcode.com/problems/minimum-cost-to-hire-k-workers https://leetcode.com/problems/count-primes
241 557 857 Reverse Words in a String III Minimum Cost to Hire K Workers 69.8% 49.6% Easy Hard 0.0828837318214325 0.08320805808821628 https://leetcode.com/problems/reverse-words-in-a-string-iii https://leetcode.com/problems/minimum-cost-to-hire-k-workers
242 813 557 Largest Sum of Averages Reverse Words in a String III 49.9% 69.8% Medium Easy 0.08201315166083516 0.0828837318214325 https://leetcode.com/problems/largest-sum-of-averages https://leetcode.com/problems/reverse-words-in-a-string-iii
243 737 813 Sentence Similarity II Largest Sum of Averages 45.8% 49.9% Medium 0.08167803101426718 0.08201315166083516 https://leetcode.com/problems/sentence-similarity-ii https://leetcode.com/problems/largest-sum-of-averages
244 74 737 Search a 2D Matrix Sentence Similarity II 36.5% 45.8% Medium 0.08108897817576358 0.08167803101426718 https://leetcode.com/problems/search-a-2d-matrix https://leetcode.com/problems/sentence-similarity-ii
245 448 74 Find All Numbers Disappeared in an Array Search a 2D Matrix 55.9% 36.5% Easy Medium 0.08099584515633794 0.08108897817576358 https://leetcode.com/problems/find-all-numbers-disappeared-in-an-array https://leetcode.com/problems/search-a-2d-matrix
246 96 448 Unique Binary Search Trees Find All Numbers Disappeared in an Array 52.9% 55.9% Medium Easy 0.08025695513016742 0.08099584515633794 https://leetcode.com/problems/unique-binary-search-trees https://leetcode.com/problems/find-all-numbers-disappeared-in-an-array
247 673 96 Number of Longest Increasing Subsequence Unique Binary Search Trees 35.7% 52.9% Medium 0.08025695513016742 0.08025695513016742 https://leetcode.com/problems/number-of-longest-increasing-subsequence https://leetcode.com/problems/unique-binary-search-trees
248 303 673 Range Sum Query - Immutable Number of Longest Increasing Subsequence 44.7% 35.7% Easy Medium 0.08001707486353822 0.08025695513016742 https://leetcode.com/problems/range-sum-query-immutable https://leetcode.com/problems/number-of-longest-increasing-subsequence
249 392 303 Is Subsequence Range Sum Query - Immutable 49.2% 44.7% Easy 0.07897107508821988 0.08001707486353822 https://leetcode.com/problems/is-subsequence https://leetcode.com/problems/range-sum-query-immutable
250 784 392 Letter Case Permutation Is Subsequence 64.6% 49.2% Medium Easy 0.0787033338274549 0.07897107508821988 https://leetcode.com/problems/letter-case-permutation https://leetcode.com/problems/is-subsequence
251 189 784 Rotate Array Letter Case Permutation 34.7% 64.6% Easy Medium 0.07859731751631634 0.0787033338274549 https://leetcode.com/problems/rotate-array https://leetcode.com/problems/letter-case-permutation
252 1297 189 Maximum Number of Occurrences of a Substring Rotate Array 47.3% 34.7% Medium Easy 0.07770898432731625 0.07859731751631634 https://leetcode.com/problems/maximum-number-of-occurrences-of-a-substring https://leetcode.com/problems/rotate-array
253 55 1297 Jump Game Maximum Number of Occurrences of a Substring 34.6% 47.3% Medium 0.07748307858552587 0.07770898432731625 https://leetcode.com/problems/jump-game https://leetcode.com/problems/maximum-number-of-occurrences-of-a-substring
254 1155 55 Number of Dice Rolls With Target Sum Jump Game 49.0% 34.6% Medium 0.07356256717701673 0.07748307858552587 https://leetcode.com/problems/number-of-dice-rolls-with-target-sum https://leetcode.com/problems/jump-game
255 450 1155 Delete Node in a BST Number of Dice Rolls With Target Sum 43.1% 49.0% Medium 0.07216836682371046 0.07356256717701673 https://leetcode.com/problems/delete-node-in-a-bst https://leetcode.com/problems/number-of-dice-rolls-with-target-sum
256 35 450 Search Insert Position Delete Node in a BST 42.6% 43.1% Easy Medium 0.07187646029497265 0.07216836682371046 https://leetcode.com/problems/search-insert-position https://leetcode.com/problems/delete-node-in-a-bst
257 1114 35 Print in Order Search Insert Position 65.7% 42.6% Easy 0.0700675626167169 0.07187646029497265 https://leetcode.com/problems/print-in-order https://leetcode.com/problems/search-insert-position
258 432 1114 All O`one Data Structure Print in Order 32.4% 65.7% Hard Easy 0.06887402901251127 0.0700675626167169 https://leetcode.com/problems/all-oone-data-structure https://leetcode.com/problems/print-in-order
259 338 432 Counting Bits All O`one Data Structure 69.5% 32.4% Medium Hard 0.06616169008990747 0.06887402901251127 https://leetcode.com/problems/counting-bits https://leetcode.com/problems/all-oone-data-structure
260 1145 338 Binary Tree Coloring Game Counting Bits 51.2% 69.5% Medium 0.06592172080482424 0.06616169008990747 https://leetcode.com/problems/binary-tree-coloring-game https://leetcode.com/problems/counting-bits
261 167 1145 Two Sum II - Input array is sorted Binary Tree Coloring Game 54.1% 51.2% Easy Medium 0.06546140041370939 0.06592172080482424 https://leetcode.com/problems/two-sum-ii-input-array-is-sorted https://leetcode.com/problems/binary-tree-coloring-game
262 14 167 Longest Common Prefix Two Sum II - Input array is sorted 35.4% 54.1% Easy 0.06517750377430989 0.06546140041370939 https://leetcode.com/problems/longest-common-prefix https://leetcode.com/problems/two-sum-ii-input-array-is-sorted
263 846 14 Hand of Straights Longest Common Prefix 54.2% 35.4% Medium Easy 0.06472423940349638 0.06517750377430989 https://leetcode.com/problems/hand-of-straights https://leetcode.com/problems/longest-common-prefix
264 1105 846 Filling Bookcase Shelves Hand of Straights 58.1% 54.2% Medium 0.06464285626208545 0.06472423940349638 https://leetcode.com/problems/filling-bookcase-shelves https://leetcode.com/problems/hand-of-straights
265 36 1105 Valid Sudoku Filling Bookcase Shelves 48.7% 58.1% Medium 0.06350219850936348 0.06464285626208545 https://leetcode.com/problems/valid-sudoku https://leetcode.com/problems/filling-bookcase-shelves
266 413 36 Arithmetic Slices Valid Sudoku 57.9% 48.7% Medium 0.06286986221654821 0.06350219850936348 https://leetcode.com/problems/arithmetic-slices https://leetcode.com/problems/valid-sudoku
267 350 413 Intersection of Two Arrays II Arithmetic Slices 51.4% 57.9% Easy Medium 0.06202949919751832 0.06286986221654821 https://leetcode.com/problems/intersection-of-two-arrays-ii https://leetcode.com/problems/arithmetic-slices
268 47 350 Permutations II Intersection of Two Arrays II 46.4% 51.4% Medium Easy 0.05897935516253239 0.06202949919751832 https://leetcode.com/problems/permutations-ii https://leetcode.com/problems/intersection-of-two-arrays-ii
269 516 47 Longest Palindromic Subsequence Permutations II 53.2% 46.4% Medium 0.058432099871092734 0.05897935516253239 https://leetcode.com/problems/longest-palindromic-subsequence https://leetcode.com/problems/permutations-ii
270 32 516 Longest Valid Parentheses Longest Palindromic Subsequence 28.4% 53.2% Hard Medium 0.0556316959861487 0.058432099871092734 https://leetcode.com/problems/longest-valid-parentheses https://leetcode.com/problems/longest-palindromic-subsequence
271 30 32 Substring with Concatenation of All Words Longest Valid Parentheses 25.4% 28.4% Hard 0.05509349054082484 0.0556316959861487 https://leetcode.com/problems/substring-with-concatenation-of-all-words https://leetcode.com/problems/longest-valid-parentheses
272 149 30 Max Points on a Line Substring with Concatenation of All Words 16.9% 25.4% Hard 0.0550597771830274 0.05509349054082484 https://leetcode.com/problems/max-points-on-a-line https://leetcode.com/problems/substring-with-concatenation-of-all-words
273 222 149 Count Complete Tree Nodes Max Points on a Line 46.8% 16.9% Medium Hard 0.05492114472894792 0.0550597771830274 https://leetcode.com/problems/count-complete-tree-nodes https://leetcode.com/problems/max-points-on-a-line
274 752 222 Open the Lock Count Complete Tree Nodes 51.8% 46.8% Medium 0.05449289949671372 0.05492114472894792 https://leetcode.com/problems/open-the-lock https://leetcode.com/problems/count-complete-tree-nodes
275 703 752 Kth Largest Element in a Stream Open the Lock 49.7% 51.8% Easy Medium 0.054472280837981495 0.05449289949671372 https://leetcode.com/problems/kth-largest-element-in-a-stream https://leetcode.com/problems/open-the-lock
276 724 703 Find Pivot Index Kth Largest Element in a Stream 44.0% 49.7% Easy 0.05428741283782842 0.054472280837981495 https://leetcode.com/problems/find-pivot-index https://leetcode.com/problems/kth-largest-element-in-a-stream
277 714 724 Best Time to Buy and Sell Stock with Transaction Fee Find Pivot Index 54.7% 44.0% Medium Easy 0.05377639678080413 0.05428741283782842 https://leetcode.com/problems/best-time-to-buy-and-sell-stock-with-transaction-fee https://leetcode.com/problems/find-pivot-index
278 395 714 Longest Substring with At Least K Repeating Characters Best Time to Buy and Sell Stock with Transaction Fee 41.4% 54.7% Medium 0.05371219359052555 0.05377639678080413 https://leetcode.com/problems/longest-substring-with-at-least-k-repeating-characters https://leetcode.com/problems/best-time-to-buy-and-sell-stock-with-transaction-fee
279 1312 395 Minimum Insertion Steps to Make a String Palindrome Longest Substring with At Least K Repeating Characters 58.1% 41.4% Hard Medium 0.050261834780888255 0.05371219359052555 https://leetcode.com/problems/minimum-insertion-steps-to-make-a-string-palindrome https://leetcode.com/problems/longest-substring-with-at-least-k-repeating-characters
280 216 1312 Combination Sum III Minimum Insertion Steps to Make a String Palindrome 56.6% 58.1% Medium Hard 0.05017774958571902 0.050261834780888255 https://leetcode.com/problems/combination-sum-iii https://leetcode.com/problems/minimum-insertion-steps-to-make-a-string-palindrome
281 219 216 Contains Duplicate II Combination Sum III 37.7% 56.6% Easy Medium 0.05012010405957234 0.05017774958571902 https://leetcode.com/problems/contains-duplicate-ii https://leetcode.com/problems/combination-sum-iii
282 129 219 Sum Root to Leaf Numbers Contains Duplicate II 49.1% 37.7% Medium Easy 0.050010420574661374 0.05012010405957234 https://leetcode.com/problems/sum-root-to-leaf-numbers https://leetcode.com/problems/contains-duplicate-ii
283 152 129 Maximum Product Subarray Sum Root to Leaf Numbers 31.7% 49.1% Medium 0.04922388062576129 0.050010420574661374 https://leetcode.com/problems/maximum-product-subarray https://leetcode.com/problems/sum-root-to-leaf-numbers
284 437 152 Path Sum III Maximum Product Subarray 47.2% 31.7% Medium 0.047656426639019575 0.04922388062576129 https://leetcode.com/problems/path-sum-iii https://leetcode.com/problems/maximum-product-subarray
285 986 437 Interval List Intersections Path Sum III 67.3% 47.2% Medium 0.04703983015489417 0.047656426639019575 https://leetcode.com/problems/interval-list-intersections https://leetcode.com/problems/path-sum-iii
286 556 986 Next Greater Element III Interval List Intersections 31.7% 67.3% Medium 0.04679216150675895 0.04703983015489417 https://leetcode.com/problems/next-greater-element-iii https://leetcode.com/problems/interval-list-intersections
287 933 556 Number of Recent Calls Next Greater Element III 71.9% 31.7% Easy Medium 0.046737477851689815 0.04679216150675895 https://leetcode.com/problems/number-of-recent-calls https://leetcode.com/problems/next-greater-element-iii
288 978 933 Longest Turbulent Subarray Number of Recent Calls 46.6% 71.9% Medium Easy 0.046737477851689815 0.046737477851689815 https://leetcode.com/problems/longest-turbulent-subarray https://leetcode.com/problems/number-of-recent-calls
289 176 978 Second Highest Salary Longest Turbulent Subarray 31.6% 46.6% Easy Medium 0.045338680589061736 0.046737477851689815 https://leetcode.com/problems/second-highest-salary https://leetcode.com/problems/longest-turbulent-subarray
290 733 176 Flood Fill Second Highest Salary 55.3% 31.6% Easy 0.04413292021115189 0.045338680589061736 https://leetcode.com/problems/flood-fill https://leetcode.com/problems/second-highest-salary
291 104 733 Maximum Depth of Binary Tree Flood Fill 66.0% 55.3% Easy 0.043698924213377836 0.04413292021115189 https://leetcode.com/problems/maximum-depth-of-binary-tree https://leetcode.com/problems/flood-fill
292 895 104 Maximum Frequency Stack Maximum Depth of Binary Tree 60.6% 66.0% Hard Easy 0.04329680575332419 0.043698924213377836 https://leetcode.com/problems/maximum-frequency-stack https://leetcode.com/problems/maximum-depth-of-binary-tree
293 110 895 Balanced Binary Tree Maximum Frequency Stack 43.5% 60.6% Easy Hard 0.04313244044957316 0.04329680575332419 https://leetcode.com/problems/balanced-binary-tree https://leetcode.com/problems/maximum-frequency-stack
294 540 110 Single Element in a Sorted Array Balanced Binary Tree 57.9% 43.5% Medium Easy 0.042721256704769804 0.04313244044957316 https://leetcode.com/problems/single-element-in-a-sorted-array https://leetcode.com/problems/balanced-binary-tree
295 787 540 Cheapest Flights Within K Stops Single Element in a Sorted Array 39.3% 57.9% Medium 0.04186657939278993 0.042721256704769804 https://leetcode.com/problems/cheapest-flights-within-k-stops https://leetcode.com/problems/single-element-in-a-sorted-array
296 29 787 Divide Two Integers Cheapest Flights Within K Stops 16.4% 39.3% Medium 0.04159641425367403 0.04186657939278993 https://leetcode.com/problems/divide-two-integers https://leetcode.com/problems/cheapest-flights-within-k-stops
297 258 29 Add Digits Divide Two Integers 57.6% 16.4% Easy Medium 0.04107874349984602 0.04159641425367403 https://leetcode.com/problems/add-digits https://leetcode.com/problems/divide-two-integers
298 292 258 Nim Game Add Digits 54.9% 57.6% Easy 0.03996979643236185 0.04107874349984602 https://leetcode.com/problems/nim-game https://leetcode.com/problems/add-digits
299 212 292 Word Search II Nim Game 34.9% 54.9% Hard Easy 0.03881156536434583 0.03996979643236185 https://leetcode.com/problems/word-search-ii https://leetcode.com/problems/nim-game
300 18 212 4Sum Word Search II 33.7% 34.9% Medium Hard 0.03880215185647971 0.03881156536434583 https://leetcode.com/problems/4sum https://leetcode.com/problems/word-search-ii
301 993 18 Cousins in Binary Tree 4Sum 52.0% 33.7% Easy Medium 0.03876454345024432 0.03880215185647971 https://leetcode.com/problems/cousins-in-binary-tree https://leetcode.com/problems/4sum
302 270 993 Closest Binary Search Tree Value Cousins in Binary Tree 48.5% 52.0% Easy 0.03812405784173832 0.03876454345024432 https://leetcode.com/problems/closest-binary-search-tree-value https://leetcode.com/problems/cousins-in-binary-tree
303 144 270 Binary Tree Preorder Traversal Closest Binary Search Tree Value 55.7% 48.5% Medium Easy 0.03751377610149742 0.03812405784173832 https://leetcode.com/problems/binary-tree-preorder-traversal https://leetcode.com/problems/closest-binary-search-tree-value
304 646 144 Maximum Length of Pair Chain Binary Tree Preorder Traversal 51.9% 55.7% Medium 0.036870535808327706 0.03751377610149742 https://leetcode.com/problems/maximum-length-of-pair-chain https://leetcode.com/problems/binary-tree-preorder-traversal
305 340 646 Longest Substring with At Most K Distinct Characters Maximum Length of Pair Chain 44.1% 51.9% Hard Medium 0.035917667750755534 0.036870535808327706 https://leetcode.com/problems/longest-substring-with-at-most-k-distinct-characters https://leetcode.com/problems/maximum-length-of-pair-chain
306 650 340 2 Keys Keyboard Longest Substring with At Most K Distinct Characters 49.2% 44.1% Medium Hard 0.035910501305770864 0.035917667750755534 https://leetcode.com/problems/2-keys-keyboard https://leetcode.com/problems/longest-substring-with-at-most-k-distinct-characters
307 334 650 Increasing Triplet Subsequence 2 Keys Keyboard 40.0% 49.2% Medium 0.03577488021091517 0.035910501305770864 https://leetcode.com/problems/increasing-triplet-subsequence https://leetcode.com/problems/2-keys-keyboard
308 595 334 Big Countries Increasing Triplet Subsequence 77.3% 40.0% Easy Medium 0.03475253199083958 0.03577488021091517 https://leetcode.com/problems/big-countries https://leetcode.com/problems/increasing-triplet-subsequence
309 1002 595 Find Common Characters Big Countries 67.6% 77.3% Easy 0.03404262162737441 0.03475253199083958 https://leetcode.com/problems/find-common-characters https://leetcode.com/problems/big-countries
310 217 1002 Contains Duplicate Find Common Characters 56.0% 67.6% Easy 0.03367321510658789 0.03404262162737441 https://leetcode.com/problems/contains-duplicate https://leetcode.com/problems/find-common-characters
311 274 217 H-Index Contains Duplicate 36.1% 56.0% Medium Easy 0.03364488914272426 0.03367321510658789 https://leetcode.com/problems/h-index https://leetcode.com/problems/contains-duplicate
312 1123 274 Lowest Common Ancestor of Deepest Leaves H-Index 66.8% 36.1% Medium 0.03147388037973136 0.03364488914272426 https://leetcode.com/problems/lowest-common-ancestor-of-deepest-leaves https://leetcode.com/problems/h-index
313 38 1123 Count and Say Lowest Common Ancestor of Deepest Leaves 44.6% 66.8% Easy Medium 0.030956234663467107 0.03147388037973136 https://leetcode.com/problems/count-and-say https://leetcode.com/problems/lowest-common-ancestor-of-deepest-leaves
314 581 38 Shortest Unsorted Continuous Subarray Count and Say 31.1% 44.6% Easy 0.029773949243192512 0.030956234663467107 https://leetcode.com/problems/shortest-unsorted-continuous-subarray https://leetcode.com/problems/count-and-say
315 66 581 Plus One Shortest Unsorted Continuous Subarray 43.0% 31.1% Easy 0.028982869090985654 0.029773949243192512 https://leetcode.com/problems/plus-one https://leetcode.com/problems/shortest-unsorted-continuous-subarray
316 147 66 Insertion Sort List Plus One 41.1% 43.0% Medium Easy 0.028675799976666333 0.028982869090985654 https://leetcode.com/problems/insertion-sort-list https://leetcode.com/problems/plus-one
317 621 147 Task Scheduler Insertion Sort List 50.1% 41.1% Medium 0.028315771352780777 0.028675799976666333 https://leetcode.com/problems/task-scheduler https://leetcode.com/problems/insertion-sort-list
318 547 621 Friend Circles Task Scheduler 58.6% 50.1% Medium 0.027307522052851193 0.028315771352780777 https://leetcode.com/problems/friend-circles https://leetcode.com/problems/task-scheduler
319 310 547 Minimum Height Trees Friend Circles 32.3% 58.6% Medium 0.02446605215440636 0.027307522052851193 https://leetcode.com/problems/minimum-height-trees https://leetcode.com/problems/friend-circles
320 210 310 Course Schedule II Minimum Height Trees 40.7% 32.3% Medium 0.023133880315464483 0.02446605215440636 https://leetcode.com/problems/course-schedule-ii https://leetcode.com/problems/minimum-height-trees
321 39 210 Combination Sum Course Schedule II 56.1% 40.7% Medium 0.02267028230338623 0.023133880315464483 https://leetcode.com/problems/combination-sum https://leetcode.com/problems/course-schedule-ii
322 113 39 Path Sum II Combination Sum 46.7% 56.1% Medium 0.021882711249507664 0.02267028230338623 https://leetcode.com/problems/path-sum-ii https://leetcode.com/problems/combination-sum
323 40 113 Combination Sum II Path Sum II 48.2% 46.7% Medium 0.021424290044083395 0.021882711249507664 https://leetcode.com/problems/combination-sum-ii https://leetcode.com/problems/path-sum-ii
324 278 40 First Bad Version Combination Sum II 35.7% 48.2% Easy Medium 0.021394050366625766 0.021424290044083395 https://leetcode.com/problems/first-bad-version https://leetcode.com/problems/combination-sum-ii
325 224 278 Basic Calculator First Bad Version 36.8% 35.7% Hard Easy 0.020965128465044926 0.021394050366625766 https://leetcode.com/problems/basic-calculator https://leetcode.com/problems/first-bad-version
326 424 224 Longest Repeating Character Replacement Basic Calculator 47.0% 36.8% Medium Hard 0.020461071871340063 0.020965128465044926 https://leetcode.com/problems/longest-repeating-character-replacement https://leetcode.com/problems/basic-calculator
327 617 424 Merge Two Binary Trees Longest Repeating Character Replacement 74.1% 47.0% Easy Medium 0.018496211633622316 0.020461071871340063 https://leetcode.com/problems/merge-two-binary-trees https://leetcode.com/problems/longest-repeating-character-replacement
328 438 617 Find All Anagrams in a String Merge Two Binary Trees 43.3% 74.1% Medium Easy 0.01819334596120571 0.018496211633622316 https://leetcode.com/problems/find-all-anagrams-in-a-string https://leetcode.com/problems/merge-two-binary-trees
329 406 438 Queue Reconstruction by Height Find All Anagrams in a String 66.9% 43.3% Medium 0.01774669468133533 0.01819334596120571 https://leetcode.com/problems/queue-reconstruction-by-height https://leetcode.com/problems/find-all-anagrams-in-a-string
330 863 406 All Nodes Distance K in Binary Tree Queue Reconstruction by Height 55.4% 66.9% Medium 0.01695674371877865 0.01774669468133533 https://leetcode.com/problems/all-nodes-distance-k-in-binary-tree https://leetcode.com/problems/queue-reconstruction-by-height
331 1025 863 Divisor Game All Nodes Distance K in Binary Tree 66.3% 55.4% Easy Medium 0.015015297119995507 0.01695674371877865 https://leetcode.com/problems/divisor-game https://leetcode.com/problems/all-nodes-distance-k-in-binary-tree
332 912 1025 Sort an Array Divisor Game 63.9% 66.3% Medium Easy 0.01443026482902881 0.015015297119995507 https://leetcode.com/problems/sort-an-array https://leetcode.com/problems/divisor-game
333 27 912 Remove Element Sort an Array 48.2% 63.9% Easy Medium 0.01413451093490476 0.01443026482902881 https://leetcode.com/problems/remove-element https://leetcode.com/problems/sort-an-array
334 100 27 Same Tree Remove Element 53.4% 48.2% Easy 0.012601237835529503 0.01413451093490476 https://leetcode.com/problems/same-tree https://leetcode.com/problems/remove-element
335 172 100 Factorial Trailing Zeroes Same Tree 37.8% 53.4% Easy 0.012326812480658571 0.012601237835529503 https://leetcode.com/problems/factorial-trailing-zeroes https://leetcode.com/problems/same-tree
336 957 172 Prison Cells After N Days Factorial Trailing Zeroes 40.7% 37.8% Medium Easy 0.010986103354595014 0.012326812480658571 https://leetcode.com/problems/prison-cells-after-n-days https://leetcode.com/problems/factorial-trailing-zeroes
337 559 957 Maximum Depth of N-ary Tree Prison Cells After N Days 68.7% 40.7% Easy Medium 0.010974047031976715 0.010986103354595014 https://leetcode.com/problems/maximum-depth-of-n-ary-tree https://leetcode.com/problems/prison-cells-after-n-days
338 746 559 Min Cost Climbing Stairs Maximum Depth of N-ary Tree 50.3% 68.7% Easy 0.009818439209289494 0.010974047031976715 https://leetcode.com/problems/min-cost-climbing-stairs https://leetcode.com/problems/maximum-depth-of-n-ary-tree
339 106 746 Construct Binary Tree from Inorder and Postorder Traversal Min Cost Climbing Stairs 47.2% 50.3% Medium Easy 0.009328969762346678 0.009818439209289494 https://leetcode.com/problems/construct-binary-tree-from-inorder-and-postorder-traversal https://leetcode.com/problems/min-cost-climbing-stairs
340 977 106 Squares of a Sorted Array Construct Binary Tree from Inorder and Postorder Traversal 72.1% 47.2% Easy Medium 0.008733679968754604 0.009328969762346678 https://leetcode.com/problems/squares-of-a-sorted-array https://leetcode.com/problems/construct-binary-tree-from-inorder-and-postorder-traversal
341 1480 977 Running Sum of 1d Array Squares of a Sorted Array 90.5% 72.1% Easy 0.0026196884456014947 0.008733679968754604 https://leetcode.com/problems/running-sum-of-1d-array https://leetcode.com/problems/squares-of-a-sorted-array
342 266 1480 Palindrome Permutation Running Sum of 1d Array 61.9% 90.5% Easy 0 0.0026196884456014947 https://leetcode.com/problems/palindrome-permutation https://leetcode.com/problems/running-sum-of-1d-array
343 158 266 Read N Characters Given Read4 II - Call multiple times Palindrome Permutation 33.8% 61.9% Hard Easy 0 0 https://leetcode.com/problems/read-n-characters-given-read4-ii-call-multiple-times https://leetcode.com/problems/palindrome-permutation
344 570 158 Managers with at Least 5 Direct Reports Read N Characters Given Read4 II - Call multiple times 66.0% 33.8% Medium Hard 0 0 https://leetcode.com/problems/managers-with-at-least-5-direct-reports https://leetcode.com/problems/read-n-characters-given-read4-ii-call-multiple-times
345 669 570 Trim a Binary Search Tree Managers with at Least 5 Direct Reports 63.0% 66.0% Easy Medium 0 0 https://leetcode.com/problems/trim-a-binary-search-tree https://leetcode.com/problems/managers-with-at-least-5-direct-reports
346 749 669 Contain Virus Trim a Binary Search Tree 44.6% 63.0% Hard Easy 0 0 https://leetcode.com/problems/contain-virus https://leetcode.com/problems/trim-a-binary-search-tree
347 1104 749 Path In Zigzag Labelled Binary Tree Contain Virus 72.0% 44.6% Medium Hard 0 0 https://leetcode.com/problems/path-in-zigzag-labelled-binary-tree https://leetcode.com/problems/contain-virus
348 1478 1104 Allocate Mailboxes Path In Zigzag Labelled Binary Tree 54.9% 72.0% Hard Medium 0 0 https://leetcode.com/problems/allocate-mailboxes https://leetcode.com/problems/path-in-zigzag-labelled-binary-tree
349 1478 Allocate Mailboxes 54.9% Hard 0 https://leetcode.com/problems/allocate-mailboxes