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,281 +1,282 @@
427,Construct Quad Tree,61.4%,Medium,1.812347218370924, https://leetcode.com/problems/construct-quad-tree
529,Minesweeper,59.1%,Medium,1.6823491789169709, https://leetcode.com/problems/minesweeper
741,Cherry Pickup,33.9%,Hard,1.6681515178241457, https://leetcode.com/problems/cherry-pickup
465,Optimal Account Balancing,46.9%,Hard,1.5791340687596236, https://leetcode.com/problems/optimal-account-balancing
332,Reconstruct Itinerary,36.7%,Medium,1.4570962400494838, https://leetcode.com/problems/reconstruct-itinerary
291,Word Pattern II,43.4%,Hard,1.327098200595531, https://leetcode.com/problems/word-pattern-ii
305,Number of Islands II,40.1%,Hard,1.2993348513875815, https://leetcode.com/problems/number-of-islands-ii
757,Set Intersection Size At Least Two,40.1%,Hard,1.2970683845427906, https://leetcode.com/problems/set-intersection-size-at-least-two
267,Palindrome Permutation II,36.4%,Medium,1.2914164645383432, https://leetcode.com/problems/palindrome-permutation-ii
986,Interval List Intersections,67.3%,Medium,1.1614184250843902, https://leetcode.com/problems/interval-list-intersections
361,Bomb Enemy,46.0%,Medium,1.1535711729488671, https://leetcode.com/problems/bomb-enemy
773,Sliding Puzzle,59.3%,Hard,1.1105884797148253, https://leetcode.com/problems/sliding-puzzle
655,Print Binary Tree,55.0%,Medium,1.0605315351500602, https://leetcode.com/problems/print-binary-tree
68,Text Justification,27.7%,Hard,1.0274647299045185, https://leetcode.com/problems/text-justification
428,Serialize and Deserialize N-ary Tree,59.4%,Hard,0.9486721413771949, https://leetcode.com/problems/serialize-and-deserialize-n-ary-tree
253,Meeting Rooms II,45.7%,Medium,0.818674101923242, https://leetcode.com/problems/meeting-rooms-ii
591,Tag Validator,34.3%,Hard,0.7812544480702122, https://leetcode.com/problems/tag-validator
227,Basic Calculator II,36.9%,Medium,0.7542487353396534, https://leetcode.com/problems/basic-calculator-ii
772,Basic Calculator III,41.3%,Hard,0.7157652691477178, https://leetcode.com/problems/basic-calculator-iii
146,LRU Cache,33.2%,Medium,0.6777555597343323, https://leetcode.com/problems/lru-cache
56,Merge Intervals,39.3%,Medium,0.666351993828014, https://leetcode.com/problems/merge-intervals
297,Serialize and Deserialize Binary Tree,47.5%,Hard,0.6623144848742207, https://leetcode.com/problems/serialize-and-deserialize-binary-tree
341,Flatten Nested List Iterator,52.9%,Medium,0.6166300368504478, https://leetcode.com/problems/flatten-nested-list-iterator
780,Reaching Points,29.4%,Hard,0.612719105819513, https://leetcode.com/problems/reaching-points
528,Random Pick with Weight,43.9%,Medium,0.6100335190236106, https://leetcode.com/problems/random-pick-with-weight
36,Valid Sudoku,48.7%,Medium,0.589525373843642, https://leetcode.com/problems/valid-sudoku
679,24 Game,46.4%,Hard,0.5141123974726134, https://leetcode.com/problems/24-game
224,Basic Calculator,36.8%,Hard,0.4952386742713679, https://leetcode.com/problems/basic-calculator
34,Find First and Last Position of Element in Sorted Array,36.2%,Medium,0.4780719820485919, https://leetcode.com/problems/find-first-and-last-position-of-element-in-sorted-array
668,Kth Smallest Number in Multiplication Table,45.6%,Hard,0.4506902061131003, https://leetcode.com/problems/kth-smallest-number-in-multiplication-table
642,Design Search Autocomplete System,44.7%,Hard,0.43349242036282026, https://leetcode.com/problems/design-search-autocomplete-system
359,Logger Rate Limiter,70.8%,Easy,0.4265185173059967, https://leetcode.com/problems/logger-rate-limiter
166,Fraction to Recurring Decimal,21.6%,Medium,0.4113847871284642, https://leetcode.com/problems/fraction-to-recurring-decimal
239,Sliding Window Maximum,43.0%,Hard,0.4104750065235096, https://leetcode.com/problems/sliding-window-maximum
1281,Subtract the Product and Sum of Digits of an Integer,85.2%,Easy,0.3807587855252646, https://leetcode.com/problems/subtract-the-product-and-sum-of-digits-of-an-integer
49,Group Anagrams,56.9%,Medium,0.37923884429361854, https://leetcode.com/problems/group-anagrams
200,Number of Islands,46.8%,Medium,0.348349251262677, https://leetcode.com/problems/number-of-islands
805,Split Array With Same Average,26.4%,Hard,0.3416302106614813, https://leetcode.com/problems/split-array-with-same-average
399,Evaluate Division,51.6%,Medium,0.3338128467131867, https://leetcode.com/problems/evaluate-division
128,Longest Consecutive Sequence,45.1%,Hard,0.3251066222598543, https://leetcode.com/problems/longest-consecutive-sequence
381,Insert Delete GetRandom O(1) - Duplicates allowed,34.1%,Hard,0.32306557634109756, https://leetcode.com/problems/insert-delete-getrandom-o1-duplicates-allowed
936,Stamping The Sequence,42.8%,Hard,0.2972515234679316, https://leetcode.com/problems/stamping-the-sequence
1136,Parallel Courses,61.1%,Hard,0.2858421455297737, https://leetcode.com/problems/parallel-courses
640,Solve the Equation,42.0%,Medium,0.2840257612486704, https://leetcode.com/problems/solve-the-equation
130,Surrounded Regions,28.1%,Medium,0.2630816163130375, https://leetcode.com/problems/surrounded-regions
380,Insert Delete GetRandom O(1),47.5%,Medium,0.2612438587254704, https://leetcode.com/problems/insert-delete-getrandom-o1
301,Remove Invalid Parentheses,43.3%,Hard,0.25857398829371026, https://leetcode.com/problems/remove-invalid-parentheses
126,Word Ladder II,22.1%,Hard,0.25503976484865665, https://leetcode.com/problems/word-ladder-ii
542,01 Matrix,39.8%,Medium,0.2547335788363499, https://leetcode.com/problems/01-matrix
286,Walls and Gates,54.5%,Medium,0.2531417471996048, https://leetcode.com/problems/walls-and-gates
42,Trapping Rain Water,48.9%,Hard,0.24611721432868788, https://leetcode.com/problems/trapping-rain-water
365,Water and Jug Problem,30.6%,Medium,0.24587963229494916, https://leetcode.com/problems/water-and-jug-problem
527,Word Abbreviation,54.3%,Hard,0.24362208265775043, https://leetcode.com/problems/word-abbreviation
535,Encode and Decode TinyURL,79.9%,Medium,0.23740366313104297, https://leetcode.com/problems/encode-and-decode-tinyurl
57,Insert Interval,33.5%,Hard,0.23697938397356041, https://leetcode.com/problems/insert-interval
815,Bus Routes,42.5%,Hard,0.23395801030775792, https://leetcode.com/problems/bus-routes
552,Student Attendance Record II,36.7%,Hard,0.2265276492984503, https://leetcode.com/problems/student-attendance-record-ii
1,Two Sum,45.6%,Easy,0.2242758219657857, https://leetcode.com/problems/two-sum
353,Design Snake Game,34.2%,Medium,0.2228314901476892, https://leetcode.com/problems/design-snake-game
221,Maximal Square,37.7%,Medium,0.2218511119038007, https://leetcode.com/problems/maximal-square
149,Max Points on a Line,16.9%,Hard,0.20409535634351528, https://leetcode.com/problems/max-points-on-a-line
568,Maximum Vacation Days,40.8%,Hard,0.19966567025192705, https://leetcode.com/problems/maximum-vacation-days
17,Letter Combinations of a Phone Number,46.8%,Medium,0.19570536211262238, https://leetcode.com/problems/letter-combinations-of-a-phone-number
85,Maximal Rectangle,37.7%,Hard,0.1945507253203666, https://leetcode.com/problems/maximal-rectangle
863,All Nodes Distance K in Binary Tree,55.4%,Medium,0.19019980471738818, https://leetcode.com/problems/all-nodes-distance-k-in-binary-tree
3,Longest Substring Without Repeating Characters,30.4%,Medium,0.18722008570926535, https://leetcode.com/problems/longest-substring-without-repeating-characters
658,Find K Closest Elements,40.9%,Medium,0.18663941293482042, https://leetcode.com/problems/find-k-closest-elements
759,Employee Free Time,66.3%,Hard,0.1816986978513639, https://leetcode.com/problems/employee-free-time
76,Minimum Window Substring,34.6%,Hard,0.1731900290370625, https://leetcode.com/problems/minimum-window-substring
1278,Palindrome Partitioning III,59.9%,Hard,0.17284281283941086, https://leetcode.com/problems/palindrome-partitioning-iii
567,Permutation in String,44.4%,Medium,0.16931057302189864, https://leetcode.com/problems/permutation-in-string
244,Shortest Word Distance II,52.3%,Medium,0.16400297627026994, https://leetcode.com/problems/shortest-word-distance-ii
895,Maximum Frequency Stack,60.6%,Hard,0.1629613095094132, https://leetcode.com/problems/maximum-frequency-stack
493,Reverse Pairs,25.2%,Hard,0.16229864091884685, https://leetcode.com/problems/reverse-pairs
173,Binary Search Tree Iterator,56.6%,Medium,0.15925273171115378, https://leetcode.com/problems/binary-search-tree-iterator
243,Shortest Word Distance,61.0%,Easy,0.15400201410186742, https://leetcode.com/problems/shortest-word-distance
977,Squares of a Sorted Array,72.1%,Easy,0.15247843863489619, https://leetcode.com/problems/squares-of-a-sorted-array
451,Sort Characters By Frequency,63.0%,Medium,0.15031299478176025, https://leetcode.com/problems/sort-characters-by-frequency
362,Design Hit Counter,63.7%,Medium,0.1489960292385938, https://leetcode.com/problems/design-hit-counter
346,Moving Average from Data Stream,70.9%,Easy,0.14878873668587292, https://leetcode.com/problems/moving-average-from-data-stream
395,Longest Substring with At Least K Repeating Characters,41.4%,Medium,0.14261022668001652, https://leetcode.com/problems/longest-substring-with-at-least-k-repeating-characters
91,Decode Ways,24.7%,Medium,0.13946258598914826, https://leetcode.com/problems/decode-ways
279,Perfect Squares,47.4%,Medium,0.13815033848081718, https://leetcode.com/problems/perfect-squares
855,Exam Room,43.1%,Medium,0.13804422079620546, https://leetcode.com/problems/exam-room
32,Longest Valid Parentheses,28.4%,Hard,0.13667290598927465, https://leetcode.com/problems/longest-valid-parentheses
23,Merge k Sorted Lists,40.2%,Hard,0.13640708740119573, https://leetcode.com/problems/merge-k-sorted-lists
295,Find Median from Data Stream,44.3%,Hard,0.13508385924075386, https://leetcode.com/problems/find-median-from-data-stream
255,Verify Preorder Sequence in Binary Search Tree,45.7%,Medium,0.1348842676899421, https://leetcode.com/problems/verify-preorder-sequence-in-binary-search-tree
4,Median of Two Sorted Arrays,29.6%,Hard,0.13162453469432595, https://leetcode.com/problems/median-of-two-sorted-arrays
139,Word Break,40.1%,Medium,0.1314440532234174, https://leetcode.com/problems/word-break
22,Generate Parentheses,62.7%,Medium,0.12417283375515446, https://leetcode.com/problems/generate-parentheses
262,Trips and Users,32.7%,Hard,0.12266506325369182, https://leetcode.com/problems/trips-and-users
20,Valid Parentheses,39.0%,Easy,0.12182468348227132, https://leetcode.com/problems/valid-parentheses
207,Course Schedule,43.1%,Medium,0.11725761496207857, https://leetcode.com/problems/course-schedule
127,Word Ladder,29.6%,Medium,0.11461293205885352, https://leetcode.com/problems/word-ladder
212,Word Search II,34.9%,Hard,0.11439698130007839, https://leetcode.com/problems/word-search-ii
1188,Design Bounded Blocking Queue,70.5%,Medium,0.11030454201470608, https://leetcode.com/problems/design-bounded-blocking-queue
969,Pancake Sorting,67.5%,Medium,0.10724553035359762, https://leetcode.com/problems/pancake-sorting
388,Longest Absolute File Path,41.8%,Medium,0.105981440856292, https://leetcode.com/problems/longest-absolute-file-path
2,Add Two Numbers,33.9%,Medium,0.10270361758692534, https://leetcode.com/problems/add-two-numbers
336,Palindrome Pairs,33.7%,Hard,0.10259559233600947, https://leetcode.com/problems/palindrome-pairs
79,Word Search,35.6%,Medium,0.10132037593637946, https://leetcode.com/problems/word-search
391,Perfect Rectangle,30.5%,Hard,0.10109611687136877, https://leetcode.com/problems/perfect-rectangle
54,Spiral Matrix,34.1%,Medium,0.10061889164064056, https://leetcode.com/problems/spiral-matrix
1135,Connecting Cities With Minimum Cost,57.5%,Medium,0.09909090264423091, https://leetcode.com/problems/connecting-cities-with-minimum-cost
218,The Skyline Problem,34.6%,Hard,0.09823843958341322, https://leetcode.com/problems/the-skyline-problem
837,New 21 Game,34.6%,Medium,0.09646026618756222, https://leetcode.com/problems/new-21-game
954,Array of Doubled Pairs,35.6%,Medium,0.09531017980432487, https://leetcode.com/problems/array-of-doubled-pairs
752,Open the Lock,51.8%,Medium,0.09491410658218381, https://leetcode.com/problems/open-the-lock
490,The Maze,51.4%,Medium,0.09401490736696706, https://leetcode.com/problems/the-maze
826,Most Profit Assigning Work,38.5%,Medium,0.09287412500644375, https://leetcode.com/problems/most-profit-assigning-work
652,Find Duplicate Subtrees,50.2%,Medium,0.08907963005368878, https://leetcode.com/problems/find-duplicate-subtrees
564,Find the Closest Palindrome,19.7%,Hard,0.0840831172105414, https://leetcode.com/problems/find-the-closest-palindrome
317,Shortest Distance from All Buildings,41.4%,Hard,0.08345897538526194, https://leetcode.com/problems/shortest-distance-from-all-buildings
636,Exclusive Time of Functions,51.9%,Medium,0.08155306616046964, https://leetcode.com/problems/exclusive-time-of-functions
161,One Edit Distance,32.3%,Medium,0.07982960165248484, https://leetcode.com/problems/one-edit-distance
934,Shortest Bridge,48.2%,Medium,0.07940677760441046, https://leetcode.com/problems/shortest-bridge
210,Course Schedule II,40.7%,Medium,0.07762595476606639, https://leetcode.com/problems/course-schedule-ii
269,Alien Dictionary,33.3%,Hard,0.0770322180463687, https://leetcode.com/problems/alien-dictionary
273,Integer to English Words,27.1%,Hard,0.0732177031685638, https://leetcode.com/problems/integer-to-english-words
694,Number of Distinct Islands,56.0%,Medium,0.07232066157962612, https://leetcode.com/problems/number-of-distinct-islands
31,Next Permutation,32.6%,Medium,0.07101345814434841, https://leetcode.com/problems/next-permutation
438,Find All Anagrams in a String,43.3%,Medium,0.07086789751218016, https://leetcode.com/problems/find-all-anagrams-in-a-string
460,LFU Cache,34.2%,Hard,0.06836374280939023, https://leetcode.com/problems/lfu-cache
39,Combination Sum,56.1%,Medium,0.0678648829148938, https://leetcode.com/problems/combination-sum
289,Game of Life,54.5%,Medium,0.06756473699960104, https://leetcode.com/problems/game-of-life
251,Flatten 2D Vector,45.7%,Medium,0.06635933243696077, https://leetcode.com/problems/flatten-2d-vector
46,Permutations,63.5%,Medium,0.06541618594577135, https://leetcode.com/problems/permutations
298,Binary Tree Longest Consecutive Sequence,47.1%,Medium,0.065169635074581, https://leetcode.com/problems/binary-tree-longest-consecutive-sequence
769,Max Chunks To Make Sorted,54.8%,Medium,0.06474752939415815, https://leetcode.com/problems/max-chunks-to-make-sorted
242,Valid Anagram,56.9%,Easy,0.06447998055429512, https://leetcode.com/problems/valid-anagram
340,Longest Substring with At Most K Distinct Characters,44.1%,Hard,0.06298815293235048, https://leetcode.com/problems/longest-substring-with-at-most-k-distinct-characters
420,Strong Password Checker,14.0%,Hard,0.061087691979838175, https://leetcode.com/problems/strong-password-checker
75,Sort Colors,47.3%,Medium,0.05950522970614658, https://leetcode.com/problems/sort-colors
40,Combination Sum II,48.2%,Medium,0.058414175143170426, https://leetcode.com/problems/combination-sum-ii
968,Binary Tree Cameras,37.5%,Hard,0.05790329283155908, https://leetcode.com/problems/binary-tree-cameras
74,Search a 2D Matrix,36.5%,Medium,0.057001980519332376, https://leetcode.com/problems/search-a-2d-matrix
1038,Binary Search Tree to Greater Sum Tree,80.8%,Medium,0.05637058926920947, https://leetcode.com/problems/binary-search-tree-to-greater-sum-tree
162,Find Peak Element,43.3%,Medium,0.05575061760504993, https://leetcode.com/problems/find-peak-element
208,Implement Trie (Prefix Tree),49.4%,Medium,0.05559457257530485, https://leetcode.com/problems/implement-trie-prefix-tree
131,Palindrome Partitioning,47.5%,Medium,0.05449083692828802, https://leetcode.com/problems/palindrome-partitioning
348,Design Tic-Tac-Toe,54.3%,Medium,0.05368014946362379, https://leetcode.com/problems/design-tic-tac-toe
1229,Meeting Scheduler,52.7%,Medium,0.053560323833736816, https://leetcode.com/problems/meeting-scheduler
829,Consecutive Numbers Sum,37.5%,Hard,0.05341723749698583, https://leetcode.com/problems/consecutive-numbers-sum
329,Longest Increasing Path in a Matrix,43.4%,Hard,0.052557250738676044, https://leetcode.com/problems/longest-increasing-path-in-a-matrix
122,Best Time to Buy and Sell Stock II,57.0%,Easy,0.05236798551731598, https://leetcode.com/problems/best-time-to-buy-and-sell-stock-ii
601,Human Traffic of Stadium,41.7%,Hard,0.05223119222544569, https://leetcode.com/problems/human-traffic-of-stadium
791,Custom Sort String,65.7%,Medium,0.05164658886216683, https://leetcode.com/problems/custom-sort-string
99,Recover Binary Search Tree,39.7%,Hard,0.051264071283762605, https://leetcode.com/problems/recover-binary-search-tree
740,Delete and Earn,48.6%,Medium,0.05109668266230467, https://leetcode.com/problems/delete-and-earn
681,Next Closest Time,45.0%,Medium,0.05045206096038863, https://leetcode.com/problems/next-closest-time
282,Expression Add Operators,35.5%,Hard,0.049982640867735496, https://leetcode.com/problems/expression-add-operators
449,Serialize and Deserialize BST,52.0%,Medium,0.049844204077291364, https://leetcode.com/problems/serialize-and-deserialize-bst
133,Clone Graph,34.8%,Medium,0.049801168649527466, https://leetcode.com/problems/clone-graph
889,Construct Binary Tree from Preorder and Postorder Traversal,66.2%,Medium,0.04902942724031861, https://leetcode.com/problems/construct-binary-tree-from-preorder-and-postorder-traversal
445,Add Two Numbers II,54.5%,Medium,0.04843561709959499, https://leetcode.com/problems/add-two-numbers-ii
1019,Next Greater Node In Linked List,57.4%,Medium,0.04795804429616222, https://leetcode.com/problems/next-greater-node-in-linked-list
486,Predict the Winner,47.9%,Medium,0.047122970130097065, https://leetcode.com/problems/predict-the-winner
97,Interleaving String,31.5%,Hard,0.04548535439411653, https://leetcode.com/problems/interleaving-string
78,Subsets,62.0%,Medium,0.044263005655043326, https://leetcode.com/problems/subsets
10,Regular Expression Matching,26.8%,Hard,0.04409107726484965, https://leetcode.com/problems/regular-expression-matching
611,Valid Triangle Number,48.4%,Medium,0.04255961441879593, https://leetcode.com/problems/valid-triangle-number
121,Best Time to Buy and Sell Stock,50.5%,Easy,0.04215422741819192, https://leetcode.com/problems/best-time-to-buy-and-sell-stock
430,Flatten a Multilevel Doubly Linked List,55.1%,Medium,0.04154283751370906, https://leetcode.com/problems/flatten-a-multilevel-doubly-linked-list
211,Add and Search Word - Data structure design,38.1%,Medium,0.04111576039097048, https://leetcode.com/problems/add-and-search-word-data-structure-design
722,Remove Comments,34.6%,Medium,0.04049136135473691, https://leetcode.com/problems/remove-comments
918,Maximum Sum Circular Subarray,33.7%,Medium,0.04045040846284272, https://leetcode.com/problems/maximum-sum-circular-subarray
706,Design HashMap,61.3%,Easy,0.039016652342451774, https://leetcode.com/problems/design-hashmap
230,Kth Smallest Element in a BST,60.2%,Medium,0.03895787134280517, https://leetcode.com/problems/kth-smallest-element-in-a-bst
337,House Robber III,50.6%,Medium,0.03825370795946937, https://leetcode.com/problems/house-robber-iii
909,Snakes and Ladders,38.4%,Medium,0.038172573505029735, https://leetcode.com/problems/snakes-and-ladders
992,Subarrays with K Different Integers,48.6%,Hard,0.03700699810869683, https://leetcode.com/problems/subarrays-with-k-different-integers
646,Maximum Length of Pair Chain,51.9%,Medium,0.036870535808327706, https://leetcode.com/problems/maximum-length-of-pair-chain
376,Wiggle Subsequence,39.6%,Medium,0.03666771919188123, https://leetcode.com/problems/wiggle-subsequence
729,My Calendar I,51.8%,Medium,0.036433902246102004, https://leetcode.com/problems/my-calendar-i
468,Validate IP Address,24.1%,Medium,0.0344861760711693, https://leetcode.com/problems/validate-ip-address
53,Maximum Subarray,46.5%,Easy,0.03412208634661372, https://leetcode.com/problems/maximum-subarray
1146,Snapshot Array,37.0%,Medium,0.0317991816929387, https://leetcode.com/problems/snapshot-array
1091,Shortest Path in Binary Matrix,38.2%,Medium,0.03164821095078173, https://leetcode.com/problems/shortest-path-in-binary-matrix
228,Summary Ranges,39.5%,Medium,0.03157326191609021, https://leetcode.com/problems/summary-ranges
1011,Capacity To Ship Packages Within D Days,58.1%,Medium,0.030100090297855955, https://leetcode.com/problems/capacity-to-ship-packages-within-d-days
135,Candy,31.6%,Hard,0.029764101906453892, https://leetcode.com/problems/candy
692,Top K Frequent Words,51.8%,Medium,0.029730915184679466, https://leetcode.com/problems/top-k-frequent-words
277,Find the Celebrity,41.8%,Medium,0.02969780239174205, https://leetcode.com/problems/find-the-celebrity
767,Reorganize String,48.7%,Medium,0.02967576814611661, https://leetcode.com/problems/reorganize-string
347,Top K Frequent Elements,61.2%,Medium,0.029662726238554857, https://leetcode.com/problems/top-k-frequent-elements
339,Nested List Weight Sum,74.0%,Easy,0.02960986116720276, https://leetcode.com/problems/nested-list-weight-sum
671,Second Minimum Node In a Binary Tree,42.7%,Easy,0.02958795718549609, https://leetcode.com/problems/second-minimum-node-in-a-binary-tree
695,Max Area of Island,62.7%,Medium,0.028321590863246118, https://leetcode.com/problems/max-area-of-island
621,Task Scheduler,50.1%,Medium,0.028315771352780777, https://leetcode.com/problems/task-scheduler
518,Coin Change 2,50.2%,Medium,0.027969505010125056, https://leetcode.com/problems/coin-change-2
311,Sparse Matrix Multiplication,61.9%,Medium,0.027702602549335792, https://leetcode.com/problems/sparse-matrix-multiplication
118,Pascal's Triangle,52.5%,Easy,0.02673062594465844, https://leetcode.com/problems/pascals-triangle
158,Read N Characters Given Read4 II - Call multiple times,33.8%,Hard,0.026196651946570663, https://leetcode.com/problems/read-n-characters-given-read4-ii-call-multiple-times
979,Distribute Coins in Binary Tree,68.9%,Medium,0.026196651946570663, https://leetcode.com/problems/distribute-coins-in-binary-tree
378,Kth Smallest Element in a Sorted Matrix,54.3%,Medium,0.02599048981653746, https://leetcode.com/problems/kth-smallest-element-in-a-sorted-matrix
733,Flood Fill,55.3%,Easy,0.02506396866321625, https://leetcode.com/problems/flood-fill
983,Minimum Cost For Tickets,60.5%,Medium,0.02467737809337621, https://leetcode.com/problems/minimum-cost-for-tickets
238,Product of Array Except Self,60.1%,Medium,0.024315533698358247, https://leetcode.com/problems/product-of-array-except-self
426,Convert Binary Search Tree to Sorted Doubly Linked List,59.1%,Medium,0.024214258120594613, https://leetcode.com/problems/convert-binary-search-tree-to-sorted-doubly-linked-list
140,Word Break II,32.6%,Hard,0.024104005752813337, https://leetcode.com/problems/word-break-ii
844,Backspace String Compare,46.4%,Easy,0.0235551325028849, https://leetcode.com/problems/backspace-string-compare
647,Palindromic Substrings,60.6%,Medium,0.023250853650202817, https://leetcode.com/problems/palindromic-substrings
973,K Closest Points to Origin,63.8%,Medium,0.022897394173017796, https://leetcode.com/problems/k-closest-points-to-origin
102,Binary Tree Level Order Traversal,54.6%,Medium,0.02252956425342345, https://leetcode.com/problems/binary-tree-level-order-traversal
981,Time Based Key-Value Store,53.1%,Medium,0.02226024024151985, https://leetcode.com/problems/time-based-key-value-store
152,Maximum Product Subarray,31.7%,Medium,0.022176931045949227, https://leetcode.com/problems/maximum-product-subarray
398,Random Pick Index,56.0%,Medium,0.022075951699199795, https://leetcode.com/problems/random-pick-index
670,Maximum Swap,43.6%,Medium,0.020844944430365928, https://leetcode.com/problems/maximum-swap
5,Longest Palindromic Substring,29.5%,Medium,0.020329346568668867, https://leetcode.com/problems/longest-palindromic-substring
21,Merge Two Sorted Lists,53.5%,Easy,0.02011578137441701, https://leetcode.com/problems/merge-two-sorted-lists
229,Majority Element II,35.6%,Medium,0.019057270410286146, https://leetcode.com/problems/majority-element-ii
62,Unique Paths,54.1%,Medium,0.01835756003995383, https://leetcode.com/problems/unique-paths
70,Climbing Stairs,47.8%,Easy,0.018323749536870576, https://leetcode.com/problems/climbing-stairs
37,Sudoku Solver,43.6%,Hard,0.01821543989134118, https://leetcode.com/problems/sudoku-solver
560,Subarray Sum Equals K,43.9%,Medium,0.017009020666013328, https://leetcode.com/problems/subarray-sum-equals-k
16,3Sum Closest,46.0%,Medium,0.016854331554982106, https://leetcode.com/problems/3sum-closest
51,N-Queens,46.6%,Hard,0.016393809775676407, https://leetcode.com/problems/n-queens
299,Bulls and Cows,42.4%,Easy,0.016227536621756702, https://leetcode.com/problems/bulls-and-cows
334,Increasing Triplet Subsequence,40.0%,Medium,0.016058153168974937, https://leetcode.com/problems/increasing-triplet-subsequence
59,Spiral Matrix II,53.9%,Medium,0.01579187969789165, https://leetcode.com/problems/spiral-matrix-ii
114,Flatten Binary Tree to Linked List,49.3%,Medium,0.015450951155718977, https://leetcode.com/problems/flatten-binary-tree-to-linked-list
198,House Robber,42.0%,Easy,0.014946565030639177, https://leetcode.com/problems/house-robber
177,Nth Highest Salary,31.4%,Medium,0.014373226241371741, https://leetcode.com/problems/nth-highest-salary
41,First Missing Positive,32.0%,Hard,0.014368063266920193, https://leetcode.com/problems/first-missing-positive
315,Count of Smaller Numbers After Self,41.5%,Hard,0.014352596574956585, https://leetcode.com/problems/count-of-smaller-numbers-after-self
150,Evaluate Reverse Polish Notation,36.3%,Medium,0.01413451093490476, https://leetcode.com/problems/evaluate-reverse-polish-notation
24,Swap Nodes in Pairs,50.4%,Medium,0.013945066390122038, https://leetcode.com/problems/swap-nodes-in-pairs
64,Minimum Path Sum,54.5%,Medium,0.013734383449598314, https://leetcode.com/problems/minimum-path-sum
101,Symmetric Tree,46.8%,Easy,0.013553786479814183, https://leetcode.com/problems/symmetric-tree
581,Shortest Unsorted Continuous Subarray,31.1%,Easy,0.013342426083839913, https://leetcode.com/problems/shortest-unsorted-continuous-subarray
33,Search in Rotated Sorted Array,34.5%,Medium,0.012857779194289386, https://leetcode.com/problems/search-in-rotated-sorted-array
199,Binary Tree Right Side View,54.1%,Medium,0.01274082919906162, https://leetcode.com/problems/binary-tree-right-side-view
852,Peak Index in a Mountain Array,71.6%,Easy,0.012618463959211509, https://leetcode.com/problems/peak-index-in-a-mountain-array
124,Binary Tree Maximum Path Sum,34.3%,Hard,0.012403687139326226, https://leetcode.com/problems/binary-tree-maximum-path-sum
547,Friend Circles,58.6%,Medium,0.012228828639434596, https://leetcode.com/problems/friend-circles
437,Path Sum III,47.2%,Medium,0.012128711446614806, https://leetcode.com/problems/path-sum-iii
300,Longest Increasing Subsequence,42.6%,Medium,0.011806512586989004, https://leetcode.com/problems/longest-increasing-subsequence
350,Intersection of Two Arrays II,51.4%,Easy,0.01168540951877908, https://leetcode.com/problems/intersection-of-two-arrays-ii
264,Ugly Number II,42.0%,Medium,0.011604423810414601, https://leetcode.com/problems/ugly-number-ii
283,Move Zeroes,57.8%,Easy,0.01149190266804209, https://leetcode.com/problems/move-zeroes
69,Sqrt(x),33.9%,Easy,0.011443227222342794, https://leetcode.com/problems/sqrtx
232,Implement Queue using Stacks,49.6%,Easy,0.011242389348933884, https://leetcode.com/problems/implement-queue-using-stacks
941,Valid Mountain Array,33.2%,Easy,0.011139073683009305, https://leetcode.com/problems/valid-mountain-array
338,Counting Bits,69.5%,Medium,0.01088446119842327, https://leetcode.com/problems/counting-bits
662,Maximum Width of Binary Tree,41.0%,Medium,0.010790501245113902, https://leetcode.com/problems/maximum-width-of-binary-tree
155,Min Stack,44.5%,Easy,0.010653509851791077, https://leetcode.com/problems/min-stack
236,Lowest Common Ancestor of a Binary Tree,45.7%,Medium,0.010575891759058162, https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-tree
739,Daily Temperatures,63.3%,Medium,0.010032690121814417, https://leetcode.com/problems/daily-temperatures
72,Edit Distance,44.8%,Hard,0.010017614452317782, https://leetcode.com/problems/edit-distance
47,Permutations II,46.4%,Medium,0.009673594178378379, https://leetcode.com/problems/permutations-ii
45,Jump Game II,30.6%,Hard,0.009546611883579968, https://leetcode.com/problems/jump-game-ii
206,Reverse Linked List,62.5%,Easy,0.009326794511974934, https://leetcode.com/problems/reverse-linked-list
43,Multiply Strings,33.9%,Medium,0.009145011150062768, https://leetcode.com/problems/multiply-strings
322,Coin Change,35.5%,Medium,0.00904437880665999, https://leetcode.com/problems/coin-change
15,3Sum,26.8%,Medium,0.00876717944353383, https://leetcode.com/problems/3sum
215,Kth Largest Element in an Array,55.4%,Medium,0.008759180089881562, https://leetcode.com/problems/kth-largest-element-in-an-array
50,Pow(x;n),30.3%,Medium,0.008728496167158806, https://leetcode.com/problems/powx-n
416,Partition Equal Subset Sum,43.7%,Medium,0.008686265255960345, https://leetcode.com/problems/partition-equal-subset-sum
8,String to Integer (atoi),15.4%,Medium,0.008513104762248265, https://leetcode.com/problems/string-to-integer-atoi
153,Find Minimum in Rotated Sorted Array,45.1%,Medium,0.008430963288799368, https://leetcode.com/problems/find-minimum-in-rotated-sorted-array
235,Lowest Common Ancestor of a Binary Search Tree,49.9%,Easy,0.00821697310228087, https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-search-tree
26,Remove Duplicates from Sorted Array,45.1%,Easy,0.007782518973063169, https://leetcode.com/problems/remove-duplicates-from-sorted-array
6,ZigZag Conversion,36.3%,Medium,0.0077116248757144665, https://leetcode.com/problems/zigzag-conversion
145,Binary Tree Postorder Traversal,55.0%,Hard,0.00751459482064135, https://leetcode.com/problems/binary-tree-postorder-traversal
344,Reverse String,68.5%,Easy,0.00734157796234515, https://leetcode.com/problems/reverse-string
349,Intersection of Two Arrays,62.5%,Easy,0.00725034896230682, https://leetcode.com/problems/intersection-of-two-arrays
11,Container With Most Water,50.8%,Medium,0.006889188300412141, https://leetcode.com/problems/container-with-most-water
88,Merge Sorted Array,39.4%,Easy,0.006760335218638243, https://leetcode.com/problems/merge-sorted-array
98,Validate Binary Search Tree,27.8%,Medium,0.006611351489350257, https://leetcode.com/problems/validate-binary-search-tree
138,Copy List with Random Pointer,36.4%,Medium,0.006191011880825271, https://leetcode.com/problems/copy-list-with-random-pointer
278,First Bad Version,35.7%,Easy,0.005391575265790431, https://leetcode.com/problems/first-bad-version
48,Rotate Image,56.7%,Medium,0.0050955524266001265, https://leetcode.com/problems/rotate-image
55,Jump Game,34.6%,Medium,0.005022612266291382, https://leetcode.com/problems/jump-game
189,Rotate Array,34.7%,Easy,0.004029826126500844, https://leetcode.com/problems/rotate-array
13,Roman to Integer,55.7%,Easy,0.003428770717317083, https://leetcode.com/problems/roman-to-integer
94,Binary Tree Inorder Traversal,63.3%,Medium,0.0033551449021403577, https://leetcode.com/problems/binary-tree-inorder-traversal
66,Plus One,43.0%,Easy,0.00326211347832938, https://leetcode.com/problems/plus-one
154,Find Minimum in Rotated Sorted Array II,41.6%,Hard,0.0021273209107578427, https://leetcode.com/problems/find-minimum-in-rotated-sorted-array-ii
7,Reverse Integer,25.8%,Easy,0.0018612447790907708, https://leetcode.com/problems/reverse-integer
203,Remove Linked List Elements,38.6%,Easy,0.0016237064659255223, https://leetcode.com/problems/remove-linked-list-elements
ID,Title,Acceptance,Difficulty,Frequency,Leetcode Question Link
427,Construct Quad Tree,61.4%,Medium,1.812347218370924, https://leetcode.com/problems/construct-quad-tree
529,Minesweeper,59.1%,Medium,1.6823491789169709, https://leetcode.com/problems/minesweeper
741,Cherry Pickup,33.9%,Hard,1.6681515178241457, https://leetcode.com/problems/cherry-pickup
465,Optimal Account Balancing,46.9%,Hard,1.5791340687596236, https://leetcode.com/problems/optimal-account-balancing
332,Reconstruct Itinerary,36.7%,Medium,1.4570962400494838, https://leetcode.com/problems/reconstruct-itinerary
291,Word Pattern II,43.4%,Hard,1.327098200595531, https://leetcode.com/problems/word-pattern-ii
305,Number of Islands II,40.1%,Hard,1.2993348513875815, https://leetcode.com/problems/number-of-islands-ii
757,Set Intersection Size At Least Two,40.1%,Hard,1.2970683845427906, https://leetcode.com/problems/set-intersection-size-at-least-two
267,Palindrome Permutation II,36.4%,Medium,1.2914164645383432, https://leetcode.com/problems/palindrome-permutation-ii
986,Interval List Intersections,67.3%,Medium,1.1614184250843902, https://leetcode.com/problems/interval-list-intersections
361,Bomb Enemy,46.0%,Medium,1.1535711729488671, https://leetcode.com/problems/bomb-enemy
773,Sliding Puzzle,59.3%,Hard,1.1105884797148253, https://leetcode.com/problems/sliding-puzzle
655,Print Binary Tree,55.0%,Medium,1.0605315351500602, https://leetcode.com/problems/print-binary-tree
68,Text Justification,27.7%,Hard,1.0274647299045185, https://leetcode.com/problems/text-justification
428,Serialize and Deserialize N-ary Tree,59.4%,Hard,0.9486721413771949, https://leetcode.com/problems/serialize-and-deserialize-n-ary-tree
253,Meeting Rooms II,45.7%,Medium,0.818674101923242, https://leetcode.com/problems/meeting-rooms-ii
591,Tag Validator,34.3%,Hard,0.7812544480702122, https://leetcode.com/problems/tag-validator
227,Basic Calculator II,36.9%,Medium,0.7542487353396534, https://leetcode.com/problems/basic-calculator-ii
772,Basic Calculator III,41.3%,Hard,0.7157652691477178, https://leetcode.com/problems/basic-calculator-iii
146,LRU Cache,33.2%,Medium,0.6777555597343323, https://leetcode.com/problems/lru-cache
56,Merge Intervals,39.3%,Medium,0.666351993828014, https://leetcode.com/problems/merge-intervals
297,Serialize and Deserialize Binary Tree,47.5%,Hard,0.6623144848742207, https://leetcode.com/problems/serialize-and-deserialize-binary-tree
341,Flatten Nested List Iterator,52.9%,Medium,0.6166300368504478, https://leetcode.com/problems/flatten-nested-list-iterator
780,Reaching Points,29.4%,Hard,0.612719105819513, https://leetcode.com/problems/reaching-points
528,Random Pick with Weight,43.9%,Medium,0.6100335190236106, https://leetcode.com/problems/random-pick-with-weight
36,Valid Sudoku,48.7%,Medium,0.589525373843642, https://leetcode.com/problems/valid-sudoku
679,24 Game,46.4%,Hard,0.5141123974726134, https://leetcode.com/problems/24-game
224,Basic Calculator,36.8%,Hard,0.4952386742713679, https://leetcode.com/problems/basic-calculator
34,Find First and Last Position of Element in Sorted Array,36.2%,Medium,0.4780719820485919, https://leetcode.com/problems/find-first-and-last-position-of-element-in-sorted-array
668,Kth Smallest Number in Multiplication Table,45.6%,Hard,0.4506902061131003, https://leetcode.com/problems/kth-smallest-number-in-multiplication-table
642,Design Search Autocomplete System,44.7%,Hard,0.43349242036282026, https://leetcode.com/problems/design-search-autocomplete-system
359,Logger Rate Limiter,70.8%,Easy,0.4265185173059967, https://leetcode.com/problems/logger-rate-limiter
166,Fraction to Recurring Decimal,21.6%,Medium,0.4113847871284642, https://leetcode.com/problems/fraction-to-recurring-decimal
239,Sliding Window Maximum,43.0%,Hard,0.4104750065235096, https://leetcode.com/problems/sliding-window-maximum
1281,Subtract the Product and Sum of Digits of an Integer,85.2%,Easy,0.3807587855252646, https://leetcode.com/problems/subtract-the-product-and-sum-of-digits-of-an-integer
49,Group Anagrams,56.9%,Medium,0.37923884429361854, https://leetcode.com/problems/group-anagrams
200,Number of Islands,46.8%,Medium,0.348349251262677, https://leetcode.com/problems/number-of-islands
805,Split Array With Same Average,26.4%,Hard,0.3416302106614813, https://leetcode.com/problems/split-array-with-same-average
399,Evaluate Division,51.6%,Medium,0.3338128467131867, https://leetcode.com/problems/evaluate-division
128,Longest Consecutive Sequence,45.1%,Hard,0.3251066222598543, https://leetcode.com/problems/longest-consecutive-sequence
381,Insert Delete GetRandom O(1) - Duplicates allowed,34.1%,Hard,0.32306557634109756, https://leetcode.com/problems/insert-delete-getrandom-o1-duplicates-allowed
936,Stamping The Sequence,42.8%,Hard,0.2972515234679316, https://leetcode.com/problems/stamping-the-sequence
1136,Parallel Courses,61.1%,Hard,0.2858421455297737, https://leetcode.com/problems/parallel-courses
640,Solve the Equation,42.0%,Medium,0.2840257612486704, https://leetcode.com/problems/solve-the-equation
130,Surrounded Regions,28.1%,Medium,0.2630816163130375, https://leetcode.com/problems/surrounded-regions
380,Insert Delete GetRandom O(1),47.5%,Medium,0.2612438587254704, https://leetcode.com/problems/insert-delete-getrandom-o1
301,Remove Invalid Parentheses,43.3%,Hard,0.25857398829371026, https://leetcode.com/problems/remove-invalid-parentheses
126,Word Ladder II,22.1%,Hard,0.25503976484865665, https://leetcode.com/problems/word-ladder-ii
542,01 Matrix,39.8%,Medium,0.2547335788363499, https://leetcode.com/problems/01-matrix
286,Walls and Gates,54.5%,Medium,0.2531417471996048, https://leetcode.com/problems/walls-and-gates
42,Trapping Rain Water,48.9%,Hard,0.24611721432868788, https://leetcode.com/problems/trapping-rain-water
365,Water and Jug Problem,30.6%,Medium,0.24587963229494916, https://leetcode.com/problems/water-and-jug-problem
527,Word Abbreviation,54.3%,Hard,0.24362208265775043, https://leetcode.com/problems/word-abbreviation
535,Encode and Decode TinyURL,79.9%,Medium,0.23740366313104297, https://leetcode.com/problems/encode-and-decode-tinyurl
57,Insert Interval,33.5%,Hard,0.23697938397356041, https://leetcode.com/problems/insert-interval
815,Bus Routes,42.5%,Hard,0.23395801030775792, https://leetcode.com/problems/bus-routes
552,Student Attendance Record II,36.7%,Hard,0.2265276492984503, https://leetcode.com/problems/student-attendance-record-ii
1,Two Sum,45.6%,Easy,0.2242758219657857, https://leetcode.com/problems/two-sum
353,Design Snake Game,34.2%,Medium,0.2228314901476892, https://leetcode.com/problems/design-snake-game
221,Maximal Square,37.7%,Medium,0.2218511119038007, https://leetcode.com/problems/maximal-square
149,Max Points on a Line,16.9%,Hard,0.20409535634351528, https://leetcode.com/problems/max-points-on-a-line
568,Maximum Vacation Days,40.8%,Hard,0.19966567025192705, https://leetcode.com/problems/maximum-vacation-days
17,Letter Combinations of a Phone Number,46.8%,Medium,0.19570536211262238, https://leetcode.com/problems/letter-combinations-of-a-phone-number
85,Maximal Rectangle,37.7%,Hard,0.1945507253203666, https://leetcode.com/problems/maximal-rectangle
863,All Nodes Distance K in Binary Tree,55.4%,Medium,0.19019980471738818, https://leetcode.com/problems/all-nodes-distance-k-in-binary-tree
3,Longest Substring Without Repeating Characters,30.4%,Medium,0.18722008570926535, https://leetcode.com/problems/longest-substring-without-repeating-characters
658,Find K Closest Elements,40.9%,Medium,0.18663941293482042, https://leetcode.com/problems/find-k-closest-elements
759,Employee Free Time,66.3%,Hard,0.1816986978513639, https://leetcode.com/problems/employee-free-time
76,Minimum Window Substring,34.6%,Hard,0.1731900290370625, https://leetcode.com/problems/minimum-window-substring
1278,Palindrome Partitioning III,59.9%,Hard,0.17284281283941086, https://leetcode.com/problems/palindrome-partitioning-iii
567,Permutation in String,44.4%,Medium,0.16931057302189864, https://leetcode.com/problems/permutation-in-string
244,Shortest Word Distance II,52.3%,Medium,0.16400297627026994, https://leetcode.com/problems/shortest-word-distance-ii
895,Maximum Frequency Stack,60.6%,Hard,0.1629613095094132, https://leetcode.com/problems/maximum-frequency-stack
493,Reverse Pairs,25.2%,Hard,0.16229864091884685, https://leetcode.com/problems/reverse-pairs
173,Binary Search Tree Iterator,56.6%,Medium,0.15925273171115378, https://leetcode.com/problems/binary-search-tree-iterator
243,Shortest Word Distance,61.0%,Easy,0.15400201410186742, https://leetcode.com/problems/shortest-word-distance
977,Squares of a Sorted Array,72.1%,Easy,0.15247843863489619, https://leetcode.com/problems/squares-of-a-sorted-array
451,Sort Characters By Frequency,63.0%,Medium,0.15031299478176025, https://leetcode.com/problems/sort-characters-by-frequency
362,Design Hit Counter,63.7%,Medium,0.1489960292385938, https://leetcode.com/problems/design-hit-counter
346,Moving Average from Data Stream,70.9%,Easy,0.14878873668587292, https://leetcode.com/problems/moving-average-from-data-stream
395,Longest Substring with At Least K Repeating Characters,41.4%,Medium,0.14261022668001652, https://leetcode.com/problems/longest-substring-with-at-least-k-repeating-characters
91,Decode Ways,24.7%,Medium,0.13946258598914826, https://leetcode.com/problems/decode-ways
279,Perfect Squares,47.4%,Medium,0.13815033848081718, https://leetcode.com/problems/perfect-squares
855,Exam Room,43.1%,Medium,0.13804422079620546, https://leetcode.com/problems/exam-room
32,Longest Valid Parentheses,28.4%,Hard,0.13667290598927465, https://leetcode.com/problems/longest-valid-parentheses
23,Merge k Sorted Lists,40.2%,Hard,0.13640708740119573, https://leetcode.com/problems/merge-k-sorted-lists
295,Find Median from Data Stream,44.3%,Hard,0.13508385924075386, https://leetcode.com/problems/find-median-from-data-stream
255,Verify Preorder Sequence in Binary Search Tree,45.7%,Medium,0.1348842676899421, https://leetcode.com/problems/verify-preorder-sequence-in-binary-search-tree
4,Median of Two Sorted Arrays,29.6%,Hard,0.13162453469432595, https://leetcode.com/problems/median-of-two-sorted-arrays
139,Word Break,40.1%,Medium,0.1314440532234174, https://leetcode.com/problems/word-break
22,Generate Parentheses,62.7%,Medium,0.12417283375515446, https://leetcode.com/problems/generate-parentheses
262,Trips and Users,32.7%,Hard,0.12266506325369182, https://leetcode.com/problems/trips-and-users
20,Valid Parentheses,39.0%,Easy,0.12182468348227132, https://leetcode.com/problems/valid-parentheses
207,Course Schedule,43.1%,Medium,0.11725761496207857, https://leetcode.com/problems/course-schedule
127,Word Ladder,29.6%,Medium,0.11461293205885352, https://leetcode.com/problems/word-ladder
212,Word Search II,34.9%,Hard,0.11439698130007839, https://leetcode.com/problems/word-search-ii
1188,Design Bounded Blocking Queue,70.5%,Medium,0.11030454201470608, https://leetcode.com/problems/design-bounded-blocking-queue
969,Pancake Sorting,67.5%,Medium,0.10724553035359762, https://leetcode.com/problems/pancake-sorting
388,Longest Absolute File Path,41.8%,Medium,0.105981440856292, https://leetcode.com/problems/longest-absolute-file-path
2,Add Two Numbers,33.9%,Medium,0.10270361758692534, https://leetcode.com/problems/add-two-numbers
336,Palindrome Pairs,33.7%,Hard,0.10259559233600947, https://leetcode.com/problems/palindrome-pairs
79,Word Search,35.6%,Medium,0.10132037593637946, https://leetcode.com/problems/word-search
391,Perfect Rectangle,30.5%,Hard,0.10109611687136877, https://leetcode.com/problems/perfect-rectangle
54,Spiral Matrix,34.1%,Medium,0.10061889164064056, https://leetcode.com/problems/spiral-matrix
1135,Connecting Cities With Minimum Cost,57.5%,Medium,0.09909090264423091, https://leetcode.com/problems/connecting-cities-with-minimum-cost
218,The Skyline Problem,34.6%,Hard,0.09823843958341322, https://leetcode.com/problems/the-skyline-problem
837,New 21 Game,34.6%,Medium,0.09646026618756222, https://leetcode.com/problems/new-21-game
954,Array of Doubled Pairs,35.6%,Medium,0.09531017980432487, https://leetcode.com/problems/array-of-doubled-pairs
752,Open the Lock,51.8%,Medium,0.09491410658218381, https://leetcode.com/problems/open-the-lock
490,The Maze,51.4%,Medium,0.09401490736696706, https://leetcode.com/problems/the-maze
826,Most Profit Assigning Work,38.5%,Medium,0.09287412500644375, https://leetcode.com/problems/most-profit-assigning-work
652,Find Duplicate Subtrees,50.2%,Medium,0.08907963005368878, https://leetcode.com/problems/find-duplicate-subtrees
564,Find the Closest Palindrome,19.7%,Hard,0.0840831172105414, https://leetcode.com/problems/find-the-closest-palindrome
317,Shortest Distance from All Buildings,41.4%,Hard,0.08345897538526194, https://leetcode.com/problems/shortest-distance-from-all-buildings
636,Exclusive Time of Functions,51.9%,Medium,0.08155306616046964, https://leetcode.com/problems/exclusive-time-of-functions
161,One Edit Distance,32.3%,Medium,0.07982960165248484, https://leetcode.com/problems/one-edit-distance
934,Shortest Bridge,48.2%,Medium,0.07940677760441046, https://leetcode.com/problems/shortest-bridge
210,Course Schedule II,40.7%,Medium,0.07762595476606639, https://leetcode.com/problems/course-schedule-ii
269,Alien Dictionary,33.3%,Hard,0.0770322180463687, https://leetcode.com/problems/alien-dictionary
273,Integer to English Words,27.1%,Hard,0.0732177031685638, https://leetcode.com/problems/integer-to-english-words
694,Number of Distinct Islands,56.0%,Medium,0.07232066157962612, https://leetcode.com/problems/number-of-distinct-islands
31,Next Permutation,32.6%,Medium,0.07101345814434841, https://leetcode.com/problems/next-permutation
438,Find All Anagrams in a String,43.3%,Medium,0.07086789751218016, https://leetcode.com/problems/find-all-anagrams-in-a-string
460,LFU Cache,34.2%,Hard,0.06836374280939023, https://leetcode.com/problems/lfu-cache
39,Combination Sum,56.1%,Medium,0.0678648829148938, https://leetcode.com/problems/combination-sum
289,Game of Life,54.5%,Medium,0.06756473699960104, https://leetcode.com/problems/game-of-life
251,Flatten 2D Vector,45.7%,Medium,0.06635933243696077, https://leetcode.com/problems/flatten-2d-vector
46,Permutations,63.5%,Medium,0.06541618594577135, https://leetcode.com/problems/permutations
298,Binary Tree Longest Consecutive Sequence,47.1%,Medium,0.065169635074581, https://leetcode.com/problems/binary-tree-longest-consecutive-sequence
769,Max Chunks To Make Sorted,54.8%,Medium,0.06474752939415815, https://leetcode.com/problems/max-chunks-to-make-sorted
242,Valid Anagram,56.9%,Easy,0.06447998055429512, https://leetcode.com/problems/valid-anagram
340,Longest Substring with At Most K Distinct Characters,44.1%,Hard,0.06298815293235048, https://leetcode.com/problems/longest-substring-with-at-most-k-distinct-characters
420,Strong Password Checker,14.0%,Hard,0.061087691979838175, https://leetcode.com/problems/strong-password-checker
75,Sort Colors,47.3%,Medium,0.05950522970614658, https://leetcode.com/problems/sort-colors
40,Combination Sum II,48.2%,Medium,0.058414175143170426, https://leetcode.com/problems/combination-sum-ii
968,Binary Tree Cameras,37.5%,Hard,0.05790329283155908, https://leetcode.com/problems/binary-tree-cameras
74,Search a 2D Matrix,36.5%,Medium,0.057001980519332376, https://leetcode.com/problems/search-a-2d-matrix
1038,Binary Search Tree to Greater Sum Tree,80.8%,Medium,0.05637058926920947, https://leetcode.com/problems/binary-search-tree-to-greater-sum-tree
162,Find Peak Element,43.3%,Medium,0.05575061760504993, https://leetcode.com/problems/find-peak-element
208,Implement Trie (Prefix Tree),49.4%,Medium,0.05559457257530485, https://leetcode.com/problems/implement-trie-prefix-tree
131,Palindrome Partitioning,47.5%,Medium,0.05449083692828802, https://leetcode.com/problems/palindrome-partitioning
348,Design Tic-Tac-Toe,54.3%,Medium,0.05368014946362379, https://leetcode.com/problems/design-tic-tac-toe
1229,Meeting Scheduler,52.7%,Medium,0.053560323833736816, https://leetcode.com/problems/meeting-scheduler
829,Consecutive Numbers Sum,37.5%,Hard,0.05341723749698583, https://leetcode.com/problems/consecutive-numbers-sum
329,Longest Increasing Path in a Matrix,43.4%,Hard,0.052557250738676044, https://leetcode.com/problems/longest-increasing-path-in-a-matrix
122,Best Time to Buy and Sell Stock II,57.0%,Easy,0.05236798551731598, https://leetcode.com/problems/best-time-to-buy-and-sell-stock-ii
601,Human Traffic of Stadium,41.7%,Hard,0.05223119222544569, https://leetcode.com/problems/human-traffic-of-stadium
791,Custom Sort String,65.7%,Medium,0.05164658886216683, https://leetcode.com/problems/custom-sort-string
99,Recover Binary Search Tree,39.7%,Hard,0.051264071283762605, https://leetcode.com/problems/recover-binary-search-tree
740,Delete and Earn,48.6%,Medium,0.05109668266230467, https://leetcode.com/problems/delete-and-earn
681,Next Closest Time,45.0%,Medium,0.05045206096038863, https://leetcode.com/problems/next-closest-time
282,Expression Add Operators,35.5%,Hard,0.049982640867735496, https://leetcode.com/problems/expression-add-operators
449,Serialize and Deserialize BST,52.0%,Medium,0.049844204077291364, https://leetcode.com/problems/serialize-and-deserialize-bst
133,Clone Graph,34.8%,Medium,0.049801168649527466, https://leetcode.com/problems/clone-graph
889,Construct Binary Tree from Preorder and Postorder Traversal,66.2%,Medium,0.04902942724031861, https://leetcode.com/problems/construct-binary-tree-from-preorder-and-postorder-traversal
445,Add Two Numbers II,54.5%,Medium,0.04843561709959499, https://leetcode.com/problems/add-two-numbers-ii
1019,Next Greater Node In Linked List,57.4%,Medium,0.04795804429616222, https://leetcode.com/problems/next-greater-node-in-linked-list
486,Predict the Winner,47.9%,Medium,0.047122970130097065, https://leetcode.com/problems/predict-the-winner
97,Interleaving String,31.5%,Hard,0.04548535439411653, https://leetcode.com/problems/interleaving-string
78,Subsets,62.0%,Medium,0.044263005655043326, https://leetcode.com/problems/subsets
10,Regular Expression Matching,26.8%,Hard,0.04409107726484965, https://leetcode.com/problems/regular-expression-matching
611,Valid Triangle Number,48.4%,Medium,0.04255961441879593, https://leetcode.com/problems/valid-triangle-number
121,Best Time to Buy and Sell Stock,50.5%,Easy,0.04215422741819192, https://leetcode.com/problems/best-time-to-buy-and-sell-stock
430,Flatten a Multilevel Doubly Linked List,55.1%,Medium,0.04154283751370906, https://leetcode.com/problems/flatten-a-multilevel-doubly-linked-list
211,Add and Search Word - Data structure design,38.1%,Medium,0.04111576039097048, https://leetcode.com/problems/add-and-search-word-data-structure-design
722,Remove Comments,34.6%,Medium,0.04049136135473691, https://leetcode.com/problems/remove-comments
918,Maximum Sum Circular Subarray,33.7%,Medium,0.04045040846284272, https://leetcode.com/problems/maximum-sum-circular-subarray
706,Design HashMap,61.3%,Easy,0.039016652342451774, https://leetcode.com/problems/design-hashmap
230,Kth Smallest Element in a BST,60.2%,Medium,0.03895787134280517, https://leetcode.com/problems/kth-smallest-element-in-a-bst
337,House Robber III,50.6%,Medium,0.03825370795946937, https://leetcode.com/problems/house-robber-iii
909,Snakes and Ladders,38.4%,Medium,0.038172573505029735, https://leetcode.com/problems/snakes-and-ladders
992,Subarrays with K Different Integers,48.6%,Hard,0.03700699810869683, https://leetcode.com/problems/subarrays-with-k-different-integers
646,Maximum Length of Pair Chain,51.9%,Medium,0.036870535808327706, https://leetcode.com/problems/maximum-length-of-pair-chain
376,Wiggle Subsequence,39.6%,Medium,0.03666771919188123, https://leetcode.com/problems/wiggle-subsequence
729,My Calendar I,51.8%,Medium,0.036433902246102004, https://leetcode.com/problems/my-calendar-i
468,Validate IP Address,24.1%,Medium,0.0344861760711693, https://leetcode.com/problems/validate-ip-address
53,Maximum Subarray,46.5%,Easy,0.03412208634661372, https://leetcode.com/problems/maximum-subarray
1146,Snapshot Array,37.0%,Medium,0.0317991816929387, https://leetcode.com/problems/snapshot-array
1091,Shortest Path in Binary Matrix,38.2%,Medium,0.03164821095078173, https://leetcode.com/problems/shortest-path-in-binary-matrix
228,Summary Ranges,39.5%,Medium,0.03157326191609021, https://leetcode.com/problems/summary-ranges
1011,Capacity To Ship Packages Within D Days,58.1%,Medium,0.030100090297855955, https://leetcode.com/problems/capacity-to-ship-packages-within-d-days
135,Candy,31.6%,Hard,0.029764101906453892, https://leetcode.com/problems/candy
692,Top K Frequent Words,51.8%,Medium,0.029730915184679466, https://leetcode.com/problems/top-k-frequent-words
277,Find the Celebrity,41.8%,Medium,0.02969780239174205, https://leetcode.com/problems/find-the-celebrity
767,Reorganize String,48.7%,Medium,0.02967576814611661, https://leetcode.com/problems/reorganize-string
347,Top K Frequent Elements,61.2%,Medium,0.029662726238554857, https://leetcode.com/problems/top-k-frequent-elements
339,Nested List Weight Sum,74.0%,Easy,0.02960986116720276, https://leetcode.com/problems/nested-list-weight-sum
671,Second Minimum Node In a Binary Tree,42.7%,Easy,0.02958795718549609, https://leetcode.com/problems/second-minimum-node-in-a-binary-tree
695,Max Area of Island,62.7%,Medium,0.028321590863246118, https://leetcode.com/problems/max-area-of-island
621,Task Scheduler,50.1%,Medium,0.028315771352780777, https://leetcode.com/problems/task-scheduler
518,Coin Change 2,50.2%,Medium,0.027969505010125056, https://leetcode.com/problems/coin-change-2
311,Sparse Matrix Multiplication,61.9%,Medium,0.027702602549335792, https://leetcode.com/problems/sparse-matrix-multiplication
118,Pascal's Triangle,52.5%,Easy,0.02673062594465844, https://leetcode.com/problems/pascals-triangle
158,Read N Characters Given Read4 II - Call multiple times,33.8%,Hard,0.026196651946570663, https://leetcode.com/problems/read-n-characters-given-read4-ii-call-multiple-times
979,Distribute Coins in Binary Tree,68.9%,Medium,0.026196651946570663, https://leetcode.com/problems/distribute-coins-in-binary-tree
378,Kth Smallest Element in a Sorted Matrix,54.3%,Medium,0.02599048981653746, https://leetcode.com/problems/kth-smallest-element-in-a-sorted-matrix
733,Flood Fill,55.3%,Easy,0.02506396866321625, https://leetcode.com/problems/flood-fill
983,Minimum Cost For Tickets,60.5%,Medium,0.02467737809337621, https://leetcode.com/problems/minimum-cost-for-tickets
238,Product of Array Except Self,60.1%,Medium,0.024315533698358247, https://leetcode.com/problems/product-of-array-except-self
426,Convert Binary Search Tree to Sorted Doubly Linked List,59.1%,Medium,0.024214258120594613, https://leetcode.com/problems/convert-binary-search-tree-to-sorted-doubly-linked-list
140,Word Break II,32.6%,Hard,0.024104005752813337, https://leetcode.com/problems/word-break-ii
844,Backspace String Compare,46.4%,Easy,0.0235551325028849, https://leetcode.com/problems/backspace-string-compare
647,Palindromic Substrings,60.6%,Medium,0.023250853650202817, https://leetcode.com/problems/palindromic-substrings
973,K Closest Points to Origin,63.8%,Medium,0.022897394173017796, https://leetcode.com/problems/k-closest-points-to-origin
102,Binary Tree Level Order Traversal,54.6%,Medium,0.02252956425342345, https://leetcode.com/problems/binary-tree-level-order-traversal
981,Time Based Key-Value Store,53.1%,Medium,0.02226024024151985, https://leetcode.com/problems/time-based-key-value-store
152,Maximum Product Subarray,31.7%,Medium,0.022176931045949227, https://leetcode.com/problems/maximum-product-subarray
398,Random Pick Index,56.0%,Medium,0.022075951699199795, https://leetcode.com/problems/random-pick-index
670,Maximum Swap,43.6%,Medium,0.020844944430365928, https://leetcode.com/problems/maximum-swap
5,Longest Palindromic Substring,29.5%,Medium,0.020329346568668867, https://leetcode.com/problems/longest-palindromic-substring
21,Merge Two Sorted Lists,53.5%,Easy,0.02011578137441701, https://leetcode.com/problems/merge-two-sorted-lists
229,Majority Element II,35.6%,Medium,0.019057270410286146, https://leetcode.com/problems/majority-element-ii
62,Unique Paths,54.1%,Medium,0.01835756003995383, https://leetcode.com/problems/unique-paths
70,Climbing Stairs,47.8%,Easy,0.018323749536870576, https://leetcode.com/problems/climbing-stairs
37,Sudoku Solver,43.6%,Hard,0.01821543989134118, https://leetcode.com/problems/sudoku-solver
560,Subarray Sum Equals K,43.9%,Medium,0.017009020666013328, https://leetcode.com/problems/subarray-sum-equals-k
16,3Sum Closest,46.0%,Medium,0.016854331554982106, https://leetcode.com/problems/3sum-closest
51,N-Queens,46.6%,Hard,0.016393809775676407, https://leetcode.com/problems/n-queens
299,Bulls and Cows,42.4%,Easy,0.016227536621756702, https://leetcode.com/problems/bulls-and-cows
334,Increasing Triplet Subsequence,40.0%,Medium,0.016058153168974937, https://leetcode.com/problems/increasing-triplet-subsequence
59,Spiral Matrix II,53.9%,Medium,0.01579187969789165, https://leetcode.com/problems/spiral-matrix-ii
114,Flatten Binary Tree to Linked List,49.3%,Medium,0.015450951155718977, https://leetcode.com/problems/flatten-binary-tree-to-linked-list
198,House Robber,42.0%,Easy,0.014946565030639177, https://leetcode.com/problems/house-robber
177,Nth Highest Salary,31.4%,Medium,0.014373226241371741, https://leetcode.com/problems/nth-highest-salary
41,First Missing Positive,32.0%,Hard,0.014368063266920193, https://leetcode.com/problems/first-missing-positive
315,Count of Smaller Numbers After Self,41.5%,Hard,0.014352596574956585, https://leetcode.com/problems/count-of-smaller-numbers-after-self
150,Evaluate Reverse Polish Notation,36.3%,Medium,0.01413451093490476, https://leetcode.com/problems/evaluate-reverse-polish-notation
24,Swap Nodes in Pairs,50.4%,Medium,0.013945066390122038, https://leetcode.com/problems/swap-nodes-in-pairs
64,Minimum Path Sum,54.5%,Medium,0.013734383449598314, https://leetcode.com/problems/minimum-path-sum
101,Symmetric Tree,46.8%,Easy,0.013553786479814183, https://leetcode.com/problems/symmetric-tree
581,Shortest Unsorted Continuous Subarray,31.1%,Easy,0.013342426083839913, https://leetcode.com/problems/shortest-unsorted-continuous-subarray
33,Search in Rotated Sorted Array,34.5%,Medium,0.012857779194289386, https://leetcode.com/problems/search-in-rotated-sorted-array
199,Binary Tree Right Side View,54.1%,Medium,0.01274082919906162, https://leetcode.com/problems/binary-tree-right-side-view
852,Peak Index in a Mountain Array,71.6%,Easy,0.012618463959211509, https://leetcode.com/problems/peak-index-in-a-mountain-array
124,Binary Tree Maximum Path Sum,34.3%,Hard,0.012403687139326226, https://leetcode.com/problems/binary-tree-maximum-path-sum
547,Friend Circles,58.6%,Medium,0.012228828639434596, https://leetcode.com/problems/friend-circles
437,Path Sum III,47.2%,Medium,0.012128711446614806, https://leetcode.com/problems/path-sum-iii
300,Longest Increasing Subsequence,42.6%,Medium,0.011806512586989004, https://leetcode.com/problems/longest-increasing-subsequence
350,Intersection of Two Arrays II,51.4%,Easy,0.01168540951877908, https://leetcode.com/problems/intersection-of-two-arrays-ii
264,Ugly Number II,42.0%,Medium,0.011604423810414601, https://leetcode.com/problems/ugly-number-ii
283,Move Zeroes,57.8%,Easy,0.01149190266804209, https://leetcode.com/problems/move-zeroes
69,Sqrt(x),33.9%,Easy,0.011443227222342794, https://leetcode.com/problems/sqrtx
232,Implement Queue using Stacks,49.6%,Easy,0.011242389348933884, https://leetcode.com/problems/implement-queue-using-stacks
941,Valid Mountain Array,33.2%,Easy,0.011139073683009305, https://leetcode.com/problems/valid-mountain-array
338,Counting Bits,69.5%,Medium,0.01088446119842327, https://leetcode.com/problems/counting-bits
662,Maximum Width of Binary Tree,41.0%,Medium,0.010790501245113902, https://leetcode.com/problems/maximum-width-of-binary-tree
155,Min Stack,44.5%,Easy,0.010653509851791077, https://leetcode.com/problems/min-stack
236,Lowest Common Ancestor of a Binary Tree,45.7%,Medium,0.010575891759058162, https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-tree
739,Daily Temperatures,63.3%,Medium,0.010032690121814417, https://leetcode.com/problems/daily-temperatures
72,Edit Distance,44.8%,Hard,0.010017614452317782, https://leetcode.com/problems/edit-distance
47,Permutations II,46.4%,Medium,0.009673594178378379, https://leetcode.com/problems/permutations-ii
45,Jump Game II,30.6%,Hard,0.009546611883579968, https://leetcode.com/problems/jump-game-ii
206,Reverse Linked List,62.5%,Easy,0.009326794511974934, https://leetcode.com/problems/reverse-linked-list
43,Multiply Strings,33.9%,Medium,0.009145011150062768, https://leetcode.com/problems/multiply-strings
322,Coin Change,35.5%,Medium,0.00904437880665999, https://leetcode.com/problems/coin-change
15,3Sum,26.8%,Medium,0.00876717944353383, https://leetcode.com/problems/3sum
215,Kth Largest Element in an Array,55.4%,Medium,0.008759180089881562, https://leetcode.com/problems/kth-largest-element-in-an-array
50,Pow(x;n),30.3%,Medium,0.008728496167158806, https://leetcode.com/problems/powx-n
416,Partition Equal Subset Sum,43.7%,Medium,0.008686265255960345, https://leetcode.com/problems/partition-equal-subset-sum
8,String to Integer (atoi),15.4%,Medium,0.008513104762248265, https://leetcode.com/problems/string-to-integer-atoi
153,Find Minimum in Rotated Sorted Array,45.1%,Medium,0.008430963288799368, https://leetcode.com/problems/find-minimum-in-rotated-sorted-array
235,Lowest Common Ancestor of a Binary Search Tree,49.9%,Easy,0.00821697310228087, https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-search-tree
26,Remove Duplicates from Sorted Array,45.1%,Easy,0.007782518973063169, https://leetcode.com/problems/remove-duplicates-from-sorted-array
6,ZigZag Conversion,36.3%,Medium,0.0077116248757144665, https://leetcode.com/problems/zigzag-conversion
145,Binary Tree Postorder Traversal,55.0%,Hard,0.00751459482064135, https://leetcode.com/problems/binary-tree-postorder-traversal
344,Reverse String,68.5%,Easy,0.00734157796234515, https://leetcode.com/problems/reverse-string
349,Intersection of Two Arrays,62.5%,Easy,0.00725034896230682, https://leetcode.com/problems/intersection-of-two-arrays
11,Container With Most Water,50.8%,Medium,0.006889188300412141, https://leetcode.com/problems/container-with-most-water
88,Merge Sorted Array,39.4%,Easy,0.006760335218638243, https://leetcode.com/problems/merge-sorted-array
98,Validate Binary Search Tree,27.8%,Medium,0.006611351489350257, https://leetcode.com/problems/validate-binary-search-tree
138,Copy List with Random Pointer,36.4%,Medium,0.006191011880825271, https://leetcode.com/problems/copy-list-with-random-pointer
278,First Bad Version,35.7%,Easy,0.005391575265790431, https://leetcode.com/problems/first-bad-version
48,Rotate Image,56.7%,Medium,0.0050955524266001265, https://leetcode.com/problems/rotate-image
55,Jump Game,34.6%,Medium,0.005022612266291382, https://leetcode.com/problems/jump-game
189,Rotate Array,34.7%,Easy,0.004029826126500844, https://leetcode.com/problems/rotate-array
13,Roman to Integer,55.7%,Easy,0.003428770717317083, https://leetcode.com/problems/roman-to-integer
94,Binary Tree Inorder Traversal,63.3%,Medium,0.0033551449021403577, https://leetcode.com/problems/binary-tree-inorder-traversal
66,Plus One,43.0%,Easy,0.00326211347832938, https://leetcode.com/problems/plus-one
154,Find Minimum in Rotated Sorted Array II,41.6%,Hard,0.0021273209107578427, https://leetcode.com/problems/find-minimum-in-rotated-sorted-array-ii
7,Reverse Integer,25.8%,Easy,0.0018612447790907708, https://leetcode.com/problems/reverse-integer
203,Remove Linked List Elements,38.6%,Easy,0.0016237064659255223, https://leetcode.com/problems/remove-linked-list-elements
1 427 ID Construct Quad Tree Title 61.4% Acceptance Medium Difficulty 1.812347218370924 Frequency https://leetcode.com/problems/construct-quad-tree Leetcode Question Link
2 529 427 Minesweeper Construct Quad Tree 59.1% 61.4% Medium Medium 1.6823491789169709 1.812347218370924 https://leetcode.com/problems/minesweeper https://leetcode.com/problems/construct-quad-tree
3 741 529 Cherry Pickup Minesweeper 33.9% 59.1% Hard Medium 1.6681515178241457 1.6823491789169709 https://leetcode.com/problems/cherry-pickup https://leetcode.com/problems/minesweeper
4 465 741 Optimal Account Balancing Cherry Pickup 46.9% 33.9% Hard Hard 1.5791340687596236 1.6681515178241457 https://leetcode.com/problems/optimal-account-balancing https://leetcode.com/problems/cherry-pickup
5 332 465 Reconstruct Itinerary Optimal Account Balancing 36.7% 46.9% Medium Hard 1.4570962400494838 1.5791340687596236 https://leetcode.com/problems/reconstruct-itinerary https://leetcode.com/problems/optimal-account-balancing
6 291 332 Word Pattern II Reconstruct Itinerary 43.4% 36.7% Hard Medium 1.327098200595531 1.4570962400494838 https://leetcode.com/problems/word-pattern-ii https://leetcode.com/problems/reconstruct-itinerary
7 305 291 Number of Islands II Word Pattern II 40.1% 43.4% Hard Hard 1.2993348513875815 1.327098200595531 https://leetcode.com/problems/number-of-islands-ii https://leetcode.com/problems/word-pattern-ii
8 757 305 Set Intersection Size At Least Two Number of Islands II 40.1% 40.1% Hard Hard 1.2970683845427906 1.2993348513875815 https://leetcode.com/problems/set-intersection-size-at-least-two https://leetcode.com/problems/number-of-islands-ii
9 267 757 Palindrome Permutation II Set Intersection Size At Least Two 36.4% 40.1% Medium Hard 1.2914164645383432 1.2970683845427906 https://leetcode.com/problems/palindrome-permutation-ii https://leetcode.com/problems/set-intersection-size-at-least-two
10 986 267 Interval List Intersections Palindrome Permutation II 67.3% 36.4% Medium Medium 1.1614184250843902 1.2914164645383432 https://leetcode.com/problems/interval-list-intersections https://leetcode.com/problems/palindrome-permutation-ii
11 361 986 Bomb Enemy Interval List Intersections 46.0% 67.3% Medium Medium 1.1535711729488671 1.1614184250843902 https://leetcode.com/problems/bomb-enemy https://leetcode.com/problems/interval-list-intersections
12 773 361 Sliding Puzzle Bomb Enemy 59.3% 46.0% Hard Medium 1.1105884797148253 1.1535711729488671 https://leetcode.com/problems/sliding-puzzle https://leetcode.com/problems/bomb-enemy
13 655 773 Print Binary Tree Sliding Puzzle 55.0% 59.3% Medium Hard 1.0605315351500602 1.1105884797148253 https://leetcode.com/problems/print-binary-tree https://leetcode.com/problems/sliding-puzzle
14 68 655 Text Justification Print Binary Tree 27.7% 55.0% Hard Medium 1.0274647299045185 1.0605315351500602 https://leetcode.com/problems/text-justification https://leetcode.com/problems/print-binary-tree
15 428 68 Serialize and Deserialize N-ary Tree Text Justification 59.4% 27.7% Hard Hard 0.9486721413771949 1.0274647299045185 https://leetcode.com/problems/serialize-and-deserialize-n-ary-tree https://leetcode.com/problems/text-justification
16 253 428 Meeting Rooms II Serialize and Deserialize N-ary Tree 45.7% 59.4% Medium Hard 0.818674101923242 0.9486721413771949 https://leetcode.com/problems/meeting-rooms-ii https://leetcode.com/problems/serialize-and-deserialize-n-ary-tree
17 591 253 Tag Validator Meeting Rooms II 34.3% 45.7% Hard Medium 0.7812544480702122 0.818674101923242 https://leetcode.com/problems/tag-validator https://leetcode.com/problems/meeting-rooms-ii
18 227 591 Basic Calculator II Tag Validator 36.9% 34.3% Medium Hard 0.7542487353396534 0.7812544480702122 https://leetcode.com/problems/basic-calculator-ii https://leetcode.com/problems/tag-validator
19 772 227 Basic Calculator III Basic Calculator II 41.3% 36.9% Hard Medium 0.7157652691477178 0.7542487353396534 https://leetcode.com/problems/basic-calculator-iii https://leetcode.com/problems/basic-calculator-ii
20 146 772 LRU Cache Basic Calculator III 33.2% 41.3% Medium Hard 0.6777555597343323 0.7157652691477178 https://leetcode.com/problems/lru-cache https://leetcode.com/problems/basic-calculator-iii
21 56 146 Merge Intervals LRU Cache 39.3% 33.2% Medium Medium 0.666351993828014 0.6777555597343323 https://leetcode.com/problems/merge-intervals https://leetcode.com/problems/lru-cache
22 297 56 Serialize and Deserialize Binary Tree Merge Intervals 47.5% 39.3% Hard Medium 0.6623144848742207 0.666351993828014 https://leetcode.com/problems/serialize-and-deserialize-binary-tree https://leetcode.com/problems/merge-intervals
23 341 297 Flatten Nested List Iterator Serialize and Deserialize Binary Tree 52.9% 47.5% Medium Hard 0.6166300368504478 0.6623144848742207 https://leetcode.com/problems/flatten-nested-list-iterator https://leetcode.com/problems/serialize-and-deserialize-binary-tree
24 780 341 Reaching Points Flatten Nested List Iterator 29.4% 52.9% Hard Medium 0.612719105819513 0.6166300368504478 https://leetcode.com/problems/reaching-points https://leetcode.com/problems/flatten-nested-list-iterator
25 528 780 Random Pick with Weight Reaching Points 43.9% 29.4% Medium Hard 0.6100335190236106 0.612719105819513 https://leetcode.com/problems/random-pick-with-weight https://leetcode.com/problems/reaching-points
26 36 528 Valid Sudoku Random Pick with Weight 48.7% 43.9% Medium Medium 0.589525373843642 0.6100335190236106 https://leetcode.com/problems/valid-sudoku https://leetcode.com/problems/random-pick-with-weight
27 679 36 24 Game Valid Sudoku 46.4% 48.7% Hard Medium 0.5141123974726134 0.589525373843642 https://leetcode.com/problems/24-game https://leetcode.com/problems/valid-sudoku
28 224 679 Basic Calculator 24 Game 36.8% 46.4% Hard Hard 0.4952386742713679 0.5141123974726134 https://leetcode.com/problems/basic-calculator https://leetcode.com/problems/24-game
29 34 224 Find First and Last Position of Element in Sorted Array Basic Calculator 36.2% 36.8% Medium Hard 0.4780719820485919 0.4952386742713679 https://leetcode.com/problems/find-first-and-last-position-of-element-in-sorted-array https://leetcode.com/problems/basic-calculator
30 668 34 Kth Smallest Number in Multiplication Table Find First and Last Position of Element in Sorted Array 45.6% 36.2% Hard Medium 0.4506902061131003 0.4780719820485919 https://leetcode.com/problems/kth-smallest-number-in-multiplication-table https://leetcode.com/problems/find-first-and-last-position-of-element-in-sorted-array
31 642 668 Design Search Autocomplete System Kth Smallest Number in Multiplication Table 44.7% 45.6% Hard Hard 0.43349242036282026 0.4506902061131003 https://leetcode.com/problems/design-search-autocomplete-system https://leetcode.com/problems/kth-smallest-number-in-multiplication-table
32 359 642 Logger Rate Limiter Design Search Autocomplete System 70.8% 44.7% Easy Hard 0.4265185173059967 0.43349242036282026 https://leetcode.com/problems/logger-rate-limiter https://leetcode.com/problems/design-search-autocomplete-system
33 166 359 Fraction to Recurring Decimal Logger Rate Limiter 21.6% 70.8% Medium Easy 0.4113847871284642 0.4265185173059967 https://leetcode.com/problems/fraction-to-recurring-decimal https://leetcode.com/problems/logger-rate-limiter
34 239 166 Sliding Window Maximum Fraction to Recurring Decimal 43.0% 21.6% Hard Medium 0.4104750065235096 0.4113847871284642 https://leetcode.com/problems/sliding-window-maximum https://leetcode.com/problems/fraction-to-recurring-decimal
35 1281 239 Subtract the Product and Sum of Digits of an Integer Sliding Window Maximum 85.2% 43.0% Easy Hard 0.3807587855252646 0.4104750065235096 https://leetcode.com/problems/subtract-the-product-and-sum-of-digits-of-an-integer https://leetcode.com/problems/sliding-window-maximum
36 49 1281 Group Anagrams Subtract the Product and Sum of Digits of an Integer 56.9% 85.2% Medium Easy 0.37923884429361854 0.3807587855252646 https://leetcode.com/problems/group-anagrams https://leetcode.com/problems/subtract-the-product-and-sum-of-digits-of-an-integer
37 200 49 Number of Islands Group Anagrams 46.8% 56.9% Medium Medium 0.348349251262677 0.37923884429361854 https://leetcode.com/problems/number-of-islands https://leetcode.com/problems/group-anagrams
38 805 200 Split Array With Same Average Number of Islands 26.4% 46.8% Hard Medium 0.3416302106614813 0.348349251262677 https://leetcode.com/problems/split-array-with-same-average https://leetcode.com/problems/number-of-islands
39 399 805 Evaluate Division Split Array With Same Average 51.6% 26.4% Medium Hard 0.3338128467131867 0.3416302106614813 https://leetcode.com/problems/evaluate-division https://leetcode.com/problems/split-array-with-same-average
40 128 399 Longest Consecutive Sequence Evaluate Division 45.1% 51.6% Hard Medium 0.3251066222598543 0.3338128467131867 https://leetcode.com/problems/longest-consecutive-sequence https://leetcode.com/problems/evaluate-division
41 381 128 Insert Delete GetRandom O(1) - Duplicates allowed Longest Consecutive Sequence 34.1% 45.1% Hard Hard 0.32306557634109756 0.3251066222598543 https://leetcode.com/problems/insert-delete-getrandom-o1-duplicates-allowed https://leetcode.com/problems/longest-consecutive-sequence
42 936 381 Stamping The Sequence Insert Delete GetRandom O(1) - Duplicates allowed 42.8% 34.1% Hard Hard 0.2972515234679316 0.32306557634109756 https://leetcode.com/problems/stamping-the-sequence https://leetcode.com/problems/insert-delete-getrandom-o1-duplicates-allowed
43 1136 936 Parallel Courses Stamping The Sequence 61.1% 42.8% Hard Hard 0.2858421455297737 0.2972515234679316 https://leetcode.com/problems/parallel-courses https://leetcode.com/problems/stamping-the-sequence
44 640 1136 Solve the Equation Parallel Courses 42.0% 61.1% Medium Hard 0.2840257612486704 0.2858421455297737 https://leetcode.com/problems/solve-the-equation https://leetcode.com/problems/parallel-courses
45 130 640 Surrounded Regions Solve the Equation 28.1% 42.0% Medium Medium 0.2630816163130375 0.2840257612486704 https://leetcode.com/problems/surrounded-regions https://leetcode.com/problems/solve-the-equation
46 380 130 Insert Delete GetRandom O(1) Surrounded Regions 47.5% 28.1% Medium Medium 0.2612438587254704 0.2630816163130375 https://leetcode.com/problems/insert-delete-getrandom-o1 https://leetcode.com/problems/surrounded-regions
47 301 380 Remove Invalid Parentheses Insert Delete GetRandom O(1) 43.3% 47.5% Hard Medium 0.25857398829371026 0.2612438587254704 https://leetcode.com/problems/remove-invalid-parentheses https://leetcode.com/problems/insert-delete-getrandom-o1
48 126 301 Word Ladder II Remove Invalid Parentheses 22.1% 43.3% Hard Hard 0.25503976484865665 0.25857398829371026 https://leetcode.com/problems/word-ladder-ii https://leetcode.com/problems/remove-invalid-parentheses
49 542 126 01 Matrix Word Ladder II 39.8% 22.1% Medium Hard 0.2547335788363499 0.25503976484865665 https://leetcode.com/problems/01-matrix https://leetcode.com/problems/word-ladder-ii
50 286 542 Walls and Gates 01 Matrix 54.5% 39.8% Medium Medium 0.2531417471996048 0.2547335788363499 https://leetcode.com/problems/walls-and-gates https://leetcode.com/problems/01-matrix
51 42 286 Trapping Rain Water Walls and Gates 48.9% 54.5% Hard Medium 0.24611721432868788 0.2531417471996048 https://leetcode.com/problems/trapping-rain-water https://leetcode.com/problems/walls-and-gates
52 365 42 Water and Jug Problem Trapping Rain Water 30.6% 48.9% Medium Hard 0.24587963229494916 0.24611721432868788 https://leetcode.com/problems/water-and-jug-problem https://leetcode.com/problems/trapping-rain-water
53 527 365 Word Abbreviation Water and Jug Problem 54.3% 30.6% Hard Medium 0.24362208265775043 0.24587963229494916 https://leetcode.com/problems/word-abbreviation https://leetcode.com/problems/water-and-jug-problem
54 535 527 Encode and Decode TinyURL Word Abbreviation 79.9% 54.3% Medium Hard 0.23740366313104297 0.24362208265775043 https://leetcode.com/problems/encode-and-decode-tinyurl https://leetcode.com/problems/word-abbreviation
55 57 535 Insert Interval Encode and Decode TinyURL 33.5% 79.9% Hard Medium 0.23697938397356041 0.23740366313104297 https://leetcode.com/problems/insert-interval https://leetcode.com/problems/encode-and-decode-tinyurl
56 815 57 Bus Routes Insert Interval 42.5% 33.5% Hard Hard 0.23395801030775792 0.23697938397356041 https://leetcode.com/problems/bus-routes https://leetcode.com/problems/insert-interval
57 552 815 Student Attendance Record II Bus Routes 36.7% 42.5% Hard Hard 0.2265276492984503 0.23395801030775792 https://leetcode.com/problems/student-attendance-record-ii https://leetcode.com/problems/bus-routes
58 1 552 Two Sum Student Attendance Record II 45.6% 36.7% Easy Hard 0.2242758219657857 0.2265276492984503 https://leetcode.com/problems/two-sum https://leetcode.com/problems/student-attendance-record-ii
59 353 1 Design Snake Game Two Sum 34.2% 45.6% Medium Easy 0.2228314901476892 0.2242758219657857 https://leetcode.com/problems/design-snake-game https://leetcode.com/problems/two-sum
60 221 353 Maximal Square Design Snake Game 37.7% 34.2% Medium Medium 0.2218511119038007 0.2228314901476892 https://leetcode.com/problems/maximal-square https://leetcode.com/problems/design-snake-game
61 149 221 Max Points on a Line Maximal Square 16.9% 37.7% Hard Medium 0.20409535634351528 0.2218511119038007 https://leetcode.com/problems/max-points-on-a-line https://leetcode.com/problems/maximal-square
62 568 149 Maximum Vacation Days Max Points on a Line 40.8% 16.9% Hard Hard 0.19966567025192705 0.20409535634351528 https://leetcode.com/problems/maximum-vacation-days https://leetcode.com/problems/max-points-on-a-line
63 17 568 Letter Combinations of a Phone Number Maximum Vacation Days 46.8% 40.8% Medium Hard 0.19570536211262238 0.19966567025192705 https://leetcode.com/problems/letter-combinations-of-a-phone-number https://leetcode.com/problems/maximum-vacation-days
64 85 17 Maximal Rectangle Letter Combinations of a Phone Number 37.7% 46.8% Hard Medium 0.1945507253203666 0.19570536211262238 https://leetcode.com/problems/maximal-rectangle https://leetcode.com/problems/letter-combinations-of-a-phone-number
65 863 85 All Nodes Distance K in Binary Tree Maximal Rectangle 55.4% 37.7% Medium Hard 0.19019980471738818 0.1945507253203666 https://leetcode.com/problems/all-nodes-distance-k-in-binary-tree https://leetcode.com/problems/maximal-rectangle
66 3 863 Longest Substring Without Repeating Characters All Nodes Distance K in Binary Tree 30.4% 55.4% Medium Medium 0.18722008570926535 0.19019980471738818 https://leetcode.com/problems/longest-substring-without-repeating-characters https://leetcode.com/problems/all-nodes-distance-k-in-binary-tree
67 658 3 Find K Closest Elements Longest Substring Without Repeating Characters 40.9% 30.4% Medium Medium 0.18663941293482042 0.18722008570926535 https://leetcode.com/problems/find-k-closest-elements https://leetcode.com/problems/longest-substring-without-repeating-characters
68 759 658 Employee Free Time Find K Closest Elements 66.3% 40.9% Hard Medium 0.1816986978513639 0.18663941293482042 https://leetcode.com/problems/employee-free-time https://leetcode.com/problems/find-k-closest-elements
69 76 759 Minimum Window Substring Employee Free Time 34.6% 66.3% Hard Hard 0.1731900290370625 0.1816986978513639 https://leetcode.com/problems/minimum-window-substring https://leetcode.com/problems/employee-free-time
70 1278 76 Palindrome Partitioning III Minimum Window Substring 59.9% 34.6% Hard Hard 0.17284281283941086 0.1731900290370625 https://leetcode.com/problems/palindrome-partitioning-iii https://leetcode.com/problems/minimum-window-substring
71 567 1278 Permutation in String Palindrome Partitioning III 44.4% 59.9% Medium Hard 0.16931057302189864 0.17284281283941086 https://leetcode.com/problems/permutation-in-string https://leetcode.com/problems/palindrome-partitioning-iii
72 244 567 Shortest Word Distance II Permutation in String 52.3% 44.4% Medium Medium 0.16400297627026994 0.16931057302189864 https://leetcode.com/problems/shortest-word-distance-ii https://leetcode.com/problems/permutation-in-string
73 895 244 Maximum Frequency Stack Shortest Word Distance II 60.6% 52.3% Hard Medium 0.1629613095094132 0.16400297627026994 https://leetcode.com/problems/maximum-frequency-stack https://leetcode.com/problems/shortest-word-distance-ii
74 493 895 Reverse Pairs Maximum Frequency Stack 25.2% 60.6% Hard Hard 0.16229864091884685 0.1629613095094132 https://leetcode.com/problems/reverse-pairs https://leetcode.com/problems/maximum-frequency-stack
75 173 493 Binary Search Tree Iterator Reverse Pairs 56.6% 25.2% Medium Hard 0.15925273171115378 0.16229864091884685 https://leetcode.com/problems/binary-search-tree-iterator https://leetcode.com/problems/reverse-pairs
76 243 173 Shortest Word Distance Binary Search Tree Iterator 61.0% 56.6% Easy Medium 0.15400201410186742 0.15925273171115378 https://leetcode.com/problems/shortest-word-distance https://leetcode.com/problems/binary-search-tree-iterator
77 977 243 Squares of a Sorted Array Shortest Word Distance 72.1% 61.0% Easy Easy 0.15247843863489619 0.15400201410186742 https://leetcode.com/problems/squares-of-a-sorted-array https://leetcode.com/problems/shortest-word-distance
78 451 977 Sort Characters By Frequency Squares of a Sorted Array 63.0% 72.1% Medium Easy 0.15031299478176025 0.15247843863489619 https://leetcode.com/problems/sort-characters-by-frequency https://leetcode.com/problems/squares-of-a-sorted-array
79 362 451 Design Hit Counter Sort Characters By Frequency 63.7% 63.0% Medium Medium 0.1489960292385938 0.15031299478176025 https://leetcode.com/problems/design-hit-counter https://leetcode.com/problems/sort-characters-by-frequency
80 346 362 Moving Average from Data Stream Design Hit Counter 70.9% 63.7% Easy Medium 0.14878873668587292 0.1489960292385938 https://leetcode.com/problems/moving-average-from-data-stream https://leetcode.com/problems/design-hit-counter
81 395 346 Longest Substring with At Least K Repeating Characters Moving Average from Data Stream 41.4% 70.9% Medium Easy 0.14261022668001652 0.14878873668587292 https://leetcode.com/problems/longest-substring-with-at-least-k-repeating-characters https://leetcode.com/problems/moving-average-from-data-stream
82 91 395 Decode Ways Longest Substring with At Least K Repeating Characters 24.7% 41.4% Medium Medium 0.13946258598914826 0.14261022668001652 https://leetcode.com/problems/decode-ways https://leetcode.com/problems/longest-substring-with-at-least-k-repeating-characters
83 279 91 Perfect Squares Decode Ways 47.4% 24.7% Medium Medium 0.13815033848081718 0.13946258598914826 https://leetcode.com/problems/perfect-squares https://leetcode.com/problems/decode-ways
84 855 279 Exam Room Perfect Squares 43.1% 47.4% Medium Medium 0.13804422079620546 0.13815033848081718 https://leetcode.com/problems/exam-room https://leetcode.com/problems/perfect-squares
85 32 855 Longest Valid Parentheses Exam Room 28.4% 43.1% Hard Medium 0.13667290598927465 0.13804422079620546 https://leetcode.com/problems/longest-valid-parentheses https://leetcode.com/problems/exam-room
86 23 32 Merge k Sorted Lists Longest Valid Parentheses 40.2% 28.4% Hard Hard 0.13640708740119573 0.13667290598927465 https://leetcode.com/problems/merge-k-sorted-lists https://leetcode.com/problems/longest-valid-parentheses
87 295 23 Find Median from Data Stream Merge k Sorted Lists 44.3% 40.2% Hard Hard 0.13508385924075386 0.13640708740119573 https://leetcode.com/problems/find-median-from-data-stream https://leetcode.com/problems/merge-k-sorted-lists
88 255 295 Verify Preorder Sequence in Binary Search Tree Find Median from Data Stream 45.7% 44.3% Medium Hard 0.1348842676899421 0.13508385924075386 https://leetcode.com/problems/verify-preorder-sequence-in-binary-search-tree https://leetcode.com/problems/find-median-from-data-stream
89 4 255 Median of Two Sorted Arrays Verify Preorder Sequence in Binary Search Tree 29.6% 45.7% Hard Medium 0.13162453469432595 0.1348842676899421 https://leetcode.com/problems/median-of-two-sorted-arrays https://leetcode.com/problems/verify-preorder-sequence-in-binary-search-tree
90 139 4 Word Break Median of Two Sorted Arrays 40.1% 29.6% Medium Hard 0.1314440532234174 0.13162453469432595 https://leetcode.com/problems/word-break https://leetcode.com/problems/median-of-two-sorted-arrays
91 22 139 Generate Parentheses Word Break 62.7% 40.1% Medium Medium 0.12417283375515446 0.1314440532234174 https://leetcode.com/problems/generate-parentheses https://leetcode.com/problems/word-break
92 262 22 Trips and Users Generate Parentheses 32.7% 62.7% Hard Medium 0.12266506325369182 0.12417283375515446 https://leetcode.com/problems/trips-and-users https://leetcode.com/problems/generate-parentheses
93 20 262 Valid Parentheses Trips and Users 39.0% 32.7% Easy Hard 0.12182468348227132 0.12266506325369182 https://leetcode.com/problems/valid-parentheses https://leetcode.com/problems/trips-and-users
94 207 20 Course Schedule Valid Parentheses 43.1% 39.0% Medium Easy 0.11725761496207857 0.12182468348227132 https://leetcode.com/problems/course-schedule https://leetcode.com/problems/valid-parentheses
95 127 207 Word Ladder Course Schedule 29.6% 43.1% Medium Medium 0.11461293205885352 0.11725761496207857 https://leetcode.com/problems/word-ladder https://leetcode.com/problems/course-schedule
96 212 127 Word Search II Word Ladder 34.9% 29.6% Hard Medium 0.11439698130007839 0.11461293205885352 https://leetcode.com/problems/word-search-ii https://leetcode.com/problems/word-ladder
97 1188 212 Design Bounded Blocking Queue Word Search II 70.5% 34.9% Medium Hard 0.11030454201470608 0.11439698130007839 https://leetcode.com/problems/design-bounded-blocking-queue https://leetcode.com/problems/word-search-ii
98 969 1188 Pancake Sorting Design Bounded Blocking Queue 67.5% 70.5% Medium Medium 0.10724553035359762 0.11030454201470608 https://leetcode.com/problems/pancake-sorting https://leetcode.com/problems/design-bounded-blocking-queue
99 388 969 Longest Absolute File Path Pancake Sorting 41.8% 67.5% Medium Medium 0.105981440856292 0.10724553035359762 https://leetcode.com/problems/longest-absolute-file-path https://leetcode.com/problems/pancake-sorting
100 2 388 Add Two Numbers Longest Absolute File Path 33.9% 41.8% Medium Medium 0.10270361758692534 0.105981440856292 https://leetcode.com/problems/add-two-numbers https://leetcode.com/problems/longest-absolute-file-path
101 336 2 Palindrome Pairs Add Two Numbers 33.7% 33.9% Hard Medium 0.10259559233600947 0.10270361758692534 https://leetcode.com/problems/palindrome-pairs https://leetcode.com/problems/add-two-numbers
102 79 336 Word Search Palindrome Pairs 35.6% 33.7% Medium Hard 0.10132037593637946 0.10259559233600947 https://leetcode.com/problems/word-search https://leetcode.com/problems/palindrome-pairs
103 391 79 Perfect Rectangle Word Search 30.5% 35.6% Hard Medium 0.10109611687136877 0.10132037593637946 https://leetcode.com/problems/perfect-rectangle https://leetcode.com/problems/word-search
104 54 391 Spiral Matrix Perfect Rectangle 34.1% 30.5% Medium Hard 0.10061889164064056 0.10109611687136877 https://leetcode.com/problems/spiral-matrix https://leetcode.com/problems/perfect-rectangle
105 1135 54 Connecting Cities With Minimum Cost Spiral Matrix 57.5% 34.1% Medium Medium 0.09909090264423091 0.10061889164064056 https://leetcode.com/problems/connecting-cities-with-minimum-cost https://leetcode.com/problems/spiral-matrix
106 218 1135 The Skyline Problem Connecting Cities With Minimum Cost 34.6% 57.5% Hard Medium 0.09823843958341322 0.09909090264423091 https://leetcode.com/problems/the-skyline-problem https://leetcode.com/problems/connecting-cities-with-minimum-cost
107 837 218 New 21 Game The Skyline Problem 34.6% 34.6% Medium Hard 0.09646026618756222 0.09823843958341322 https://leetcode.com/problems/new-21-game https://leetcode.com/problems/the-skyline-problem
108 954 837 Array of Doubled Pairs New 21 Game 35.6% 34.6% Medium Medium 0.09531017980432487 0.09646026618756222 https://leetcode.com/problems/array-of-doubled-pairs https://leetcode.com/problems/new-21-game
109 752 954 Open the Lock Array of Doubled Pairs 51.8% 35.6% Medium Medium 0.09491410658218381 0.09531017980432487 https://leetcode.com/problems/open-the-lock https://leetcode.com/problems/array-of-doubled-pairs
110 490 752 The Maze Open the Lock 51.4% 51.8% Medium Medium 0.09401490736696706 0.09491410658218381 https://leetcode.com/problems/the-maze https://leetcode.com/problems/open-the-lock
111 826 490 Most Profit Assigning Work The Maze 38.5% 51.4% Medium Medium 0.09287412500644375 0.09401490736696706 https://leetcode.com/problems/most-profit-assigning-work https://leetcode.com/problems/the-maze
112 652 826 Find Duplicate Subtrees Most Profit Assigning Work 50.2% 38.5% Medium Medium 0.08907963005368878 0.09287412500644375 https://leetcode.com/problems/find-duplicate-subtrees https://leetcode.com/problems/most-profit-assigning-work
113 564 652 Find the Closest Palindrome Find Duplicate Subtrees 19.7% 50.2% Hard Medium 0.0840831172105414 0.08907963005368878 https://leetcode.com/problems/find-the-closest-palindrome https://leetcode.com/problems/find-duplicate-subtrees
114 317 564 Shortest Distance from All Buildings Find the Closest Palindrome 41.4% 19.7% Hard Hard 0.08345897538526194 0.0840831172105414 https://leetcode.com/problems/shortest-distance-from-all-buildings https://leetcode.com/problems/find-the-closest-palindrome
115 636 317 Exclusive Time of Functions Shortest Distance from All Buildings 51.9% 41.4% Medium Hard 0.08155306616046964 0.08345897538526194 https://leetcode.com/problems/exclusive-time-of-functions https://leetcode.com/problems/shortest-distance-from-all-buildings
116 161 636 One Edit Distance Exclusive Time of Functions 32.3% 51.9% Medium Medium 0.07982960165248484 0.08155306616046964 https://leetcode.com/problems/one-edit-distance https://leetcode.com/problems/exclusive-time-of-functions
117 934 161 Shortest Bridge One Edit Distance 48.2% 32.3% Medium Medium 0.07940677760441046 0.07982960165248484 https://leetcode.com/problems/shortest-bridge https://leetcode.com/problems/one-edit-distance
118 210 934 Course Schedule II Shortest Bridge 40.7% 48.2% Medium Medium 0.07762595476606639 0.07940677760441046 https://leetcode.com/problems/course-schedule-ii https://leetcode.com/problems/shortest-bridge
119 269 210 Alien Dictionary Course Schedule II 33.3% 40.7% Hard Medium 0.0770322180463687 0.07762595476606639 https://leetcode.com/problems/alien-dictionary https://leetcode.com/problems/course-schedule-ii
120 273 269 Integer to English Words Alien Dictionary 27.1% 33.3% Hard Hard 0.0732177031685638 0.0770322180463687 https://leetcode.com/problems/integer-to-english-words https://leetcode.com/problems/alien-dictionary
121 694 273 Number of Distinct Islands Integer to English Words 56.0% 27.1% Medium Hard 0.07232066157962612 0.0732177031685638 https://leetcode.com/problems/number-of-distinct-islands https://leetcode.com/problems/integer-to-english-words
122 31 694 Next Permutation Number of Distinct Islands 32.6% 56.0% Medium Medium 0.07101345814434841 0.07232066157962612 https://leetcode.com/problems/next-permutation https://leetcode.com/problems/number-of-distinct-islands
123 438 31 Find All Anagrams in a String Next Permutation 43.3% 32.6% Medium Medium 0.07086789751218016 0.07101345814434841 https://leetcode.com/problems/find-all-anagrams-in-a-string https://leetcode.com/problems/next-permutation
124 460 438 LFU Cache Find All Anagrams in a String 34.2% 43.3% Hard Medium 0.06836374280939023 0.07086789751218016 https://leetcode.com/problems/lfu-cache https://leetcode.com/problems/find-all-anagrams-in-a-string
125 39 460 Combination Sum LFU Cache 56.1% 34.2% Medium Hard 0.0678648829148938 0.06836374280939023 https://leetcode.com/problems/combination-sum https://leetcode.com/problems/lfu-cache
126 289 39 Game of Life Combination Sum 54.5% 56.1% Medium Medium 0.06756473699960104 0.0678648829148938 https://leetcode.com/problems/game-of-life https://leetcode.com/problems/combination-sum
127 251 289 Flatten 2D Vector Game of Life 45.7% 54.5% Medium Medium 0.06635933243696077 0.06756473699960104 https://leetcode.com/problems/flatten-2d-vector https://leetcode.com/problems/game-of-life
128 46 251 Permutations Flatten 2D Vector 63.5% 45.7% Medium Medium 0.06541618594577135 0.06635933243696077 https://leetcode.com/problems/permutations https://leetcode.com/problems/flatten-2d-vector
129 298 46 Binary Tree Longest Consecutive Sequence Permutations 47.1% 63.5% Medium Medium 0.065169635074581 0.06541618594577135 https://leetcode.com/problems/binary-tree-longest-consecutive-sequence https://leetcode.com/problems/permutations
130 769 298 Max Chunks To Make Sorted Binary Tree Longest Consecutive Sequence 54.8% 47.1% Medium Medium 0.06474752939415815 0.065169635074581 https://leetcode.com/problems/max-chunks-to-make-sorted https://leetcode.com/problems/binary-tree-longest-consecutive-sequence
131 242 769 Valid Anagram Max Chunks To Make Sorted 56.9% 54.8% Easy Medium 0.06447998055429512 0.06474752939415815 https://leetcode.com/problems/valid-anagram https://leetcode.com/problems/max-chunks-to-make-sorted
132 340 242 Longest Substring with At Most K Distinct Characters Valid Anagram 44.1% 56.9% Hard Easy 0.06298815293235048 0.06447998055429512 https://leetcode.com/problems/longest-substring-with-at-most-k-distinct-characters https://leetcode.com/problems/valid-anagram
133 420 340 Strong Password Checker Longest Substring with At Most K Distinct Characters 14.0% 44.1% Hard Hard 0.061087691979838175 0.06298815293235048 https://leetcode.com/problems/strong-password-checker https://leetcode.com/problems/longest-substring-with-at-most-k-distinct-characters
134 75 420 Sort Colors Strong Password Checker 47.3% 14.0% Medium Hard 0.05950522970614658 0.061087691979838175 https://leetcode.com/problems/sort-colors https://leetcode.com/problems/strong-password-checker
135 40 75 Combination Sum II Sort Colors 48.2% 47.3% Medium Medium 0.058414175143170426 0.05950522970614658 https://leetcode.com/problems/combination-sum-ii https://leetcode.com/problems/sort-colors
136 968 40 Binary Tree Cameras Combination Sum II 37.5% 48.2% Hard Medium 0.05790329283155908 0.058414175143170426 https://leetcode.com/problems/binary-tree-cameras https://leetcode.com/problems/combination-sum-ii
137 74 968 Search a 2D Matrix Binary Tree Cameras 36.5% 37.5% Medium Hard 0.057001980519332376 0.05790329283155908 https://leetcode.com/problems/search-a-2d-matrix https://leetcode.com/problems/binary-tree-cameras
138 1038 74 Binary Search Tree to Greater Sum Tree Search a 2D Matrix 80.8% 36.5% Medium Medium 0.05637058926920947 0.057001980519332376 https://leetcode.com/problems/binary-search-tree-to-greater-sum-tree https://leetcode.com/problems/search-a-2d-matrix
139 162 1038 Find Peak Element Binary Search Tree to Greater Sum Tree 43.3% 80.8% Medium Medium 0.05575061760504993 0.05637058926920947 https://leetcode.com/problems/find-peak-element https://leetcode.com/problems/binary-search-tree-to-greater-sum-tree
140 208 162 Implement Trie (Prefix Tree) Find Peak Element 49.4% 43.3% Medium Medium 0.05559457257530485 0.05575061760504993 https://leetcode.com/problems/implement-trie-prefix-tree https://leetcode.com/problems/find-peak-element
141 131 208 Palindrome Partitioning Implement Trie (Prefix Tree) 47.5% 49.4% Medium Medium 0.05449083692828802 0.05559457257530485 https://leetcode.com/problems/palindrome-partitioning https://leetcode.com/problems/implement-trie-prefix-tree
142 348 131 Design Tic-Tac-Toe Palindrome Partitioning 54.3% 47.5% Medium Medium 0.05368014946362379 0.05449083692828802 https://leetcode.com/problems/design-tic-tac-toe https://leetcode.com/problems/palindrome-partitioning
143 1229 348 Meeting Scheduler Design Tic-Tac-Toe 52.7% 54.3% Medium Medium 0.053560323833736816 0.05368014946362379 https://leetcode.com/problems/meeting-scheduler https://leetcode.com/problems/design-tic-tac-toe
144 829 1229 Consecutive Numbers Sum Meeting Scheduler 37.5% 52.7% Hard Medium 0.05341723749698583 0.053560323833736816 https://leetcode.com/problems/consecutive-numbers-sum https://leetcode.com/problems/meeting-scheduler
145 329 829 Longest Increasing Path in a Matrix Consecutive Numbers Sum 43.4% 37.5% Hard Hard 0.052557250738676044 0.05341723749698583 https://leetcode.com/problems/longest-increasing-path-in-a-matrix https://leetcode.com/problems/consecutive-numbers-sum
146 122 329 Best Time to Buy and Sell Stock II Longest Increasing Path in a Matrix 57.0% 43.4% Easy Hard 0.05236798551731598 0.052557250738676044 https://leetcode.com/problems/best-time-to-buy-and-sell-stock-ii https://leetcode.com/problems/longest-increasing-path-in-a-matrix
147 601 122 Human Traffic of Stadium Best Time to Buy and Sell Stock II 41.7% 57.0% Hard Easy 0.05223119222544569 0.05236798551731598 https://leetcode.com/problems/human-traffic-of-stadium https://leetcode.com/problems/best-time-to-buy-and-sell-stock-ii
148 791 601 Custom Sort String Human Traffic of Stadium 65.7% 41.7% Medium Hard 0.05164658886216683 0.05223119222544569 https://leetcode.com/problems/custom-sort-string https://leetcode.com/problems/human-traffic-of-stadium
149 99 791 Recover Binary Search Tree Custom Sort String 39.7% 65.7% Hard Medium 0.051264071283762605 0.05164658886216683 https://leetcode.com/problems/recover-binary-search-tree https://leetcode.com/problems/custom-sort-string
150 740 99 Delete and Earn Recover Binary Search Tree 48.6% 39.7% Medium Hard 0.05109668266230467 0.051264071283762605 https://leetcode.com/problems/delete-and-earn https://leetcode.com/problems/recover-binary-search-tree
151 681 740 Next Closest Time Delete and Earn 45.0% 48.6% Medium Medium 0.05045206096038863 0.05109668266230467 https://leetcode.com/problems/next-closest-time https://leetcode.com/problems/delete-and-earn
152 282 681 Expression Add Operators Next Closest Time 35.5% 45.0% Hard Medium 0.049982640867735496 0.05045206096038863 https://leetcode.com/problems/expression-add-operators https://leetcode.com/problems/next-closest-time
153 449 282 Serialize and Deserialize BST Expression Add Operators 52.0% 35.5% Medium Hard 0.049844204077291364 0.049982640867735496 https://leetcode.com/problems/serialize-and-deserialize-bst https://leetcode.com/problems/expression-add-operators
154 133 449 Clone Graph Serialize and Deserialize BST 34.8% 52.0% Medium Medium 0.049801168649527466 0.049844204077291364 https://leetcode.com/problems/clone-graph https://leetcode.com/problems/serialize-and-deserialize-bst
155 889 133 Construct Binary Tree from Preorder and Postorder Traversal Clone Graph 66.2% 34.8% Medium Medium 0.04902942724031861 0.049801168649527466 https://leetcode.com/problems/construct-binary-tree-from-preorder-and-postorder-traversal https://leetcode.com/problems/clone-graph
156 445 889 Add Two Numbers II Construct Binary Tree from Preorder and Postorder Traversal 54.5% 66.2% Medium Medium 0.04843561709959499 0.04902942724031861 https://leetcode.com/problems/add-two-numbers-ii https://leetcode.com/problems/construct-binary-tree-from-preorder-and-postorder-traversal
157 1019 445 Next Greater Node In Linked List Add Two Numbers II 57.4% 54.5% Medium Medium 0.04795804429616222 0.04843561709959499 https://leetcode.com/problems/next-greater-node-in-linked-list https://leetcode.com/problems/add-two-numbers-ii
158 486 1019 Predict the Winner Next Greater Node In Linked List 47.9% 57.4% Medium Medium 0.047122970130097065 0.04795804429616222 https://leetcode.com/problems/predict-the-winner https://leetcode.com/problems/next-greater-node-in-linked-list
159 97 486 Interleaving String Predict the Winner 31.5% 47.9% Hard Medium 0.04548535439411653 0.047122970130097065 https://leetcode.com/problems/interleaving-string https://leetcode.com/problems/predict-the-winner
160 78 97 Subsets Interleaving String 62.0% 31.5% Medium Hard 0.044263005655043326 0.04548535439411653 https://leetcode.com/problems/subsets https://leetcode.com/problems/interleaving-string
161 10 78 Regular Expression Matching Subsets 26.8% 62.0% Hard Medium 0.04409107726484965 0.044263005655043326 https://leetcode.com/problems/regular-expression-matching https://leetcode.com/problems/subsets
162 611 10 Valid Triangle Number Regular Expression Matching 48.4% 26.8% Medium Hard 0.04255961441879593 0.04409107726484965 https://leetcode.com/problems/valid-triangle-number https://leetcode.com/problems/regular-expression-matching
163 121 611 Best Time to Buy and Sell Stock Valid Triangle Number 50.5% 48.4% Easy Medium 0.04215422741819192 0.04255961441879593 https://leetcode.com/problems/best-time-to-buy-and-sell-stock https://leetcode.com/problems/valid-triangle-number
164 430 121 Flatten a Multilevel Doubly Linked List Best Time to Buy and Sell Stock 55.1% 50.5% Medium Easy 0.04154283751370906 0.04215422741819192 https://leetcode.com/problems/flatten-a-multilevel-doubly-linked-list https://leetcode.com/problems/best-time-to-buy-and-sell-stock
165 211 430 Add and Search Word - Data structure design Flatten a Multilevel Doubly Linked List 38.1% 55.1% Medium Medium 0.04111576039097048 0.04154283751370906 https://leetcode.com/problems/add-and-search-word-data-structure-design https://leetcode.com/problems/flatten-a-multilevel-doubly-linked-list
166 722 211 Remove Comments Add and Search Word - Data structure design 34.6% 38.1% Medium Medium 0.04049136135473691 0.04111576039097048 https://leetcode.com/problems/remove-comments https://leetcode.com/problems/add-and-search-word-data-structure-design
167 918 722 Maximum Sum Circular Subarray Remove Comments 33.7% 34.6% Medium Medium 0.04045040846284272 0.04049136135473691 https://leetcode.com/problems/maximum-sum-circular-subarray https://leetcode.com/problems/remove-comments
168 706 918 Design HashMap Maximum Sum Circular Subarray 61.3% 33.7% Easy Medium 0.039016652342451774 0.04045040846284272 https://leetcode.com/problems/design-hashmap https://leetcode.com/problems/maximum-sum-circular-subarray
169 230 706 Kth Smallest Element in a BST Design HashMap 60.2% 61.3% Medium Easy 0.03895787134280517 0.039016652342451774 https://leetcode.com/problems/kth-smallest-element-in-a-bst https://leetcode.com/problems/design-hashmap
170 337 230 House Robber III Kth Smallest Element in a BST 50.6% 60.2% Medium Medium 0.03825370795946937 0.03895787134280517 https://leetcode.com/problems/house-robber-iii https://leetcode.com/problems/kth-smallest-element-in-a-bst
171 909 337 Snakes and Ladders House Robber III 38.4% 50.6% Medium Medium 0.038172573505029735 0.03825370795946937 https://leetcode.com/problems/snakes-and-ladders https://leetcode.com/problems/house-robber-iii
172 992 909 Subarrays with K Different Integers Snakes and Ladders 48.6% 38.4% Hard Medium 0.03700699810869683 0.038172573505029735 https://leetcode.com/problems/subarrays-with-k-different-integers https://leetcode.com/problems/snakes-and-ladders
173 646 992 Maximum Length of Pair Chain Subarrays with K Different Integers 51.9% 48.6% Medium Hard 0.036870535808327706 0.03700699810869683 https://leetcode.com/problems/maximum-length-of-pair-chain https://leetcode.com/problems/subarrays-with-k-different-integers
174 376 646 Wiggle Subsequence Maximum Length of Pair Chain 39.6% 51.9% Medium Medium 0.03666771919188123 0.036870535808327706 https://leetcode.com/problems/wiggle-subsequence https://leetcode.com/problems/maximum-length-of-pair-chain
175 729 376 My Calendar I Wiggle Subsequence 51.8% 39.6% Medium Medium 0.036433902246102004 0.03666771919188123 https://leetcode.com/problems/my-calendar-i https://leetcode.com/problems/wiggle-subsequence
176 468 729 Validate IP Address My Calendar I 24.1% 51.8% Medium Medium 0.0344861760711693 0.036433902246102004 https://leetcode.com/problems/validate-ip-address https://leetcode.com/problems/my-calendar-i
177 53 468 Maximum Subarray Validate IP Address 46.5% 24.1% Easy Medium 0.03412208634661372 0.0344861760711693 https://leetcode.com/problems/maximum-subarray https://leetcode.com/problems/validate-ip-address
178 1146 53 Snapshot Array Maximum Subarray 37.0% 46.5% Medium Easy 0.0317991816929387 0.03412208634661372 https://leetcode.com/problems/snapshot-array https://leetcode.com/problems/maximum-subarray
179 1091 1146 Shortest Path in Binary Matrix Snapshot Array 38.2% 37.0% Medium Medium 0.03164821095078173 0.0317991816929387 https://leetcode.com/problems/shortest-path-in-binary-matrix https://leetcode.com/problems/snapshot-array
180 228 1091 Summary Ranges Shortest Path in Binary Matrix 39.5% 38.2% Medium Medium 0.03157326191609021 0.03164821095078173 https://leetcode.com/problems/summary-ranges https://leetcode.com/problems/shortest-path-in-binary-matrix
181 1011 228 Capacity To Ship Packages Within D Days Summary Ranges 58.1% 39.5% Medium Medium 0.030100090297855955 0.03157326191609021 https://leetcode.com/problems/capacity-to-ship-packages-within-d-days https://leetcode.com/problems/summary-ranges
182 135 1011 Candy Capacity To Ship Packages Within D Days 31.6% 58.1% Hard Medium 0.029764101906453892 0.030100090297855955 https://leetcode.com/problems/candy https://leetcode.com/problems/capacity-to-ship-packages-within-d-days
183 692 135 Top K Frequent Words Candy 51.8% 31.6% Medium Hard 0.029730915184679466 0.029764101906453892 https://leetcode.com/problems/top-k-frequent-words https://leetcode.com/problems/candy
184 277 692 Find the Celebrity Top K Frequent Words 41.8% 51.8% Medium Medium 0.02969780239174205 0.029730915184679466 https://leetcode.com/problems/find-the-celebrity https://leetcode.com/problems/top-k-frequent-words
185 767 277 Reorganize String Find the Celebrity 48.7% 41.8% Medium Medium 0.02967576814611661 0.02969780239174205 https://leetcode.com/problems/reorganize-string https://leetcode.com/problems/find-the-celebrity
186 347 767 Top K Frequent Elements Reorganize String 61.2% 48.7% Medium Medium 0.029662726238554857 0.02967576814611661 https://leetcode.com/problems/top-k-frequent-elements https://leetcode.com/problems/reorganize-string
187 339 347 Nested List Weight Sum Top K Frequent Elements 74.0% 61.2% Easy Medium 0.02960986116720276 0.029662726238554857 https://leetcode.com/problems/nested-list-weight-sum https://leetcode.com/problems/top-k-frequent-elements
188 671 339 Second Minimum Node In a Binary Tree Nested List Weight Sum 42.7% 74.0% Easy Easy 0.02958795718549609 0.02960986116720276 https://leetcode.com/problems/second-minimum-node-in-a-binary-tree https://leetcode.com/problems/nested-list-weight-sum
189 695 671 Max Area of Island Second Minimum Node In a Binary Tree 62.7% 42.7% Medium Easy 0.028321590863246118 0.02958795718549609 https://leetcode.com/problems/max-area-of-island https://leetcode.com/problems/second-minimum-node-in-a-binary-tree
190 621 695 Task Scheduler Max Area of Island 50.1% 62.7% Medium Medium 0.028315771352780777 0.028321590863246118 https://leetcode.com/problems/task-scheduler https://leetcode.com/problems/max-area-of-island
191 518 621 Coin Change 2 Task Scheduler 50.2% 50.1% Medium Medium 0.027969505010125056 0.028315771352780777 https://leetcode.com/problems/coin-change-2 https://leetcode.com/problems/task-scheduler
192 311 518 Sparse Matrix Multiplication Coin Change 2 61.9% 50.2% Medium Medium 0.027702602549335792 0.027969505010125056 https://leetcode.com/problems/sparse-matrix-multiplication https://leetcode.com/problems/coin-change-2
193 118 311 Pascal's Triangle Sparse Matrix Multiplication 52.5% 61.9% Easy Medium 0.02673062594465844 0.027702602549335792 https://leetcode.com/problems/pascals-triangle https://leetcode.com/problems/sparse-matrix-multiplication
194 158 118 Read N Characters Given Read4 II - Call multiple times Pascal's Triangle 33.8% 52.5% Hard Easy 0.026196651946570663 0.02673062594465844 https://leetcode.com/problems/read-n-characters-given-read4-ii-call-multiple-times https://leetcode.com/problems/pascals-triangle
195 979 158 Distribute Coins in Binary Tree Read N Characters Given Read4 II - Call multiple times 68.9% 33.8% Medium Hard 0.026196651946570663 0.026196651946570663 https://leetcode.com/problems/distribute-coins-in-binary-tree https://leetcode.com/problems/read-n-characters-given-read4-ii-call-multiple-times
196 378 979 Kth Smallest Element in a Sorted Matrix Distribute Coins in Binary Tree 54.3% 68.9% Medium Medium 0.02599048981653746 0.026196651946570663 https://leetcode.com/problems/kth-smallest-element-in-a-sorted-matrix https://leetcode.com/problems/distribute-coins-in-binary-tree
197 733 378 Flood Fill Kth Smallest Element in a Sorted Matrix 55.3% 54.3% Easy Medium 0.02506396866321625 0.02599048981653746 https://leetcode.com/problems/flood-fill https://leetcode.com/problems/kth-smallest-element-in-a-sorted-matrix
198 983 733 Minimum Cost For Tickets Flood Fill 60.5% 55.3% Medium Easy 0.02467737809337621 0.02506396866321625 https://leetcode.com/problems/minimum-cost-for-tickets https://leetcode.com/problems/flood-fill
199 238 983 Product of Array Except Self Minimum Cost For Tickets 60.1% 60.5% Medium Medium 0.024315533698358247 0.02467737809337621 https://leetcode.com/problems/product-of-array-except-self https://leetcode.com/problems/minimum-cost-for-tickets
200 426 238 Convert Binary Search Tree to Sorted Doubly Linked List Product of Array Except Self 59.1% 60.1% Medium Medium 0.024214258120594613 0.024315533698358247 https://leetcode.com/problems/convert-binary-search-tree-to-sorted-doubly-linked-list https://leetcode.com/problems/product-of-array-except-self
201 140 426 Word Break II Convert Binary Search Tree to Sorted Doubly Linked List 32.6% 59.1% Hard Medium 0.024104005752813337 0.024214258120594613 https://leetcode.com/problems/word-break-ii https://leetcode.com/problems/convert-binary-search-tree-to-sorted-doubly-linked-list
202 844 140 Backspace String Compare Word Break II 46.4% 32.6% Easy Hard 0.0235551325028849 0.024104005752813337 https://leetcode.com/problems/backspace-string-compare https://leetcode.com/problems/word-break-ii
203 647 844 Palindromic Substrings Backspace String Compare 60.6% 46.4% Medium Easy 0.023250853650202817 0.0235551325028849 https://leetcode.com/problems/palindromic-substrings https://leetcode.com/problems/backspace-string-compare
204 973 647 K Closest Points to Origin Palindromic Substrings 63.8% 60.6% Medium Medium 0.022897394173017796 0.023250853650202817 https://leetcode.com/problems/k-closest-points-to-origin https://leetcode.com/problems/palindromic-substrings
205 102 973 Binary Tree Level Order Traversal K Closest Points to Origin 54.6% 63.8% Medium Medium 0.02252956425342345 0.022897394173017796 https://leetcode.com/problems/binary-tree-level-order-traversal https://leetcode.com/problems/k-closest-points-to-origin
206 981 102 Time Based Key-Value Store Binary Tree Level Order Traversal 53.1% 54.6% Medium Medium 0.02226024024151985 0.02252956425342345 https://leetcode.com/problems/time-based-key-value-store https://leetcode.com/problems/binary-tree-level-order-traversal
207 152 981 Maximum Product Subarray Time Based Key-Value Store 31.7% 53.1% Medium Medium 0.022176931045949227 0.02226024024151985 https://leetcode.com/problems/maximum-product-subarray https://leetcode.com/problems/time-based-key-value-store
208 398 152 Random Pick Index Maximum Product Subarray 56.0% 31.7% Medium Medium 0.022075951699199795 0.022176931045949227 https://leetcode.com/problems/random-pick-index https://leetcode.com/problems/maximum-product-subarray
209 670 398 Maximum Swap Random Pick Index 43.6% 56.0% Medium Medium 0.020844944430365928 0.022075951699199795 https://leetcode.com/problems/maximum-swap https://leetcode.com/problems/random-pick-index
210 5 670 Longest Palindromic Substring Maximum Swap 29.5% 43.6% Medium Medium 0.020329346568668867 0.020844944430365928 https://leetcode.com/problems/longest-palindromic-substring https://leetcode.com/problems/maximum-swap
211 21 5 Merge Two Sorted Lists Longest Palindromic Substring 53.5% 29.5% Easy Medium 0.02011578137441701 0.020329346568668867 https://leetcode.com/problems/merge-two-sorted-lists https://leetcode.com/problems/longest-palindromic-substring
212 229 21 Majority Element II Merge Two Sorted Lists 35.6% 53.5% Medium Easy 0.019057270410286146 0.02011578137441701 https://leetcode.com/problems/majority-element-ii https://leetcode.com/problems/merge-two-sorted-lists
213 62 229 Unique Paths Majority Element II 54.1% 35.6% Medium Medium 0.01835756003995383 0.019057270410286146 https://leetcode.com/problems/unique-paths https://leetcode.com/problems/majority-element-ii
214 70 62 Climbing Stairs Unique Paths 47.8% 54.1% Easy Medium 0.018323749536870576 0.01835756003995383 https://leetcode.com/problems/climbing-stairs https://leetcode.com/problems/unique-paths
215 37 70 Sudoku Solver Climbing Stairs 43.6% 47.8% Hard Easy 0.01821543989134118 0.018323749536870576 https://leetcode.com/problems/sudoku-solver https://leetcode.com/problems/climbing-stairs
216 560 37 Subarray Sum Equals K Sudoku Solver 43.9% 43.6% Medium Hard 0.017009020666013328 0.01821543989134118 https://leetcode.com/problems/subarray-sum-equals-k https://leetcode.com/problems/sudoku-solver
217 16 560 3Sum Closest Subarray Sum Equals K 46.0% 43.9% Medium Medium 0.016854331554982106 0.017009020666013328 https://leetcode.com/problems/3sum-closest https://leetcode.com/problems/subarray-sum-equals-k
218 51 16 N-Queens 3Sum Closest 46.6% 46.0% Hard Medium 0.016393809775676407 0.016854331554982106 https://leetcode.com/problems/n-queens https://leetcode.com/problems/3sum-closest
219 299 51 Bulls and Cows N-Queens 42.4% 46.6% Easy Hard 0.016227536621756702 0.016393809775676407 https://leetcode.com/problems/bulls-and-cows https://leetcode.com/problems/n-queens
220 334 299 Increasing Triplet Subsequence Bulls and Cows 40.0% 42.4% Medium Easy 0.016058153168974937 0.016227536621756702 https://leetcode.com/problems/increasing-triplet-subsequence https://leetcode.com/problems/bulls-and-cows
221 59 334 Spiral Matrix II Increasing Triplet Subsequence 53.9% 40.0% Medium Medium 0.01579187969789165 0.016058153168974937 https://leetcode.com/problems/spiral-matrix-ii https://leetcode.com/problems/increasing-triplet-subsequence
222 114 59 Flatten Binary Tree to Linked List Spiral Matrix II 49.3% 53.9% Medium Medium 0.015450951155718977 0.01579187969789165 https://leetcode.com/problems/flatten-binary-tree-to-linked-list https://leetcode.com/problems/spiral-matrix-ii
223 198 114 House Robber Flatten Binary Tree to Linked List 42.0% 49.3% Easy Medium 0.014946565030639177 0.015450951155718977 https://leetcode.com/problems/house-robber https://leetcode.com/problems/flatten-binary-tree-to-linked-list
224 177 198 Nth Highest Salary House Robber 31.4% 42.0% Medium Easy 0.014373226241371741 0.014946565030639177 https://leetcode.com/problems/nth-highest-salary https://leetcode.com/problems/house-robber
225 41 177 First Missing Positive Nth Highest Salary 32.0% 31.4% Hard Medium 0.014368063266920193 0.014373226241371741 https://leetcode.com/problems/first-missing-positive https://leetcode.com/problems/nth-highest-salary
226 315 41 Count of Smaller Numbers After Self First Missing Positive 41.5% 32.0% Hard Hard 0.014352596574956585 0.014368063266920193 https://leetcode.com/problems/count-of-smaller-numbers-after-self https://leetcode.com/problems/first-missing-positive
227 150 315 Evaluate Reverse Polish Notation Count of Smaller Numbers After Self 36.3% 41.5% Medium Hard 0.01413451093490476 0.014352596574956585 https://leetcode.com/problems/evaluate-reverse-polish-notation https://leetcode.com/problems/count-of-smaller-numbers-after-self
228 24 150 Swap Nodes in Pairs Evaluate Reverse Polish Notation 50.4% 36.3% Medium Medium 0.013945066390122038 0.01413451093490476 https://leetcode.com/problems/swap-nodes-in-pairs https://leetcode.com/problems/evaluate-reverse-polish-notation
229 64 24 Minimum Path Sum Swap Nodes in Pairs 54.5% 50.4% Medium Medium 0.013734383449598314 0.013945066390122038 https://leetcode.com/problems/minimum-path-sum https://leetcode.com/problems/swap-nodes-in-pairs
230 101 64 Symmetric Tree Minimum Path Sum 46.8% 54.5% Easy Medium 0.013553786479814183 0.013734383449598314 https://leetcode.com/problems/symmetric-tree https://leetcode.com/problems/minimum-path-sum
231 581 101 Shortest Unsorted Continuous Subarray Symmetric Tree 31.1% 46.8% Easy Easy 0.013342426083839913 0.013553786479814183 https://leetcode.com/problems/shortest-unsorted-continuous-subarray https://leetcode.com/problems/symmetric-tree
232 33 581 Search in Rotated Sorted Array Shortest Unsorted Continuous Subarray 34.5% 31.1% Medium Easy 0.012857779194289386 0.013342426083839913 https://leetcode.com/problems/search-in-rotated-sorted-array https://leetcode.com/problems/shortest-unsorted-continuous-subarray
233 199 33 Binary Tree Right Side View Search in Rotated Sorted Array 54.1% 34.5% Medium Medium 0.01274082919906162 0.012857779194289386 https://leetcode.com/problems/binary-tree-right-side-view https://leetcode.com/problems/search-in-rotated-sorted-array
234 852 199 Peak Index in a Mountain Array Binary Tree Right Side View 71.6% 54.1% Easy Medium 0.012618463959211509 0.01274082919906162 https://leetcode.com/problems/peak-index-in-a-mountain-array https://leetcode.com/problems/binary-tree-right-side-view
235 124 852 Binary Tree Maximum Path Sum Peak Index in a Mountain Array 34.3% 71.6% Hard Easy 0.012403687139326226 0.012618463959211509 https://leetcode.com/problems/binary-tree-maximum-path-sum https://leetcode.com/problems/peak-index-in-a-mountain-array
236 547 124 Friend Circles Binary Tree Maximum Path Sum 58.6% 34.3% Medium Hard 0.012228828639434596 0.012403687139326226 https://leetcode.com/problems/friend-circles https://leetcode.com/problems/binary-tree-maximum-path-sum
237 437 547 Path Sum III Friend Circles 47.2% 58.6% Medium Medium 0.012128711446614806 0.012228828639434596 https://leetcode.com/problems/path-sum-iii https://leetcode.com/problems/friend-circles
238 300 437 Longest Increasing Subsequence Path Sum III 42.6% 47.2% Medium Medium 0.011806512586989004 0.012128711446614806 https://leetcode.com/problems/longest-increasing-subsequence https://leetcode.com/problems/path-sum-iii
239 350 300 Intersection of Two Arrays II Longest Increasing Subsequence 51.4% 42.6% Easy Medium 0.01168540951877908 0.011806512586989004 https://leetcode.com/problems/intersection-of-two-arrays-ii https://leetcode.com/problems/longest-increasing-subsequence
240 264 350 Ugly Number II Intersection of Two Arrays II 42.0% 51.4% Medium Easy 0.011604423810414601 0.01168540951877908 https://leetcode.com/problems/ugly-number-ii https://leetcode.com/problems/intersection-of-two-arrays-ii
241 283 264 Move Zeroes Ugly Number II 57.8% 42.0% Easy Medium 0.01149190266804209 0.011604423810414601 https://leetcode.com/problems/move-zeroes https://leetcode.com/problems/ugly-number-ii
242 69 283 Sqrt(x) Move Zeroes 33.9% 57.8% Easy Easy 0.011443227222342794 0.01149190266804209 https://leetcode.com/problems/sqrtx https://leetcode.com/problems/move-zeroes
243 232 69 Implement Queue using Stacks Sqrt(x) 49.6% 33.9% Easy Easy 0.011242389348933884 0.011443227222342794 https://leetcode.com/problems/implement-queue-using-stacks https://leetcode.com/problems/sqrtx
244 941 232 Valid Mountain Array Implement Queue using Stacks 33.2% 49.6% Easy Easy 0.011139073683009305 0.011242389348933884 https://leetcode.com/problems/valid-mountain-array https://leetcode.com/problems/implement-queue-using-stacks
245 338 941 Counting Bits Valid Mountain Array 69.5% 33.2% Medium Easy 0.01088446119842327 0.011139073683009305 https://leetcode.com/problems/counting-bits https://leetcode.com/problems/valid-mountain-array
246 662 338 Maximum Width of Binary Tree Counting Bits 41.0% 69.5% Medium Medium 0.010790501245113902 0.01088446119842327 https://leetcode.com/problems/maximum-width-of-binary-tree https://leetcode.com/problems/counting-bits
247 155 662 Min Stack Maximum Width of Binary Tree 44.5% 41.0% Easy Medium 0.010653509851791077 0.010790501245113902 https://leetcode.com/problems/min-stack https://leetcode.com/problems/maximum-width-of-binary-tree
248 236 155 Lowest Common Ancestor of a Binary Tree Min Stack 45.7% 44.5% Medium Easy 0.010575891759058162 0.010653509851791077 https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-tree https://leetcode.com/problems/min-stack
249 739 236 Daily Temperatures Lowest Common Ancestor of a Binary Tree 63.3% 45.7% Medium Medium 0.010032690121814417 0.010575891759058162 https://leetcode.com/problems/daily-temperatures https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-tree
250 72 739 Edit Distance Daily Temperatures 44.8% 63.3% Hard Medium 0.010017614452317782 0.010032690121814417 https://leetcode.com/problems/edit-distance https://leetcode.com/problems/daily-temperatures
251 47 72 Permutations II Edit Distance 46.4% 44.8% Medium Hard 0.009673594178378379 0.010017614452317782 https://leetcode.com/problems/permutations-ii https://leetcode.com/problems/edit-distance
252 45 47 Jump Game II Permutations II 30.6% 46.4% Hard Medium 0.009546611883579968 0.009673594178378379 https://leetcode.com/problems/jump-game-ii https://leetcode.com/problems/permutations-ii
253 206 45 Reverse Linked List Jump Game II 62.5% 30.6% Easy Hard 0.009326794511974934 0.009546611883579968 https://leetcode.com/problems/reverse-linked-list https://leetcode.com/problems/jump-game-ii
254 43 206 Multiply Strings Reverse Linked List 33.9% 62.5% Medium Easy 0.009145011150062768 0.009326794511974934 https://leetcode.com/problems/multiply-strings https://leetcode.com/problems/reverse-linked-list
255 322 43 Coin Change Multiply Strings 35.5% 33.9% Medium Medium 0.00904437880665999 0.009145011150062768 https://leetcode.com/problems/coin-change https://leetcode.com/problems/multiply-strings
256 15 322 3Sum Coin Change 26.8% 35.5% Medium Medium 0.00876717944353383 0.00904437880665999 https://leetcode.com/problems/3sum https://leetcode.com/problems/coin-change
257 215 15 Kth Largest Element in an Array 3Sum 55.4% 26.8% Medium Medium 0.008759180089881562 0.00876717944353383 https://leetcode.com/problems/kth-largest-element-in-an-array https://leetcode.com/problems/3sum
258 50 215 Pow(x;n) Kth Largest Element in an Array 30.3% 55.4% Medium Medium 0.008728496167158806 0.008759180089881562 https://leetcode.com/problems/powx-n https://leetcode.com/problems/kth-largest-element-in-an-array
259 416 50 Partition Equal Subset Sum Pow(x;n) 43.7% 30.3% Medium Medium 0.008686265255960345 0.008728496167158806 https://leetcode.com/problems/partition-equal-subset-sum https://leetcode.com/problems/powx-n
260 8 416 String to Integer (atoi) Partition Equal Subset Sum 15.4% 43.7% Medium Medium 0.008513104762248265 0.008686265255960345 https://leetcode.com/problems/string-to-integer-atoi https://leetcode.com/problems/partition-equal-subset-sum
261 153 8 Find Minimum in Rotated Sorted Array String to Integer (atoi) 45.1% 15.4% Medium Medium 0.008430963288799368 0.008513104762248265 https://leetcode.com/problems/find-minimum-in-rotated-sorted-array https://leetcode.com/problems/string-to-integer-atoi
262 235 153 Lowest Common Ancestor of a Binary Search Tree Find Minimum in Rotated Sorted Array 49.9% 45.1% Easy Medium 0.00821697310228087 0.008430963288799368 https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-search-tree https://leetcode.com/problems/find-minimum-in-rotated-sorted-array
263 26 235 Remove Duplicates from Sorted Array Lowest Common Ancestor of a Binary Search Tree 45.1% 49.9% Easy Easy 0.007782518973063169 0.00821697310228087 https://leetcode.com/problems/remove-duplicates-from-sorted-array https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-search-tree
264 6 26 ZigZag Conversion Remove Duplicates from Sorted Array 36.3% 45.1% Medium Easy 0.0077116248757144665 0.007782518973063169 https://leetcode.com/problems/zigzag-conversion https://leetcode.com/problems/remove-duplicates-from-sorted-array
265 145 6 Binary Tree Postorder Traversal ZigZag Conversion 55.0% 36.3% Hard Medium 0.00751459482064135 0.0077116248757144665 https://leetcode.com/problems/binary-tree-postorder-traversal https://leetcode.com/problems/zigzag-conversion
266 344 145 Reverse String Binary Tree Postorder Traversal 68.5% 55.0% Easy Hard 0.00734157796234515 0.00751459482064135 https://leetcode.com/problems/reverse-string https://leetcode.com/problems/binary-tree-postorder-traversal
267 349 344 Intersection of Two Arrays Reverse String 62.5% 68.5% Easy Easy 0.00725034896230682 0.00734157796234515 https://leetcode.com/problems/intersection-of-two-arrays https://leetcode.com/problems/reverse-string
268 11 349 Container With Most Water Intersection of Two Arrays 50.8% 62.5% Medium Easy 0.006889188300412141 0.00725034896230682 https://leetcode.com/problems/container-with-most-water https://leetcode.com/problems/intersection-of-two-arrays
269 88 11 Merge Sorted Array Container With Most Water 39.4% 50.8% Easy Medium 0.006760335218638243 0.006889188300412141 https://leetcode.com/problems/merge-sorted-array https://leetcode.com/problems/container-with-most-water
270 98 88 Validate Binary Search Tree Merge Sorted Array 27.8% 39.4% Medium Easy 0.006611351489350257 0.006760335218638243 https://leetcode.com/problems/validate-binary-search-tree https://leetcode.com/problems/merge-sorted-array
271 138 98 Copy List with Random Pointer Validate Binary Search Tree 36.4% 27.8% Medium Medium 0.006191011880825271 0.006611351489350257 https://leetcode.com/problems/copy-list-with-random-pointer https://leetcode.com/problems/validate-binary-search-tree
272 278 138 First Bad Version Copy List with Random Pointer 35.7% 36.4% Easy Medium 0.005391575265790431 0.006191011880825271 https://leetcode.com/problems/first-bad-version https://leetcode.com/problems/copy-list-with-random-pointer
273 48 278 Rotate Image First Bad Version 56.7% 35.7% Medium Easy 0.0050955524266001265 0.005391575265790431 https://leetcode.com/problems/rotate-image https://leetcode.com/problems/first-bad-version
274 55 48 Jump Game Rotate Image 34.6% 56.7% Medium Medium 0.005022612266291382 0.0050955524266001265 https://leetcode.com/problems/jump-game https://leetcode.com/problems/rotate-image
275 189 55 Rotate Array Jump Game 34.7% 34.6% Easy Medium 0.004029826126500844 0.005022612266291382 https://leetcode.com/problems/rotate-array https://leetcode.com/problems/jump-game
276 13 189 Roman to Integer Rotate Array 55.7% 34.7% Easy Easy 0.003428770717317083 0.004029826126500844 https://leetcode.com/problems/roman-to-integer https://leetcode.com/problems/rotate-array
277 94 13 Binary Tree Inorder Traversal Roman to Integer 63.3% 55.7% Medium Easy 0.0033551449021403577 0.003428770717317083 https://leetcode.com/problems/binary-tree-inorder-traversal https://leetcode.com/problems/roman-to-integer
278 66 94 Plus One Binary Tree Inorder Traversal 43.0% 63.3% Easy Medium 0.00326211347832938 0.0033551449021403577 https://leetcode.com/problems/plus-one https://leetcode.com/problems/binary-tree-inorder-traversal
279 154 66 Find Minimum in Rotated Sorted Array II Plus One 41.6% 43.0% Hard Easy 0.0021273209107578427 0.00326211347832938 https://leetcode.com/problems/find-minimum-in-rotated-sorted-array-ii https://leetcode.com/problems/plus-one
280 7 154 Reverse Integer Find Minimum in Rotated Sorted Array II 25.8% 41.6% Easy Hard 0.0018612447790907708 0.0021273209107578427 https://leetcode.com/problems/reverse-integer https://leetcode.com/problems/find-minimum-in-rotated-sorted-array-ii
281 203 7 Remove Linked List Elements Reverse Integer 38.6% 25.8% Easy Easy 0.0016237064659255223 0.0018612447790907708 https://leetcode.com/problems/remove-linked-list-elements https://leetcode.com/problems/reverse-integer
282 203 Remove Linked List Elements 38.6% Easy 0.0016237064659255223 https://leetcode.com/problems/remove-linked-list-elements