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,350 +1,351 @@
843,Guess the Word,46.1%,Hard,1.2138391004755573, https://leetcode.com/problems/guess-the-word
809,Expressive Words,47.0%,Medium,1.134863557707283, https://leetcode.com/problems/expressive-words
946,Validate Stack Sequences,61.9%,Medium,1.1029586218338125, https://leetcode.com/problems/validate-stack-sequences
1438,Longest Continuous Subarray With Absolute Diff Less Than or Equal to Limit,42.1%,Medium,1.023983079065538, https://leetcode.com/problems/longest-continuous-subarray-with-absolute-diff-less-than-or-equal-to-limit
1110,Delete Nodes And Return Forest,67.0%,Medium,0.9450075362972636, https://leetcode.com/problems/delete-nodes-and-return-forest
727,Minimum Window Subsequence,41.8%,Hard,0.9007029499050346, https://leetcode.com/problems/minimum-window-subsequence
359,Logger Rate Limiter,70.8%,Easy,0.8923791710791219, https://leetcode.com/problems/logger-rate-limiter
846,Hand of Straights,54.2%,Medium,0.8134036283108474, https://leetcode.com/problems/hand-of-straights
659,Split Array into Consecutive Subsequences,43.7%,Medium,0.7934909280390994, https://leetcode.com/problems/split-array-into-consecutive-subsequences
1,Two Sum,45.6%,Easy,0.781823017283614, https://leetcode.com/problems/two-sum
1423,Maximum Points You Can Obtain from Cards,42.6%,Medium,0.7734023603473162, https://leetcode.com/problems/maximum-points-you-can-obtain-from-cards
1153,String Transforms Into Another String,35.8%,Hard,0.6974963641784472, https://leetcode.com/problems/string-transforms-into-another-string
642,Design Search Autocomplete System,44.7%,Hard,0.6402789449071344, https://leetcode.com/problems/design-search-autocomplete-system
752,Open the Lock,51.8%,Medium,0.56130340213886, https://leetcode.com/problems/open-the-lock
1296,Divide Array in Sets of K Consecutive Numbers,53.8%,Medium,0.5174978753750585, https://leetcode.com/problems/divide-array-in-sets-of-k-consecutive-numbers
1368,Minimum Cost to Make at Least One Valid Path in a Grid,54.3%,Hard,0.5118945709548958, https://leetcode.com/problems/minimum-cost-to-make-at-least-one-valid-path-in-a-grid
1477,Find Two Non-overlapping Sub-arrays Each With Target Sum,30.0%,Medium,0.503366532914857, https://leetcode.com/problems/find-two-non-overlapping-sub-arrays-each-with-target-sum
951,Flip Equivalent Binary Trees,65.8%,Medium,0.49457139594259447, https://leetcode.com/problems/flip-equivalent-binary-trees
1376,Time Needed to Inform All Employees,55.4%,Medium,0.4903935849487848, https://leetcode.com/problems/time-needed-to-inform-all-employees
1088,Confusing Number II,44.0%,Hard,0.48938529252812124, https://leetcode.com/problems/confusing-number-ii
1293,Shortest Path in a Grid with Obstacles Elimination,42.8%,Hard,0.44342587034738734, https://leetcode.com/problems/shortest-path-in-a-grid-with-obstacles-elimination
1146,Snapshot Array,37.0%,Medium,0.4167102065236668, https://leetcode.com/problems/snapshot-array
1240,Tiling a Rectangle with the Fewest Squares,50.1%,Hard,0.4161603972249123, https://leetcode.com/problems/tiling-a-rectangle-with-the-fewest-squares
679,24 Game,46.4%,Hard,0.4013413909243023, https://leetcode.com/problems/24-game
85,Maximal Rectangle,37.7%,Hard,0.3942163955722937, https://leetcode.com/problems/maximal-rectangle
1231,Divide Chocolate,52.4%,Hard,0.37698021009947796, https://leetcode.com/problems/divide-chocolate
753,Cracking the Safe,50.5%,Hard,0.37558336673783865, https://leetcode.com/problems/cracking-the-safe
552,Student Attendance Record II,36.7%,Hard,0.37292635232139065, https://leetcode.com/problems/student-attendance-record-ii
346,Moving Average from Data Stream,70.9%,Easy,0.3685471485927166, https://leetcode.com/problems/moving-average-from-data-stream
1463,Cherry Pickup II,65.7%,Hard,0.36745148140812023, https://leetcode.com/problems/cherry-pickup-ii
1060,Missing Element in Sorted Array,54.5%,Medium,0.3643378166843015, https://leetcode.com/problems/missing-element-in-sorted-array
1345,Jump Game IV,38.0%,Hard,0.363133899796418, https://leetcode.com/problems/jump-game-iv
489,Robot Room Cleaner,69.7%,Hard,0.34393738002030483, https://leetcode.com/problems/robot-room-cleaner
299,Bulls and Cows,42.4%,Easy,0.34287878153878654, https://leetcode.com/problems/bulls-and-cows
837,New 21 Game,34.6%,Medium,0.34008234884531263, https://leetcode.com/problems/new-21-game
1125,Smallest Sufficient Team,46.6%,Hard,0.33647223662121295, https://leetcode.com/problems/smallest-sufficient-team
803,Bricks Falling When Hit,30.8%,Hard,0.33395175639587793, https://leetcode.com/problems/bricks-falling-when-hit
850,Rectangle Area II,47.5%,Hard,0.33395175639587793, https://leetcode.com/problems/rectangle-area-ii
1406,Stone Game III,56.1%,Hard,0.3195226783074397, https://leetcode.com/problems/stone-game-iii
528,Random Pick with Weight,43.9%,Medium,0.31740043778091953, https://leetcode.com/problems/random-pick-with-weight
722,Remove Comments,34.6%,Medium,0.3161972427598021, https://leetcode.com/problems/remove-comments
833,Find And Replace in String,50.4%,Medium,0.3117796240308414, https://leetcode.com/problems/find-and-replace-in-string
1031,Maximum Sum of Two Non-Overlapping Subarrays,57.9%,Medium,0.2928670946738281, https://leetcode.com/problems/maximum-sum-of-two-non-overlapping-subarrays
329,Longest Increasing Path in a Matrix,43.4%,Hard,0.29062882263712253, https://leetcode.com/problems/longest-increasing-path-in-a-matrix
1326,Minimum Number of Taps to Open to Water a Garden,43.6%,Hard,0.2786048543006643, https://leetcode.com/problems/minimum-number-of-taps-to-open-to-water-a-garden
399,Evaluate Division,51.6%,Medium,0.27239954676797734, https://leetcode.com/problems/evaluate-division
1140,Stone Game II,63.3%,Medium,0.2655409465745674, https://leetcode.com/problems/stone-game-ii
394,Decode String,50.0%,Medium,0.2586674025861649, https://leetcode.com/problems/decode-string
736,Parse Lisp Expression,47.5%,Hard,0.25131442828090605, https://leetcode.com/problems/parse-lisp-expression
723,Candy Crush,69.2%,Medium,0.24895593662161317, https://leetcode.com/problems/candy-crush
527,Word Abbreviation,54.3%,Hard,0.24362208265775043, https://leetcode.com/problems/word-abbreviation
1032,Stream of Characters,48.3%,Hard,0.24287879543594265, https://leetcode.com/problems/stream-of-characters
1320,Minimum Distance to Type a Word Using Two Fingers,62.3%,Hard,0.23922968906583414, https://leetcode.com/problems/minimum-distance-to-type-a-word-using-two-fingers
914,X of a Kind in a Deck of Cards,35.1%,Easy,0.23732818630616617, https://leetcode.com/problems/x-of-a-kind-in-a-deck-of-cards
57,Insert Interval,33.5%,Hard,0.23697938397356041, https://leetcode.com/problems/insert-interval
296,Best Meeting Point,57.5%,Hard,0.23670108287626285, https://leetcode.com/problems/best-meeting-point
1444,Number of Ways of Cutting a Pizza,52.8%,Hard,0.23499359123170555, https://leetcode.com/problems/number-of-ways-of-cutting-a-pizza
652,Find Duplicate Subtrees,50.2%,Medium,0.23015822831359434, https://leetcode.com/problems/find-duplicate-subtrees
444,Sequence Reconstruction,22.2%,Medium,0.22710171311183888, https://leetcode.com/problems/sequence-reconstruction
253,Meeting Rooms II,45.7%,Medium,0.2194457881052731, https://leetcode.com/problems/meeting-rooms-ii
1223,Dice Roll Simulation,45.6%,Medium,0.2166710368085923, https://leetcode.com/problems/dice-roll-simulation
1352,Product of the Last K Numbers,43.6%,Medium,0.21187081254168746, https://leetcode.com/problems/product-of-the-last-k-numbers
375,Guess Number Higher or Lower II,40.3%,Medium,0.2096196787808843, https://leetcode.com/problems/guess-number-higher-or-lower-ii
741,Cherry Pickup,33.9%,Hard,0.20909179785855941, https://leetcode.com/problems/cherry-pickup
729,My Calendar I,51.8%,Medium,0.20856657856743668, https://leetcode.com/problems/my-calendar-i
362,Design Hit Counter,63.7%,Medium,0.20812125379246896, https://leetcode.com/problems/design-hit-counter
315,Count of Smaller Numbers After Self,41.5%,Hard,0.20806843787404064, https://leetcode.com/problems/count-of-smaller-numbers-after-self
777,Swap Adjacent in LR String,34.8%,Medium,0.20271151249700387, https://leetcode.com/problems/swap-adjacent-in-lr-string
562,Longest Line of Consecutive One in Matrix,45.9%,Medium,0.20067069546215116, https://leetcode.com/problems/longest-line-of-consecutive-one-in-matrix
568,Maximum Vacation Days,40.8%,Hard,0.19966567025192705, https://leetcode.com/problems/maximum-vacation-days
767,Reorganize String,48.7%,Medium,0.1940772649823193, https://leetcode.com/problems/reorganize-string
418,Sentence Screen Fitting,32.6%,Medium,0.19331931100349597, https://leetcode.com/problems/sentence-screen-fitting
337,House Robber III,50.6%,Medium,0.19252352759743632, https://leetcode.com/problems/house-robber-iii
900,RLE Iterator,53.5%,Medium,0.1884471502206373, https://leetcode.com/problems/rle-iterator
1312,Minimum Insertion Steps to Make a String Palindrome,58.1%,Hard,0.1874629562943733, https://leetcode.com/problems/minimum-insertion-steps-to-make-a-string-palindrome
792,Number of Matching Subsequences,47.4%,Medium,0.18571714579509285, https://leetcode.com/problems/number-of-matching-subsequences
840,Magic Squares In Grid,37.3%,Easy,0.18533360726394627, https://leetcode.com/problems/magic-squares-in-grid
1466,Reorder Routes to Make All Paths Lead to the City Zero,63.5%,Medium,0.18400364297693944, https://leetcode.com/problems/reorder-routes-to-make-all-paths-lead-to-the-city-zero
221,Maximal Square,37.7%,Medium,0.1833146055349465, https://leetcode.com/problems/maximal-square
871,Minimum Number of Refueling Stops,31.4%,Hard,0.1769307081590782, https://leetcode.com/problems/minimum-number-of-refueling-stops
1197,Minimum Knight Moves,36.1%,Medium,0.17260355263083088, https://leetcode.com/problems/minimum-knight-moves
127,Word Ladder,29.6%,Medium,0.1667080439422554, https://leetcode.com/problems/word-ladder
560,Subarray Sum Equals K,43.9%,Medium,0.1665261146132014, https://leetcode.com/problems/subarray-sum-equals-k
963,Minimum Area Rectangle II,50.9%,Medium,0.16635770580494058, https://leetcode.com/problems/minimum-area-rectangle-ii
715,Range Module,38.5%,Hard,0.1636294237818021, https://leetcode.com/problems/range-module
1048,Longest String Chain,54.7%,Medium,0.1620789500230524, https://leetcode.com/problems/longest-string-chain
68,Text Justification,27.7%,Hard,0.16143214434637243, https://leetcode.com/problems/text-justification
363,Max Sum of Rectangle No Larger Than K,37.3%,Hard,0.15963014559188388, https://leetcode.com/problems/max-sum-of-rectangle-no-larger-than-k
222,Count Complete Tree Nodes,46.8%,Medium,0.15947973572471308, https://leetcode.com/problems/count-complete-tree-nodes
844,Backspace String Compare,46.4%,Easy,0.15656906069153992, https://leetcode.com/problems/backspace-string-compare
1265,Print Immutable Linked List in Reverse,94.6%,Medium,0.15575452940923282, https://leetcode.com/problems/print-immutable-linked-list-in-reverse
335,Self Crossing,28.0%,Hard,0.15535044001916237, https://leetcode.com/problems/self-crossing
351,Android Unlock Patterns,48.4%,Medium,0.15521621002929656, https://leetcode.com/problems/android-unlock-patterns
72,Edit Distance,44.8%,Hard,0.14935692774322157, https://leetcode.com/problems/edit-distance
276,Paint Fence,38.3%,Easy,0.14242034004176865, https://leetcode.com/problems/paint-fence
815,Bus Routes,42.5%,Hard,0.13825661970102562, https://leetcode.com/problems/bus-routes
1136,Parallel Courses,61.1%,Hard,0.13720112151348504, https://leetcode.com/problems/parallel-courses
428,Serialize and Deserialize N-ary Tree,59.4%,Hard,0.13313574474596881, https://leetcode.com/problems/serialize-and-deserialize-n-ary-tree
420,Strong Password Checker,14.0%,Hard,0.13254665596198312, https://leetcode.com/problems/strong-password-checker
818,Race Car,39.0%,Hard,0.12595240897761434, https://leetcode.com/problems/race-car
224,Basic Calculator,36.8%,Hard,0.12435274487954455, https://leetcode.com/problems/basic-calculator
1504,Count Submatrices With All Ones,61.7%,Medium,0.12017442778845913, https://leetcode.com/problems/count-submatrices-with-all-ones
894,All Possible Full Binary Trees,75.2%,Medium,0.11433759744908353, https://leetcode.com/problems/all-possible-full-binary-trees
174,Dungeon Game,32.3%,Hard,0.11053338064061342, https://leetcode.com/problems/dungeon-game
743,Network Delay Time,45.0%,Medium,0.10923245854413877, https://leetcode.com/problems/network-delay-time
924,Minimize Malware Spread,42.0%,Hard,0.10821358464023274, https://leetcode.com/problems/minimize-malware-spread
159,Longest Substring with At Most Two Distinct Characters,49.4%,Medium,0.10453372768183221, https://leetcode.com/problems/longest-substring-with-at-most-two-distinct-characters
845,Longest Mountain in Array,37.2%,Medium,0.10377967991789866, https://leetcode.com/problems/longest-mountain-in-array
393,UTF-8 Validation,37.5%,Medium,0.10212949507637983, https://leetcode.com/problems/utf-8-validation
158,Read N Characters Given Read4 II - Call multiple times,33.8%,Hard,0.10090468412429855, https://leetcode.com/problems/read-n-characters-given-read4-ii-call-multiple-times
417,Pacific Atlantic Water Flow,41.1%,Medium,0.10008345855698253, https://leetcode.com/problems/pacific-atlantic-water-flow
410,Split Array Largest Sum,44.5%,Hard,0.09946079353063801, https://leetcode.com/problems/split-array-largest-sum
862,Shortest Subarray with Sum at Least K,24.6%,Hard,0.09793753498670578, https://leetcode.com/problems/shortest-subarray-with-sum-at-least-k
935,Knight Dialer,45.2%,Medium,0.09737416402517636, https://leetcode.com/problems/knight-dialer
76,Minimum Window Substring,34.6%,Hard,0.09532438646867135, https://leetcode.com/problems/minimum-window-substring
1277,Count Square Submatrices with All Ones,73.3%,Medium,0.09314465520670343, https://leetcode.com/problems/count-square-submatrices-with-all-ones
352,Data Stream as Disjoint Intervals,47.3%,Hard,0.09287412500644375, https://leetcode.com/problems/data-stream-as-disjoint-intervals
690,Employee Importance,57.3%,Easy,0.09271256041458817, https://leetcode.com/problems/employee-importance
1062,Longest Repeating Substring,57.2%,Medium,0.09201889872025212, https://leetcode.com/problems/longest-repeating-substring
1131,Maximum of Absolute Value Expression,53.0%,Medium,0.09055957704572704, https://leetcode.com/problems/maximum-of-absolute-value-expression
549,Binary Tree Longest Consecutive Sequence II,47.0%,Medium,0.08816278759467164, https://leetcode.com/problems/binary-tree-longest-consecutive-sequence-ii
53,Maximum Subarray,46.5%,Easy,0.08769812814162742, https://leetcode.com/problems/maximum-subarray
10,Regular Expression Matching,26.8%,Hard,0.08466459371201616, https://leetcode.com/problems/regular-expression-matching
939,Minimum Area Rectangle,51.8%,Medium,0.08361414004113359, https://leetcode.com/problems/minimum-area-rectangle
332,Reconstruct Itinerary,36.7%,Medium,0.08302143328026106, https://leetcode.com/problems/reconstruct-itinerary
1244,Design A Leaderboard,60.7%,Medium,0.08286311601350513, https://leetcode.com/problems/design-a-leaderboard
911,Online Election,50.4%,Medium,0.08118045667883657, https://leetcode.com/problems/online-election
250,Count Univalue Subtrees,52.0%,Medium,0.07975881838845024, https://leetcode.com/problems/count-univalue-subtrees
2,Add Two Numbers,33.9%,Medium,0.0795615789623275, https://leetcode.com/problems/add-two-numbers
128,Longest Consecutive Sequence,45.1%,Hard,0.0786603197723907, https://leetcode.com/problems/longest-consecutive-sequence
66,Plus One,43.0%,Easy,0.07852093407377625, https://leetcode.com/problems/plus-one
166,Fraction to Recurring Decimal,21.6%,Medium,0.0782795570551556, https://leetcode.com/problems/fraction-to-recurring-decimal
830,Positions of Large Groups,49.6%,Easy,0.07775936469913404, https://leetcode.com/problems/positions-of-large-groups
904,Fruit Into Baskets,42.5%,Medium,0.07767124189113186, https://leetcode.com/problems/fruit-into-baskets
269,Alien Dictionary,33.3%,Hard,0.0770322180463687, https://leetcode.com/problems/alien-dictionary
778,Swim in Rising Water,53.1%,Hard,0.07651914983419623, https://leetcode.com/problems/swim-in-rising-water
1007,Minimum Domino Rotations For Equal Row,50.0%,Medium,0.07630819306332431, https://leetcode.com/problems/minimum-domino-rotations-for-equal-row
1237,Find Positive Integer Solution for a Given Equation,69.7%,Easy,0.07536521894921006, https://leetcode.com/problems/find-positive-integer-solution-for-a-given-equation
480,Sliding Window Median,37.2%,Hard,0.0743529801177063, https://leetcode.com/problems/sliding-window-median
639,Decode Ways II,26.6%,Hard,0.07424558998921052, https://leetcode.com/problems/decode-ways-ii
274,H-Index,36.1%,Medium,0.07416907257227875, https://leetcode.com/problems/h-index
173,Binary Search Tree Iterator,56.6%,Medium,0.07392527369701565, https://leetcode.com/problems/binary-search-tree-iterator
209,Minimum Size Subarray Sum,38.2%,Medium,0.07329286546547308, https://leetcode.com/problems/minimum-size-subarray-sum
1366,Rank Teams by Votes,53.8%,Medium,0.07223355735937158, https://leetcode.com/problems/rank-teams-by-votes
271,Encode and Decode Strings,31.5%,Medium,0.07197349962508924, https://leetcode.com/problems/encode-and-decode-strings
1074,Number of Submatrices That Sum to Target,60.4%,Hard,0.07120444629179161, https://leetcode.com/problems/number-of-submatrices-that-sum-to-target
133,Clone Graph,34.8%,Medium,0.07095173597228444, https://leetcode.com/problems/clone-graph
200,Number of Islands,46.8%,Medium,0.06985103785996453, https://leetcode.com/problems/number-of-islands
1102,Path With Maximum Minimum Value,49.2%,Medium,0.06680279511160087, https://leetcode.com/problems/path-with-maximum-minimum-value
731,My Calendar II,49.1%,Medium,0.06453852113757116, https://leetcode.com/problems/my-calendar-ii
554,Brick Wall,50.0%,Medium,0.0639195177132874, https://leetcode.com/problems/brick-wall
1029,Two City Scheduling,56.1%,Easy,0.06371581438610768, https://leetcode.com/problems/two-city-scheduling
702,Search in a Sorted Array of Unknown Size,66.9%,Medium,0.06361444899419297, https://leetcode.com/problems/search-in-a-sorted-array-of-unknown-size
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
249,Group Shifted Strings,55.1%,Medium,0.06107732466590545, https://leetcode.com/problems/group-shifted-strings
630,Course Schedule III,33.5%,Hard,0.058581901624802396, https://leetcode.com/problems/course-schedule-iii
45,Jump Game II,30.6%,Hard,0.05822366027889668, https://leetcode.com/problems/jump-game-ii
968,Binary Tree Cameras,37.5%,Hard,0.05790329283155908, https://leetcode.com/problems/binary-tree-cameras
1218,Longest Arithmetic Subsequence of Given Difference,44.6%,Medium,0.05675281659244948, https://leetcode.com/problems/longest-arithmetic-subsequence-of-given-difference
218,The Skyline Problem,34.6%,Hard,0.0564413109049518, https://leetcode.com/problems/the-skyline-problem
96,Unique Binary Search Trees,52.9%,Medium,0.056410171529350385, https://leetcode.com/problems/unique-binary-search-trees
41,First Missing Positive,32.0%,Hard,0.056273635982108605, https://leetcode.com/problems/first-missing-positive
279,Perfect Squares,47.4%,Medium,0.05625780265009439, https://leetcode.com/problems/perfect-squares
295,Find Median from Data Stream,44.3%,Hard,0.05495888428075748, https://leetcode.com/problems/find-median-from-data-stream
735,Asteroid Collision,41.0%,Medium,0.05479154882968245, https://leetcode.com/problems/asteroid-collision
15,3Sum,26.8%,Medium,0.05357467464947331, https://leetcode.com/problems/3sum
1095,Find in Mountain Array,35.8%,Hard,0.053560323833736816, https://leetcode.com/problems/find-in-mountain-array
1229,Meeting Scheduler,52.7%,Medium,0.053560323833736816, https://leetcode.com/problems/meeting-scheduler
63,Unique Paths II,34.6%,Medium,0.05324937607387791, https://leetcode.com/problems/unique-paths-ii
286,Walls and Gates,54.5%,Medium,0.05155780966485001, https://leetcode.com/problems/walls-and-gates
681,Next Closest Time,45.0%,Medium,0.05045206096038863, https://leetcode.com/problems/next-closest-time
382,Linked List Random Node,52.1%,Medium,0.05045206096038863, https://leetcode.com/problems/linked-list-random-node
282,Expression Add Operators,35.5%,Hard,0.049982640867735496, https://leetcode.com/problems/expression-add-operators
105,Construct Binary Tree from Preorder and Inorder Traversal,48.8%,Medium,0.049549146900389536, https://leetcode.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal
259,3Sum Smaller,47.6%,Medium,0.04951506452738057, https://leetcode.com/problems/3sum-smaller
981,Time Based Key-Value Store,53.1%,Medium,0.049406315387071284, https://leetcode.com/problems/time-based-key-value-store
307,Range Sum Query - Mutable,34.6%,Medium,0.04935211978972769, https://leetcode.com/problems/range-sum-query-mutable
152,Maximum Product Subarray,31.7%,Medium,0.04922388062576129, https://leetcode.com/problems/maximum-product-subarray
593,Valid Square,43.1%,Medium,0.048671406375812236, https://leetcode.com/problems/valid-square
759,Employee Free Time,66.3%,Hard,0.04861224405509378, https://leetcode.com/problems/employee-free-time
226,Invert Binary Tree,65.0%,Easy,0.04851395922360755, https://leetcode.com/problems/invert-binary-tree
388,Longest Absolute File Path,41.8%,Medium,0.04849434993861047, https://leetcode.com/problems/longest-absolute-file-path
247,Strobogrammatic Number II,47.6%,Medium,0.04757139497530258, https://leetcode.com/problems/strobogrammatic-number-ii
773,Sliding Puzzle,59.3%,Hard,0.0470675108579858, https://leetcode.com/problems/sliding-puzzle
689,Maximum Sum of 3 Non-Overlapping Subarrays,46.3%,Hard,0.04625101765075567, https://leetcode.com/problems/maximum-sum-of-3-non-overlapping-subarrays
692,Top K Frequent Words,51.8%,Medium,0.046074115337669586, https://leetcode.com/problems/top-k-frequent-words
987,Vertical Order Traversal of a Binary Tree,36.6%,Medium,0.04561794346101633, https://leetcode.com/problems/vertical-order-traversal-of-a-binary-tree
205,Isomorphic Strings,39.8%,Easy,0.045397866271290506, https://leetcode.com/problems/isomorphic-strings
325,Maximum Size Subarray Sum Equals k,46.8%,Medium,0.04495138786226632, https://leetcode.com/problems/maximum-size-subarray-sum-equals-k
78,Subsets,62.0%,Medium,0.044263005655043326, https://leetcode.com/problems/subsets
525,Contiguous Array,42.8%,Medium,0.04390949261556855, https://leetcode.com/problems/contiguous-array
280,Wiggle Sort,63.8%,Medium,0.04362742017962607, https://leetcode.com/problems/wiggle-sort
524,Longest Word in Dictionary through Deleting,48.4%,Medium,0.04357988070402507, https://leetcode.com/problems/longest-word-in-dictionary-through-deleting
980,Unique Paths III,73.3%,Hard,0.04348511193973883, https://leetcode.com/problems/unique-paths-iii
1155,Number of Dice Rolls With Target Sum,49.0%,Medium,0.04204262329555109, https://leetcode.com/problems/number-of-dice-rolls-with-target-sum
721,Accounts Merge,48.8%,Medium,0.04200337458562934, https://leetcode.com/problems/accounts-merge
243,Shortest Word Distance,61.0%,Easy,0.040780370344928096, https://leetcode.com/problems/shortest-word-distance
1235,Maximum Profit in Job Scheduling,44.0%,Hard,0.040573516447166516, https://leetcode.com/problems/maximum-profit-in-job-scheduling
314,Binary Tree Vertical Order Traversal,45.3%,Medium,0.04007660092703385, https://leetcode.com/problems/binary-tree-vertical-order-traversal
686,Repeated String Match,32.3%,Easy,0.03984590854719967, https://leetcode.com/problems/repeated-string-match
947,Most Stones Removed with Same Row or Column,55.2%,Medium,0.03929778741436997, https://leetcode.com/problems/most-stones-removed-with-same-row-or-column
241,Different Ways to Add Parentheses,55.2%,Medium,0.03880215185647971, https://leetcode.com/problems/different-ways-to-add-parentheses
682,Baseball Game,63.7%,Easy,0.03872700788529212, https://leetcode.com/problems/baseball-game
380,Insert Delete GetRandom O(1),47.5%,Medium,0.038717635350707984, https://leetcode.com/problems/insert-delete-getrandom-o1
168,Excel Sheet Column Title,31.1%,Easy,0.03861483612777958, https://leetcode.com/problems/excel-sheet-column-title
3,Longest Substring Without Repeating Characters,30.4%,Medium,0.03818277748849004, https://leetcode.com/problems/longest-substring-without-repeating-characters
688,Knight Probability in Chessboard,48.9%,Medium,0.038172573505029735, https://leetcode.com/problems/knight-probability-in-chessboard
992,Subarrays with K Different Integers,48.6%,Hard,0.03700699810869683, https://leetcode.com/problems/subarrays-with-k-different-integers
188,Best Time to Buy and Sell Stock IV,28.0%,Hard,0.036783877267414916, https://leetcode.com/problems/best-time-to-buy-and-sell-stock-iv
1021,Remove Outermost Parentheses,78.0%,Easy,0.03660433056251234, https://leetcode.com/problems/remove-outermost-parentheses
347,Top K Frequent Elements,61.2%,Medium,0.036495073288600646, https://leetcode.com/problems/top-k-frequent-elements
354,Russian Doll Envelopes,35.6%,Hard,0.036467121912812143, https://leetcode.com/problems/russian-doll-envelopes
1254,Number of Closed Islands,60.5%,Medium,0.03540192705091593, https://leetcode.com/problems/number-of-closed-islands
1143,Longest Common Subsequence,58.4%,Medium,0.03488472325916733, https://leetcode.com/problems/longest-common-subsequence
4,Median of Two Sorted Arrays,29.6%,Hard,0.034565653112280895, https://leetcode.com/problems/median-of-two-sorted-arrays
886,Possible Bipartition,44.2%,Medium,0.034103901828857086, https://leetcode.com/problems/possible-bipartition
384,Shuffle an Array,52.8%,Medium,0.03399118781703353, https://leetcode.com/problems/shuffle-an-array
198,House Robber,42.0%,Easy,0.033320991026093004, https://leetcode.com/problems/house-robber
84,Largest Rectangle in Histogram,35.2%,Hard,0.032938342019369966, https://leetcode.com/problems/largest-rectangle-in-histogram
989,Add to Array-Form of Integer,44.2%,Easy,0.03268264743035841, https://leetcode.com/problems/add-to-array-form-of-integer
284,Peeking Iterator,45.7%,Medium,0.03110670713225487, https://leetcode.com/problems/peeking-iterator
304,Range Sum Query 2D - Immutable,38.6%,Medium,0.031036973995576488, https://leetcode.com/problems/range-sum-query-2d-immutable
56,Merge Intervals,39.3%,Medium,0.030829638084076787, https://leetcode.com/problems/merge-intervals
316,Remove Duplicate Letters,35.8%,Hard,0.030443751414723153, https://leetcode.com/problems/remove-duplicate-letters
1192,Critical Connections in a Network,48.6%,Hard,0.030183377823098576, https://leetcode.com/problems/critical-connections-in-a-network
1011,Capacity To Ship Packages Within D Days,58.1%,Medium,0.030100090297855955, https://leetcode.com/problems/capacity-to-ship-packages-within-d-days
14,Longest Common Prefix,35.4%,Easy,0.029493413243583278, https://leetcode.com/problems/longest-common-prefix
157,Read N Characters Given Read4,34.2%,Easy,0.029435532102129305, https://leetcode.com/problems/read-n-characters-given-read4
456,132 Pattern,28.9%,Medium,0.029306126585499394, https://leetcode.com/problems/132-pattern
1047,Remove All Adjacent Duplicates In String,68.6%,Easy,0.029147141055220656, https://leetcode.com/problems/remove-all-adjacent-duplicates-in-string
236,Lowest Common Ancestor of a Binary Tree,45.7%,Medium,0.029105663386885607, https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-tree
36,Valid Sudoku,48.7%,Medium,0.028722132350970705, https://leetcode.com/problems/valid-sudoku
219,Contains Duplicate II,37.7%,Easy,0.028500979167549973, https://leetcode.com/problems/contains-duplicate-ii
695,Max Area of Island,62.7%,Medium,0.028321590863246118, https://leetcode.com/problems/max-area-of-island
110,Balanced Binary Tree,43.5%,Easy,0.02781820547653065, https://leetcode.com/problems/balanced-binary-tree
21,Merge Two Sorted Lists,53.5%,Easy,0.02728150490352749, https://leetcode.com/problems/merge-two-sorted-lists
42,Trapping Rain Water,48.9%,Hard,0.02688623073425064, https://leetcode.com/problems/trapping-rain-water
986,Interval List Intersections,67.3%,Medium,0.026731618438329555, https://leetcode.com/problems/interval-list-intersections
34,Find First and Last Position of Element in Sorted Array,36.2%,Medium,0.026256496787488606, https://leetcode.com/problems/find-first-and-last-position-of-element-in-sorted-array
46,Permutations,63.5%,Medium,0.026064861710547768, https://leetcode.com/problems/permutations
378,Kth Smallest Element in a Sorted Matrix,54.3%,Medium,0.02599048981653746, https://leetcode.com/problems/kth-smallest-element-in-a-sorted-matrix
403,Frog Jump,39.7%,Hard,0.0259249775263148, https://leetcode.com/problems/frog-jump
117,Populating Next Right Pointers in Each Node II,39.1%,Medium,0.025446665661164262, https://leetcode.com/problems/populating-next-right-pointers-in-each-node-ii
733,Flood Fill,55.3%,Easy,0.02506396866321625, https://leetcode.com/problems/flood-fill
941,Valid Mountain Array,33.2%,Easy,0.02489066552578776, https://leetcode.com/problems/valid-mountain-array
409,Longest Palindrome,50.3%,Easy,0.02486144206532915, https://leetcode.com/problems/longest-palindrome
983,Minimum Cost For Tickets,60.5%,Medium,0.02467737809337621, https://leetcode.com/problems/minimum-cost-for-tickets
836,Rectangle Overlap,48.6%,Easy,0.024228925974379843, https://leetcode.com/problems/rectangle-overlap
31,Next Permutation,32.6%,Medium,0.023747034562878154, https://leetcode.com/problems/next-permutation
49,Group Anagrams,56.9%,Medium,0.02354157682187747, https://leetcode.com/problems/group-anagrams
791,Custom Sort String,65.7%,Medium,0.023283938954044722, https://leetcode.com/problems/custom-sort-string
99,Recover Binary Search Tree,39.7%,Hard,0.02310905839365837, https://leetcode.com/problems/recover-binary-search-tree
65,Valid Number,15.3%,Hard,0.022858138076050194, https://leetcode.com/problems/valid-number
678,Valid Parenthesis String,31.0%,Medium,0.02271534352147261, https://leetcode.com/problems/valid-parenthesis-string
216,Combination Sum III,56.6%,Medium,0.02261260849011709, https://leetcode.com/problems/combination-sum-iii
212,Word Search II,34.9%,Hard,0.02201654487096149, https://leetcode.com/problems/word-search-ii
124,Binary Tree Maximum Path Sum,34.3%,Hard,0.021945744272529284, https://leetcode.com/problems/binary-tree-maximum-path-sum
287,Find the Duplicate Number,55.5%,Medium,0.021825992579766168, https://leetcode.com/problems/find-the-duplicate-number
958,Check Completeness of a Binary Tree,52.1%,Medium,0.021763644636359686, https://leetcode.com/problems/check-completeness-of-a-binary-tree
459,Repeated Substring Pattern,42.2%,Easy,0.021402636114384706, https://leetcode.com/problems/repeated-substring-pattern
278,First Bad Version,35.7%,Easy,0.021394050366625766, https://leetcode.com/problems/first-bad-version
543,Diameter of Binary Tree,48.4%,Easy,0.02105617995251665, https://leetcode.com/problems/diameter-of-binary-tree
636,Exclusive Time of Functions,51.9%,Medium,0.02102021693162732, https://leetcode.com/problems/exclusive-time-of-functions
206,Reverse Linked List,62.5%,Easy,0.02086427467076072, https://leetcode.com/problems/reverse-linked-list
654,Maximum Binary Tree,79.9%,Medium,0.02060866342778963, https://leetcode.com/problems/maximum-binary-tree
20,Valid Parentheses,39.0%,Easy,0.020517047266669974, https://leetcode.com/problems/valid-parentheses
60,Permutation Sequence,38.4%,Hard,0.020471543980187256, https://leetcode.com/problems/permutation-sequence
424,Longest Repeating Character Replacement,47.0%,Medium,0.020461071871340063, https://leetcode.com/problems/longest-repeating-character-replacement
392,Is Subsequence,49.2%,Easy,0.02033508842008217, https://leetcode.com/problems/is-subsequence
5,Longest Palindromic Substring,29.5%,Medium,0.020329346568668867, https://leetcode.com/problems/longest-palindromic-substring
79,Word Search,35.6%,Medium,0.020204373427427723, https://leetcode.com/problems/word-search
540,Single Element in a Sorted Array,57.9%,Medium,0.0192128868599912, https://leetcode.com/problems/single-element-in-a-sorted-array
669,Trim a Binary Search Tree,63.0%,Easy,0.019139340210697423, https://leetcode.com/problems/trim-a-binary-search-tree
229,Majority Element II,35.6%,Medium,0.019057270410286146, https://leetcode.com/problems/majority-element-ii
9,Palindrome Number,48.4%,Easy,0.018837205580381582, https://leetcode.com/problems/palindrome-number
901,Online Stock Span,60.2%,Medium,0.018622512098001826, https://leetcode.com/problems/online-stock-span
146,LRU Cache,33.2%,Medium,0.01827577993873683, https://leetcode.com/problems/lru-cache
37,Sudoku Solver,43.6%,Hard,0.01821543989134118, https://leetcode.com/problems/sudoku-solver
438,Find All Anagrams in a String,43.3%,Medium,0.01819334596120571, https://leetcode.com/problems/find-all-anagrams-in-a-string
406,Queue Reconstruction by Height,66.9%,Medium,0.01774669468133533, https://leetcode.com/problems/queue-reconstruction-by-height
239,Sliding Window Maximum,43.0%,Hard,0.01768566434627554, https://leetcode.com/problems/sliding-window-maximum
240,Search a 2D Matrix II,43.2%,Medium,0.0169815401480941, https://leetcode.com/problems/search-a-2d-matrix-ii
16,3Sum Closest,46.0%,Medium,0.016854331554982106, https://leetcode.com/problems/3sum-closest
658,Find K Closest Elements,40.9%,Medium,0.016611677666896175, https://leetcode.com/problems/find-k-closest-elements
116,Populating Next Right Pointers in Each Node,45.2%,Medium,0.016432723251567683, https://leetcode.com/problems/populating-next-right-pointers-in-each-node
51,N-Queens,46.6%,Hard,0.016393809775676407, https://leetcode.com/problems/n-queens
297,Serialize and Deserialize Binary Tree,47.5%,Hard,0.01585377577217724, https://leetcode.com/problems/serialize-and-deserialize-binary-tree
165,Compare Version Numbers,27.4%,Medium,0.01579187969789165, https://leetcode.com/problems/compare-version-numbers
59,Spiral Matrix II,53.9%,Medium,0.01579187969789165, https://leetcode.com/problems/spiral-matrix-ii
139,Word Break,40.1%,Medium,0.015487677691351377, https://leetcode.com/problems/word-break
301,Remove Invalid Parentheses,43.3%,Hard,0.01446679841775339, https://leetcode.com/problems/remove-invalid-parentheses
109,Convert Sorted List to Binary Search Tree,47.7%,Medium,0.014440684154794336, https://leetcode.com/problems/convert-sorted-list-to-binary-search-tree
177,Nth Highest Salary,31.4%,Medium,0.014373226241371741, https://leetcode.com/problems/nth-highest-salary
162,Find Peak Element,43.3%,Medium,0.014231739257256364, https://leetcode.com/problems/find-peak-element
150,Evaluate Reverse Polish Notation,36.3%,Medium,0.01413451093490476, https://leetcode.com/problems/evaluate-reverse-polish-notation
303,Range Sum Query - Immutable,44.7%,Easy,0.013240842236997532, https://leetcode.com/problems/range-sum-query-immutable
137,Single Number II,52.4%,Medium,0.012527567532662891, https://leetcode.com/problems/single-number-ii
227,Basic Calculator II,36.9%,Medium,0.01239941490503826, https://leetcode.com/problems/basic-calculator-ii
273,Integer to English Words,27.1%,Hard,0.012081089250339716, https://leetcode.com/problems/integer-to-english-words
210,Course Schedule II,40.7%,Medium,0.011869857339029215, https://leetcode.com/problems/course-schedule-ii
442,Find All Duplicates in an Array,67.8%,Medium,0.011675555865241341, https://leetcode.com/problems/find-all-duplicates-in-an-array
283,Move Zeroes,57.8%,Easy,0.01149190266804209, https://leetcode.com/problems/move-zeroes
171,Excel Sheet Column Number,55.9%,Easy,0.011195191092491645, https://leetcode.com/problems/excel-sheet-column-number
160,Intersection of Two Linked Lists,40.6%,Easy,0.010994491398666248, https://leetcode.com/problems/intersection-of-two-linked-lists
559,Maximum Depth of N-ary Tree,68.7%,Easy,0.010974047031976715, https://leetcode.com/problems/maximum-depth-of-n-ary-tree
463,Island Perimeter,65.7%,Easy,0.010935046086198837, https://leetcode.com/problems/island-perimeter
169,Majority Element,58.7%,Easy,0.010558521365115802, https://leetcode.com/problems/majority-element
211,Add and Search Word - Data structure design,38.1%,Medium,0.010438508143923443, https://leetcode.com/problems/add-and-search-word-data-structure-design
647,Palindromic Substrings,60.6%,Medium,0.010400509768078022, https://leetcode.com/problems/palindromic-substrings
17,Letter Combinations of a Phone Number,46.8%,Medium,0.00987716546167603, https://leetcode.com/problems/letter-combinations-of-a-phone-number
22,Generate Parentheses,62.7%,Medium,0.009785877810632554, https://leetcode.com/problems/generate-parentheses
43,Multiply Strings,33.9%,Medium,0.009145011150062768, https://leetcode.com/problems/multiply-strings
208,Implement Trie (Prefix Tree),49.4%,Medium,0.009105457856626612, https://leetcode.com/problems/implement-trie-prefix-tree
23,Merge k Sorted Lists,40.2%,Hard,0.009092808657599025, https://leetcode.com/problems/merge-k-sorted-lists
215,Kth Largest Element in an Array,55.4%,Medium,0.008759180089881562, https://leetcode.com/problems/kth-largest-element-in-an-array
12,Integer to Roman,55.1%,Medium,0.008532474973720734, https://leetcode.com/problems/integer-to-roman
121,Best Time to Buy and Sell Stock,50.5%,Easy,0.00846879565300311, https://leetcode.com/problems/best-time-to-buy-and-sell-stock
38,Count and Say,44.6%,Easy,0.007829360800435779, https://leetcode.com/problems/count-and-say
33,Search in Rotated Sorted Array,34.5%,Medium,0.007252832180390353, https://leetcode.com/problems/search-in-rotated-sorted-array
349,Intersection of Two Arrays,62.5%,Easy,0.00725034896230682, https://leetcode.com/problems/intersection-of-two-arrays
1342,Number of Steps to Reduce a Number to Zero,86.3%,Easy,0.006975961320774839, https://leetcode.com/problems/number-of-steps-to-reduce-a-number-to-zero
88,Merge Sorted Array,39.4%,Easy,0.006760335218638243, https://leetcode.com/problems/merge-sorted-array
118,Pascal's Triangle,52.5%,Easy,0.006749941254175012, https://leetcode.com/problems/pascals-triangle
24,Swap Nodes in Pairs,50.4%,Medium,0.0062218275061505365, https://leetcode.com/problems/swap-nodes-in-pairs
64,Minimum Path Sum,54.5%,Medium,0.006127470152097104, https://leetcode.com/problems/minimum-path-sum
144,Binary Tree Preorder Traversal,55.7%,Medium,0.0060975798681185, https://leetcode.com/problems/binary-tree-preorder-traversal
70,Climbing Stairs,47.8%,Easy,0.006020261250215664, https://leetcode.com/problems/climbing-stairs
91,Decode Ways,24.7%,Medium,0.005968385368349129, https://leetcode.com/problems/decode-ways
485,Max Consecutive Ones,54.6%,Easy,0.005314920829289628, https://leetcode.com/problems/max-consecutive-ones
300,Longest Increasing Subsequence,42.6%,Medium,0.005264555460003242, https://leetcode.com/problems/longest-increasing-subsequence
237,Delete Node in a Linked List,63.8%,Easy,0.005144705881237697, https://leetcode.com/problems/delete-node-in-a-linked-list
69,Sqrt(x),33.9%,Easy,0.005102051883895465, https://leetcode.com/problems/sqrtx
55,Jump Game,34.6%,Medium,0.005022612266291382, https://leetcode.com/problems/jump-game
155,Min Stack,44.5%,Easy,0.00474891074128171, https://leetcode.com/problems/min-stack
62,Unique Paths,54.1%,Medium,0.004621080312067025, https://leetcode.com/problems/unique-paths
387,First Unique Character in a String,53.4%,Easy,0.00418541994270691, https://leetcode.com/problems/first-unique-character-in-a-string
242,Valid Anagram,56.9%,Easy,0.004154123743115972, https://leetcode.com/problems/valid-anagram
322,Coin Change,35.5%,Medium,0.004029826126500844, https://leetcode.com/problems/coin-change
238,Product of Array Except Self,60.1%,Medium,0.003930436424724545, https://leetcode.com/problems/product-of-array-except-self
8,String to Integer (atoi),15.4%,Medium,0.0037925521897059712, https://leetcode.com/problems/string-to-integer-atoi
153,Find Minimum in Rotated Sorted Array,45.1%,Medium,0.0037558729598054378, https://leetcode.com/problems/find-minimum-in-rotated-sorted-array
13,Roman to Integer,55.7%,Easy,0.003428770717317083, https://leetcode.com/problems/roman-to-integer
101,Symmetric Tree,46.8%,Easy,0.0034057078469827435, https://leetcode.com/problems/symmetric-tree
94,Binary Tree Inorder Traversal,63.3%,Medium,0.0033551449021403577, https://leetcode.com/problems/binary-tree-inorder-traversal
344,Reverse String,68.5%,Easy,0.003269579502519813, https://leetcode.com/problems/reverse-string
50,Pow(x;n),30.3%,Medium,0.0031510424503886844, https://leetcode.com/problems/powx-n
104,Maximum Depth of Binary Tree,66.0%,Easy,0.002787846801433134, https://leetcode.com/problems/maximum-depth-of-binary-tree
26,Remove Duplicates from Sorted Array,45.1%,Easy,0.0019513153174351963, https://leetcode.com/problems/remove-duplicates-from-sorted-array
190,Reverse Bits,39.8%,Easy,0.0018316700789167337, https://leetcode.com/problems/reverse-bits
67,Add Binary,45.2%,Easy,0.0016620272243229827, https://leetcode.com/problems/add-binary
ID,Title,Acceptance,Difficulty,Frequency,Leetcode Question Link
843,Guess the Word,46.1%,Hard,1.2138391004755573, https://leetcode.com/problems/guess-the-word
809,Expressive Words,47.0%,Medium,1.134863557707283, https://leetcode.com/problems/expressive-words
946,Validate Stack Sequences,61.9%,Medium,1.1029586218338125, https://leetcode.com/problems/validate-stack-sequences
1438,Longest Continuous Subarray With Absolute Diff Less Than or Equal to Limit,42.1%,Medium,1.023983079065538, https://leetcode.com/problems/longest-continuous-subarray-with-absolute-diff-less-than-or-equal-to-limit
1110,Delete Nodes And Return Forest,67.0%,Medium,0.9450075362972636, https://leetcode.com/problems/delete-nodes-and-return-forest
727,Minimum Window Subsequence,41.8%,Hard,0.9007029499050346, https://leetcode.com/problems/minimum-window-subsequence
359,Logger Rate Limiter,70.8%,Easy,0.8923791710791219, https://leetcode.com/problems/logger-rate-limiter
846,Hand of Straights,54.2%,Medium,0.8134036283108474, https://leetcode.com/problems/hand-of-straights
659,Split Array into Consecutive Subsequences,43.7%,Medium,0.7934909280390994, https://leetcode.com/problems/split-array-into-consecutive-subsequences
1,Two Sum,45.6%,Easy,0.781823017283614, https://leetcode.com/problems/two-sum
1423,Maximum Points You Can Obtain from Cards,42.6%,Medium,0.7734023603473162, https://leetcode.com/problems/maximum-points-you-can-obtain-from-cards
1153,String Transforms Into Another String,35.8%,Hard,0.6974963641784472, https://leetcode.com/problems/string-transforms-into-another-string
642,Design Search Autocomplete System,44.7%,Hard,0.6402789449071344, https://leetcode.com/problems/design-search-autocomplete-system
752,Open the Lock,51.8%,Medium,0.56130340213886, https://leetcode.com/problems/open-the-lock
1296,Divide Array in Sets of K Consecutive Numbers,53.8%,Medium,0.5174978753750585, https://leetcode.com/problems/divide-array-in-sets-of-k-consecutive-numbers
1368,Minimum Cost to Make at Least One Valid Path in a Grid,54.3%,Hard,0.5118945709548958, https://leetcode.com/problems/minimum-cost-to-make-at-least-one-valid-path-in-a-grid
1477,Find Two Non-overlapping Sub-arrays Each With Target Sum,30.0%,Medium,0.503366532914857, https://leetcode.com/problems/find-two-non-overlapping-sub-arrays-each-with-target-sum
951,Flip Equivalent Binary Trees,65.8%,Medium,0.49457139594259447, https://leetcode.com/problems/flip-equivalent-binary-trees
1376,Time Needed to Inform All Employees,55.4%,Medium,0.4903935849487848, https://leetcode.com/problems/time-needed-to-inform-all-employees
1088,Confusing Number II,44.0%,Hard,0.48938529252812124, https://leetcode.com/problems/confusing-number-ii
1293,Shortest Path in a Grid with Obstacles Elimination,42.8%,Hard,0.44342587034738734, https://leetcode.com/problems/shortest-path-in-a-grid-with-obstacles-elimination
1146,Snapshot Array,37.0%,Medium,0.4167102065236668, https://leetcode.com/problems/snapshot-array
1240,Tiling a Rectangle with the Fewest Squares,50.1%,Hard,0.4161603972249123, https://leetcode.com/problems/tiling-a-rectangle-with-the-fewest-squares
679,24 Game,46.4%,Hard,0.4013413909243023, https://leetcode.com/problems/24-game
85,Maximal Rectangle,37.7%,Hard,0.3942163955722937, https://leetcode.com/problems/maximal-rectangle
1231,Divide Chocolate,52.4%,Hard,0.37698021009947796, https://leetcode.com/problems/divide-chocolate
753,Cracking the Safe,50.5%,Hard,0.37558336673783865, https://leetcode.com/problems/cracking-the-safe
552,Student Attendance Record II,36.7%,Hard,0.37292635232139065, https://leetcode.com/problems/student-attendance-record-ii
346,Moving Average from Data Stream,70.9%,Easy,0.3685471485927166, https://leetcode.com/problems/moving-average-from-data-stream
1463,Cherry Pickup II,65.7%,Hard,0.36745148140812023, https://leetcode.com/problems/cherry-pickup-ii
1060,Missing Element in Sorted Array,54.5%,Medium,0.3643378166843015, https://leetcode.com/problems/missing-element-in-sorted-array
1345,Jump Game IV,38.0%,Hard,0.363133899796418, https://leetcode.com/problems/jump-game-iv
489,Robot Room Cleaner,69.7%,Hard,0.34393738002030483, https://leetcode.com/problems/robot-room-cleaner
299,Bulls and Cows,42.4%,Easy,0.34287878153878654, https://leetcode.com/problems/bulls-and-cows
837,New 21 Game,34.6%,Medium,0.34008234884531263, https://leetcode.com/problems/new-21-game
1125,Smallest Sufficient Team,46.6%,Hard,0.33647223662121295, https://leetcode.com/problems/smallest-sufficient-team
803,Bricks Falling When Hit,30.8%,Hard,0.33395175639587793, https://leetcode.com/problems/bricks-falling-when-hit
850,Rectangle Area II,47.5%,Hard,0.33395175639587793, https://leetcode.com/problems/rectangle-area-ii
1406,Stone Game III,56.1%,Hard,0.3195226783074397, https://leetcode.com/problems/stone-game-iii
528,Random Pick with Weight,43.9%,Medium,0.31740043778091953, https://leetcode.com/problems/random-pick-with-weight
722,Remove Comments,34.6%,Medium,0.3161972427598021, https://leetcode.com/problems/remove-comments
833,Find And Replace in String,50.4%,Medium,0.3117796240308414, https://leetcode.com/problems/find-and-replace-in-string
1031,Maximum Sum of Two Non-Overlapping Subarrays,57.9%,Medium,0.2928670946738281, https://leetcode.com/problems/maximum-sum-of-two-non-overlapping-subarrays
329,Longest Increasing Path in a Matrix,43.4%,Hard,0.29062882263712253, https://leetcode.com/problems/longest-increasing-path-in-a-matrix
1326,Minimum Number of Taps to Open to Water a Garden,43.6%,Hard,0.2786048543006643, https://leetcode.com/problems/minimum-number-of-taps-to-open-to-water-a-garden
399,Evaluate Division,51.6%,Medium,0.27239954676797734, https://leetcode.com/problems/evaluate-division
1140,Stone Game II,63.3%,Medium,0.2655409465745674, https://leetcode.com/problems/stone-game-ii
394,Decode String,50.0%,Medium,0.2586674025861649, https://leetcode.com/problems/decode-string
736,Parse Lisp Expression,47.5%,Hard,0.25131442828090605, https://leetcode.com/problems/parse-lisp-expression
723,Candy Crush,69.2%,Medium,0.24895593662161317, https://leetcode.com/problems/candy-crush
527,Word Abbreviation,54.3%,Hard,0.24362208265775043, https://leetcode.com/problems/word-abbreviation
1032,Stream of Characters,48.3%,Hard,0.24287879543594265, https://leetcode.com/problems/stream-of-characters
1320,Minimum Distance to Type a Word Using Two Fingers,62.3%,Hard,0.23922968906583414, https://leetcode.com/problems/minimum-distance-to-type-a-word-using-two-fingers
914,X of a Kind in a Deck of Cards,35.1%,Easy,0.23732818630616617, https://leetcode.com/problems/x-of-a-kind-in-a-deck-of-cards
57,Insert Interval,33.5%,Hard,0.23697938397356041, https://leetcode.com/problems/insert-interval
296,Best Meeting Point,57.5%,Hard,0.23670108287626285, https://leetcode.com/problems/best-meeting-point
1444,Number of Ways of Cutting a Pizza,52.8%,Hard,0.23499359123170555, https://leetcode.com/problems/number-of-ways-of-cutting-a-pizza
652,Find Duplicate Subtrees,50.2%,Medium,0.23015822831359434, https://leetcode.com/problems/find-duplicate-subtrees
444,Sequence Reconstruction,22.2%,Medium,0.22710171311183888, https://leetcode.com/problems/sequence-reconstruction
253,Meeting Rooms II,45.7%,Medium,0.2194457881052731, https://leetcode.com/problems/meeting-rooms-ii
1223,Dice Roll Simulation,45.6%,Medium,0.2166710368085923, https://leetcode.com/problems/dice-roll-simulation
1352,Product of the Last K Numbers,43.6%,Medium,0.21187081254168746, https://leetcode.com/problems/product-of-the-last-k-numbers
375,Guess Number Higher or Lower II,40.3%,Medium,0.2096196787808843, https://leetcode.com/problems/guess-number-higher-or-lower-ii
741,Cherry Pickup,33.9%,Hard,0.20909179785855941, https://leetcode.com/problems/cherry-pickup
729,My Calendar I,51.8%,Medium,0.20856657856743668, https://leetcode.com/problems/my-calendar-i
362,Design Hit Counter,63.7%,Medium,0.20812125379246896, https://leetcode.com/problems/design-hit-counter
315,Count of Smaller Numbers After Self,41.5%,Hard,0.20806843787404064, https://leetcode.com/problems/count-of-smaller-numbers-after-self
777,Swap Adjacent in LR String,34.8%,Medium,0.20271151249700387, https://leetcode.com/problems/swap-adjacent-in-lr-string
562,Longest Line of Consecutive One in Matrix,45.9%,Medium,0.20067069546215116, https://leetcode.com/problems/longest-line-of-consecutive-one-in-matrix
568,Maximum Vacation Days,40.8%,Hard,0.19966567025192705, https://leetcode.com/problems/maximum-vacation-days
767,Reorganize String,48.7%,Medium,0.1940772649823193, https://leetcode.com/problems/reorganize-string
418,Sentence Screen Fitting,32.6%,Medium,0.19331931100349597, https://leetcode.com/problems/sentence-screen-fitting
337,House Robber III,50.6%,Medium,0.19252352759743632, https://leetcode.com/problems/house-robber-iii
900,RLE Iterator,53.5%,Medium,0.1884471502206373, https://leetcode.com/problems/rle-iterator
1312,Minimum Insertion Steps to Make a String Palindrome,58.1%,Hard,0.1874629562943733, https://leetcode.com/problems/minimum-insertion-steps-to-make-a-string-palindrome
792,Number of Matching Subsequences,47.4%,Medium,0.18571714579509285, https://leetcode.com/problems/number-of-matching-subsequences
840,Magic Squares In Grid,37.3%,Easy,0.18533360726394627, https://leetcode.com/problems/magic-squares-in-grid
1466,Reorder Routes to Make All Paths Lead to the City Zero,63.5%,Medium,0.18400364297693944, https://leetcode.com/problems/reorder-routes-to-make-all-paths-lead-to-the-city-zero
221,Maximal Square,37.7%,Medium,0.1833146055349465, https://leetcode.com/problems/maximal-square
871,Minimum Number of Refueling Stops,31.4%,Hard,0.1769307081590782, https://leetcode.com/problems/minimum-number-of-refueling-stops
1197,Minimum Knight Moves,36.1%,Medium,0.17260355263083088, https://leetcode.com/problems/minimum-knight-moves
127,Word Ladder,29.6%,Medium,0.1667080439422554, https://leetcode.com/problems/word-ladder
560,Subarray Sum Equals K,43.9%,Medium,0.1665261146132014, https://leetcode.com/problems/subarray-sum-equals-k
963,Minimum Area Rectangle II,50.9%,Medium,0.16635770580494058, https://leetcode.com/problems/minimum-area-rectangle-ii
715,Range Module,38.5%,Hard,0.1636294237818021, https://leetcode.com/problems/range-module
1048,Longest String Chain,54.7%,Medium,0.1620789500230524, https://leetcode.com/problems/longest-string-chain
68,Text Justification,27.7%,Hard,0.16143214434637243, https://leetcode.com/problems/text-justification
363,Max Sum of Rectangle No Larger Than K,37.3%,Hard,0.15963014559188388, https://leetcode.com/problems/max-sum-of-rectangle-no-larger-than-k
222,Count Complete Tree Nodes,46.8%,Medium,0.15947973572471308, https://leetcode.com/problems/count-complete-tree-nodes
844,Backspace String Compare,46.4%,Easy,0.15656906069153992, https://leetcode.com/problems/backspace-string-compare
1265,Print Immutable Linked List in Reverse,94.6%,Medium,0.15575452940923282, https://leetcode.com/problems/print-immutable-linked-list-in-reverse
335,Self Crossing,28.0%,Hard,0.15535044001916237, https://leetcode.com/problems/self-crossing
351,Android Unlock Patterns,48.4%,Medium,0.15521621002929656, https://leetcode.com/problems/android-unlock-patterns
72,Edit Distance,44.8%,Hard,0.14935692774322157, https://leetcode.com/problems/edit-distance
276,Paint Fence,38.3%,Easy,0.14242034004176865, https://leetcode.com/problems/paint-fence
815,Bus Routes,42.5%,Hard,0.13825661970102562, https://leetcode.com/problems/bus-routes
1136,Parallel Courses,61.1%,Hard,0.13720112151348504, https://leetcode.com/problems/parallel-courses
428,Serialize and Deserialize N-ary Tree,59.4%,Hard,0.13313574474596881, https://leetcode.com/problems/serialize-and-deserialize-n-ary-tree
420,Strong Password Checker,14.0%,Hard,0.13254665596198312, https://leetcode.com/problems/strong-password-checker
818,Race Car,39.0%,Hard,0.12595240897761434, https://leetcode.com/problems/race-car
224,Basic Calculator,36.8%,Hard,0.12435274487954455, https://leetcode.com/problems/basic-calculator
1504,Count Submatrices With All Ones,61.7%,Medium,0.12017442778845913, https://leetcode.com/problems/count-submatrices-with-all-ones
894,All Possible Full Binary Trees,75.2%,Medium,0.11433759744908353, https://leetcode.com/problems/all-possible-full-binary-trees
174,Dungeon Game,32.3%,Hard,0.11053338064061342, https://leetcode.com/problems/dungeon-game
743,Network Delay Time,45.0%,Medium,0.10923245854413877, https://leetcode.com/problems/network-delay-time
924,Minimize Malware Spread,42.0%,Hard,0.10821358464023274, https://leetcode.com/problems/minimize-malware-spread
159,Longest Substring with At Most Two Distinct Characters,49.4%,Medium,0.10453372768183221, https://leetcode.com/problems/longest-substring-with-at-most-two-distinct-characters
845,Longest Mountain in Array,37.2%,Medium,0.10377967991789866, https://leetcode.com/problems/longest-mountain-in-array
393,UTF-8 Validation,37.5%,Medium,0.10212949507637983, https://leetcode.com/problems/utf-8-validation
158,Read N Characters Given Read4 II - Call multiple times,33.8%,Hard,0.10090468412429855, https://leetcode.com/problems/read-n-characters-given-read4-ii-call-multiple-times
417,Pacific Atlantic Water Flow,41.1%,Medium,0.10008345855698253, https://leetcode.com/problems/pacific-atlantic-water-flow
410,Split Array Largest Sum,44.5%,Hard,0.09946079353063801, https://leetcode.com/problems/split-array-largest-sum
862,Shortest Subarray with Sum at Least K,24.6%,Hard,0.09793753498670578, https://leetcode.com/problems/shortest-subarray-with-sum-at-least-k
935,Knight Dialer,45.2%,Medium,0.09737416402517636, https://leetcode.com/problems/knight-dialer
76,Minimum Window Substring,34.6%,Hard,0.09532438646867135, https://leetcode.com/problems/minimum-window-substring
1277,Count Square Submatrices with All Ones,73.3%,Medium,0.09314465520670343, https://leetcode.com/problems/count-square-submatrices-with-all-ones
352,Data Stream as Disjoint Intervals,47.3%,Hard,0.09287412500644375, https://leetcode.com/problems/data-stream-as-disjoint-intervals
690,Employee Importance,57.3%,Easy,0.09271256041458817, https://leetcode.com/problems/employee-importance
1062,Longest Repeating Substring,57.2%,Medium,0.09201889872025212, https://leetcode.com/problems/longest-repeating-substring
1131,Maximum of Absolute Value Expression,53.0%,Medium,0.09055957704572704, https://leetcode.com/problems/maximum-of-absolute-value-expression
549,Binary Tree Longest Consecutive Sequence II,47.0%,Medium,0.08816278759467164, https://leetcode.com/problems/binary-tree-longest-consecutive-sequence-ii
53,Maximum Subarray,46.5%,Easy,0.08769812814162742, https://leetcode.com/problems/maximum-subarray
10,Regular Expression Matching,26.8%,Hard,0.08466459371201616, https://leetcode.com/problems/regular-expression-matching
939,Minimum Area Rectangle,51.8%,Medium,0.08361414004113359, https://leetcode.com/problems/minimum-area-rectangle
332,Reconstruct Itinerary,36.7%,Medium,0.08302143328026106, https://leetcode.com/problems/reconstruct-itinerary
1244,Design A Leaderboard,60.7%,Medium,0.08286311601350513, https://leetcode.com/problems/design-a-leaderboard
911,Online Election,50.4%,Medium,0.08118045667883657, https://leetcode.com/problems/online-election
250,Count Univalue Subtrees,52.0%,Medium,0.07975881838845024, https://leetcode.com/problems/count-univalue-subtrees
2,Add Two Numbers,33.9%,Medium,0.0795615789623275, https://leetcode.com/problems/add-two-numbers
128,Longest Consecutive Sequence,45.1%,Hard,0.0786603197723907, https://leetcode.com/problems/longest-consecutive-sequence
66,Plus One,43.0%,Easy,0.07852093407377625, https://leetcode.com/problems/plus-one
166,Fraction to Recurring Decimal,21.6%,Medium,0.0782795570551556, https://leetcode.com/problems/fraction-to-recurring-decimal
830,Positions of Large Groups,49.6%,Easy,0.07775936469913404, https://leetcode.com/problems/positions-of-large-groups
904,Fruit Into Baskets,42.5%,Medium,0.07767124189113186, https://leetcode.com/problems/fruit-into-baskets
269,Alien Dictionary,33.3%,Hard,0.0770322180463687, https://leetcode.com/problems/alien-dictionary
778,Swim in Rising Water,53.1%,Hard,0.07651914983419623, https://leetcode.com/problems/swim-in-rising-water
1007,Minimum Domino Rotations For Equal Row,50.0%,Medium,0.07630819306332431, https://leetcode.com/problems/minimum-domino-rotations-for-equal-row
1237,Find Positive Integer Solution for a Given Equation,69.7%,Easy,0.07536521894921006, https://leetcode.com/problems/find-positive-integer-solution-for-a-given-equation
480,Sliding Window Median,37.2%,Hard,0.0743529801177063, https://leetcode.com/problems/sliding-window-median
639,Decode Ways II,26.6%,Hard,0.07424558998921052, https://leetcode.com/problems/decode-ways-ii
274,H-Index,36.1%,Medium,0.07416907257227875, https://leetcode.com/problems/h-index
173,Binary Search Tree Iterator,56.6%,Medium,0.07392527369701565, https://leetcode.com/problems/binary-search-tree-iterator
209,Minimum Size Subarray Sum,38.2%,Medium,0.07329286546547308, https://leetcode.com/problems/minimum-size-subarray-sum
1366,Rank Teams by Votes,53.8%,Medium,0.07223355735937158, https://leetcode.com/problems/rank-teams-by-votes
271,Encode and Decode Strings,31.5%,Medium,0.07197349962508924, https://leetcode.com/problems/encode-and-decode-strings
1074,Number of Submatrices That Sum to Target,60.4%,Hard,0.07120444629179161, https://leetcode.com/problems/number-of-submatrices-that-sum-to-target
133,Clone Graph,34.8%,Medium,0.07095173597228444, https://leetcode.com/problems/clone-graph
200,Number of Islands,46.8%,Medium,0.06985103785996453, https://leetcode.com/problems/number-of-islands
1102,Path With Maximum Minimum Value,49.2%,Medium,0.06680279511160087, https://leetcode.com/problems/path-with-maximum-minimum-value
731,My Calendar II,49.1%,Medium,0.06453852113757116, https://leetcode.com/problems/my-calendar-ii
554,Brick Wall,50.0%,Medium,0.0639195177132874, https://leetcode.com/problems/brick-wall
1029,Two City Scheduling,56.1%,Easy,0.06371581438610768, https://leetcode.com/problems/two-city-scheduling
702,Search in a Sorted Array of Unknown Size,66.9%,Medium,0.06361444899419297, https://leetcode.com/problems/search-in-a-sorted-array-of-unknown-size
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
249,Group Shifted Strings,55.1%,Medium,0.06107732466590545, https://leetcode.com/problems/group-shifted-strings
630,Course Schedule III,33.5%,Hard,0.058581901624802396, https://leetcode.com/problems/course-schedule-iii
45,Jump Game II,30.6%,Hard,0.05822366027889668, https://leetcode.com/problems/jump-game-ii
968,Binary Tree Cameras,37.5%,Hard,0.05790329283155908, https://leetcode.com/problems/binary-tree-cameras
1218,Longest Arithmetic Subsequence of Given Difference,44.6%,Medium,0.05675281659244948, https://leetcode.com/problems/longest-arithmetic-subsequence-of-given-difference
218,The Skyline Problem,34.6%,Hard,0.0564413109049518, https://leetcode.com/problems/the-skyline-problem
96,Unique Binary Search Trees,52.9%,Medium,0.056410171529350385, https://leetcode.com/problems/unique-binary-search-trees
41,First Missing Positive,32.0%,Hard,0.056273635982108605, https://leetcode.com/problems/first-missing-positive
279,Perfect Squares,47.4%,Medium,0.05625780265009439, https://leetcode.com/problems/perfect-squares
295,Find Median from Data Stream,44.3%,Hard,0.05495888428075748, https://leetcode.com/problems/find-median-from-data-stream
735,Asteroid Collision,41.0%,Medium,0.05479154882968245, https://leetcode.com/problems/asteroid-collision
15,3Sum,26.8%,Medium,0.05357467464947331, https://leetcode.com/problems/3sum
1095,Find in Mountain Array,35.8%,Hard,0.053560323833736816, https://leetcode.com/problems/find-in-mountain-array
1229,Meeting Scheduler,52.7%,Medium,0.053560323833736816, https://leetcode.com/problems/meeting-scheduler
63,Unique Paths II,34.6%,Medium,0.05324937607387791, https://leetcode.com/problems/unique-paths-ii
286,Walls and Gates,54.5%,Medium,0.05155780966485001, https://leetcode.com/problems/walls-and-gates
681,Next Closest Time,45.0%,Medium,0.05045206096038863, https://leetcode.com/problems/next-closest-time
382,Linked List Random Node,52.1%,Medium,0.05045206096038863, https://leetcode.com/problems/linked-list-random-node
282,Expression Add Operators,35.5%,Hard,0.049982640867735496, https://leetcode.com/problems/expression-add-operators
105,Construct Binary Tree from Preorder and Inorder Traversal,48.8%,Medium,0.049549146900389536, https://leetcode.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal
259,3Sum Smaller,47.6%,Medium,0.04951506452738057, https://leetcode.com/problems/3sum-smaller
981,Time Based Key-Value Store,53.1%,Medium,0.049406315387071284, https://leetcode.com/problems/time-based-key-value-store
307,Range Sum Query - Mutable,34.6%,Medium,0.04935211978972769, https://leetcode.com/problems/range-sum-query-mutable
152,Maximum Product Subarray,31.7%,Medium,0.04922388062576129, https://leetcode.com/problems/maximum-product-subarray
593,Valid Square,43.1%,Medium,0.048671406375812236, https://leetcode.com/problems/valid-square
759,Employee Free Time,66.3%,Hard,0.04861224405509378, https://leetcode.com/problems/employee-free-time
226,Invert Binary Tree,65.0%,Easy,0.04851395922360755, https://leetcode.com/problems/invert-binary-tree
388,Longest Absolute File Path,41.8%,Medium,0.04849434993861047, https://leetcode.com/problems/longest-absolute-file-path
247,Strobogrammatic Number II,47.6%,Medium,0.04757139497530258, https://leetcode.com/problems/strobogrammatic-number-ii
773,Sliding Puzzle,59.3%,Hard,0.0470675108579858, https://leetcode.com/problems/sliding-puzzle
689,Maximum Sum of 3 Non-Overlapping Subarrays,46.3%,Hard,0.04625101765075567, https://leetcode.com/problems/maximum-sum-of-3-non-overlapping-subarrays
692,Top K Frequent Words,51.8%,Medium,0.046074115337669586, https://leetcode.com/problems/top-k-frequent-words
987,Vertical Order Traversal of a Binary Tree,36.6%,Medium,0.04561794346101633, https://leetcode.com/problems/vertical-order-traversal-of-a-binary-tree
205,Isomorphic Strings,39.8%,Easy,0.045397866271290506, https://leetcode.com/problems/isomorphic-strings
325,Maximum Size Subarray Sum Equals k,46.8%,Medium,0.04495138786226632, https://leetcode.com/problems/maximum-size-subarray-sum-equals-k
78,Subsets,62.0%,Medium,0.044263005655043326, https://leetcode.com/problems/subsets
525,Contiguous Array,42.8%,Medium,0.04390949261556855, https://leetcode.com/problems/contiguous-array
280,Wiggle Sort,63.8%,Medium,0.04362742017962607, https://leetcode.com/problems/wiggle-sort
524,Longest Word in Dictionary through Deleting,48.4%,Medium,0.04357988070402507, https://leetcode.com/problems/longest-word-in-dictionary-through-deleting
980,Unique Paths III,73.3%,Hard,0.04348511193973883, https://leetcode.com/problems/unique-paths-iii
1155,Number of Dice Rolls With Target Sum,49.0%,Medium,0.04204262329555109, https://leetcode.com/problems/number-of-dice-rolls-with-target-sum
721,Accounts Merge,48.8%,Medium,0.04200337458562934, https://leetcode.com/problems/accounts-merge
243,Shortest Word Distance,61.0%,Easy,0.040780370344928096, https://leetcode.com/problems/shortest-word-distance
1235,Maximum Profit in Job Scheduling,44.0%,Hard,0.040573516447166516, https://leetcode.com/problems/maximum-profit-in-job-scheduling
314,Binary Tree Vertical Order Traversal,45.3%,Medium,0.04007660092703385, https://leetcode.com/problems/binary-tree-vertical-order-traversal
686,Repeated String Match,32.3%,Easy,0.03984590854719967, https://leetcode.com/problems/repeated-string-match
947,Most Stones Removed with Same Row or Column,55.2%,Medium,0.03929778741436997, https://leetcode.com/problems/most-stones-removed-with-same-row-or-column
241,Different Ways to Add Parentheses,55.2%,Medium,0.03880215185647971, https://leetcode.com/problems/different-ways-to-add-parentheses
682,Baseball Game,63.7%,Easy,0.03872700788529212, https://leetcode.com/problems/baseball-game
380,Insert Delete GetRandom O(1),47.5%,Medium,0.038717635350707984, https://leetcode.com/problems/insert-delete-getrandom-o1
168,Excel Sheet Column Title,31.1%,Easy,0.03861483612777958, https://leetcode.com/problems/excel-sheet-column-title
3,Longest Substring Without Repeating Characters,30.4%,Medium,0.03818277748849004, https://leetcode.com/problems/longest-substring-without-repeating-characters
688,Knight Probability in Chessboard,48.9%,Medium,0.038172573505029735, https://leetcode.com/problems/knight-probability-in-chessboard
992,Subarrays with K Different Integers,48.6%,Hard,0.03700699810869683, https://leetcode.com/problems/subarrays-with-k-different-integers
188,Best Time to Buy and Sell Stock IV,28.0%,Hard,0.036783877267414916, https://leetcode.com/problems/best-time-to-buy-and-sell-stock-iv
1021,Remove Outermost Parentheses,78.0%,Easy,0.03660433056251234, https://leetcode.com/problems/remove-outermost-parentheses
347,Top K Frequent Elements,61.2%,Medium,0.036495073288600646, https://leetcode.com/problems/top-k-frequent-elements
354,Russian Doll Envelopes,35.6%,Hard,0.036467121912812143, https://leetcode.com/problems/russian-doll-envelopes
1254,Number of Closed Islands,60.5%,Medium,0.03540192705091593, https://leetcode.com/problems/number-of-closed-islands
1143,Longest Common Subsequence,58.4%,Medium,0.03488472325916733, https://leetcode.com/problems/longest-common-subsequence
4,Median of Two Sorted Arrays,29.6%,Hard,0.034565653112280895, https://leetcode.com/problems/median-of-two-sorted-arrays
886,Possible Bipartition,44.2%,Medium,0.034103901828857086, https://leetcode.com/problems/possible-bipartition
384,Shuffle an Array,52.8%,Medium,0.03399118781703353, https://leetcode.com/problems/shuffle-an-array
198,House Robber,42.0%,Easy,0.033320991026093004, https://leetcode.com/problems/house-robber
84,Largest Rectangle in Histogram,35.2%,Hard,0.032938342019369966, https://leetcode.com/problems/largest-rectangle-in-histogram
989,Add to Array-Form of Integer,44.2%,Easy,0.03268264743035841, https://leetcode.com/problems/add-to-array-form-of-integer
284,Peeking Iterator,45.7%,Medium,0.03110670713225487, https://leetcode.com/problems/peeking-iterator
304,Range Sum Query 2D - Immutable,38.6%,Medium,0.031036973995576488, https://leetcode.com/problems/range-sum-query-2d-immutable
56,Merge Intervals,39.3%,Medium,0.030829638084076787, https://leetcode.com/problems/merge-intervals
316,Remove Duplicate Letters,35.8%,Hard,0.030443751414723153, https://leetcode.com/problems/remove-duplicate-letters
1192,Critical Connections in a Network,48.6%,Hard,0.030183377823098576, https://leetcode.com/problems/critical-connections-in-a-network
1011,Capacity To Ship Packages Within D Days,58.1%,Medium,0.030100090297855955, https://leetcode.com/problems/capacity-to-ship-packages-within-d-days
14,Longest Common Prefix,35.4%,Easy,0.029493413243583278, https://leetcode.com/problems/longest-common-prefix
157,Read N Characters Given Read4,34.2%,Easy,0.029435532102129305, https://leetcode.com/problems/read-n-characters-given-read4
456,132 Pattern,28.9%,Medium,0.029306126585499394, https://leetcode.com/problems/132-pattern
1047,Remove All Adjacent Duplicates In String,68.6%,Easy,0.029147141055220656, https://leetcode.com/problems/remove-all-adjacent-duplicates-in-string
236,Lowest Common Ancestor of a Binary Tree,45.7%,Medium,0.029105663386885607, https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-tree
36,Valid Sudoku,48.7%,Medium,0.028722132350970705, https://leetcode.com/problems/valid-sudoku
219,Contains Duplicate II,37.7%,Easy,0.028500979167549973, https://leetcode.com/problems/contains-duplicate-ii
695,Max Area of Island,62.7%,Medium,0.028321590863246118, https://leetcode.com/problems/max-area-of-island
110,Balanced Binary Tree,43.5%,Easy,0.02781820547653065, https://leetcode.com/problems/balanced-binary-tree
21,Merge Two Sorted Lists,53.5%,Easy,0.02728150490352749, https://leetcode.com/problems/merge-two-sorted-lists
42,Trapping Rain Water,48.9%,Hard,0.02688623073425064, https://leetcode.com/problems/trapping-rain-water
986,Interval List Intersections,67.3%,Medium,0.026731618438329555, https://leetcode.com/problems/interval-list-intersections
34,Find First and Last Position of Element in Sorted Array,36.2%,Medium,0.026256496787488606, https://leetcode.com/problems/find-first-and-last-position-of-element-in-sorted-array
46,Permutations,63.5%,Medium,0.026064861710547768, https://leetcode.com/problems/permutations
378,Kth Smallest Element in a Sorted Matrix,54.3%,Medium,0.02599048981653746, https://leetcode.com/problems/kth-smallest-element-in-a-sorted-matrix
403,Frog Jump,39.7%,Hard,0.0259249775263148, https://leetcode.com/problems/frog-jump
117,Populating Next Right Pointers in Each Node II,39.1%,Medium,0.025446665661164262, https://leetcode.com/problems/populating-next-right-pointers-in-each-node-ii
733,Flood Fill,55.3%,Easy,0.02506396866321625, https://leetcode.com/problems/flood-fill
941,Valid Mountain Array,33.2%,Easy,0.02489066552578776, https://leetcode.com/problems/valid-mountain-array
409,Longest Palindrome,50.3%,Easy,0.02486144206532915, https://leetcode.com/problems/longest-palindrome
983,Minimum Cost For Tickets,60.5%,Medium,0.02467737809337621, https://leetcode.com/problems/minimum-cost-for-tickets
836,Rectangle Overlap,48.6%,Easy,0.024228925974379843, https://leetcode.com/problems/rectangle-overlap
31,Next Permutation,32.6%,Medium,0.023747034562878154, https://leetcode.com/problems/next-permutation
49,Group Anagrams,56.9%,Medium,0.02354157682187747, https://leetcode.com/problems/group-anagrams
791,Custom Sort String,65.7%,Medium,0.023283938954044722, https://leetcode.com/problems/custom-sort-string
99,Recover Binary Search Tree,39.7%,Hard,0.02310905839365837, https://leetcode.com/problems/recover-binary-search-tree
65,Valid Number,15.3%,Hard,0.022858138076050194, https://leetcode.com/problems/valid-number
678,Valid Parenthesis String,31.0%,Medium,0.02271534352147261, https://leetcode.com/problems/valid-parenthesis-string
216,Combination Sum III,56.6%,Medium,0.02261260849011709, https://leetcode.com/problems/combination-sum-iii
212,Word Search II,34.9%,Hard,0.02201654487096149, https://leetcode.com/problems/word-search-ii
124,Binary Tree Maximum Path Sum,34.3%,Hard,0.021945744272529284, https://leetcode.com/problems/binary-tree-maximum-path-sum
287,Find the Duplicate Number,55.5%,Medium,0.021825992579766168, https://leetcode.com/problems/find-the-duplicate-number
958,Check Completeness of a Binary Tree,52.1%,Medium,0.021763644636359686, https://leetcode.com/problems/check-completeness-of-a-binary-tree
459,Repeated Substring Pattern,42.2%,Easy,0.021402636114384706, https://leetcode.com/problems/repeated-substring-pattern
278,First Bad Version,35.7%,Easy,0.021394050366625766, https://leetcode.com/problems/first-bad-version
543,Diameter of Binary Tree,48.4%,Easy,0.02105617995251665, https://leetcode.com/problems/diameter-of-binary-tree
636,Exclusive Time of Functions,51.9%,Medium,0.02102021693162732, https://leetcode.com/problems/exclusive-time-of-functions
206,Reverse Linked List,62.5%,Easy,0.02086427467076072, https://leetcode.com/problems/reverse-linked-list
654,Maximum Binary Tree,79.9%,Medium,0.02060866342778963, https://leetcode.com/problems/maximum-binary-tree
20,Valid Parentheses,39.0%,Easy,0.020517047266669974, https://leetcode.com/problems/valid-parentheses
60,Permutation Sequence,38.4%,Hard,0.020471543980187256, https://leetcode.com/problems/permutation-sequence
424,Longest Repeating Character Replacement,47.0%,Medium,0.020461071871340063, https://leetcode.com/problems/longest-repeating-character-replacement
392,Is Subsequence,49.2%,Easy,0.02033508842008217, https://leetcode.com/problems/is-subsequence
5,Longest Palindromic Substring,29.5%,Medium,0.020329346568668867, https://leetcode.com/problems/longest-palindromic-substring
79,Word Search,35.6%,Medium,0.020204373427427723, https://leetcode.com/problems/word-search
540,Single Element in a Sorted Array,57.9%,Medium,0.0192128868599912, https://leetcode.com/problems/single-element-in-a-sorted-array
669,Trim a Binary Search Tree,63.0%,Easy,0.019139340210697423, https://leetcode.com/problems/trim-a-binary-search-tree
229,Majority Element II,35.6%,Medium,0.019057270410286146, https://leetcode.com/problems/majority-element-ii
9,Palindrome Number,48.4%,Easy,0.018837205580381582, https://leetcode.com/problems/palindrome-number
901,Online Stock Span,60.2%,Medium,0.018622512098001826, https://leetcode.com/problems/online-stock-span
146,LRU Cache,33.2%,Medium,0.01827577993873683, https://leetcode.com/problems/lru-cache
37,Sudoku Solver,43.6%,Hard,0.01821543989134118, https://leetcode.com/problems/sudoku-solver
438,Find All Anagrams in a String,43.3%,Medium,0.01819334596120571, https://leetcode.com/problems/find-all-anagrams-in-a-string
406,Queue Reconstruction by Height,66.9%,Medium,0.01774669468133533, https://leetcode.com/problems/queue-reconstruction-by-height
239,Sliding Window Maximum,43.0%,Hard,0.01768566434627554, https://leetcode.com/problems/sliding-window-maximum
240,Search a 2D Matrix II,43.2%,Medium,0.0169815401480941, https://leetcode.com/problems/search-a-2d-matrix-ii
16,3Sum Closest,46.0%,Medium,0.016854331554982106, https://leetcode.com/problems/3sum-closest
658,Find K Closest Elements,40.9%,Medium,0.016611677666896175, https://leetcode.com/problems/find-k-closest-elements
116,Populating Next Right Pointers in Each Node,45.2%,Medium,0.016432723251567683, https://leetcode.com/problems/populating-next-right-pointers-in-each-node
51,N-Queens,46.6%,Hard,0.016393809775676407, https://leetcode.com/problems/n-queens
297,Serialize and Deserialize Binary Tree,47.5%,Hard,0.01585377577217724, https://leetcode.com/problems/serialize-and-deserialize-binary-tree
165,Compare Version Numbers,27.4%,Medium,0.01579187969789165, https://leetcode.com/problems/compare-version-numbers
59,Spiral Matrix II,53.9%,Medium,0.01579187969789165, https://leetcode.com/problems/spiral-matrix-ii
139,Word Break,40.1%,Medium,0.015487677691351377, https://leetcode.com/problems/word-break
301,Remove Invalid Parentheses,43.3%,Hard,0.01446679841775339, https://leetcode.com/problems/remove-invalid-parentheses
109,Convert Sorted List to Binary Search Tree,47.7%,Medium,0.014440684154794336, https://leetcode.com/problems/convert-sorted-list-to-binary-search-tree
177,Nth Highest Salary,31.4%,Medium,0.014373226241371741, https://leetcode.com/problems/nth-highest-salary
162,Find Peak Element,43.3%,Medium,0.014231739257256364, https://leetcode.com/problems/find-peak-element
150,Evaluate Reverse Polish Notation,36.3%,Medium,0.01413451093490476, https://leetcode.com/problems/evaluate-reverse-polish-notation
303,Range Sum Query - Immutable,44.7%,Easy,0.013240842236997532, https://leetcode.com/problems/range-sum-query-immutable
137,Single Number II,52.4%,Medium,0.012527567532662891, https://leetcode.com/problems/single-number-ii
227,Basic Calculator II,36.9%,Medium,0.01239941490503826, https://leetcode.com/problems/basic-calculator-ii
273,Integer to English Words,27.1%,Hard,0.012081089250339716, https://leetcode.com/problems/integer-to-english-words
210,Course Schedule II,40.7%,Medium,0.011869857339029215, https://leetcode.com/problems/course-schedule-ii
442,Find All Duplicates in an Array,67.8%,Medium,0.011675555865241341, https://leetcode.com/problems/find-all-duplicates-in-an-array
283,Move Zeroes,57.8%,Easy,0.01149190266804209, https://leetcode.com/problems/move-zeroes
171,Excel Sheet Column Number,55.9%,Easy,0.011195191092491645, https://leetcode.com/problems/excel-sheet-column-number
160,Intersection of Two Linked Lists,40.6%,Easy,0.010994491398666248, https://leetcode.com/problems/intersection-of-two-linked-lists
559,Maximum Depth of N-ary Tree,68.7%,Easy,0.010974047031976715, https://leetcode.com/problems/maximum-depth-of-n-ary-tree
463,Island Perimeter,65.7%,Easy,0.010935046086198837, https://leetcode.com/problems/island-perimeter
169,Majority Element,58.7%,Easy,0.010558521365115802, https://leetcode.com/problems/majority-element
211,Add and Search Word - Data structure design,38.1%,Medium,0.010438508143923443, https://leetcode.com/problems/add-and-search-word-data-structure-design
647,Palindromic Substrings,60.6%,Medium,0.010400509768078022, https://leetcode.com/problems/palindromic-substrings
17,Letter Combinations of a Phone Number,46.8%,Medium,0.00987716546167603, https://leetcode.com/problems/letter-combinations-of-a-phone-number
22,Generate Parentheses,62.7%,Medium,0.009785877810632554, https://leetcode.com/problems/generate-parentheses
43,Multiply Strings,33.9%,Medium,0.009145011150062768, https://leetcode.com/problems/multiply-strings
208,Implement Trie (Prefix Tree),49.4%,Medium,0.009105457856626612, https://leetcode.com/problems/implement-trie-prefix-tree
23,Merge k Sorted Lists,40.2%,Hard,0.009092808657599025, https://leetcode.com/problems/merge-k-sorted-lists
215,Kth Largest Element in an Array,55.4%,Medium,0.008759180089881562, https://leetcode.com/problems/kth-largest-element-in-an-array
12,Integer to Roman,55.1%,Medium,0.008532474973720734, https://leetcode.com/problems/integer-to-roman
121,Best Time to Buy and Sell Stock,50.5%,Easy,0.00846879565300311, https://leetcode.com/problems/best-time-to-buy-and-sell-stock
38,Count and Say,44.6%,Easy,0.007829360800435779, https://leetcode.com/problems/count-and-say
33,Search in Rotated Sorted Array,34.5%,Medium,0.007252832180390353, https://leetcode.com/problems/search-in-rotated-sorted-array
349,Intersection of Two Arrays,62.5%,Easy,0.00725034896230682, https://leetcode.com/problems/intersection-of-two-arrays
1342,Number of Steps to Reduce a Number to Zero,86.3%,Easy,0.006975961320774839, https://leetcode.com/problems/number-of-steps-to-reduce-a-number-to-zero
88,Merge Sorted Array,39.4%,Easy,0.006760335218638243, https://leetcode.com/problems/merge-sorted-array
118,Pascal's Triangle,52.5%,Easy,0.006749941254175012, https://leetcode.com/problems/pascals-triangle
24,Swap Nodes in Pairs,50.4%,Medium,0.0062218275061505365, https://leetcode.com/problems/swap-nodes-in-pairs
64,Minimum Path Sum,54.5%,Medium,0.006127470152097104, https://leetcode.com/problems/minimum-path-sum
144,Binary Tree Preorder Traversal,55.7%,Medium,0.0060975798681185, https://leetcode.com/problems/binary-tree-preorder-traversal
70,Climbing Stairs,47.8%,Easy,0.006020261250215664, https://leetcode.com/problems/climbing-stairs
91,Decode Ways,24.7%,Medium,0.005968385368349129, https://leetcode.com/problems/decode-ways
485,Max Consecutive Ones,54.6%,Easy,0.005314920829289628, https://leetcode.com/problems/max-consecutive-ones
300,Longest Increasing Subsequence,42.6%,Medium,0.005264555460003242, https://leetcode.com/problems/longest-increasing-subsequence
237,Delete Node in a Linked List,63.8%,Easy,0.005144705881237697, https://leetcode.com/problems/delete-node-in-a-linked-list
69,Sqrt(x),33.9%,Easy,0.005102051883895465, https://leetcode.com/problems/sqrtx
55,Jump Game,34.6%,Medium,0.005022612266291382, https://leetcode.com/problems/jump-game
155,Min Stack,44.5%,Easy,0.00474891074128171, https://leetcode.com/problems/min-stack
62,Unique Paths,54.1%,Medium,0.004621080312067025, https://leetcode.com/problems/unique-paths
387,First Unique Character in a String,53.4%,Easy,0.00418541994270691, https://leetcode.com/problems/first-unique-character-in-a-string
242,Valid Anagram,56.9%,Easy,0.004154123743115972, https://leetcode.com/problems/valid-anagram
322,Coin Change,35.5%,Medium,0.004029826126500844, https://leetcode.com/problems/coin-change
238,Product of Array Except Self,60.1%,Medium,0.003930436424724545, https://leetcode.com/problems/product-of-array-except-self
8,String to Integer (atoi),15.4%,Medium,0.0037925521897059712, https://leetcode.com/problems/string-to-integer-atoi
153,Find Minimum in Rotated Sorted Array,45.1%,Medium,0.0037558729598054378, https://leetcode.com/problems/find-minimum-in-rotated-sorted-array
13,Roman to Integer,55.7%,Easy,0.003428770717317083, https://leetcode.com/problems/roman-to-integer
101,Symmetric Tree,46.8%,Easy,0.0034057078469827435, https://leetcode.com/problems/symmetric-tree
94,Binary Tree Inorder Traversal,63.3%,Medium,0.0033551449021403577, https://leetcode.com/problems/binary-tree-inorder-traversal
344,Reverse String,68.5%,Easy,0.003269579502519813, https://leetcode.com/problems/reverse-string
50,Pow(x;n),30.3%,Medium,0.0031510424503886844, https://leetcode.com/problems/powx-n
104,Maximum Depth of Binary Tree,66.0%,Easy,0.002787846801433134, https://leetcode.com/problems/maximum-depth-of-binary-tree
26,Remove Duplicates from Sorted Array,45.1%,Easy,0.0019513153174351963, https://leetcode.com/problems/remove-duplicates-from-sorted-array
190,Reverse Bits,39.8%,Easy,0.0018316700789167337, https://leetcode.com/problems/reverse-bits
67,Add Binary,45.2%,Easy,0.0016620272243229827, https://leetcode.com/problems/add-binary
1 843 ID Guess the Word Title 46.1% Acceptance Hard Difficulty 1.2138391004755573 Frequency https://leetcode.com/problems/guess-the-word Leetcode Question Link
2 809 843 Expressive Words Guess the Word 47.0% 46.1% Medium Hard 1.134863557707283 1.2138391004755573 https://leetcode.com/problems/expressive-words https://leetcode.com/problems/guess-the-word
3 946 809 Validate Stack Sequences Expressive Words 61.9% 47.0% Medium Medium 1.1029586218338125 1.134863557707283 https://leetcode.com/problems/validate-stack-sequences https://leetcode.com/problems/expressive-words
4 1438 946 Longest Continuous Subarray With Absolute Diff Less Than or Equal to Limit Validate Stack Sequences 42.1% 61.9% Medium Medium 1.023983079065538 1.1029586218338125 https://leetcode.com/problems/longest-continuous-subarray-with-absolute-diff-less-than-or-equal-to-limit https://leetcode.com/problems/validate-stack-sequences
5 1110 1438 Delete Nodes And Return Forest Longest Continuous Subarray With Absolute Diff Less Than or Equal to Limit 67.0% 42.1% Medium Medium 0.9450075362972636 1.023983079065538 https://leetcode.com/problems/delete-nodes-and-return-forest https://leetcode.com/problems/longest-continuous-subarray-with-absolute-diff-less-than-or-equal-to-limit
6 727 1110 Minimum Window Subsequence Delete Nodes And Return Forest 41.8% 67.0% Hard Medium 0.9007029499050346 0.9450075362972636 https://leetcode.com/problems/minimum-window-subsequence https://leetcode.com/problems/delete-nodes-and-return-forest
7 359 727 Logger Rate Limiter Minimum Window Subsequence 70.8% 41.8% Easy Hard 0.8923791710791219 0.9007029499050346 https://leetcode.com/problems/logger-rate-limiter https://leetcode.com/problems/minimum-window-subsequence
8 846 359 Hand of Straights Logger Rate Limiter 54.2% 70.8% Medium Easy 0.8134036283108474 0.8923791710791219 https://leetcode.com/problems/hand-of-straights https://leetcode.com/problems/logger-rate-limiter
9 659 846 Split Array into Consecutive Subsequences Hand of Straights 43.7% 54.2% Medium Medium 0.7934909280390994 0.8134036283108474 https://leetcode.com/problems/split-array-into-consecutive-subsequences https://leetcode.com/problems/hand-of-straights
10 1 659 Two Sum Split Array into Consecutive Subsequences 45.6% 43.7% Easy Medium 0.781823017283614 0.7934909280390994 https://leetcode.com/problems/two-sum https://leetcode.com/problems/split-array-into-consecutive-subsequences
11 1423 1 Maximum Points You Can Obtain from Cards Two Sum 42.6% 45.6% Medium Easy 0.7734023603473162 0.781823017283614 https://leetcode.com/problems/maximum-points-you-can-obtain-from-cards https://leetcode.com/problems/two-sum
12 1153 1423 String Transforms Into Another String Maximum Points You Can Obtain from Cards 35.8% 42.6% Hard Medium 0.6974963641784472 0.7734023603473162 https://leetcode.com/problems/string-transforms-into-another-string https://leetcode.com/problems/maximum-points-you-can-obtain-from-cards
13 642 1153 Design Search Autocomplete System String Transforms Into Another String 44.7% 35.8% Hard Hard 0.6402789449071344 0.6974963641784472 https://leetcode.com/problems/design-search-autocomplete-system https://leetcode.com/problems/string-transforms-into-another-string
14 752 642 Open the Lock Design Search Autocomplete System 51.8% 44.7% Medium Hard 0.56130340213886 0.6402789449071344 https://leetcode.com/problems/open-the-lock https://leetcode.com/problems/design-search-autocomplete-system
15 1296 752 Divide Array in Sets of K Consecutive Numbers Open the Lock 53.8% 51.8% Medium Medium 0.5174978753750585 0.56130340213886 https://leetcode.com/problems/divide-array-in-sets-of-k-consecutive-numbers https://leetcode.com/problems/open-the-lock
16 1368 1296 Minimum Cost to Make at Least One Valid Path in a Grid Divide Array in Sets of K Consecutive Numbers 54.3% 53.8% Hard Medium 0.5118945709548958 0.5174978753750585 https://leetcode.com/problems/minimum-cost-to-make-at-least-one-valid-path-in-a-grid https://leetcode.com/problems/divide-array-in-sets-of-k-consecutive-numbers
17 1477 1368 Find Two Non-overlapping Sub-arrays Each With Target Sum Minimum Cost to Make at Least One Valid Path in a Grid 30.0% 54.3% Medium Hard 0.503366532914857 0.5118945709548958 https://leetcode.com/problems/find-two-non-overlapping-sub-arrays-each-with-target-sum https://leetcode.com/problems/minimum-cost-to-make-at-least-one-valid-path-in-a-grid
18 951 1477 Flip Equivalent Binary Trees Find Two Non-overlapping Sub-arrays Each With Target Sum 65.8% 30.0% Medium Medium 0.49457139594259447 0.503366532914857 https://leetcode.com/problems/flip-equivalent-binary-trees https://leetcode.com/problems/find-two-non-overlapping-sub-arrays-each-with-target-sum
19 1376 951 Time Needed to Inform All Employees Flip Equivalent Binary Trees 55.4% 65.8% Medium Medium 0.4903935849487848 0.49457139594259447 https://leetcode.com/problems/time-needed-to-inform-all-employees https://leetcode.com/problems/flip-equivalent-binary-trees
20 1088 1376 Confusing Number II Time Needed to Inform All Employees 44.0% 55.4% Hard Medium 0.48938529252812124 0.4903935849487848 https://leetcode.com/problems/confusing-number-ii https://leetcode.com/problems/time-needed-to-inform-all-employees
21 1293 1088 Shortest Path in a Grid with Obstacles Elimination Confusing Number II 42.8% 44.0% Hard Hard 0.44342587034738734 0.48938529252812124 https://leetcode.com/problems/shortest-path-in-a-grid-with-obstacles-elimination https://leetcode.com/problems/confusing-number-ii
22 1146 1293 Snapshot Array Shortest Path in a Grid with Obstacles Elimination 37.0% 42.8% Medium Hard 0.4167102065236668 0.44342587034738734 https://leetcode.com/problems/snapshot-array https://leetcode.com/problems/shortest-path-in-a-grid-with-obstacles-elimination
23 1240 1146 Tiling a Rectangle with the Fewest Squares Snapshot Array 50.1% 37.0% Hard Medium 0.4161603972249123 0.4167102065236668 https://leetcode.com/problems/tiling-a-rectangle-with-the-fewest-squares https://leetcode.com/problems/snapshot-array
24 679 1240 24 Game Tiling a Rectangle with the Fewest Squares 46.4% 50.1% Hard Hard 0.4013413909243023 0.4161603972249123 https://leetcode.com/problems/24-game https://leetcode.com/problems/tiling-a-rectangle-with-the-fewest-squares
25 85 679 Maximal Rectangle 24 Game 37.7% 46.4% Hard Hard 0.3942163955722937 0.4013413909243023 https://leetcode.com/problems/maximal-rectangle https://leetcode.com/problems/24-game
26 1231 85 Divide Chocolate Maximal Rectangle 52.4% 37.7% Hard Hard 0.37698021009947796 0.3942163955722937 https://leetcode.com/problems/divide-chocolate https://leetcode.com/problems/maximal-rectangle
27 753 1231 Cracking the Safe Divide Chocolate 50.5% 52.4% Hard Hard 0.37558336673783865 0.37698021009947796 https://leetcode.com/problems/cracking-the-safe https://leetcode.com/problems/divide-chocolate
28 552 753 Student Attendance Record II Cracking the Safe 36.7% 50.5% Hard Hard 0.37292635232139065 0.37558336673783865 https://leetcode.com/problems/student-attendance-record-ii https://leetcode.com/problems/cracking-the-safe
29 346 552 Moving Average from Data Stream Student Attendance Record II 70.9% 36.7% Easy Hard 0.3685471485927166 0.37292635232139065 https://leetcode.com/problems/moving-average-from-data-stream https://leetcode.com/problems/student-attendance-record-ii
30 1463 346 Cherry Pickup II Moving Average from Data Stream 65.7% 70.9% Hard Easy 0.36745148140812023 0.3685471485927166 https://leetcode.com/problems/cherry-pickup-ii https://leetcode.com/problems/moving-average-from-data-stream
31 1060 1463 Missing Element in Sorted Array Cherry Pickup II 54.5% 65.7% Medium Hard 0.3643378166843015 0.36745148140812023 https://leetcode.com/problems/missing-element-in-sorted-array https://leetcode.com/problems/cherry-pickup-ii
32 1345 1060 Jump Game IV Missing Element in Sorted Array 38.0% 54.5% Hard Medium 0.363133899796418 0.3643378166843015 https://leetcode.com/problems/jump-game-iv https://leetcode.com/problems/missing-element-in-sorted-array
33 489 1345 Robot Room Cleaner Jump Game IV 69.7% 38.0% Hard Hard 0.34393738002030483 0.363133899796418 https://leetcode.com/problems/robot-room-cleaner https://leetcode.com/problems/jump-game-iv
34 299 489 Bulls and Cows Robot Room Cleaner 42.4% 69.7% Easy Hard 0.34287878153878654 0.34393738002030483 https://leetcode.com/problems/bulls-and-cows https://leetcode.com/problems/robot-room-cleaner
35 837 299 New 21 Game Bulls and Cows 34.6% 42.4% Medium Easy 0.34008234884531263 0.34287878153878654 https://leetcode.com/problems/new-21-game https://leetcode.com/problems/bulls-and-cows
36 1125 837 Smallest Sufficient Team New 21 Game 46.6% 34.6% Hard Medium 0.33647223662121295 0.34008234884531263 https://leetcode.com/problems/smallest-sufficient-team https://leetcode.com/problems/new-21-game
37 803 1125 Bricks Falling When Hit Smallest Sufficient Team 30.8% 46.6% Hard Hard 0.33395175639587793 0.33647223662121295 https://leetcode.com/problems/bricks-falling-when-hit https://leetcode.com/problems/smallest-sufficient-team
38 850 803 Rectangle Area II Bricks Falling When Hit 47.5% 30.8% Hard Hard 0.33395175639587793 0.33395175639587793 https://leetcode.com/problems/rectangle-area-ii https://leetcode.com/problems/bricks-falling-when-hit
39 1406 850 Stone Game III Rectangle Area II 56.1% 47.5% Hard Hard 0.3195226783074397 0.33395175639587793 https://leetcode.com/problems/stone-game-iii https://leetcode.com/problems/rectangle-area-ii
40 528 1406 Random Pick with Weight Stone Game III 43.9% 56.1% Medium Hard 0.31740043778091953 0.3195226783074397 https://leetcode.com/problems/random-pick-with-weight https://leetcode.com/problems/stone-game-iii
41 722 528 Remove Comments Random Pick with Weight 34.6% 43.9% Medium Medium 0.3161972427598021 0.31740043778091953 https://leetcode.com/problems/remove-comments https://leetcode.com/problems/random-pick-with-weight
42 833 722 Find And Replace in String Remove Comments 50.4% 34.6% Medium Medium 0.3117796240308414 0.3161972427598021 https://leetcode.com/problems/find-and-replace-in-string https://leetcode.com/problems/remove-comments
43 1031 833 Maximum Sum of Two Non-Overlapping Subarrays Find And Replace in String 57.9% 50.4% Medium Medium 0.2928670946738281 0.3117796240308414 https://leetcode.com/problems/maximum-sum-of-two-non-overlapping-subarrays https://leetcode.com/problems/find-and-replace-in-string
44 329 1031 Longest Increasing Path in a Matrix Maximum Sum of Two Non-Overlapping Subarrays 43.4% 57.9% Hard Medium 0.29062882263712253 0.2928670946738281 https://leetcode.com/problems/longest-increasing-path-in-a-matrix https://leetcode.com/problems/maximum-sum-of-two-non-overlapping-subarrays
45 1326 329 Minimum Number of Taps to Open to Water a Garden Longest Increasing Path in a Matrix 43.6% 43.4% Hard Hard 0.2786048543006643 0.29062882263712253 https://leetcode.com/problems/minimum-number-of-taps-to-open-to-water-a-garden https://leetcode.com/problems/longest-increasing-path-in-a-matrix
46 399 1326 Evaluate Division Minimum Number of Taps to Open to Water a Garden 51.6% 43.6% Medium Hard 0.27239954676797734 0.2786048543006643 https://leetcode.com/problems/evaluate-division https://leetcode.com/problems/minimum-number-of-taps-to-open-to-water-a-garden
47 1140 399 Stone Game II Evaluate Division 63.3% 51.6% Medium Medium 0.2655409465745674 0.27239954676797734 https://leetcode.com/problems/stone-game-ii https://leetcode.com/problems/evaluate-division
48 394 1140 Decode String Stone Game II 50.0% 63.3% Medium Medium 0.2586674025861649 0.2655409465745674 https://leetcode.com/problems/decode-string https://leetcode.com/problems/stone-game-ii
49 736 394 Parse Lisp Expression Decode String 47.5% 50.0% Hard Medium 0.25131442828090605 0.2586674025861649 https://leetcode.com/problems/parse-lisp-expression https://leetcode.com/problems/decode-string
50 723 736 Candy Crush Parse Lisp Expression 69.2% 47.5% Medium Hard 0.24895593662161317 0.25131442828090605 https://leetcode.com/problems/candy-crush https://leetcode.com/problems/parse-lisp-expression
51 527 723 Word Abbreviation Candy Crush 54.3% 69.2% Hard Medium 0.24362208265775043 0.24895593662161317 https://leetcode.com/problems/word-abbreviation https://leetcode.com/problems/candy-crush
52 1032 527 Stream of Characters Word Abbreviation 48.3% 54.3% Hard Hard 0.24287879543594265 0.24362208265775043 https://leetcode.com/problems/stream-of-characters https://leetcode.com/problems/word-abbreviation
53 1320 1032 Minimum Distance to Type a Word Using Two Fingers Stream of Characters 62.3% 48.3% Hard Hard 0.23922968906583414 0.24287879543594265 https://leetcode.com/problems/minimum-distance-to-type-a-word-using-two-fingers https://leetcode.com/problems/stream-of-characters
54 914 1320 X of a Kind in a Deck of Cards Minimum Distance to Type a Word Using Two Fingers 35.1% 62.3% Easy Hard 0.23732818630616617 0.23922968906583414 https://leetcode.com/problems/x-of-a-kind-in-a-deck-of-cards https://leetcode.com/problems/minimum-distance-to-type-a-word-using-two-fingers
55 57 914 Insert Interval X of a Kind in a Deck of Cards 33.5% 35.1% Hard Easy 0.23697938397356041 0.23732818630616617 https://leetcode.com/problems/insert-interval https://leetcode.com/problems/x-of-a-kind-in-a-deck-of-cards
56 296 57 Best Meeting Point Insert Interval 57.5% 33.5% Hard Hard 0.23670108287626285 0.23697938397356041 https://leetcode.com/problems/best-meeting-point https://leetcode.com/problems/insert-interval
57 1444 296 Number of Ways of Cutting a Pizza Best Meeting Point 52.8% 57.5% Hard Hard 0.23499359123170555 0.23670108287626285 https://leetcode.com/problems/number-of-ways-of-cutting-a-pizza https://leetcode.com/problems/best-meeting-point
58 652 1444 Find Duplicate Subtrees Number of Ways of Cutting a Pizza 50.2% 52.8% Medium Hard 0.23015822831359434 0.23499359123170555 https://leetcode.com/problems/find-duplicate-subtrees https://leetcode.com/problems/number-of-ways-of-cutting-a-pizza
59 444 652 Sequence Reconstruction Find Duplicate Subtrees 22.2% 50.2% Medium Medium 0.22710171311183888 0.23015822831359434 https://leetcode.com/problems/sequence-reconstruction https://leetcode.com/problems/find-duplicate-subtrees
60 253 444 Meeting Rooms II Sequence Reconstruction 45.7% 22.2% Medium Medium 0.2194457881052731 0.22710171311183888 https://leetcode.com/problems/meeting-rooms-ii https://leetcode.com/problems/sequence-reconstruction
61 1223 253 Dice Roll Simulation Meeting Rooms II 45.6% 45.7% Medium Medium 0.2166710368085923 0.2194457881052731 https://leetcode.com/problems/dice-roll-simulation https://leetcode.com/problems/meeting-rooms-ii
62 1352 1223 Product of the Last K Numbers Dice Roll Simulation 43.6% 45.6% Medium Medium 0.21187081254168746 0.2166710368085923 https://leetcode.com/problems/product-of-the-last-k-numbers https://leetcode.com/problems/dice-roll-simulation
63 375 1352 Guess Number Higher or Lower II Product of the Last K Numbers 40.3% 43.6% Medium Medium 0.2096196787808843 0.21187081254168746 https://leetcode.com/problems/guess-number-higher-or-lower-ii https://leetcode.com/problems/product-of-the-last-k-numbers
64 741 375 Cherry Pickup Guess Number Higher or Lower II 33.9% 40.3% Hard Medium 0.20909179785855941 0.2096196787808843 https://leetcode.com/problems/cherry-pickup https://leetcode.com/problems/guess-number-higher-or-lower-ii
65 729 741 My Calendar I Cherry Pickup 51.8% 33.9% Medium Hard 0.20856657856743668 0.20909179785855941 https://leetcode.com/problems/my-calendar-i https://leetcode.com/problems/cherry-pickup
66 362 729 Design Hit Counter My Calendar I 63.7% 51.8% Medium Medium 0.20812125379246896 0.20856657856743668 https://leetcode.com/problems/design-hit-counter https://leetcode.com/problems/my-calendar-i
67 315 362 Count of Smaller Numbers After Self Design Hit Counter 41.5% 63.7% Hard Medium 0.20806843787404064 0.20812125379246896 https://leetcode.com/problems/count-of-smaller-numbers-after-self https://leetcode.com/problems/design-hit-counter
68 777 315 Swap Adjacent in LR String Count of Smaller Numbers After Self 34.8% 41.5% Medium Hard 0.20271151249700387 0.20806843787404064 https://leetcode.com/problems/swap-adjacent-in-lr-string https://leetcode.com/problems/count-of-smaller-numbers-after-self
69 562 777 Longest Line of Consecutive One in Matrix Swap Adjacent in LR String 45.9% 34.8% Medium Medium 0.20067069546215116 0.20271151249700387 https://leetcode.com/problems/longest-line-of-consecutive-one-in-matrix https://leetcode.com/problems/swap-adjacent-in-lr-string
70 568 562 Maximum Vacation Days Longest Line of Consecutive One in Matrix 40.8% 45.9% Hard Medium 0.19966567025192705 0.20067069546215116 https://leetcode.com/problems/maximum-vacation-days https://leetcode.com/problems/longest-line-of-consecutive-one-in-matrix
71 767 568 Reorganize String Maximum Vacation Days 48.7% 40.8% Medium Hard 0.1940772649823193 0.19966567025192705 https://leetcode.com/problems/reorganize-string https://leetcode.com/problems/maximum-vacation-days
72 418 767 Sentence Screen Fitting Reorganize String 32.6% 48.7% Medium Medium 0.19331931100349597 0.1940772649823193 https://leetcode.com/problems/sentence-screen-fitting https://leetcode.com/problems/reorganize-string
73 337 418 House Robber III Sentence Screen Fitting 50.6% 32.6% Medium Medium 0.19252352759743632 0.19331931100349597 https://leetcode.com/problems/house-robber-iii https://leetcode.com/problems/sentence-screen-fitting
74 900 337 RLE Iterator House Robber III 53.5% 50.6% Medium Medium 0.1884471502206373 0.19252352759743632 https://leetcode.com/problems/rle-iterator https://leetcode.com/problems/house-robber-iii
75 1312 900 Minimum Insertion Steps to Make a String Palindrome RLE Iterator 58.1% 53.5% Hard Medium 0.1874629562943733 0.1884471502206373 https://leetcode.com/problems/minimum-insertion-steps-to-make-a-string-palindrome https://leetcode.com/problems/rle-iterator
76 792 1312 Number of Matching Subsequences Minimum Insertion Steps to Make a String Palindrome 47.4% 58.1% Medium Hard 0.18571714579509285 0.1874629562943733 https://leetcode.com/problems/number-of-matching-subsequences https://leetcode.com/problems/minimum-insertion-steps-to-make-a-string-palindrome
77 840 792 Magic Squares In Grid Number of Matching Subsequences 37.3% 47.4% Easy Medium 0.18533360726394627 0.18571714579509285 https://leetcode.com/problems/magic-squares-in-grid https://leetcode.com/problems/number-of-matching-subsequences
78 1466 840 Reorder Routes to Make All Paths Lead to the City Zero Magic Squares In Grid 63.5% 37.3% Medium Easy 0.18400364297693944 0.18533360726394627 https://leetcode.com/problems/reorder-routes-to-make-all-paths-lead-to-the-city-zero https://leetcode.com/problems/magic-squares-in-grid
79 221 1466 Maximal Square Reorder Routes to Make All Paths Lead to the City Zero 37.7% 63.5% Medium Medium 0.1833146055349465 0.18400364297693944 https://leetcode.com/problems/maximal-square https://leetcode.com/problems/reorder-routes-to-make-all-paths-lead-to-the-city-zero
80 871 221 Minimum Number of Refueling Stops Maximal Square 31.4% 37.7% Hard Medium 0.1769307081590782 0.1833146055349465 https://leetcode.com/problems/minimum-number-of-refueling-stops https://leetcode.com/problems/maximal-square
81 1197 871 Minimum Knight Moves Minimum Number of Refueling Stops 36.1% 31.4% Medium Hard 0.17260355263083088 0.1769307081590782 https://leetcode.com/problems/minimum-knight-moves https://leetcode.com/problems/minimum-number-of-refueling-stops
82 127 1197 Word Ladder Minimum Knight Moves 29.6% 36.1% Medium Medium 0.1667080439422554 0.17260355263083088 https://leetcode.com/problems/word-ladder https://leetcode.com/problems/minimum-knight-moves
83 560 127 Subarray Sum Equals K Word Ladder 43.9% 29.6% Medium Medium 0.1665261146132014 0.1667080439422554 https://leetcode.com/problems/subarray-sum-equals-k https://leetcode.com/problems/word-ladder
84 963 560 Minimum Area Rectangle II Subarray Sum Equals K 50.9% 43.9% Medium Medium 0.16635770580494058 0.1665261146132014 https://leetcode.com/problems/minimum-area-rectangle-ii https://leetcode.com/problems/subarray-sum-equals-k
85 715 963 Range Module Minimum Area Rectangle II 38.5% 50.9% Hard Medium 0.1636294237818021 0.16635770580494058 https://leetcode.com/problems/range-module https://leetcode.com/problems/minimum-area-rectangle-ii
86 1048 715 Longest String Chain Range Module 54.7% 38.5% Medium Hard 0.1620789500230524 0.1636294237818021 https://leetcode.com/problems/longest-string-chain https://leetcode.com/problems/range-module
87 68 1048 Text Justification Longest String Chain 27.7% 54.7% Hard Medium 0.16143214434637243 0.1620789500230524 https://leetcode.com/problems/text-justification https://leetcode.com/problems/longest-string-chain
88 363 68 Max Sum of Rectangle No Larger Than K Text Justification 37.3% 27.7% Hard Hard 0.15963014559188388 0.16143214434637243 https://leetcode.com/problems/max-sum-of-rectangle-no-larger-than-k https://leetcode.com/problems/text-justification
89 222 363 Count Complete Tree Nodes Max Sum of Rectangle No Larger Than K 46.8% 37.3% Medium Hard 0.15947973572471308 0.15963014559188388 https://leetcode.com/problems/count-complete-tree-nodes https://leetcode.com/problems/max-sum-of-rectangle-no-larger-than-k
90 844 222 Backspace String Compare Count Complete Tree Nodes 46.4% 46.8% Easy Medium 0.15656906069153992 0.15947973572471308 https://leetcode.com/problems/backspace-string-compare https://leetcode.com/problems/count-complete-tree-nodes
91 1265 844 Print Immutable Linked List in Reverse Backspace String Compare 94.6% 46.4% Medium Easy 0.15575452940923282 0.15656906069153992 https://leetcode.com/problems/print-immutable-linked-list-in-reverse https://leetcode.com/problems/backspace-string-compare
92 335 1265 Self Crossing Print Immutable Linked List in Reverse 28.0% 94.6% Hard Medium 0.15535044001916237 0.15575452940923282 https://leetcode.com/problems/self-crossing https://leetcode.com/problems/print-immutable-linked-list-in-reverse
93 351 335 Android Unlock Patterns Self Crossing 48.4% 28.0% Medium Hard 0.15521621002929656 0.15535044001916237 https://leetcode.com/problems/android-unlock-patterns https://leetcode.com/problems/self-crossing
94 72 351 Edit Distance Android Unlock Patterns 44.8% 48.4% Hard Medium 0.14935692774322157 0.15521621002929656 https://leetcode.com/problems/edit-distance https://leetcode.com/problems/android-unlock-patterns
95 276 72 Paint Fence Edit Distance 38.3% 44.8% Easy Hard 0.14242034004176865 0.14935692774322157 https://leetcode.com/problems/paint-fence https://leetcode.com/problems/edit-distance
96 815 276 Bus Routes Paint Fence 42.5% 38.3% Hard Easy 0.13825661970102562 0.14242034004176865 https://leetcode.com/problems/bus-routes https://leetcode.com/problems/paint-fence
97 1136 815 Parallel Courses Bus Routes 61.1% 42.5% Hard Hard 0.13720112151348504 0.13825661970102562 https://leetcode.com/problems/parallel-courses https://leetcode.com/problems/bus-routes
98 428 1136 Serialize and Deserialize N-ary Tree Parallel Courses 59.4% 61.1% Hard Hard 0.13313574474596881 0.13720112151348504 https://leetcode.com/problems/serialize-and-deserialize-n-ary-tree https://leetcode.com/problems/parallel-courses
99 420 428 Strong Password Checker Serialize and Deserialize N-ary Tree 14.0% 59.4% Hard Hard 0.13254665596198312 0.13313574474596881 https://leetcode.com/problems/strong-password-checker https://leetcode.com/problems/serialize-and-deserialize-n-ary-tree
100 818 420 Race Car Strong Password Checker 39.0% 14.0% Hard Hard 0.12595240897761434 0.13254665596198312 https://leetcode.com/problems/race-car https://leetcode.com/problems/strong-password-checker
101 224 818 Basic Calculator Race Car 36.8% 39.0% Hard Hard 0.12435274487954455 0.12595240897761434 https://leetcode.com/problems/basic-calculator https://leetcode.com/problems/race-car
102 1504 224 Count Submatrices With All Ones Basic Calculator 61.7% 36.8% Medium Hard 0.12017442778845913 0.12435274487954455 https://leetcode.com/problems/count-submatrices-with-all-ones https://leetcode.com/problems/basic-calculator
103 894 1504 All Possible Full Binary Trees Count Submatrices With All Ones 75.2% 61.7% Medium Medium 0.11433759744908353 0.12017442778845913 https://leetcode.com/problems/all-possible-full-binary-trees https://leetcode.com/problems/count-submatrices-with-all-ones
104 174 894 Dungeon Game All Possible Full Binary Trees 32.3% 75.2% Hard Medium 0.11053338064061342 0.11433759744908353 https://leetcode.com/problems/dungeon-game https://leetcode.com/problems/all-possible-full-binary-trees
105 743 174 Network Delay Time Dungeon Game 45.0% 32.3% Medium Hard 0.10923245854413877 0.11053338064061342 https://leetcode.com/problems/network-delay-time https://leetcode.com/problems/dungeon-game
106 924 743 Minimize Malware Spread Network Delay Time 42.0% 45.0% Hard Medium 0.10821358464023274 0.10923245854413877 https://leetcode.com/problems/minimize-malware-spread https://leetcode.com/problems/network-delay-time
107 159 924 Longest Substring with At Most Two Distinct Characters Minimize Malware Spread 49.4% 42.0% Medium Hard 0.10453372768183221 0.10821358464023274 https://leetcode.com/problems/longest-substring-with-at-most-two-distinct-characters https://leetcode.com/problems/minimize-malware-spread
108 845 159 Longest Mountain in Array Longest Substring with At Most Two Distinct Characters 37.2% 49.4% Medium Medium 0.10377967991789866 0.10453372768183221 https://leetcode.com/problems/longest-mountain-in-array https://leetcode.com/problems/longest-substring-with-at-most-two-distinct-characters
109 393 845 UTF-8 Validation Longest Mountain in Array 37.5% 37.2% Medium Medium 0.10212949507637983 0.10377967991789866 https://leetcode.com/problems/utf-8-validation https://leetcode.com/problems/longest-mountain-in-array
110 158 393 Read N Characters Given Read4 II - Call multiple times UTF-8 Validation 33.8% 37.5% Hard Medium 0.10090468412429855 0.10212949507637983 https://leetcode.com/problems/read-n-characters-given-read4-ii-call-multiple-times https://leetcode.com/problems/utf-8-validation
111 417 158 Pacific Atlantic Water Flow Read N Characters Given Read4 II - Call multiple times 41.1% 33.8% Medium Hard 0.10008345855698253 0.10090468412429855 https://leetcode.com/problems/pacific-atlantic-water-flow https://leetcode.com/problems/read-n-characters-given-read4-ii-call-multiple-times
112 410 417 Split Array Largest Sum Pacific Atlantic Water Flow 44.5% 41.1% Hard Medium 0.09946079353063801 0.10008345855698253 https://leetcode.com/problems/split-array-largest-sum https://leetcode.com/problems/pacific-atlantic-water-flow
113 862 410 Shortest Subarray with Sum at Least K Split Array Largest Sum 24.6% 44.5% Hard Hard 0.09793753498670578 0.09946079353063801 https://leetcode.com/problems/shortest-subarray-with-sum-at-least-k https://leetcode.com/problems/split-array-largest-sum
114 935 862 Knight Dialer Shortest Subarray with Sum at Least K 45.2% 24.6% Medium Hard 0.09737416402517636 0.09793753498670578 https://leetcode.com/problems/knight-dialer https://leetcode.com/problems/shortest-subarray-with-sum-at-least-k
115 76 935 Minimum Window Substring Knight Dialer 34.6% 45.2% Hard Medium 0.09532438646867135 0.09737416402517636 https://leetcode.com/problems/minimum-window-substring https://leetcode.com/problems/knight-dialer
116 1277 76 Count Square Submatrices with All Ones Minimum Window Substring 73.3% 34.6% Medium Hard 0.09314465520670343 0.09532438646867135 https://leetcode.com/problems/count-square-submatrices-with-all-ones https://leetcode.com/problems/minimum-window-substring
117 352 1277 Data Stream as Disjoint Intervals Count Square Submatrices with All Ones 47.3% 73.3% Hard Medium 0.09287412500644375 0.09314465520670343 https://leetcode.com/problems/data-stream-as-disjoint-intervals https://leetcode.com/problems/count-square-submatrices-with-all-ones
118 690 352 Employee Importance Data Stream as Disjoint Intervals 57.3% 47.3% Easy Hard 0.09271256041458817 0.09287412500644375 https://leetcode.com/problems/employee-importance https://leetcode.com/problems/data-stream-as-disjoint-intervals
119 1062 690 Longest Repeating Substring Employee Importance 57.2% 57.3% Medium Easy 0.09201889872025212 0.09271256041458817 https://leetcode.com/problems/longest-repeating-substring https://leetcode.com/problems/employee-importance
120 1131 1062 Maximum of Absolute Value Expression Longest Repeating Substring 53.0% 57.2% Medium Medium 0.09055957704572704 0.09201889872025212 https://leetcode.com/problems/maximum-of-absolute-value-expression https://leetcode.com/problems/longest-repeating-substring
121 549 1131 Binary Tree Longest Consecutive Sequence II Maximum of Absolute Value Expression 47.0% 53.0% Medium Medium 0.08816278759467164 0.09055957704572704 https://leetcode.com/problems/binary-tree-longest-consecutive-sequence-ii https://leetcode.com/problems/maximum-of-absolute-value-expression
122 53 549 Maximum Subarray Binary Tree Longest Consecutive Sequence II 46.5% 47.0% Easy Medium 0.08769812814162742 0.08816278759467164 https://leetcode.com/problems/maximum-subarray https://leetcode.com/problems/binary-tree-longest-consecutive-sequence-ii
123 10 53 Regular Expression Matching Maximum Subarray 26.8% 46.5% Hard Easy 0.08466459371201616 0.08769812814162742 https://leetcode.com/problems/regular-expression-matching https://leetcode.com/problems/maximum-subarray
124 939 10 Minimum Area Rectangle Regular Expression Matching 51.8% 26.8% Medium Hard 0.08361414004113359 0.08466459371201616 https://leetcode.com/problems/minimum-area-rectangle https://leetcode.com/problems/regular-expression-matching
125 332 939 Reconstruct Itinerary Minimum Area Rectangle 36.7% 51.8% Medium Medium 0.08302143328026106 0.08361414004113359 https://leetcode.com/problems/reconstruct-itinerary https://leetcode.com/problems/minimum-area-rectangle
126 1244 332 Design A Leaderboard Reconstruct Itinerary 60.7% 36.7% Medium Medium 0.08286311601350513 0.08302143328026106 https://leetcode.com/problems/design-a-leaderboard https://leetcode.com/problems/reconstruct-itinerary
127 911 1244 Online Election Design A Leaderboard 50.4% 60.7% Medium Medium 0.08118045667883657 0.08286311601350513 https://leetcode.com/problems/online-election https://leetcode.com/problems/design-a-leaderboard
128 250 911 Count Univalue Subtrees Online Election 52.0% 50.4% Medium Medium 0.07975881838845024 0.08118045667883657 https://leetcode.com/problems/count-univalue-subtrees https://leetcode.com/problems/online-election
129 2 250 Add Two Numbers Count Univalue Subtrees 33.9% 52.0% Medium Medium 0.0795615789623275 0.07975881838845024 https://leetcode.com/problems/add-two-numbers https://leetcode.com/problems/count-univalue-subtrees
130 128 2 Longest Consecutive Sequence Add Two Numbers 45.1% 33.9% Hard Medium 0.0786603197723907 0.0795615789623275 https://leetcode.com/problems/longest-consecutive-sequence https://leetcode.com/problems/add-two-numbers
131 66 128 Plus One Longest Consecutive Sequence 43.0% 45.1% Easy Hard 0.07852093407377625 0.0786603197723907 https://leetcode.com/problems/plus-one https://leetcode.com/problems/longest-consecutive-sequence
132 166 66 Fraction to Recurring Decimal Plus One 21.6% 43.0% Medium Easy 0.0782795570551556 0.07852093407377625 https://leetcode.com/problems/fraction-to-recurring-decimal https://leetcode.com/problems/plus-one
133 830 166 Positions of Large Groups Fraction to Recurring Decimal 49.6% 21.6% Easy Medium 0.07775936469913404 0.0782795570551556 https://leetcode.com/problems/positions-of-large-groups https://leetcode.com/problems/fraction-to-recurring-decimal
134 904 830 Fruit Into Baskets Positions of Large Groups 42.5% 49.6% Medium Easy 0.07767124189113186 0.07775936469913404 https://leetcode.com/problems/fruit-into-baskets https://leetcode.com/problems/positions-of-large-groups
135 269 904 Alien Dictionary Fruit Into Baskets 33.3% 42.5% Hard Medium 0.0770322180463687 0.07767124189113186 https://leetcode.com/problems/alien-dictionary https://leetcode.com/problems/fruit-into-baskets
136 778 269 Swim in Rising Water Alien Dictionary 53.1% 33.3% Hard Hard 0.07651914983419623 0.0770322180463687 https://leetcode.com/problems/swim-in-rising-water https://leetcode.com/problems/alien-dictionary
137 1007 778 Minimum Domino Rotations For Equal Row Swim in Rising Water 50.0% 53.1% Medium Hard 0.07630819306332431 0.07651914983419623 https://leetcode.com/problems/minimum-domino-rotations-for-equal-row https://leetcode.com/problems/swim-in-rising-water
138 1237 1007 Find Positive Integer Solution for a Given Equation Minimum Domino Rotations For Equal Row 69.7% 50.0% Easy Medium 0.07536521894921006 0.07630819306332431 https://leetcode.com/problems/find-positive-integer-solution-for-a-given-equation https://leetcode.com/problems/minimum-domino-rotations-for-equal-row
139 480 1237 Sliding Window Median Find Positive Integer Solution for a Given Equation 37.2% 69.7% Hard Easy 0.0743529801177063 0.07536521894921006 https://leetcode.com/problems/sliding-window-median https://leetcode.com/problems/find-positive-integer-solution-for-a-given-equation
140 639 480 Decode Ways II Sliding Window Median 26.6% 37.2% Hard Hard 0.07424558998921052 0.0743529801177063 https://leetcode.com/problems/decode-ways-ii https://leetcode.com/problems/sliding-window-median
141 274 639 H-Index Decode Ways II 36.1% 26.6% Medium Hard 0.07416907257227875 0.07424558998921052 https://leetcode.com/problems/h-index https://leetcode.com/problems/decode-ways-ii
142 173 274 Binary Search Tree Iterator H-Index 56.6% 36.1% Medium Medium 0.07392527369701565 0.07416907257227875 https://leetcode.com/problems/binary-search-tree-iterator https://leetcode.com/problems/h-index
143 209 173 Minimum Size Subarray Sum Binary Search Tree Iterator 38.2% 56.6% Medium Medium 0.07329286546547308 0.07392527369701565 https://leetcode.com/problems/minimum-size-subarray-sum https://leetcode.com/problems/binary-search-tree-iterator
144 1366 209 Rank Teams by Votes Minimum Size Subarray Sum 53.8% 38.2% Medium Medium 0.07223355735937158 0.07329286546547308 https://leetcode.com/problems/rank-teams-by-votes https://leetcode.com/problems/minimum-size-subarray-sum
145 271 1366 Encode and Decode Strings Rank Teams by Votes 31.5% 53.8% Medium Medium 0.07197349962508924 0.07223355735937158 https://leetcode.com/problems/encode-and-decode-strings https://leetcode.com/problems/rank-teams-by-votes
146 1074 271 Number of Submatrices That Sum to Target Encode and Decode Strings 60.4% 31.5% Hard Medium 0.07120444629179161 0.07197349962508924 https://leetcode.com/problems/number-of-submatrices-that-sum-to-target https://leetcode.com/problems/encode-and-decode-strings
147 133 1074 Clone Graph Number of Submatrices That Sum to Target 34.8% 60.4% Medium Hard 0.07095173597228444 0.07120444629179161 https://leetcode.com/problems/clone-graph https://leetcode.com/problems/number-of-submatrices-that-sum-to-target
148 200 133 Number of Islands Clone Graph 46.8% 34.8% Medium Medium 0.06985103785996453 0.07095173597228444 https://leetcode.com/problems/number-of-islands https://leetcode.com/problems/clone-graph
149 1102 200 Path With Maximum Minimum Value Number of Islands 49.2% 46.8% Medium Medium 0.06680279511160087 0.06985103785996453 https://leetcode.com/problems/path-with-maximum-minimum-value https://leetcode.com/problems/number-of-islands
150 731 1102 My Calendar II Path With Maximum Minimum Value 49.1% 49.2% Medium Medium 0.06453852113757116 0.06680279511160087 https://leetcode.com/problems/my-calendar-ii https://leetcode.com/problems/path-with-maximum-minimum-value
151 554 731 Brick Wall My Calendar II 50.0% 49.1% Medium Medium 0.0639195177132874 0.06453852113757116 https://leetcode.com/problems/brick-wall https://leetcode.com/problems/my-calendar-ii
152 1029 554 Two City Scheduling Brick Wall 56.1% 50.0% Easy Medium 0.06371581438610768 0.0639195177132874 https://leetcode.com/problems/two-city-scheduling https://leetcode.com/problems/brick-wall
153 702 1029 Search in a Sorted Array of Unknown Size Two City Scheduling 66.9% 56.1% Medium Easy 0.06361444899419297 0.06371581438610768 https://leetcode.com/problems/search-in-a-sorted-array-of-unknown-size https://leetcode.com/problems/two-city-scheduling
154 340 702 Longest Substring with At Most K Distinct Characters Search in a Sorted Array of Unknown Size 44.1% 66.9% Hard Medium 0.06298815293235048 0.06361444899419297 https://leetcode.com/problems/longest-substring-with-at-most-k-distinct-characters https://leetcode.com/problems/search-in-a-sorted-array-of-unknown-size
155 249 340 Group Shifted Strings Longest Substring with At Most K Distinct Characters 55.1% 44.1% Medium Hard 0.06107732466590545 0.06298815293235048 https://leetcode.com/problems/group-shifted-strings https://leetcode.com/problems/longest-substring-with-at-most-k-distinct-characters
156 630 249 Course Schedule III Group Shifted Strings 33.5% 55.1% Hard Medium 0.058581901624802396 0.06107732466590545 https://leetcode.com/problems/course-schedule-iii https://leetcode.com/problems/group-shifted-strings
157 45 630 Jump Game II Course Schedule III 30.6% 33.5% Hard Hard 0.05822366027889668 0.058581901624802396 https://leetcode.com/problems/jump-game-ii https://leetcode.com/problems/course-schedule-iii
158 968 45 Binary Tree Cameras Jump Game II 37.5% 30.6% Hard Hard 0.05790329283155908 0.05822366027889668 https://leetcode.com/problems/binary-tree-cameras https://leetcode.com/problems/jump-game-ii
159 1218 968 Longest Arithmetic Subsequence of Given Difference Binary Tree Cameras 44.6% 37.5% Medium Hard 0.05675281659244948 0.05790329283155908 https://leetcode.com/problems/longest-arithmetic-subsequence-of-given-difference https://leetcode.com/problems/binary-tree-cameras
160 218 1218 The Skyline Problem Longest Arithmetic Subsequence of Given Difference 34.6% 44.6% Hard Medium 0.0564413109049518 0.05675281659244948 https://leetcode.com/problems/the-skyline-problem https://leetcode.com/problems/longest-arithmetic-subsequence-of-given-difference
161 96 218 Unique Binary Search Trees The Skyline Problem 52.9% 34.6% Medium Hard 0.056410171529350385 0.0564413109049518 https://leetcode.com/problems/unique-binary-search-trees https://leetcode.com/problems/the-skyline-problem
162 41 96 First Missing Positive Unique Binary Search Trees 32.0% 52.9% Hard Medium 0.056273635982108605 0.056410171529350385 https://leetcode.com/problems/first-missing-positive https://leetcode.com/problems/unique-binary-search-trees
163 279 41 Perfect Squares First Missing Positive 47.4% 32.0% Medium Hard 0.05625780265009439 0.056273635982108605 https://leetcode.com/problems/perfect-squares https://leetcode.com/problems/first-missing-positive
164 295 279 Find Median from Data Stream Perfect Squares 44.3% 47.4% Hard Medium 0.05495888428075748 0.05625780265009439 https://leetcode.com/problems/find-median-from-data-stream https://leetcode.com/problems/perfect-squares
165 735 295 Asteroid Collision Find Median from Data Stream 41.0% 44.3% Medium Hard 0.05479154882968245 0.05495888428075748 https://leetcode.com/problems/asteroid-collision https://leetcode.com/problems/find-median-from-data-stream
166 15 735 3Sum Asteroid Collision 26.8% 41.0% Medium Medium 0.05357467464947331 0.05479154882968245 https://leetcode.com/problems/3sum https://leetcode.com/problems/asteroid-collision
167 1095 15 Find in Mountain Array 3Sum 35.8% 26.8% Hard Medium 0.053560323833736816 0.05357467464947331 https://leetcode.com/problems/find-in-mountain-array https://leetcode.com/problems/3sum
168 1229 1095 Meeting Scheduler Find in Mountain Array 52.7% 35.8% Medium Hard 0.053560323833736816 0.053560323833736816 https://leetcode.com/problems/meeting-scheduler https://leetcode.com/problems/find-in-mountain-array
169 63 1229 Unique Paths II Meeting Scheduler 34.6% 52.7% Medium Medium 0.05324937607387791 0.053560323833736816 https://leetcode.com/problems/unique-paths-ii https://leetcode.com/problems/meeting-scheduler
170 286 63 Walls and Gates Unique Paths II 54.5% 34.6% Medium Medium 0.05155780966485001 0.05324937607387791 https://leetcode.com/problems/walls-and-gates https://leetcode.com/problems/unique-paths-ii
171 681 286 Next Closest Time Walls and Gates 45.0% 54.5% Medium Medium 0.05045206096038863 0.05155780966485001 https://leetcode.com/problems/next-closest-time https://leetcode.com/problems/walls-and-gates
172 382 681 Linked List Random Node Next Closest Time 52.1% 45.0% Medium Medium 0.05045206096038863 0.05045206096038863 https://leetcode.com/problems/linked-list-random-node https://leetcode.com/problems/next-closest-time
173 282 382 Expression Add Operators Linked List Random Node 35.5% 52.1% Hard Medium 0.049982640867735496 0.05045206096038863 https://leetcode.com/problems/expression-add-operators https://leetcode.com/problems/linked-list-random-node
174 105 282 Construct Binary Tree from Preorder and Inorder Traversal Expression Add Operators 48.8% 35.5% Medium Hard 0.049549146900389536 0.049982640867735496 https://leetcode.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal https://leetcode.com/problems/expression-add-operators
175 259 105 3Sum Smaller Construct Binary Tree from Preorder and Inorder Traversal 47.6% 48.8% Medium Medium 0.04951506452738057 0.049549146900389536 https://leetcode.com/problems/3sum-smaller https://leetcode.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal
176 981 259 Time Based Key-Value Store 3Sum Smaller 53.1% 47.6% Medium Medium 0.049406315387071284 0.04951506452738057 https://leetcode.com/problems/time-based-key-value-store https://leetcode.com/problems/3sum-smaller
177 307 981 Range Sum Query - Mutable Time Based Key-Value Store 34.6% 53.1% Medium Medium 0.04935211978972769 0.049406315387071284 https://leetcode.com/problems/range-sum-query-mutable https://leetcode.com/problems/time-based-key-value-store
178 152 307 Maximum Product Subarray Range Sum Query - Mutable 31.7% 34.6% Medium Medium 0.04922388062576129 0.04935211978972769 https://leetcode.com/problems/maximum-product-subarray https://leetcode.com/problems/range-sum-query-mutable
179 593 152 Valid Square Maximum Product Subarray 43.1% 31.7% Medium Medium 0.048671406375812236 0.04922388062576129 https://leetcode.com/problems/valid-square https://leetcode.com/problems/maximum-product-subarray
180 759 593 Employee Free Time Valid Square 66.3% 43.1% Hard Medium 0.04861224405509378 0.048671406375812236 https://leetcode.com/problems/employee-free-time https://leetcode.com/problems/valid-square
181 226 759 Invert Binary Tree Employee Free Time 65.0% 66.3% Easy Hard 0.04851395922360755 0.04861224405509378 https://leetcode.com/problems/invert-binary-tree https://leetcode.com/problems/employee-free-time
182 388 226 Longest Absolute File Path Invert Binary Tree 41.8% 65.0% Medium Easy 0.04849434993861047 0.04851395922360755 https://leetcode.com/problems/longest-absolute-file-path https://leetcode.com/problems/invert-binary-tree
183 247 388 Strobogrammatic Number II Longest Absolute File Path 47.6% 41.8% Medium Medium 0.04757139497530258 0.04849434993861047 https://leetcode.com/problems/strobogrammatic-number-ii https://leetcode.com/problems/longest-absolute-file-path
184 773 247 Sliding Puzzle Strobogrammatic Number II 59.3% 47.6% Hard Medium 0.0470675108579858 0.04757139497530258 https://leetcode.com/problems/sliding-puzzle https://leetcode.com/problems/strobogrammatic-number-ii
185 689 773 Maximum Sum of 3 Non-Overlapping Subarrays Sliding Puzzle 46.3% 59.3% Hard Hard 0.04625101765075567 0.0470675108579858 https://leetcode.com/problems/maximum-sum-of-3-non-overlapping-subarrays https://leetcode.com/problems/sliding-puzzle
186 692 689 Top K Frequent Words Maximum Sum of 3 Non-Overlapping Subarrays 51.8% 46.3% Medium Hard 0.046074115337669586 0.04625101765075567 https://leetcode.com/problems/top-k-frequent-words https://leetcode.com/problems/maximum-sum-of-3-non-overlapping-subarrays
187 987 692 Vertical Order Traversal of a Binary Tree Top K Frequent Words 36.6% 51.8% Medium Medium 0.04561794346101633 0.046074115337669586 https://leetcode.com/problems/vertical-order-traversal-of-a-binary-tree https://leetcode.com/problems/top-k-frequent-words
188 205 987 Isomorphic Strings Vertical Order Traversal of a Binary Tree 39.8% 36.6% Easy Medium 0.045397866271290506 0.04561794346101633 https://leetcode.com/problems/isomorphic-strings https://leetcode.com/problems/vertical-order-traversal-of-a-binary-tree
189 325 205 Maximum Size Subarray Sum Equals k Isomorphic Strings 46.8% 39.8% Medium Easy 0.04495138786226632 0.045397866271290506 https://leetcode.com/problems/maximum-size-subarray-sum-equals-k https://leetcode.com/problems/isomorphic-strings
190 78 325 Subsets Maximum Size Subarray Sum Equals k 62.0% 46.8% Medium Medium 0.044263005655043326 0.04495138786226632 https://leetcode.com/problems/subsets https://leetcode.com/problems/maximum-size-subarray-sum-equals-k
191 525 78 Contiguous Array Subsets 42.8% 62.0% Medium Medium 0.04390949261556855 0.044263005655043326 https://leetcode.com/problems/contiguous-array https://leetcode.com/problems/subsets
192 280 525 Wiggle Sort Contiguous Array 63.8% 42.8% Medium Medium 0.04362742017962607 0.04390949261556855 https://leetcode.com/problems/wiggle-sort https://leetcode.com/problems/contiguous-array
193 524 280 Longest Word in Dictionary through Deleting Wiggle Sort 48.4% 63.8% Medium Medium 0.04357988070402507 0.04362742017962607 https://leetcode.com/problems/longest-word-in-dictionary-through-deleting https://leetcode.com/problems/wiggle-sort
194 980 524 Unique Paths III Longest Word in Dictionary through Deleting 73.3% 48.4% Hard Medium 0.04348511193973883 0.04357988070402507 https://leetcode.com/problems/unique-paths-iii https://leetcode.com/problems/longest-word-in-dictionary-through-deleting
195 1155 980 Number of Dice Rolls With Target Sum Unique Paths III 49.0% 73.3% Medium Hard 0.04204262329555109 0.04348511193973883 https://leetcode.com/problems/number-of-dice-rolls-with-target-sum https://leetcode.com/problems/unique-paths-iii
196 721 1155 Accounts Merge Number of Dice Rolls With Target Sum 48.8% 49.0% Medium Medium 0.04200337458562934 0.04204262329555109 https://leetcode.com/problems/accounts-merge https://leetcode.com/problems/number-of-dice-rolls-with-target-sum
197 243 721 Shortest Word Distance Accounts Merge 61.0% 48.8% Easy Medium 0.040780370344928096 0.04200337458562934 https://leetcode.com/problems/shortest-word-distance https://leetcode.com/problems/accounts-merge
198 1235 243 Maximum Profit in Job Scheduling Shortest Word Distance 44.0% 61.0% Hard Easy 0.040573516447166516 0.040780370344928096 https://leetcode.com/problems/maximum-profit-in-job-scheduling https://leetcode.com/problems/shortest-word-distance
199 314 1235 Binary Tree Vertical Order Traversal Maximum Profit in Job Scheduling 45.3% 44.0% Medium Hard 0.04007660092703385 0.040573516447166516 https://leetcode.com/problems/binary-tree-vertical-order-traversal https://leetcode.com/problems/maximum-profit-in-job-scheduling
200 686 314 Repeated String Match Binary Tree Vertical Order Traversal 32.3% 45.3% Easy Medium 0.03984590854719967 0.04007660092703385 https://leetcode.com/problems/repeated-string-match https://leetcode.com/problems/binary-tree-vertical-order-traversal
201 947 686 Most Stones Removed with Same Row or Column Repeated String Match 55.2% 32.3% Medium Easy 0.03929778741436997 0.03984590854719967 https://leetcode.com/problems/most-stones-removed-with-same-row-or-column https://leetcode.com/problems/repeated-string-match
202 241 947 Different Ways to Add Parentheses Most Stones Removed with Same Row or Column 55.2% 55.2% Medium Medium 0.03880215185647971 0.03929778741436997 https://leetcode.com/problems/different-ways-to-add-parentheses https://leetcode.com/problems/most-stones-removed-with-same-row-or-column
203 682 241 Baseball Game Different Ways to Add Parentheses 63.7% 55.2% Easy Medium 0.03872700788529212 0.03880215185647971 https://leetcode.com/problems/baseball-game https://leetcode.com/problems/different-ways-to-add-parentheses
204 380 682 Insert Delete GetRandom O(1) Baseball Game 47.5% 63.7% Medium Easy 0.038717635350707984 0.03872700788529212 https://leetcode.com/problems/insert-delete-getrandom-o1 https://leetcode.com/problems/baseball-game
205 168 380 Excel Sheet Column Title Insert Delete GetRandom O(1) 31.1% 47.5% Easy Medium 0.03861483612777958 0.038717635350707984 https://leetcode.com/problems/excel-sheet-column-title https://leetcode.com/problems/insert-delete-getrandom-o1
206 3 168 Longest Substring Without Repeating Characters Excel Sheet Column Title 30.4% 31.1% Medium Easy 0.03818277748849004 0.03861483612777958 https://leetcode.com/problems/longest-substring-without-repeating-characters https://leetcode.com/problems/excel-sheet-column-title
207 688 3 Knight Probability in Chessboard Longest Substring Without Repeating Characters 48.9% 30.4% Medium Medium 0.038172573505029735 0.03818277748849004 https://leetcode.com/problems/knight-probability-in-chessboard https://leetcode.com/problems/longest-substring-without-repeating-characters
208 992 688 Subarrays with K Different Integers Knight Probability in Chessboard 48.6% 48.9% Hard Medium 0.03700699810869683 0.038172573505029735 https://leetcode.com/problems/subarrays-with-k-different-integers https://leetcode.com/problems/knight-probability-in-chessboard
209 188 992 Best Time to Buy and Sell Stock IV Subarrays with K Different Integers 28.0% 48.6% Hard Hard 0.036783877267414916 0.03700699810869683 https://leetcode.com/problems/best-time-to-buy-and-sell-stock-iv https://leetcode.com/problems/subarrays-with-k-different-integers
210 1021 188 Remove Outermost Parentheses Best Time to Buy and Sell Stock IV 78.0% 28.0% Easy Hard 0.03660433056251234 0.036783877267414916 https://leetcode.com/problems/remove-outermost-parentheses https://leetcode.com/problems/best-time-to-buy-and-sell-stock-iv
211 347 1021 Top K Frequent Elements Remove Outermost Parentheses 61.2% 78.0% Medium Easy 0.036495073288600646 0.03660433056251234 https://leetcode.com/problems/top-k-frequent-elements https://leetcode.com/problems/remove-outermost-parentheses
212 354 347 Russian Doll Envelopes Top K Frequent Elements 35.6% 61.2% Hard Medium 0.036467121912812143 0.036495073288600646 https://leetcode.com/problems/russian-doll-envelopes https://leetcode.com/problems/top-k-frequent-elements
213 1254 354 Number of Closed Islands Russian Doll Envelopes 60.5% 35.6% Medium Hard 0.03540192705091593 0.036467121912812143 https://leetcode.com/problems/number-of-closed-islands https://leetcode.com/problems/russian-doll-envelopes
214 1143 1254 Longest Common Subsequence Number of Closed Islands 58.4% 60.5% Medium Medium 0.03488472325916733 0.03540192705091593 https://leetcode.com/problems/longest-common-subsequence https://leetcode.com/problems/number-of-closed-islands
215 4 1143 Median of Two Sorted Arrays Longest Common Subsequence 29.6% 58.4% Hard Medium 0.034565653112280895 0.03488472325916733 https://leetcode.com/problems/median-of-two-sorted-arrays https://leetcode.com/problems/longest-common-subsequence
216 886 4 Possible Bipartition Median of Two Sorted Arrays 44.2% 29.6% Medium Hard 0.034103901828857086 0.034565653112280895 https://leetcode.com/problems/possible-bipartition https://leetcode.com/problems/median-of-two-sorted-arrays
217 384 886 Shuffle an Array Possible Bipartition 52.8% 44.2% Medium Medium 0.03399118781703353 0.034103901828857086 https://leetcode.com/problems/shuffle-an-array https://leetcode.com/problems/possible-bipartition
218 198 384 House Robber Shuffle an Array 42.0% 52.8% Easy Medium 0.033320991026093004 0.03399118781703353 https://leetcode.com/problems/house-robber https://leetcode.com/problems/shuffle-an-array
219 84 198 Largest Rectangle in Histogram House Robber 35.2% 42.0% Hard Easy 0.032938342019369966 0.033320991026093004 https://leetcode.com/problems/largest-rectangle-in-histogram https://leetcode.com/problems/house-robber
220 989 84 Add to Array-Form of Integer Largest Rectangle in Histogram 44.2% 35.2% Easy Hard 0.03268264743035841 0.032938342019369966 https://leetcode.com/problems/add-to-array-form-of-integer https://leetcode.com/problems/largest-rectangle-in-histogram
221 284 989 Peeking Iterator Add to Array-Form of Integer 45.7% 44.2% Medium Easy 0.03110670713225487 0.03268264743035841 https://leetcode.com/problems/peeking-iterator https://leetcode.com/problems/add-to-array-form-of-integer
222 304 284 Range Sum Query 2D - Immutable Peeking Iterator 38.6% 45.7% Medium Medium 0.031036973995576488 0.03110670713225487 https://leetcode.com/problems/range-sum-query-2d-immutable https://leetcode.com/problems/peeking-iterator
223 56 304 Merge Intervals Range Sum Query 2D - Immutable 39.3% 38.6% Medium Medium 0.030829638084076787 0.031036973995576488 https://leetcode.com/problems/merge-intervals https://leetcode.com/problems/range-sum-query-2d-immutable
224 316 56 Remove Duplicate Letters Merge Intervals 35.8% 39.3% Hard Medium 0.030443751414723153 0.030829638084076787 https://leetcode.com/problems/remove-duplicate-letters https://leetcode.com/problems/merge-intervals
225 1192 316 Critical Connections in a Network Remove Duplicate Letters 48.6% 35.8% Hard Hard 0.030183377823098576 0.030443751414723153 https://leetcode.com/problems/critical-connections-in-a-network https://leetcode.com/problems/remove-duplicate-letters
226 1011 1192 Capacity To Ship Packages Within D Days Critical Connections in a Network 58.1% 48.6% Medium Hard 0.030100090297855955 0.030183377823098576 https://leetcode.com/problems/capacity-to-ship-packages-within-d-days https://leetcode.com/problems/critical-connections-in-a-network
227 14 1011 Longest Common Prefix Capacity To Ship Packages Within D Days 35.4% 58.1% Easy Medium 0.029493413243583278 0.030100090297855955 https://leetcode.com/problems/longest-common-prefix https://leetcode.com/problems/capacity-to-ship-packages-within-d-days
228 157 14 Read N Characters Given Read4 Longest Common Prefix 34.2% 35.4% Easy Easy 0.029435532102129305 0.029493413243583278 https://leetcode.com/problems/read-n-characters-given-read4 https://leetcode.com/problems/longest-common-prefix
229 456 157 132 Pattern Read N Characters Given Read4 28.9% 34.2% Medium Easy 0.029306126585499394 0.029435532102129305 https://leetcode.com/problems/132-pattern https://leetcode.com/problems/read-n-characters-given-read4
230 1047 456 Remove All Adjacent Duplicates In String 132 Pattern 68.6% 28.9% Easy Medium 0.029147141055220656 0.029306126585499394 https://leetcode.com/problems/remove-all-adjacent-duplicates-in-string https://leetcode.com/problems/132-pattern
231 236 1047 Lowest Common Ancestor of a Binary Tree Remove All Adjacent Duplicates In String 45.7% 68.6% Medium Easy 0.029105663386885607 0.029147141055220656 https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-tree https://leetcode.com/problems/remove-all-adjacent-duplicates-in-string
232 36 236 Valid Sudoku Lowest Common Ancestor of a Binary Tree 48.7% 45.7% Medium Medium 0.028722132350970705 0.029105663386885607 https://leetcode.com/problems/valid-sudoku https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-tree
233 219 36 Contains Duplicate II Valid Sudoku 37.7% 48.7% Easy Medium 0.028500979167549973 0.028722132350970705 https://leetcode.com/problems/contains-duplicate-ii https://leetcode.com/problems/valid-sudoku
234 695 219 Max Area of Island Contains Duplicate II 62.7% 37.7% Medium Easy 0.028321590863246118 0.028500979167549973 https://leetcode.com/problems/max-area-of-island https://leetcode.com/problems/contains-duplicate-ii
235 110 695 Balanced Binary Tree Max Area of Island 43.5% 62.7% Easy Medium 0.02781820547653065 0.028321590863246118 https://leetcode.com/problems/balanced-binary-tree https://leetcode.com/problems/max-area-of-island
236 21 110 Merge Two Sorted Lists Balanced Binary Tree 53.5% 43.5% Easy Easy 0.02728150490352749 0.02781820547653065 https://leetcode.com/problems/merge-two-sorted-lists https://leetcode.com/problems/balanced-binary-tree
237 42 21 Trapping Rain Water Merge Two Sorted Lists 48.9% 53.5% Hard Easy 0.02688623073425064 0.02728150490352749 https://leetcode.com/problems/trapping-rain-water https://leetcode.com/problems/merge-two-sorted-lists
238 986 42 Interval List Intersections Trapping Rain Water 67.3% 48.9% Medium Hard 0.026731618438329555 0.02688623073425064 https://leetcode.com/problems/interval-list-intersections https://leetcode.com/problems/trapping-rain-water
239 34 986 Find First and Last Position of Element in Sorted Array Interval List Intersections 36.2% 67.3% Medium Medium 0.026256496787488606 0.026731618438329555 https://leetcode.com/problems/find-first-and-last-position-of-element-in-sorted-array https://leetcode.com/problems/interval-list-intersections
240 46 34 Permutations Find First and Last Position of Element in Sorted Array 63.5% 36.2% Medium Medium 0.026064861710547768 0.026256496787488606 https://leetcode.com/problems/permutations https://leetcode.com/problems/find-first-and-last-position-of-element-in-sorted-array
241 378 46 Kth Smallest Element in a Sorted Matrix Permutations 54.3% 63.5% Medium Medium 0.02599048981653746 0.026064861710547768 https://leetcode.com/problems/kth-smallest-element-in-a-sorted-matrix https://leetcode.com/problems/permutations
242 403 378 Frog Jump Kth Smallest Element in a Sorted Matrix 39.7% 54.3% Hard Medium 0.0259249775263148 0.02599048981653746 https://leetcode.com/problems/frog-jump https://leetcode.com/problems/kth-smallest-element-in-a-sorted-matrix
243 117 403 Populating Next Right Pointers in Each Node II Frog Jump 39.1% 39.7% Medium Hard 0.025446665661164262 0.0259249775263148 https://leetcode.com/problems/populating-next-right-pointers-in-each-node-ii https://leetcode.com/problems/frog-jump
244 733 117 Flood Fill Populating Next Right Pointers in Each Node II 55.3% 39.1% Easy Medium 0.02506396866321625 0.025446665661164262 https://leetcode.com/problems/flood-fill https://leetcode.com/problems/populating-next-right-pointers-in-each-node-ii
245 941 733 Valid Mountain Array Flood Fill 33.2% 55.3% Easy Easy 0.02489066552578776 0.02506396866321625 https://leetcode.com/problems/valid-mountain-array https://leetcode.com/problems/flood-fill
246 409 941 Longest Palindrome Valid Mountain Array 50.3% 33.2% Easy Easy 0.02486144206532915 0.02489066552578776 https://leetcode.com/problems/longest-palindrome https://leetcode.com/problems/valid-mountain-array
247 983 409 Minimum Cost For Tickets Longest Palindrome 60.5% 50.3% Medium Easy 0.02467737809337621 0.02486144206532915 https://leetcode.com/problems/minimum-cost-for-tickets https://leetcode.com/problems/longest-palindrome
248 836 983 Rectangle Overlap Minimum Cost For Tickets 48.6% 60.5% Easy Medium 0.024228925974379843 0.02467737809337621 https://leetcode.com/problems/rectangle-overlap https://leetcode.com/problems/minimum-cost-for-tickets
249 31 836 Next Permutation Rectangle Overlap 32.6% 48.6% Medium Easy 0.023747034562878154 0.024228925974379843 https://leetcode.com/problems/next-permutation https://leetcode.com/problems/rectangle-overlap
250 49 31 Group Anagrams Next Permutation 56.9% 32.6% Medium Medium 0.02354157682187747 0.023747034562878154 https://leetcode.com/problems/group-anagrams https://leetcode.com/problems/next-permutation
251 791 49 Custom Sort String Group Anagrams 65.7% 56.9% Medium Medium 0.023283938954044722 0.02354157682187747 https://leetcode.com/problems/custom-sort-string https://leetcode.com/problems/group-anagrams
252 99 791 Recover Binary Search Tree Custom Sort String 39.7% 65.7% Hard Medium 0.02310905839365837 0.023283938954044722 https://leetcode.com/problems/recover-binary-search-tree https://leetcode.com/problems/custom-sort-string
253 65 99 Valid Number Recover Binary Search Tree 15.3% 39.7% Hard Hard 0.022858138076050194 0.02310905839365837 https://leetcode.com/problems/valid-number https://leetcode.com/problems/recover-binary-search-tree
254 678 65 Valid Parenthesis String Valid Number 31.0% 15.3% Medium Hard 0.02271534352147261 0.022858138076050194 https://leetcode.com/problems/valid-parenthesis-string https://leetcode.com/problems/valid-number
255 216 678 Combination Sum III Valid Parenthesis String 56.6% 31.0% Medium Medium 0.02261260849011709 0.02271534352147261 https://leetcode.com/problems/combination-sum-iii https://leetcode.com/problems/valid-parenthesis-string
256 212 216 Word Search II Combination Sum III 34.9% 56.6% Hard Medium 0.02201654487096149 0.02261260849011709 https://leetcode.com/problems/word-search-ii https://leetcode.com/problems/combination-sum-iii
257 124 212 Binary Tree Maximum Path Sum Word Search II 34.3% 34.9% Hard Hard 0.021945744272529284 0.02201654487096149 https://leetcode.com/problems/binary-tree-maximum-path-sum https://leetcode.com/problems/word-search-ii
258 287 124 Find the Duplicate Number Binary Tree Maximum Path Sum 55.5% 34.3% Medium Hard 0.021825992579766168 0.021945744272529284 https://leetcode.com/problems/find-the-duplicate-number https://leetcode.com/problems/binary-tree-maximum-path-sum
259 958 287 Check Completeness of a Binary Tree Find the Duplicate Number 52.1% 55.5% Medium Medium 0.021763644636359686 0.021825992579766168 https://leetcode.com/problems/check-completeness-of-a-binary-tree https://leetcode.com/problems/find-the-duplicate-number
260 459 958 Repeated Substring Pattern Check Completeness of a Binary Tree 42.2% 52.1% Easy Medium 0.021402636114384706 0.021763644636359686 https://leetcode.com/problems/repeated-substring-pattern https://leetcode.com/problems/check-completeness-of-a-binary-tree
261 278 459 First Bad Version Repeated Substring Pattern 35.7% 42.2% Easy Easy 0.021394050366625766 0.021402636114384706 https://leetcode.com/problems/first-bad-version https://leetcode.com/problems/repeated-substring-pattern
262 543 278 Diameter of Binary Tree First Bad Version 48.4% 35.7% Easy Easy 0.02105617995251665 0.021394050366625766 https://leetcode.com/problems/diameter-of-binary-tree https://leetcode.com/problems/first-bad-version
263 636 543 Exclusive Time of Functions Diameter of Binary Tree 51.9% 48.4% Medium Easy 0.02102021693162732 0.02105617995251665 https://leetcode.com/problems/exclusive-time-of-functions https://leetcode.com/problems/diameter-of-binary-tree
264 206 636 Reverse Linked List Exclusive Time of Functions 62.5% 51.9% Easy Medium 0.02086427467076072 0.02102021693162732 https://leetcode.com/problems/reverse-linked-list https://leetcode.com/problems/exclusive-time-of-functions
265 654 206 Maximum Binary Tree Reverse Linked List 79.9% 62.5% Medium Easy 0.02060866342778963 0.02086427467076072 https://leetcode.com/problems/maximum-binary-tree https://leetcode.com/problems/reverse-linked-list
266 20 654 Valid Parentheses Maximum Binary Tree 39.0% 79.9% Easy Medium 0.020517047266669974 0.02060866342778963 https://leetcode.com/problems/valid-parentheses https://leetcode.com/problems/maximum-binary-tree
267 60 20 Permutation Sequence Valid Parentheses 38.4% 39.0% Hard Easy 0.020471543980187256 0.020517047266669974 https://leetcode.com/problems/permutation-sequence https://leetcode.com/problems/valid-parentheses
268 424 60 Longest Repeating Character Replacement Permutation Sequence 47.0% 38.4% Medium Hard 0.020461071871340063 0.020471543980187256 https://leetcode.com/problems/longest-repeating-character-replacement https://leetcode.com/problems/permutation-sequence
269 392 424 Is Subsequence Longest Repeating Character Replacement 49.2% 47.0% Easy Medium 0.02033508842008217 0.020461071871340063 https://leetcode.com/problems/is-subsequence https://leetcode.com/problems/longest-repeating-character-replacement
270 5 392 Longest Palindromic Substring Is Subsequence 29.5% 49.2% Medium Easy 0.020329346568668867 0.02033508842008217 https://leetcode.com/problems/longest-palindromic-substring https://leetcode.com/problems/is-subsequence
271 79 5 Word Search Longest Palindromic Substring 35.6% 29.5% Medium Medium 0.020204373427427723 0.020329346568668867 https://leetcode.com/problems/word-search https://leetcode.com/problems/longest-palindromic-substring
272 540 79 Single Element in a Sorted Array Word Search 57.9% 35.6% Medium Medium 0.0192128868599912 0.020204373427427723 https://leetcode.com/problems/single-element-in-a-sorted-array https://leetcode.com/problems/word-search
273 669 540 Trim a Binary Search Tree Single Element in a Sorted Array 63.0% 57.9% Easy Medium 0.019139340210697423 0.0192128868599912 https://leetcode.com/problems/trim-a-binary-search-tree https://leetcode.com/problems/single-element-in-a-sorted-array
274 229 669 Majority Element II Trim a Binary Search Tree 35.6% 63.0% Medium Easy 0.019057270410286146 0.019139340210697423 https://leetcode.com/problems/majority-element-ii https://leetcode.com/problems/trim-a-binary-search-tree
275 9 229 Palindrome Number Majority Element II 48.4% 35.6% Easy Medium 0.018837205580381582 0.019057270410286146 https://leetcode.com/problems/palindrome-number https://leetcode.com/problems/majority-element-ii
276 901 9 Online Stock Span Palindrome Number 60.2% 48.4% Medium Easy 0.018622512098001826 0.018837205580381582 https://leetcode.com/problems/online-stock-span https://leetcode.com/problems/palindrome-number
277 146 901 LRU Cache Online Stock Span 33.2% 60.2% Medium Medium 0.01827577993873683 0.018622512098001826 https://leetcode.com/problems/lru-cache https://leetcode.com/problems/online-stock-span
278 37 146 Sudoku Solver LRU Cache 43.6% 33.2% Hard Medium 0.01821543989134118 0.01827577993873683 https://leetcode.com/problems/sudoku-solver https://leetcode.com/problems/lru-cache
279 438 37 Find All Anagrams in a String Sudoku Solver 43.3% 43.6% Medium Hard 0.01819334596120571 0.01821543989134118 https://leetcode.com/problems/find-all-anagrams-in-a-string https://leetcode.com/problems/sudoku-solver
280 406 438 Queue Reconstruction by Height Find All Anagrams in a String 66.9% 43.3% Medium Medium 0.01774669468133533 0.01819334596120571 https://leetcode.com/problems/queue-reconstruction-by-height https://leetcode.com/problems/find-all-anagrams-in-a-string
281 239 406 Sliding Window Maximum Queue Reconstruction by Height 43.0% 66.9% Hard Medium 0.01768566434627554 0.01774669468133533 https://leetcode.com/problems/sliding-window-maximum https://leetcode.com/problems/queue-reconstruction-by-height
282 240 239 Search a 2D Matrix II Sliding Window Maximum 43.2% 43.0% Medium Hard 0.0169815401480941 0.01768566434627554 https://leetcode.com/problems/search-a-2d-matrix-ii https://leetcode.com/problems/sliding-window-maximum
283 16 240 3Sum Closest Search a 2D Matrix II 46.0% 43.2% Medium Medium 0.016854331554982106 0.0169815401480941 https://leetcode.com/problems/3sum-closest https://leetcode.com/problems/search-a-2d-matrix-ii
284 658 16 Find K Closest Elements 3Sum Closest 40.9% 46.0% Medium Medium 0.016611677666896175 0.016854331554982106 https://leetcode.com/problems/find-k-closest-elements https://leetcode.com/problems/3sum-closest
285 116 658 Populating Next Right Pointers in Each Node Find K Closest Elements 45.2% 40.9% Medium Medium 0.016432723251567683 0.016611677666896175 https://leetcode.com/problems/populating-next-right-pointers-in-each-node https://leetcode.com/problems/find-k-closest-elements
286 51 116 N-Queens Populating Next Right Pointers in Each Node 46.6% 45.2% Hard Medium 0.016393809775676407 0.016432723251567683 https://leetcode.com/problems/n-queens https://leetcode.com/problems/populating-next-right-pointers-in-each-node
287 297 51 Serialize and Deserialize Binary Tree N-Queens 47.5% 46.6% Hard Hard 0.01585377577217724 0.016393809775676407 https://leetcode.com/problems/serialize-and-deserialize-binary-tree https://leetcode.com/problems/n-queens
288 165 297 Compare Version Numbers Serialize and Deserialize Binary Tree 27.4% 47.5% Medium Hard 0.01579187969789165 0.01585377577217724 https://leetcode.com/problems/compare-version-numbers https://leetcode.com/problems/serialize-and-deserialize-binary-tree
289 59 165 Spiral Matrix II Compare Version Numbers 53.9% 27.4% Medium Medium 0.01579187969789165 0.01579187969789165 https://leetcode.com/problems/spiral-matrix-ii https://leetcode.com/problems/compare-version-numbers
290 139 59 Word Break Spiral Matrix II 40.1% 53.9% Medium Medium 0.015487677691351377 0.01579187969789165 https://leetcode.com/problems/word-break https://leetcode.com/problems/spiral-matrix-ii
291 301 139 Remove Invalid Parentheses Word Break 43.3% 40.1% Hard Medium 0.01446679841775339 0.015487677691351377 https://leetcode.com/problems/remove-invalid-parentheses https://leetcode.com/problems/word-break
292 109 301 Convert Sorted List to Binary Search Tree Remove Invalid Parentheses 47.7% 43.3% Medium Hard 0.014440684154794336 0.01446679841775339 https://leetcode.com/problems/convert-sorted-list-to-binary-search-tree https://leetcode.com/problems/remove-invalid-parentheses
293 177 109 Nth Highest Salary Convert Sorted List to Binary Search Tree 31.4% 47.7% Medium Medium 0.014373226241371741 0.014440684154794336 https://leetcode.com/problems/nth-highest-salary https://leetcode.com/problems/convert-sorted-list-to-binary-search-tree
294 162 177 Find Peak Element Nth Highest Salary 43.3% 31.4% Medium Medium 0.014231739257256364 0.014373226241371741 https://leetcode.com/problems/find-peak-element https://leetcode.com/problems/nth-highest-salary
295 150 162 Evaluate Reverse Polish Notation Find Peak Element 36.3% 43.3% Medium Medium 0.01413451093490476 0.014231739257256364 https://leetcode.com/problems/evaluate-reverse-polish-notation https://leetcode.com/problems/find-peak-element
296 303 150 Range Sum Query - Immutable Evaluate Reverse Polish Notation 44.7% 36.3% Easy Medium 0.013240842236997532 0.01413451093490476 https://leetcode.com/problems/range-sum-query-immutable https://leetcode.com/problems/evaluate-reverse-polish-notation
297 137 303 Single Number II Range Sum Query - Immutable 52.4% 44.7% Medium Easy 0.012527567532662891 0.013240842236997532 https://leetcode.com/problems/single-number-ii https://leetcode.com/problems/range-sum-query-immutable
298 227 137 Basic Calculator II Single Number II 36.9% 52.4% Medium Medium 0.01239941490503826 0.012527567532662891 https://leetcode.com/problems/basic-calculator-ii https://leetcode.com/problems/single-number-ii
299 273 227 Integer to English Words Basic Calculator II 27.1% 36.9% Hard Medium 0.012081089250339716 0.01239941490503826 https://leetcode.com/problems/integer-to-english-words https://leetcode.com/problems/basic-calculator-ii
300 210 273 Course Schedule II Integer to English Words 40.7% 27.1% Medium Hard 0.011869857339029215 0.012081089250339716 https://leetcode.com/problems/course-schedule-ii https://leetcode.com/problems/integer-to-english-words
301 442 210 Find All Duplicates in an Array Course Schedule II 67.8% 40.7% Medium Medium 0.011675555865241341 0.011869857339029215 https://leetcode.com/problems/find-all-duplicates-in-an-array https://leetcode.com/problems/course-schedule-ii
302 283 442 Move Zeroes Find All Duplicates in an Array 57.8% 67.8% Easy Medium 0.01149190266804209 0.011675555865241341 https://leetcode.com/problems/move-zeroes https://leetcode.com/problems/find-all-duplicates-in-an-array
303 171 283 Excel Sheet Column Number Move Zeroes 55.9% 57.8% Easy Easy 0.011195191092491645 0.01149190266804209 https://leetcode.com/problems/excel-sheet-column-number https://leetcode.com/problems/move-zeroes
304 160 171 Intersection of Two Linked Lists Excel Sheet Column Number 40.6% 55.9% Easy Easy 0.010994491398666248 0.011195191092491645 https://leetcode.com/problems/intersection-of-two-linked-lists https://leetcode.com/problems/excel-sheet-column-number
305 559 160 Maximum Depth of N-ary Tree Intersection of Two Linked Lists 68.7% 40.6% Easy Easy 0.010974047031976715 0.010994491398666248 https://leetcode.com/problems/maximum-depth-of-n-ary-tree https://leetcode.com/problems/intersection-of-two-linked-lists
306 463 559 Island Perimeter Maximum Depth of N-ary Tree 65.7% 68.7% Easy Easy 0.010935046086198837 0.010974047031976715 https://leetcode.com/problems/island-perimeter https://leetcode.com/problems/maximum-depth-of-n-ary-tree
307 169 463 Majority Element Island Perimeter 58.7% 65.7% Easy Easy 0.010558521365115802 0.010935046086198837 https://leetcode.com/problems/majority-element https://leetcode.com/problems/island-perimeter
308 211 169 Add and Search Word - Data structure design Majority Element 38.1% 58.7% Medium Easy 0.010438508143923443 0.010558521365115802 https://leetcode.com/problems/add-and-search-word-data-structure-design https://leetcode.com/problems/majority-element
309 647 211 Palindromic Substrings Add and Search Word - Data structure design 60.6% 38.1% Medium Medium 0.010400509768078022 0.010438508143923443 https://leetcode.com/problems/palindromic-substrings https://leetcode.com/problems/add-and-search-word-data-structure-design
310 17 647 Letter Combinations of a Phone Number Palindromic Substrings 46.8% 60.6% Medium Medium 0.00987716546167603 0.010400509768078022 https://leetcode.com/problems/letter-combinations-of-a-phone-number https://leetcode.com/problems/palindromic-substrings
311 22 17 Generate Parentheses Letter Combinations of a Phone Number 62.7% 46.8% Medium Medium 0.009785877810632554 0.00987716546167603 https://leetcode.com/problems/generate-parentheses https://leetcode.com/problems/letter-combinations-of-a-phone-number
312 43 22 Multiply Strings Generate Parentheses 33.9% 62.7% Medium Medium 0.009145011150062768 0.009785877810632554 https://leetcode.com/problems/multiply-strings https://leetcode.com/problems/generate-parentheses
313 208 43 Implement Trie (Prefix Tree) Multiply Strings 49.4% 33.9% Medium Medium 0.009105457856626612 0.009145011150062768 https://leetcode.com/problems/implement-trie-prefix-tree https://leetcode.com/problems/multiply-strings
314 23 208 Merge k Sorted Lists Implement Trie (Prefix Tree) 40.2% 49.4% Hard Medium 0.009092808657599025 0.009105457856626612 https://leetcode.com/problems/merge-k-sorted-lists https://leetcode.com/problems/implement-trie-prefix-tree
315 215 23 Kth Largest Element in an Array Merge k Sorted Lists 55.4% 40.2% Medium Hard 0.008759180089881562 0.009092808657599025 https://leetcode.com/problems/kth-largest-element-in-an-array https://leetcode.com/problems/merge-k-sorted-lists
316 12 215 Integer to Roman Kth Largest Element in an Array 55.1% 55.4% Medium Medium 0.008532474973720734 0.008759180089881562 https://leetcode.com/problems/integer-to-roman https://leetcode.com/problems/kth-largest-element-in-an-array
317 121 12 Best Time to Buy and Sell Stock Integer to Roman 50.5% 55.1% Easy Medium 0.00846879565300311 0.008532474973720734 https://leetcode.com/problems/best-time-to-buy-and-sell-stock https://leetcode.com/problems/integer-to-roman
318 38 121 Count and Say Best Time to Buy and Sell Stock 44.6% 50.5% Easy Easy 0.007829360800435779 0.00846879565300311 https://leetcode.com/problems/count-and-say https://leetcode.com/problems/best-time-to-buy-and-sell-stock
319 33 38 Search in Rotated Sorted Array Count and Say 34.5% 44.6% Medium Easy 0.007252832180390353 0.007829360800435779 https://leetcode.com/problems/search-in-rotated-sorted-array https://leetcode.com/problems/count-and-say
320 349 33 Intersection of Two Arrays Search in Rotated Sorted Array 62.5% 34.5% Easy Medium 0.00725034896230682 0.007252832180390353 https://leetcode.com/problems/intersection-of-two-arrays https://leetcode.com/problems/search-in-rotated-sorted-array
321 1342 349 Number of Steps to Reduce a Number to Zero Intersection of Two Arrays 86.3% 62.5% Easy Easy 0.006975961320774839 0.00725034896230682 https://leetcode.com/problems/number-of-steps-to-reduce-a-number-to-zero https://leetcode.com/problems/intersection-of-two-arrays
322 88 1342 Merge Sorted Array Number of Steps to Reduce a Number to Zero 39.4% 86.3% Easy Easy 0.006760335218638243 0.006975961320774839 https://leetcode.com/problems/merge-sorted-array https://leetcode.com/problems/number-of-steps-to-reduce-a-number-to-zero
323 118 88 Pascal's Triangle Merge Sorted Array 52.5% 39.4% Easy Easy 0.006749941254175012 0.006760335218638243 https://leetcode.com/problems/pascals-triangle https://leetcode.com/problems/merge-sorted-array
324 24 118 Swap Nodes in Pairs Pascal's Triangle 50.4% 52.5% Medium Easy 0.0062218275061505365 0.006749941254175012 https://leetcode.com/problems/swap-nodes-in-pairs https://leetcode.com/problems/pascals-triangle
325 64 24 Minimum Path Sum Swap Nodes in Pairs 54.5% 50.4% Medium Medium 0.006127470152097104 0.0062218275061505365 https://leetcode.com/problems/minimum-path-sum https://leetcode.com/problems/swap-nodes-in-pairs
326 144 64 Binary Tree Preorder Traversal Minimum Path Sum 55.7% 54.5% Medium Medium 0.0060975798681185 0.006127470152097104 https://leetcode.com/problems/binary-tree-preorder-traversal https://leetcode.com/problems/minimum-path-sum
327 70 144 Climbing Stairs Binary Tree Preorder Traversal 47.8% 55.7% Easy Medium 0.006020261250215664 0.0060975798681185 https://leetcode.com/problems/climbing-stairs https://leetcode.com/problems/binary-tree-preorder-traversal
328 91 70 Decode Ways Climbing Stairs 24.7% 47.8% Medium Easy 0.005968385368349129 0.006020261250215664 https://leetcode.com/problems/decode-ways https://leetcode.com/problems/climbing-stairs
329 485 91 Max Consecutive Ones Decode Ways 54.6% 24.7% Easy Medium 0.005314920829289628 0.005968385368349129 https://leetcode.com/problems/max-consecutive-ones https://leetcode.com/problems/decode-ways
330 300 485 Longest Increasing Subsequence Max Consecutive Ones 42.6% 54.6% Medium Easy 0.005264555460003242 0.005314920829289628 https://leetcode.com/problems/longest-increasing-subsequence https://leetcode.com/problems/max-consecutive-ones
331 237 300 Delete Node in a Linked List Longest Increasing Subsequence 63.8% 42.6% Easy Medium 0.005144705881237697 0.005264555460003242 https://leetcode.com/problems/delete-node-in-a-linked-list https://leetcode.com/problems/longest-increasing-subsequence
332 69 237 Sqrt(x) Delete Node in a Linked List 33.9% 63.8% Easy Easy 0.005102051883895465 0.005144705881237697 https://leetcode.com/problems/sqrtx https://leetcode.com/problems/delete-node-in-a-linked-list
333 55 69 Jump Game Sqrt(x) 34.6% 33.9% Medium Easy 0.005022612266291382 0.005102051883895465 https://leetcode.com/problems/jump-game https://leetcode.com/problems/sqrtx
334 155 55 Min Stack Jump Game 44.5% 34.6% Easy Medium 0.00474891074128171 0.005022612266291382 https://leetcode.com/problems/min-stack https://leetcode.com/problems/jump-game
335 62 155 Unique Paths Min Stack 54.1% 44.5% Medium Easy 0.004621080312067025 0.00474891074128171 https://leetcode.com/problems/unique-paths https://leetcode.com/problems/min-stack
336 387 62 First Unique Character in a String Unique Paths 53.4% 54.1% Easy Medium 0.00418541994270691 0.004621080312067025 https://leetcode.com/problems/first-unique-character-in-a-string https://leetcode.com/problems/unique-paths
337 242 387 Valid Anagram First Unique Character in a String 56.9% 53.4% Easy Easy 0.004154123743115972 0.00418541994270691 https://leetcode.com/problems/valid-anagram https://leetcode.com/problems/first-unique-character-in-a-string
338 322 242 Coin Change Valid Anagram 35.5% 56.9% Medium Easy 0.004029826126500844 0.004154123743115972 https://leetcode.com/problems/coin-change https://leetcode.com/problems/valid-anagram
339 238 322 Product of Array Except Self Coin Change 60.1% 35.5% Medium Medium 0.003930436424724545 0.004029826126500844 https://leetcode.com/problems/product-of-array-except-self https://leetcode.com/problems/coin-change
340 8 238 String to Integer (atoi) Product of Array Except Self 15.4% 60.1% Medium Medium 0.0037925521897059712 0.003930436424724545 https://leetcode.com/problems/string-to-integer-atoi https://leetcode.com/problems/product-of-array-except-self
341 153 8 Find Minimum in Rotated Sorted Array String to Integer (atoi) 45.1% 15.4% Medium Medium 0.0037558729598054378 0.0037925521897059712 https://leetcode.com/problems/find-minimum-in-rotated-sorted-array https://leetcode.com/problems/string-to-integer-atoi
342 13 153 Roman to Integer Find Minimum in Rotated Sorted Array 55.7% 45.1% Easy Medium 0.003428770717317083 0.0037558729598054378 https://leetcode.com/problems/roman-to-integer https://leetcode.com/problems/find-minimum-in-rotated-sorted-array
343 101 13 Symmetric Tree Roman to Integer 46.8% 55.7% Easy Easy 0.0034057078469827435 0.003428770717317083 https://leetcode.com/problems/symmetric-tree https://leetcode.com/problems/roman-to-integer
344 94 101 Binary Tree Inorder Traversal Symmetric Tree 63.3% 46.8% Medium Easy 0.0033551449021403577 0.0034057078469827435 https://leetcode.com/problems/binary-tree-inorder-traversal https://leetcode.com/problems/symmetric-tree
345 344 94 Reverse String Binary Tree Inorder Traversal 68.5% 63.3% Easy Medium 0.003269579502519813 0.0033551449021403577 https://leetcode.com/problems/reverse-string https://leetcode.com/problems/binary-tree-inorder-traversal
346 50 344 Pow(x;n) Reverse String 30.3% 68.5% Medium Easy 0.0031510424503886844 0.003269579502519813 https://leetcode.com/problems/powx-n https://leetcode.com/problems/reverse-string
347 104 50 Maximum Depth of Binary Tree Pow(x;n) 66.0% 30.3% Easy Medium 0.002787846801433134 0.0031510424503886844 https://leetcode.com/problems/maximum-depth-of-binary-tree https://leetcode.com/problems/powx-n
348 26 104 Remove Duplicates from Sorted Array Maximum Depth of Binary Tree 45.1% 66.0% Easy Easy 0.0019513153174351963 0.002787846801433134 https://leetcode.com/problems/remove-duplicates-from-sorted-array https://leetcode.com/problems/maximum-depth-of-binary-tree
349 190 26 Reverse Bits Remove Duplicates from Sorted Array 39.8% 45.1% Easy Easy 0.0018316700789167337 0.0019513153174351963 https://leetcode.com/problems/reverse-bits https://leetcode.com/problems/remove-duplicates-from-sorted-array
350 67 190 Add Binary Reverse Bits 45.2% 39.8% Easy Easy 0.0016620272243229827 0.0018316700789167337 https://leetcode.com/problems/add-binary https://leetcode.com/problems/reverse-bits
351 67 Add Binary 45.2% Easy 0.0016620272243229827 https://leetcode.com/problems/add-binary