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,466 +1,467 @@
937,Reorder Data in Log Files,54.3%,Easy,3.9547702430822818, https://leetcode.com/problems/reorder-data-in-log-files
200,Number of Islands,46.8%,Medium,3.6590323855166846, https://leetcode.com/problems/number-of-islands
1192,Critical Connections in a Network,48.6%,Hard,3.3632945279510875, https://leetcode.com/problems/critical-connections-in-a-network
763,Partition Labels,76.1%,Medium,3.1678101129592746, https://leetcode.com/problems/partition-labels
994,Rotting Oranges,49.2%,Medium,2.8720722553936775, https://leetcode.com/problems/rotting-oranges
692,Top K Frequent Words,51.8%,Medium,2.7214375224426046, https://leetcode.com/problems/top-k-frequent-words
819,Most Common Word,44.8%,Easy,2.4256996648770075, https://leetcode.com/problems/most-common-word
146,LRU Cache,33.2%,Medium,2.1299618073114104, https://leetcode.com/problems/lru-cache
1152,Analyze User Website Visit Pattern,43.5%,Medium,1.8342239497458135, https://leetcode.com/problems/analyze-user-website-visit-pattern
23,Merge k Sorted Lists,40.2%,Hard,1.739235050219392, https://leetcode.com/problems/merge-k-sorted-lists
588,Design In-Memory File System,45.9%,Hard,1.6763233015814871, https://leetcode.com/problems/design-in-memory-file-system
1,Two Sum,45.6%,Easy,1.5089728550598949, https://leetcode.com/problems/two-sum
472,Concatenated Words,43.7%,Hard,1.4802648705378958, https://leetcode.com/problems/concatenated-words
973,K Closest Points to Origin,63.8%,Medium,1.4345467018065698, https://leetcode.com/problems/k-closest-points-to-origin
957,Prison Cells After N Days,40.7%,Medium,1.3423289104477119, https://leetcode.com/problems/prison-cells-after-n-days
460,LFU Cache,34.2%,Hard,1.1854052630535123, https://leetcode.com/problems/lfu-cache
1167,Minimum Cost to Connect Sticks,62.8%,Medium,1.1814314904899383, https://leetcode.com/problems/minimum-cost-to-connect-sticks
42,Trapping Rain Water,48.9%,Hard,1.1037585327659545, https://leetcode.com/problems/trapping-rain-water
138,Copy List with Random Pointer,36.4%,Medium,1.102640803567812, https://leetcode.com/problems/copy-list-with-random-pointer
127,Word Ladder,29.6%,Medium,1.0425997036961998, https://leetcode.com/problems/word-ladder
295,Find Median from Data Stream,44.3%,Hard,1.0194793992505597, https://leetcode.com/problems/find-median-from-data-stream
348,Design Tic-Tac-Toe,54.3%,Medium,0.9433716904768258, https://leetcode.com/problems/design-tic-tac-toe
212,Word Search II,34.9%,Hard,0.8857014706209553, https://leetcode.com/problems/word-search-ii
253,Meeting Rooms II,45.7%,Medium,0.8632775077826929, https://leetcode.com/problems/meeting-rooms-ii
21,Merge Two Sorted Lists,53.5%,Easy,0.8095181456041088, https://leetcode.com/problems/merge-two-sorted-lists
694,Number of Distinct Islands,56.0%,Medium,0.7884573603642702, https://leetcode.com/problems/number-of-distinct-islands
269,Alien Dictionary,33.3%,Hard,0.7683984542353193, https://leetcode.com/problems/alien-dictionary
273,Integer to English Words,27.1%,Hard,0.7404748586772619, https://leetcode.com/problems/integer-to-english-words
380,Insert Delete GetRandom O(1),47.5%,Medium,0.7362463730417975, https://leetcode.com/problems/insert-delete-getrandom-o1
297,Serialize and Deserialize Binary Tree,47.5%,Hard,0.7044467358138786, https://leetcode.com/problems/serialize-and-deserialize-binary-tree
863,All Nodes Distance K in Binary Tree,55.4%,Medium,0.6739386478106545, https://leetcode.com/problems/all-nodes-distance-k-in-binary-tree
139,Word Break,40.1%,Medium,0.6613827480153901, https://leetcode.com/problems/word-break
2,Add Two Numbers,33.9%,Medium,0.5977271417553114, https://leetcode.com/problems/add-two-numbers
726,Number of Atoms,49.0%,Hard,0.591070740103309, https://leetcode.com/problems/number-of-atoms
909,Snakes and Ladders,38.4%,Medium,0.581062856900522, https://leetcode.com/problems/snakes-and-ladders
121,Best Time to Buy and Sell Stock,50.5%,Easy,0.5695968683666981, https://leetcode.com/problems/best-time-to-buy-and-sell-stock
126,Word Ladder II,22.1%,Hard,0.5693600008081126, https://leetcode.com/problems/word-ladder-ii
353,Design Snake Game,34.2%,Medium,0.5678280191954505, https://leetcode.com/problems/design-snake-game
1268,Search Suggestions System,63.2%,Medium,0.5670827306499265, https://leetcode.com/problems/search-suggestions-system
240,Search a 2D Matrix II,43.2%,Medium,0.5659839416965464, https://leetcode.com/problems/search-a-2d-matrix-ii
733,Flood Fill,55.3%,Easy,0.5434516866606699, https://leetcode.com/problems/flood-fill
49,Group Anagrams,56.9%,Medium,0.5274564521278222, https://leetcode.com/problems/group-anagrams
1429,First Unique Number,47.0%,Medium,0.5239621016713606, https://leetcode.com/problems/first-unique-number
56,Merge Intervals,39.3%,Medium,0.5198989648602567, https://leetcode.com/problems/merge-intervals
1091,Shortest Path in Binary Matrix,38.2%,Medium,0.5014571171893788, https://leetcode.com/problems/shortest-path-in-binary-matrix
15,3Sum,26.8%,Medium,0.4923847546019265, https://leetcode.com/problems/3sum
227,Basic Calculator II,36.9%,Medium,0.47707464048628756, https://leetcode.com/problems/basic-calculator-ii
815,Bus Routes,42.5%,Hard,0.46566970439379607, https://leetcode.com/problems/bus-routes
465,Optimal Account Balancing,46.9%,Hard,0.44746022914476763, https://leetcode.com/problems/optimal-account-balancing
564,Find the Closest Palindrome,19.7%,Hard,0.43712242797885603, https://leetcode.com/problems/find-the-closest-palindrome
5,Longest Palindromic Substring,29.5%,Medium,0.43711515550369573, https://leetcode.com/problems/longest-palindromic-substring
642,Design Search Autocomplete System,44.7%,Hard,0.43349242036282026, https://leetcode.com/problems/design-search-autocomplete-system
17,Letter Combinations of a Phone Number,46.8%,Medium,0.42775086183255473, https://leetcode.com/problems/letter-combinations-of-a-phone-number
403,Frog Jump,39.7%,Hard,0.42647291912626817, https://leetcode.com/problems/frog-jump
394,Decode String,50.0%,Medium,0.42186669570914975, https://leetcode.com/problems/decode-string
210,Course Schedule II,40.7%,Medium,0.4187970574421199, https://leetcode.com/problems/course-schedule-ii
239,Sliding Window Maximum,43.0%,Hard,0.4104750065235096, https://leetcode.com/problems/sliding-window-maximum
1335,Minimum Difficulty of a Job Schedule,57.6%,Hard,0.3963047387095001, https://leetcode.com/problems/minimum-difficulty-of-a-job-schedule
317,Shortest Distance from All Buildings,41.4%,Hard,0.3879036811782171, https://leetcode.com/problems/shortest-distance-from-all-buildings
208,Implement Trie (Prefix Tree),49.4%,Medium,0.3703247851035097, https://leetcode.com/problems/implement-trie-prefix-tree
322,Coin Change,35.5%,Medium,0.3682371587377334, https://leetcode.com/problems/coin-change
572,Subtree of Another Tree,44.1%,Easy,0.36744178604609046, https://leetcode.com/problems/subtree-of-another-tree
211,Add and Search Word - Data structure design,38.1%,Medium,0.3669576767104271, https://leetcode.com/problems/add-and-search-word-data-structure-design
437,Path Sum III,47.2%,Medium,0.36415150066384533, https://leetcode.com/problems/path-sum-iii
238,Product of Array Except Self,60.1%,Medium,0.3605955735094466, https://leetcode.com/problems/product-of-array-except-self
236,Lowest Common Ancestor of a Binary Tree,45.7%,Medium,0.3551971839535377, https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-tree
140,Word Break II,32.6%,Hard,0.35315833146615444, https://leetcode.com/problems/word-break-ii
97,Interleaving String,31.5%,Hard,0.3498263128325362, https://leetcode.com/problems/interleaving-string
173,Binary Search Tree Iterator,56.6%,Medium,0.3490586305394522, https://leetcode.com/problems/binary-search-tree-iterator
188,Best Time to Buy and Sell Stock IV,28.0%,Hard,0.3480617703158782, https://leetcode.com/problems/best-time-to-buy-and-sell-stock-iv
489,Robot Room Cleaner,69.7%,Hard,0.34393738002030483, https://leetcode.com/problems/robot-room-cleaner
93,Restore IP Addresses,35.6%,Medium,0.33946177546957895, https://leetcode.com/problems/restore-ip-addresses
76,Minimum Window Substring,34.6%,Hard,0.33651688545811814, https://leetcode.com/problems/minimum-window-substring
895,Maximum Frequency Stack,60.6%,Hard,0.33520721431462625, https://leetcode.com/problems/maximum-frequency-stack
165,Compare Version Numbers,27.4%,Medium,0.33499311472223486, https://leetcode.com/problems/compare-version-numbers
53,Maximum Subarray,46.5%,Easy,0.33316614062015326, https://leetcode.com/problems/maximum-subarray
490,The Maze,51.4%,Medium,0.33239571796243805, https://leetcode.com/problems/the-maze
20,Valid Parentheses,39.0%,Easy,0.32875969157833257, https://leetcode.com/problems/valid-parentheses
721,Accounts Merge,48.8%,Medium,0.3264810496971675, https://leetcode.com/problems/accounts-merge
155,Min Stack,44.5%,Easy,0.32611635610879774, https://leetcode.com/problems/min-stack
901,Online Stock Span,60.2%,Medium,0.3225465062722876, https://leetcode.com/problems/online-stock-span
1219,Path with Maximum Gold,65.1%,Medium,0.3204549706485941, https://leetcode.com/problems/path-with-maximum-gold
277,Find the Celebrity,41.8%,Medium,0.3142660340639637, https://leetcode.com/problems/find-the-celebrity
55,Jump Game,34.6%,Medium,0.31027241049283566, https://leetcode.com/problems/jump-game
12,Integer to Roman,55.1%,Medium,0.30898314806430144, https://leetcode.com/problems/integer-to-roman
185,Department Top Three Salaries,34.5%,Hard,0.3067091029533853, https://leetcode.com/problems/department-top-three-salaries
987,Vertical Order Traversal of a Binary Tree,36.6%,Medium,0.30230623809780655, https://leetcode.com/problems/vertical-order-traversal-of-a-binary-tree
4,Median of Two Sorted Arrays,29.6%,Hard,0.30208546395829133, https://leetcode.com/problems/median-of-two-sorted-arrays
224,Basic Calculator,36.8%,Hard,0.291910408561302, https://leetcode.com/problems/basic-calculator
74,Search a 2D Matrix,36.5%,Medium,0.29107845681405486, https://leetcode.com/problems/search-a-2d-matrix
640,Solve the Equation,42.0%,Medium,0.2840257612486704, https://leetcode.com/problems/solve-the-equation
54,Spiral Matrix,34.1%,Medium,0.28079436421311554, https://leetcode.com/problems/spiral-matrix
362,Design Hit Counter,63.7%,Medium,0.2737682417732349, https://leetcode.com/problems/design-hit-counter
399,Evaluate Division,51.6%,Medium,0.27239954676797734, https://leetcode.com/problems/evaluate-division
480,Sliding Window Median,37.2%,Hard,0.2690708449339646, https://leetcode.com/problems/sliding-window-median
1057,Campus Bikes,57.7%,Medium,0.2582475718767295, https://leetcode.com/problems/campus-bikes
91,Decode Ways,24.7%,Medium,0.2572166935751766, https://leetcode.com/problems/decode-ways
466,Count The Repetitions,28.2%,Hard,0.2561688067457042, https://leetcode.com/problems/count-the-repetitions
45,Jump Game II,30.6%,Hard,0.25477233836298296, https://leetcode.com/problems/jump-game-ii
323,Number of Connected Components in an Undirected Graph,56.0%,Medium,0.25237712763702813, https://leetcode.com/problems/number-of-connected-components-in-an-undirected-graph
99,Recover Binary Search Tree,39.7%,Hard,0.25183380763426816, https://leetcode.com/problems/recover-binary-search-tree
3,Longest Substring Without Repeating Characters,30.4%,Medium,0.24977369595529056, https://leetcode.com/problems/longest-substring-without-repeating-characters
332,Reconstruct Itinerary,36.7%,Medium,0.24722791193435328, https://leetcode.com/problems/reconstruct-itinerary
1197,Minimum Knight Moves,36.1%,Medium,0.24003104821376078, https://leetcode.com/problems/minimum-knight-moves
775,Global and Local Inversions,42.1%,Medium,0.23922968906583414, https://leetcode.com/problems/global-and-local-inversions
496,Next Greater Element I,63.8%,Easy,0.23831034385769945, https://leetcode.com/problems/next-greater-element-i
33,Search in Rotated Sorted Array,34.5%,Medium,0.2327382673745402, https://leetcode.com/problems/search-in-rotated-sorted-array
772,Basic Calculator III,41.3%,Hard,0.2322522675124501, https://leetcode.com/problems/basic-calculator-iii
543,Diameter of Binary Tree,48.4%,Easy,0.2316456750750147, https://leetcode.com/problems/diameter-of-binary-tree
445,Add Two Numbers II,54.5%,Medium,0.22413561488763817, https://leetcode.com/problems/add-two-numbers-ii
333,Largest BST Subtree,35.8%,Medium,0.2228314901476892, https://leetcode.com/problems/largest-bst-subtree
11,Container With Most Water,50.8%,Medium,0.22223677269815797, https://leetcode.com/problems/container-with-most-water
75,Sort Colors,47.3%,Medium,0.21933249465057122, https://leetcode.com/problems/sort-colors
688,Knight Probability in Chessboard,48.9%,Medium,0.2176811889223697, https://leetcode.com/problems/knight-probability-in-chessboard
105,Construct Binary Tree from Preorder and Inorder Traversal,48.8%,Medium,0.2138725437818616, https://leetcode.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal
356,Line Reflection,31.8%,Medium,0.2124355370417375, https://leetcode.com/problems/line-reflection
143,Reorder List,37.1%,Medium,0.21178045827645292, https://leetcode.com/problems/reorder-list
1155,Number of Dice Rolls With Target Sum,49.0%,Medium,0.21008151389087, https://leetcode.com/problems/number-of-dice-rolls-with-target-sum
503,Next Greater Element II,56.5%,Medium,0.20963047971710957, https://leetcode.com/problems/next-greater-element-ii
312,Burst Balloons,51.8%,Hard,0.20921375502735295, https://leetcode.com/problems/burst-balloons
103,Binary Tree Zigzag Level Order Traversal,48.3%,Medium,0.2038677804597886, https://leetcode.com/problems/binary-tree-zigzag-level-order-traversal
735,Asteroid Collision,41.0%,Medium,0.20317069676423571, https://leetcode.com/problems/asteroid-collision
314,Binary Tree Vertical Order Traversal,45.3%,Medium,0.20100106920044414, https://leetcode.com/problems/binary-tree-vertical-order-traversal
64,Minimum Path Sum,54.5%,Medium,0.19988813533277905, https://leetcode.com/problems/minimum-path-sum
352,Data Stream as Disjoint Intervals,47.3%,Hard,0.1980128865886302, https://leetcode.com/problems/data-stream-as-disjoint-intervals
1315,Sum of Nodes with Even-Valued Grandparent,83.5%,Medium,0.19757677034220278, https://leetcode.com/problems/sum-of-nodes-with-even-valued-grandparent
706,Design HashMap,61.3%,Easy,0.1960785423771685, https://leetcode.com/problems/design-hashmap
1360,Number of Days Between Two Dates,48.8%,Easy,0.19578302313828744, https://leetcode.com/problems/number-of-days-between-two-dates
85,Maximal Rectangle,37.7%,Hard,0.1945507253203666, https://leetcode.com/problems/maximal-rectangle
756,Pyramid Transition Matrix,54.6%,Medium,0.19105523676270922, https://leetcode.com/problems/pyramid-transition-matrix
25,Reverse Nodes in k-Group,42.1%,Hard,0.18884373606243307, https://leetcode.com/problems/reverse-nodes-in-k-group
199,Binary Tree Right Side View,54.1%,Medium,0.18661020557359304, https://leetcode.com/problems/binary-tree-right-side-view
449,Serialize and Deserialize BST,52.0%,Medium,0.1860058460684763, https://leetcode.com/problems/serialize-and-deserialize-bst
79,Word Search,35.6%,Medium,0.18365355832289545, https://leetcode.com/problems/word-search
759,Employee Free Time,66.2%,Hard,0.1816986978513639, https://leetcode.com/problems/employee-free-time
1244,Design A Leaderboard,60.7%,Medium,0.17763094743610072, https://leetcode.com/problems/design-a-leaderboard
13,Roman to Integer,55.7%,Easy,0.17663825552387563, https://leetcode.com/problems/roman-to-integer
737,Sentence Similarity II,45.8%,Medium,0.17520408902509066, https://leetcode.com/problems/sentence-similarity-ii
1011,Capacity To Ship Packages Within D Days,58.1%,Medium,0.1747811031478766, https://leetcode.com/problems/capacity-to-ship-packages-within-d-days
205,Isomorphic Strings,39.8%,Easy,0.1703978238463443, https://leetcode.com/problems/isomorphic-strings
1099,Two Sum Less Than K,60.6%,Easy,0.16935823314801637, https://leetcode.com/problems/two-sum-less-than-k
1430,Check If a String Is a Valid Sequence from Root to Leaves Path in a Binary Tree,44.8%,Medium,0.16917873135476025, https://leetcode.com/problems/check-if-a-string-is-a-valid-sequence-from-root-to-leaves-path-in-a-binary-tree
36,Valid Sudoku,48.7%,Medium,0.16730621375459595, https://leetcode.com/problems/valid-sudoku
715,Range Module,38.5%,Hard,0.1636294237818021, https://leetcode.com/problems/range-module
1373,Maximum Sum BST in Binary Tree,40.2%,Hard,0.1599143845440084, https://leetcode.com/problems/maximum-sum-bst-in-binary-tree
535,Encode and Decode TinyURL,79.9%,Medium,0.15827628732919474, https://leetcode.com/problems/encode-and-decode-tinyurl
545,Boundary of Binary Tree,38.9%,Medium,0.15687671513649673, https://leetcode.com/problems/boundary-of-binary-tree
335,Self Crossing,28.0%,Hard,0.15535044001916237, https://leetcode.com/problems/self-crossing
101,Symmetric Tree,46.8%,Easy,0.15457702816029933, https://leetcode.com/problems/symmetric-tree
767,Reorganize String,48.7%,Medium,0.15185314866152042, https://leetcode.com/problems/reorganize-string
410,Split Array Largest Sum,44.5%,Hard,0.1513456288996497, https://leetcode.com/problems/split-array-largest-sum
57,Insert Interval,33.5%,Hard,0.14994432629434787, https://leetcode.com/problems/insert-interval
739,Daily Temperatures,63.3%,Medium,0.14956674442158685, https://leetcode.com/problems/daily-temperatures
1038,Binary Search Tree to Greater Sum Tree,80.8%,Medium,0.14935273742511918, https://leetcode.com/problems/binary-search-tree-to-greater-sum-tree
221,Maximal Square,37.7%,Medium,0.1475288463816385, https://leetcode.com/problems/maximal-square
682,Baseball Game,63.7%,Easy,0.14664834440479207, https://leetcode.com/problems/baseball-game
22,Generate Parentheses,62.7%,Medium,0.14612656455721032, https://leetcode.com/problems/generate-parentheses
1102,Path With Maximum Minimum Value,49.2%,Medium,0.1444815825552332, https://leetcode.com/problems/path-with-maximum-minimum-value
426,Convert Binary Search Tree to Sorted Doubly Linked List,59.1%,Medium,0.14252878462127264, https://leetcode.com/problems/convert-binary-search-tree-to-sorted-doubly-linked-list
1083,Sales Analysis II,50.5%,Easy,0.1417462887434142, https://leetcode.com/problems/sales-analysis-ii
690,Employee Importance,57.3%,Easy,0.14131823975737387, https://leetcode.com/problems/employee-importance
207,Course Schedule,43.1%,Medium,0.1402270159030123, https://leetcode.com/problems/course-schedule
261,Graph Valid Tree,42.2%,Medium,0.13984351177036686, https://leetcode.com/problems/graph-valid-tree
354,Russian Doll Envelopes,35.6%,Hard,0.13850969523609932, https://leetcode.com/problems/russian-doll-envelopes
286,Walls and Gates,54.5%,Medium,0.13712574822724946, https://leetcode.com/problems/walls-and-gates
10,Regular Expression Matching,26.8%,Hard,0.13632230148088326, https://leetcode.com/problems/regular-expression-matching
1405,Longest Happy String,49.0%,Medium,0.1343297958605471, https://leetcode.com/problems/longest-happy-string
378,Kth Smallest Element in a Sorted Matrix,54.3%,Medium,0.13397014948713715, https://leetcode.com/problems/kth-smallest-element-in-a-sorted-matrix
215,Kth Largest Element in an Array,55.4%,Medium,0.13169686633492952, https://leetcode.com/problems/kth-largest-element-in-an-array
981,Time Based Key-Value Store,53.1%,Medium,0.1316303182973487, https://leetcode.com/problems/time-based-key-value-store
148,Sort List,42.3%,Medium,0.1292970884857343, https://leetcode.com/problems/sort-list
1117,Building H2O,52.6%,Medium,0.12796988096337653, https://leetcode.com/problems/building-h2o
347,Top K Frequent Elements,61.2%,Medium,0.12591062025304192, https://leetcode.com/problems/top-k-frequent-elements
84,Largest Rectangle in Histogram,35.2%,Hard,0.12570469475928556, https://leetcode.com/problems/largest-rectangle-in-histogram
1139,Largest 1-Bordered Square,47.5%,Medium,0.12477221253464107, https://leetcode.com/problems/largest-1-bordered-square
1130,Minimum Cost Tree From Leaf Values,66.1%,Medium,0.12332774831203028, https://leetcode.com/problems/minimum-cost-tree-from-leaf-values
262,Trips and Users,32.7%,Hard,0.12266506325369182, https://leetcode.com/problems/trips-and-users
177,Nth Highest Salary,31.4%,Medium,0.12247703235966204, https://leetcode.com/problems/nth-highest-salary
1214,Two Sum BSTs,67.6%,Medium,0.12247703235966204, https://leetcode.com/problems/two-sum-bsts
19,Remove Nth Node From End of List,35.2%,Medium,0.12237713290283221, https://leetcode.com/problems/remove-nth-node-from-end-of-list
844,Backspace String Compare,46.4%,Easy,0.12201137176590456, https://leetcode.com/problems/backspace-string-compare
46,Permutations,63.5%,Medium,0.12027982804941116, https://leetcode.com/problems/permutations
1229,Meeting Scheduler,52.7%,Medium,0.11671261732648351, https://leetcode.com/problems/meeting-scheduler
1275,Find Winner on a Tic Tac Toe Game,52.8%,Easy,0.11536465479210183, https://leetcode.com/problems/find-winner-on-a-tic-tac-toe-game
1375,Bulb Switcher III,62.6%,Medium,0.11506932978478719, https://leetcode.com/problems/bulb-switcher-iii
540,Single Element in a Sorted Array,57.9%,Medium,0.11443656521536286, https://leetcode.com/problems/single-element-in-a-sorted-array
229,Majority Element II,35.6%,Medium,0.11355198202632807, https://leetcode.com/problems/majority-element-ii
120,Triangle,44.2%,Medium,0.11325730177515365, https://leetcode.com/problems/triangle
296,Best Meeting Point,57.5%,Hard,0.11216225709564905, https://leetcode.com/problems/best-meeting-point
1004,Max Consecutive Ones III,59.1%,Medium,0.11063437101968247, https://leetcode.com/problems/max-consecutive-ones-iii
39,Combination Sum,56.1%,Medium,0.10982174474537089, https://leetcode.com/problems/combination-sum
695,Max Area of Island,62.7%,Medium,0.10876995385464024, https://leetcode.com/problems/max-area-of-island
96,Unique Binary Search Trees,52.9%,Medium,0.10772540512336069, https://leetcode.com/problems/unique-binary-search-trees
152,Maximum Product Subarray,31.7%,Medium,0.10753054905987956, https://leetcode.com/problems/maximum-product-subarray
29,Divide Two Integers,16.4%,Medium,0.10321754835984784, https://leetcode.com/problems/divide-two-integers
1143,Longest Common Subsequence,58.4%,Medium,0.10320598865355674, https://leetcode.com/problems/longest-common-subsequence
1013,Partition Array Into Three Parts With Equal Sum,51.8%,Easy,0.10294796925244239, https://leetcode.com/problems/partition-array-into-three-parts-with-equal-sum
453,Minimum Moves to Equal Array Elements,50.2%,Easy,0.10178269430994231, https://leetcode.com/problems/minimum-moves-to-equal-array-elements
442,Find All Duplicates in an Array,67.8%,Medium,0.10047484799446413, https://leetcode.com/problems/find-all-duplicates-in-an-array
417,Pacific Atlantic Water Flow,41.1%,Medium,0.10008345855698253, https://leetcode.com/problems/pacific-atlantic-water-flow
628,Maximum Product of Three Numbers,47.1%,Easy,0.09909090264423091, https://leetcode.com/problems/maximum-product-of-three-numbers
1135,Connecting Cities With Minimum Cost,57.5%,Medium,0.09909090264423091, https://leetcode.com/problems/connecting-cities-with-minimum-cost
51,N-Queens,46.6%,Hard,0.09831093224356313, https://leetcode.com/problems/n-queens
218,The Skyline Problem,34.6%,Hard,0.09823843958341322, https://leetcode.com/problems/the-skyline-problem
41,First Missing Positive,32.0%,Hard,0.0979525363954321, https://leetcode.com/problems/first-missing-positive
529,Minesweeper,59.1%,Medium,0.09695424100489167, https://leetcode.com/problems/minesweeper
1046,Last Stone Weight,62.2%,Easy,0.09686234390618549, https://leetcode.com/problems/last-stone-weight
230,Kth Smallest Element in a BST,60.2%,Medium,0.09685471541555685, https://leetcode.com/problems/kth-smallest-element-in-a-bst
980,Unique Paths III,73.3%,Hard,0.09531017980432487, https://leetcode.com/problems/unique-paths-iii
86,Partition List,41.5%,Medium,0.09480379573736777, https://leetcode.com/problems/partition-list
716,Max Stack,42.6%,Easy,0.09362342046209744, https://leetcode.com/problems/max-stack
611,Valid Triangle Number,48.4%,Medium,0.09333193979221914, https://leetcode.com/problems/valid-triangle-number
827,Making A Large Island,45.7%,Hard,0.09287412500644375, https://leetcode.com/problems/making-a-large-island
384,Shuffle an Array,52.8%,Medium,0.09170644621893462, https://leetcode.com/problems/shuffle-an-array
8,String to Integer (atoi),15.4%,Medium,0.09074872434968777, https://leetcode.com/problems/string-to-integer-atoi
153,Find Minimum in Rotated Sorted Array,45.1%,Medium,0.0899077741767165, https://leetcode.com/problems/find-minimum-in-rotated-sorted-array
243,Shortest Word Distance,61.0%,Easy,0.08952296190665864, https://leetcode.com/problems/shortest-word-distance
995,Minimum Number of K Consecutive Bit Flips,46.8%,Hard,0.08894748601649616, https://leetcode.com/problems/minimum-number-of-k-consecutive-bit-flips
301,Remove Invalid Parentheses,43.3%,Hard,0.08716315660591871, https://leetcode.com/problems/remove-invalid-parentheses
109,Convert Sorted List to Binary Search Tree,47.7%,Medium,0.08701137698962977, https://leetcode.com/problems/convert-sorted-list-to-binary-search-tree
176,Second Highest Salary,31.6%,Easy,0.08701137698962977, https://leetcode.com/problems/second-highest-salary
622,Design Circular Queue,43.7%,Medium,0.08696405427235052, https://leetcode.com/problems/design-circular-queue
72,Edit Distance,44.8%,Hard,0.08673866592531046, https://leetcode.com/problems/edit-distance
315,Count of Smaller Numbers After Self,41.5%,Hard,0.08649925937213519, https://leetcode.com/problems/count-of-smaller-numbers-after-self
18,4Sum,33.7%,Medium,0.08527891770220855, https://leetcode.com/problems/4sum
113,Path Sum II,46.7%,Medium,0.08479653666007693, https://leetcode.com/problems/path-sum-ii
916,Word Subsets,47.8%,Medium,0.08479653666007693, https://leetcode.com/problems/word-subsets
1245,Tree Diameter,60.1%,Medium,0.08338160893905106, https://leetcode.com/problems/tree-diameter
473,Matchsticks to Square,37.7%,Medium,0.08201315166083516, https://leetcode.com/problems/matchsticks-to-square
134,Gas Station,38.5%,Medium,0.08169138321871633, https://leetcode.com/problems/gas-station
636,Exclusive Time of Functions,52.0%,Medium,0.08155306616046964, https://leetcode.com/problems/exclusive-time-of-functions
122,Best Time to Buy and Sell Stock II,57.0%,Easy,0.08066286273217169, https://leetcode.com/problems/best-time-to-buy-and-sell-stock-ii
161,One Edit Distance,32.3%,Medium,0.07982960165248484, https://leetcode.com/problems/one-edit-distance
451,Sort Characters By Frequency,63.0%,Medium,0.07950784615171191, https://leetcode.com/problems/sort-characters-by-frequency
128,Longest Consecutive Sequence,45.1%,Hard,0.0786603197723907, https://leetcode.com/problems/longest-consecutive-sequence
341,Flatten Nested List Iterator,52.9%,Medium,0.07763353611776078, https://leetcode.com/problems/flatten-nested-list-iterator
518,Coin Change 2,50.2%,Medium,0.07583984694698977, https://leetcode.com/problems/coin-change-2
547,Friend Circles,58.6%,Medium,0.07408600065076033, https://leetcode.com/problems/friend-circles
860,Lemonade Change,51.6%,Easy,0.07208884919207953, https://leetcode.com/problems/lemonade-change
1008,Construct Binary Search Tree from Preorder Traversal,78.4%,Medium,0.07181191271198491, https://leetcode.com/problems/construct-binary-search-tree-from-preorder-traversal
523,Continuous Subarray Sum,24.6%,Medium,0.07166389251403688, https://leetcode.com/problems/continuous-subarray-sum
102,Binary Tree Level Order Traversal,54.6%,Medium,0.0712263700241388, https://leetcode.com/problems/binary-tree-level-order-traversal
1074,Number of Submatrices That Sum to Target,60.4%,Hard,0.07120444629179161, https://leetcode.com/problems/number-of-submatrices-that-sum-to-target
37,Sudoku Solver,43.6%,Hard,0.07095173597228444, https://leetcode.com/problems/sudoku-solver
438,Find All Anagrams in a String,43.3%,Medium,0.07086789751218016, https://leetcode.com/problems/find-all-anagrams-in-a-string
632,Smallest Range Covering Elements from K Lists,52.4%,Hard,0.07082605256861242, https://leetcode.com/problems/smallest-range-covering-elements-from-k-lists
187,Repeated DNA Sequences,38.9%,Medium,0.06947237281476738, https://leetcode.com/problems/repeated-dna-sequences
117,Populating Next Right Pointers in Each Node II,39.1%,Medium,0.0691455898745421, https://leetcode.com/problems/populating-next-right-pointers-in-each-node-ii
432,All O`one Data Structure,32.4%,Hard,0.06887402901251127, https://leetcode.com/problems/all-oone-data-structure
123,Best Time to Buy and Sell Stock III,37.5%,Hard,0.06838868749455218, https://leetcode.com/problems/best-time-to-buy-and-sell-stock-iii
316,Remove Duplicate Letters,35.8%,Hard,0.067239661116769, https://leetcode.com/problems/remove-duplicate-letters
368,Largest Divisible Subset,38.0%,Medium,0.0670392438027145, https://leetcode.com/problems/largest-divisible-subset
1032,Stream of Characters,48.3%,Hard,0.06646964500774162, https://leetcode.com/problems/stream-of-characters
584,Find Customer Referee,72.3%,Easy,0.06592172080482424, https://leetcode.com/problems/find-customer-referee
16,3Sum Closest,46.0%,Medium,0.065777130514714, https://leetcode.com/problems/3sum-closest
124,Binary Tree Maximum Path Sum,34.3%,Hard,0.06574255262249057, https://leetcode.com/problems/binary-tree-maximum-path-sum
997,Find the Town Judge,50.1%,Easy,0.06548984513511495, https://leetcode.com/problems/find-the-town-judge
287,Find the Duplicate Number,55.5%,Medium,0.06539148783312071, https://leetcode.com/problems/find-the-duplicate-number
387,First Unique Character in a String,53.4%,Easy,0.06495130161301915, https://leetcode.com/problems/first-unique-character-in-a-string
116,Populating Next Right Pointers in Each Node,45.2%,Medium,0.06417026482702023, https://leetcode.com/problems/populating-next-right-pointers-in-each-node
1270,All People Report to the Given Manager,87.1%,Medium,0.06412452816953867, https://leetcode.com/problems/all-people-report-to-the-given-manager
1005,Maximize Sum Of Array After K Negations,51.3%,Easy,0.06371581438610768, https://leetcode.com/problems/maximize-sum-of-array-after-k-negations
71,Simplify Path,32.6%,Medium,0.06351340572232586, https://leetcode.com/problems/simplify-path
300,Longest Increasing Subsequence,42.6%,Medium,0.06265630749555627, https://leetcode.com/problems/longest-increasing-subsequence
1044,Longest Duplicate Substring,31.9%,Hard,0.062325463197828765, https://leetcode.com/problems/longest-duplicate-substring
73,Set Matrix Zeroes,43.1%,Medium,0.061431799532484045, https://leetcode.com/problems/set-matrix-zeroes
48,Rotate Image,56.7%,Medium,0.06069974483040549, https://leetcode.com/problems/rotate-image
701,Insert into a Binary Search Tree,77.7%,Medium,0.06069363413516112, https://leetcode.com/problems/insert-into-a-binary-search-tree
88,Merge Sorted Array,39.4%,Easy,0.059258174101133876, https://leetcode.com/problems/merge-sorted-array
373,Find K Pairs with Smallest Sums,36.7%,Medium,0.058155920157074034, https://leetcode.com/problems/find-k-pairs-with-smallest-sums
98,Validate Binary Search Tree,27.8%,Medium,0.057985181512132535, https://leetcode.com/problems/validate-binary-search-tree
206,Reverse Linked List,62.5%,Easy,0.05691436258797462, https://leetcode.com/problems/reverse-linked-list
873,Length of Longest Fibonacci Subsequence,48.0%,Medium,0.05691436258797462, https://leetcode.com/problems/length-of-longest-fibonacci-subsequence
283,Move Zeroes,57.8%,Easy,0.05686540295029014, https://leetcode.com/problems/move-zeroes
586,Customer Placing the Largest Number of Orders,73.0%,Easy,0.0568334747631659, https://leetcode.com/problems/customer-placing-the-largest-number-of-orders
279,Perfect Squares,47.4%,Medium,0.05625780265009439, https://leetcode.com/problems/perfect-squares
32,Longest Valid Parentheses,28.4%,Hard,0.0556316959861487, https://leetcode.com/problems/longest-valid-parentheses
849,Maximize Distance to Closest Person,42.6%,Easy,0.055535552308963565, https://leetcode.com/problems/maximize-distance-to-closest-person
366,Find Leaves of Binary Tree,70.6%,Medium,0.05526267867504946, https://leetcode.com/problems/find-leaves-of-binary-tree
839,Similar String Groups,38.6%,Hard,0.05480823649499502, https://leetcode.com/problems/similar-string-groups
538,Convert BST to Greater Tree,55.4%,Easy,0.05475820397384584, https://leetcode.com/problems/convert-bst-to-greater-tree
983,Minimum Cost For Tickets,60.5%,Medium,0.05469163590186561, https://leetcode.com/problems/minimum-cost-for-tickets
443,String Compression,41.3%,Easy,0.05450940566837169, https://leetcode.com/problems/string-compression
131,Palindrome Partitioning,47.5%,Medium,0.05449083692828802, https://leetcode.com/problems/palindrome-partitioning
703,Kth Largest Element in a Stream,49.7%,Easy,0.054472280837981495, https://leetcode.com/problems/kth-largest-element-in-a-stream
179,Largest Number,28.8%,Medium,0.0543427413161019, https://leetcode.com/problems/largest-number
310,Minimum Height Trees,32.3%,Medium,0.05423015406086025, https://leetcode.com/problems/minimum-height-trees
234,Palindrome Linked List,39.3%,Easy,0.05416885609643319, https://leetcode.com/problems/palindrome-linked-list
329,Longest Increasing Path in a Matrix,43.4%,Hard,0.052557250738676044, https://leetcode.com/problems/longest-increasing-path-in-a-matrix
581,Shortest Unsorted Continuous Subarray,31.1%,Easy,0.052333720049023605, https://leetcode.com/problems/shortest-unsorted-continuous-subarray
209,Minimum Size Subarray Sum,38.2%,Medium,0.05146227039335983, https://leetcode.com/problems/minimum-size-subarray-sum
560,Subarray Sum Equals K,43.9%,Medium,0.0512021569656579, https://leetcode.com/problems/subarray-sum-equals-k
65,Valid Number,15.3%,Hard,0.05071509257901641, https://leetcode.com/problems/valid-number
1339,Maximum Product of Splitted Binary Tree,37.2%,Medium,0.05064373281875492, https://leetcode.com/problems/maximum-product-of-splitted-binary-tree
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
743,Network Delay Time,45.0%,Medium,0.05002606023684499, https://leetcode.com/problems/network-delay-time
129,Sum Root to Leaf Numbers,49.1%,Medium,0.050010420574661374, https://leetcode.com/problems/sum-root-to-leaf-numbers
242,Valid Anagram,56.9%,Easy,0.04973624974928908, https://leetcode.com/problems/valid-anagram
285,Inorder Successor in BST,40.4%,Medium,0.049569618859417214, https://leetcode.com/problems/inorder-successor-in-bst
181,Employees Earning More Than Their Managers,56.9%,Easy,0.04954573655142984, https://leetcode.com/problems/employees-earning-more-than-their-managers
137,Single Number II,52.4%,Medium,0.04919528672454412, https://leetcode.com/problems/single-number-ii
969,Pancake Sorting,67.5%,Medium,0.04908961019652358, https://leetcode.com/problems/pancake-sorting
1267,Count Servers that Communicate,57.9%,Medium,0.04902942724031861, https://leetcode.com/problems/count-servers-that-communicate
1153,String Transforms Into Another String,35.8%,Hard,0.04861224405509378, https://leetcode.com/problems/string-transforms-into-another-string
407,Trapping Rain Water II,42.4%,Hard,0.04797082778602956, https://leetcode.com/problems/trapping-rain-water-ii
986,Interval List Intersections,67.3%,Medium,0.04703983015489417, https://leetcode.com/problems/interval-list-intersections
336,Palindrome Pairs,33.7%,Hard,0.04690191367275952, https://leetcode.com/problems/palindrome-pairs
698,Partition to K Equal Sum Subsets,45.0%,Medium,0.04685917114094188, https://leetcode.com/problems/partition-to-k-equal-sum-subsets
556,Next Greater Element III,31.7%,Medium,0.04679216150675895, https://leetcode.com/problems/next-greater-element-iii
359,Logger Rate Limiter,70.8%,Easy,0.0467617659080393, https://leetcode.com/problems/logger-rate-limiter
978,Longest Turbulent Subarray,46.6%,Medium,0.046737477851689815, https://leetcode.com/problems/longest-turbulent-subarray
415,Add Strings,47.5%,Easy,0.04650270606183304, https://leetcode.com/problems/add-strings
264,Ugly Number II,42.0%,Medium,0.04563095565767374, https://leetcode.com/problems/ugly-number-ii
843,Guess the Word,46.1%,Hard,0.045462374076757336, https://leetcode.com/problems/guess-the-word
1162,As Far from Land as Possible,43.5%,Medium,0.04510347333459475, https://leetcode.com/problems/as-far-from-land-as-possible
1382,Balance a Binary Search Tree,74.8%,Medium,0.04480032475536626, https://leetcode.com/problems/balance-a-binary-search-tree
349,Intersection of Two Arrays,62.5%,Easy,0.04447549064708117, https://leetcode.com/problems/intersection-of-two-arrays
268,Missing Number,51.7%,Easy,0.043089480538103624, https://leetcode.com/problems/missing-number
515,Find Largest Value in Each Tree Row,61.1%,Medium,0.042459207771791546, https://leetcode.com/problems/find-largest-value-in-each-tree-row
184,Department Highest Salary,36.7%,Medium,0.041672696400568025, https://leetcode.com/problems/department-highest-salary
169,Majority Element,58.7%,Easy,0.041581229756944955, https://leetcode.com/problems/majority-element
430,Flatten a Multilevel Doubly Linked List,55.1%,Medium,0.04154283751370906, https://leetcode.com/problems/flatten-a-multilevel-doubly-linked-list
92,Reverse Linked List II,38.8%,Medium,0.041073535208287514, https://leetcode.com/problems/reverse-linked-list-ii
647,Palindromic Substrings,60.6%,Medium,0.040968350772541844, https://leetcode.com/problems/palindromic-substrings
62,Unique Paths,54.1%,Medium,0.04084052144450833, https://leetcode.com/problems/unique-paths
1094,Car Pooling,56.7%,Medium,0.04016604172533471, https://leetcode.com/problems/car-pooling
686,Repeated String Match,32.3%,Easy,0.03984590854719967, https://leetcode.com/problems/repeated-string-match
406,Queue Reconstruction by Height,66.9%,Medium,0.03949613834265583, https://leetcode.com/problems/queue-reconstruction-by-height
289,Game of Life,54.5%,Medium,0.03856519035039098, https://leetcode.com/problems/game-of-life
202,Happy Number,50.4%,Easy,0.03853744444187023, https://leetcode.com/problems/happy-number
178,Rank Scores,45.8%,Medium,0.037379767071581464, https://leetcode.com/problems/rank-scores
1031,Maximum Sum of Two Non-Overlapping Subarrays,57.9%,Medium,0.03711000965123125, https://leetcode.com/problems/maximum-sum-of-two-non-overlapping-subarrays
646,Maximum Length of Pair Chain,51.9%,Medium,0.036870535808327706, https://leetcode.com/problems/maximum-length-of-pair-chain
729,My Calendar I,51.8%,Medium,0.036433902246102004, https://leetcode.com/problems/my-calendar-i
884,Uncommon Words from Two Sentences,63.3%,Easy,0.036301626676214796, https://leetcode.com/problems/uncommon-words-from-two-sentences
1249,Minimum Remove to Make Valid Parentheses,62.5%,Medium,0.03628515973976445, https://leetcode.com/problems/minimum-remove-to-make-valid-parentheses
875,Koko Eating Bananas,52.1%,Medium,0.0359751024582779, https://leetcode.com/problems/koko-eating-bananas
1254,Number of Closed Islands,60.5%,Medium,0.03540192705091593, https://leetcode.com/problems/number-of-closed-islands
63,Unique Paths II,34.6%,Medium,0.03440459729940371, https://leetcode.com/problems/unique-paths-ii
1002,Find Common Characters,67.6%,Easy,0.03404262162737441, https://leetcode.com/problems/find-common-characters
226,Invert Binary Tree,65.0%,Easy,0.03393837323839263, https://leetcode.com/problems/invert-binary-tree
528,Random Pick with Weight,43.9%,Medium,0.03306693626657339, https://leetcode.com/problems/random-pick-with-weight
235,Lowest Common Ancestor of a Binary Search Tree,49.9%,Easy,0.032470385030784074, https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-search-tree
133,Clone Graph,34.8%,Medium,0.03215711163453134, https://leetcode.com/problems/clone-graph
1146,Snapshot Array,37.0%,Medium,0.0317991816929387, https://leetcode.com/problems/snapshot-array
653,Two Sum IV - Input is a BST,55.5%,Easy,0.031726312677204306, https://leetcode.com/problems/two-sum-iv-input-is-a-bst
150,Evaluate Reverse Polish Notation,36.3%,Medium,0.031526253646773944, https://leetcode.com/problems/evaluate-reverse-polish-notation
38,Count and Say,44.6%,Easy,0.030956234663467107, https://leetcode.com/problems/count-and-say
1179,Reformat Department Table,80.6%,Easy,0.030653741091002412, https://leetcode.com/problems/reformat-department-table
135,Candy,31.6%,Hard,0.029764101906453892, https://leetcode.com/problems/candy
419,Battleships in a Board,70.0%,Medium,0.02967576814611661, https://leetcode.com/problems/battleships-in-a-board
413,Arithmetic Slices,57.9%,Medium,0.028431197162004825, https://leetcode.com/problems/arithmetic-slices
77,Combinations,54.7%,Medium,0.028021758737593695, https://leetcode.com/problems/combinations
204,Count Primes,31.5%,Easy,0.02799343042200216, https://leetcode.com/problems/count-primes
183,Customers Who Never Order,53.4%,Easy,0.027702602549335792, https://leetcode.com/problems/customers-who-never-order
68,Text Justification,27.7%,Hard,0.0276451606661453, https://leetcode.com/problems/text-justification
249,Group Shifted Strings,55.1%,Medium,0.0276069982440099, https://leetcode.com/problems/group-shifted-strings
114,Flatten Binary Tree to Linked List,49.3%,Medium,0.02730545069026746, https://leetcode.com/problems/flatten-binary-tree-to-linked-list
130,Surrounded Regions,28.1%,Medium,0.02672368055211276, https://leetcode.com/problems/surrounded-regions
931,Minimum Falling Path Sum,62.5%,Medium,0.02672169681715245, https://leetcode.com/problems/minimum-falling-path-sum
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
158,Read N Characters Given Read4 II - Call multiple times,33.8%,Hard,0.026196651946570663, https://leetcode.com/problems/read-n-characters-given-read4-ii-call-multiple-times
1395,Count Number of Teams,82.0%,Medium,0.025462865161248044, https://leetcode.com/problems/count-number-of-teams
862,Shortest Subarray with Sum at Least K,24.6%,Hard,0.025398190605610438, https://leetcode.com/problems/shortest-subarray-with-sum-at-least-k
951,Flip Equivalent Binary Trees,65.8%,Medium,0.025269822188076344, https://leetcode.com/problems/flip-equivalent-binary-trees
232,Implement Queue using Stacks,49.6%,Easy,0.025119936515296634, https://leetcode.com/problems/implement-queue-using-stacks
785,Is Graph Bipartite?,47.5%,Medium,0.02510592113107633, https://leetcode.com/problems/is-graph-bipartite
132,Palindrome Partitioning II,30.2%,Hard,0.024436157849456068, https://leetcode.com/problems/palindrome-partitioning-ii
714,Best Time to Buy and Sell Stock with Transaction Fee,54.7%,Medium,0.024258315059789946, https://leetcode.com/problems/best-time-to-buy-and-sell-stock-with-transaction-fee
836,Rectangle Overlap,48.6%,Easy,0.024228925974379843, https://leetcode.com/problems/rectangle-overlap
395,Longest Substring with At Least K Repeating Characters,41.4%,Medium,0.024228925974379843, https://leetcode.com/problems/longest-substring-with-at-least-k-repeating-characters
70,Climbing Stairs,47.8%,Easy,0.023866591309041507, https://leetcode.com/problems/climbing-stairs
31,Next Permutation,32.6%,Medium,0.023747034562878154, https://leetcode.com/problems/next-permutation
704,Binary Search,52.1%,Easy,0.02368531774150923, https://leetcode.com/problems/binary-search
1161,Maximum Level Sum of a Binary Tree,72.2%,Medium,0.023270392682351006, https://leetcode.com/problems/maximum-level-sum-of-a-binary-tree
1299,Replace Elements with Greatest Element on Right Side,75.4%,Easy,0.022756987122616215, https://leetcode.com/problems/replace-elements-with-greatest-element-on-right-side
678,Valid Parenthesis String,31.0%,Medium,0.02271534352147261, https://leetcode.com/problems/valid-parenthesis-string
61,Rotate List,30.0%,Medium,0.022195732391784302, https://leetcode.com/problems/rotate-list
112,Path Sum,41.2%,Easy,0.021701651897460775, https://leetcode.com/problems/path-sum
1019,Next Greater Node In Linked List,57.4%,Medium,0.02159911180346178, https://leetcode.com/problems/next-greater-node-in-linked-list
1520,Maximum Number of Non-Overlapping Substrings,32.8%,Hard,0.021485667755491482, https://leetcode.com/problems/maximum-number-of-non-overlapping-substrings
841,Keys and Rooms,64.3%,Medium,0.021425565169310254, https://leetcode.com/problems/keys-and-rooms
921,Minimum Add to Make Parentheses Valid,73.7%,Medium,0.021425565169310254, https://leetcode.com/problems/minimum-add-to-make-parentheses-valid
14,Longest Common Prefix,35.4%,Easy,0.02057347087022327, https://leetcode.com/problems/longest-common-prefix
784,Letter Case Permutation,64.6%,Medium,0.02026411791905559, https://leetcode.com/problems/letter-case-permutation
69,Sqrt(x),33.9%,Easy,0.020253856904497686, https://leetcode.com/problems/sqrtx
180,Consecutive Numbers,39.7%,Medium,0.02021291655585931, https://leetcode.com/problems/consecutive-numbers
525,Contiguous Array,42.8%,Medium,0.01975372873623256, https://leetcode.com/problems/contiguous-array
435,Non-overlapping Intervals,42.9%,Medium,0.019455866615365896, https://leetcode.com/problems/non-overlapping-intervals
416,Partition Equal Subset Sum,43.7%,Medium,0.01943905703222215, https://leetcode.com/problems/partition-equal-subset-sum
1048,Longest String Chain,54.7%,Medium,0.019361689049145963, https://leetcode.com/problems/longest-string-chain
787,Cheapest Flights Within K Stops,39.3%,Medium,0.018824085245635554, https://leetcode.com/problems/cheapest-flights-within-k-stops
450,Delete Node in a BST,43.1%,Medium,0.018536211907915243, https://leetcode.com/problems/delete-node-in-a-bst
290,Word Pattern,37.0%,Easy,0.01839978311884168, https://leetcode.com/problems/word-pattern
590,N-ary Tree Postorder Traversal,72.1%,Easy,0.018182319083190436, https://leetcode.com/problems/n-ary-tree-postorder-traversal
542,01 Matrix,39.8%,Medium,0.01796993548494071, https://leetcode.com/problems/01-matrix
383,Ransom Note,53.1%,Easy,0.017621601349819518, https://leetcode.com/problems/ransom-note
993,Cousins in Binary Tree,52.0%,Easy,0.017414458368636587, https://leetcode.com/problems/cousins-in-binary-tree
104,Maximum Depth of Binary Tree,66.0%,Easy,0.017297878201610554, https://leetcode.com/problems/maximum-depth-of-binary-tree
6,ZigZag Conversion,36.3%,Medium,0.01726827253226344, https://leetcode.com/problems/zigzag-conversion
337,House Robber III,50.6%,Medium,0.017182553319996886, https://leetcode.com/problems/house-robber-iii
50,Pow(x;n),30.3%,Medium,0.017036779497025166, https://leetcode.com/problems/powx-n
389,Find the Difference,55.3%,Easy,0.016978336534417868, https://leetcode.com/problems/find-the-difference
402,Remove K Digits,28.4%,Medium,0.016863806052004816, https://leetcode.com/problems/remove-k-digits
1110,Delete Nodes And Return Forest,67.0%,Medium,0.01660478167636296, https://leetcode.com/problems/delete-nodes-and-return-forest
1108,Defanging an IP Address,87.5%,Easy,0.016423726830643748, https://leetcode.com/problems/defanging-an-ip-address
299,Bulls and Cows,42.4%,Easy,0.016227536621756702, https://leetcode.com/problems/bulls-and-cows
340,Longest Substring with At Most K Distinct Characters,44.1%,Hard,0.016122880486563188, https://leetcode.com/problems/longest-substring-with-at-most-k-distinct-characters
412,Fizz Buzz,62.3%,Easy,0.016051709010507904, https://leetcode.com/problems/fizz-buzz
509,Fibonacci Number,67.2%,Easy,0.01593518138579736, https://leetcode.com/problems/fibonacci-number
1304,Find N Unique Integers Sum up to Zero,76.3%,Easy,0.015892269319508656, https://leetcode.com/problems/find-n-unique-integers-sum-up-to-zero
938,Range Sum of BST,81.3%,Easy,0.015707129205357877, https://leetcode.com/problems/range-sum-of-bst
28,Implement strStr(),34.5%,Easy,0.01568044672076543, https://leetcode.com/problems/implement-strstr
118,Pascal's Triangle,52.5%,Easy,0.015123796918620345, https://leetcode.com/problems/pascals-triangle
567,Permutation in String,44.4%,Medium,0.014947961435873182, https://leetcode.com/problems/permutation-in-string
912,Sort an Array,63.9%,Medium,0.01443026482902881, https://leetcode.com/problems/sort-an-array
107,Binary Tree Level Order Traversal II,53.5%,Easy,0.014395642075089957, https://leetcode.com/problems/binary-tree-level-order-traversal-ii
404,Sum of Left Leaves,50.9%,Easy,0.013981353230340547, https://leetcode.com/problems/sum-of-left-leaves
304,Range Sum Query 2D - Immutable,38.6%,Medium,0.013913267916985026, https://leetcode.com/problems/range-sum-query-2d-immutable
724,Find Pivot Index,44.0%,Easy,0.013850636933899008, https://leetcode.com/problems/find-pivot-index
44,Wildcard Matching,24.7%,Hard,0.013703537497261858, https://leetcode.com/problems/wildcard-matching
1047,Remove All Adjacent Duplicates In String,68.6%,Easy,0.013059277989179281, https://leetcode.com/problems/remove-all-adjacent-duplicates-in-string
344,Reverse String,68.5%,Easy,0.013014662307854044, https://leetcode.com/problems/reverse-string
82,Remove Duplicates from Sorted List II,36.8%,Medium,0.01297035044262745, https://leetcode.com/problems/remove-duplicates-from-sorted-list-ii
213,House Robber II,36.5%,Medium,0.012654392210497564, https://leetcode.com/problems/house-robber-ii
852,Peak Index in a Mountain Array,71.6%,Easy,0.012618463959211509, https://leetcode.com/problems/peak-index-in-a-mountain-array
108,Convert Sorted Array to Binary Search Tree,57.9%,Easy,0.012453461071286613, https://leetcode.com/problems/convert-sorted-array-to-binary-search-tree
167,Two Sum II - Input array is sorted,54.1%,Easy,0.012349223898473458, https://leetcode.com/problems/two-sum-ii-input-array-is-sorted
9,Palindrome Number,48.4%,Easy,0.01209661684713821, https://leetcode.com/problems/palindrome-number
81,Search in Rotated Sorted Array II,33.0%,Medium,0.011689203815677656, https://leetcode.com/problems/search-in-rotated-sorted-array-ii
350,Intersection of Two Arrays II,51.4%,Easy,0.01168540951877908, https://leetcode.com/problems/intersection-of-two-arrays-ii
136,Single Number,65.5%,Easy,0.011429512235126808, https://leetcode.com/problems/single-number
90,Subsets II,47.1%,Medium,0.011412392051744769, https://leetcode.com/problems/subsets-ii
171,Excel Sheet Column Number,55.9%,Easy,0.011195191092491645, https://leetcode.com/problems/excel-sheet-column-number
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
662,Maximum Width of Binary Tree,41.0%,Medium,0.010790501245113902, https://leetcode.com/problems/maximum-width-of-binary-tree
414,Third Maximum Number,30.5%,Easy,0.010357420400453607, https://leetcode.com/problems/third-maximum-number
40,Combination Sum II,48.2%,Medium,0.009578617297069781, https://leetcode.com/problems/combination-sum-ii
106,Construct Binary Tree from Inorder and Postorder Traversal,47.2%,Medium,0.009328969762346678, https://leetcode.com/problems/construct-binary-tree-from-inorder-and-postorder-traversal
189,Rotate Array,34.7%,Easy,0.00904437880665999, https://leetcode.com/problems/rotate-array
125,Valid Palindrome,36.7%,Easy,0.008933948641551634, https://leetcode.com/problems/valid-palindrome
953,Verifying an Alien Dictionary,54.1%,Easy,0.007884921592696038, https://leetcode.com/problems/verifying-an-alien-dictionary
141,Linked List Cycle,41.1%,Easy,0.007843861028908454, https://leetcode.com/problems/linked-list-cycle
1344,Angle Between Hands of a Clock,61.4%,Medium,0.007795031188053973, https://leetcode.com/problems/angle-between-hands-of-a-clock
26,Remove Duplicates from Sorted Array,45.1%,Easy,0.007782518973063169, https://leetcode.com/problems/remove-duplicates-from-sorted-array
94,Binary Tree Inorder Traversal,63.3%,Medium,0.007533307577636257, https://leetcode.com/problems/binary-tree-inorder-traversal
66,Plus One,43.0%,Easy,0.007324847595025828, https://leetcode.com/problems/plus-one
771,Jewels and Stones,86.4%,Easy,0.007284679819409419, https://leetcode.com/problems/jewels-and-stones
1365,How Many Numbers Are Smaller Than the Current Number,85.6%,Easy,0.007109877088701047, https://leetcode.com/problems/how-many-numbers-are-smaller-than-the-current-number
110,Balanced Binary Tree,43.5%,Easy,0.007027435807456887, https://leetcode.com/problems/balanced-binary-tree
67,Add Binary,45.2%,Easy,0.006631598888145552, https://leetcode.com/problems/add-binary
203,Remove Linked List Elements,38.6%,Easy,0.006479067005887776, https://leetcode.com/problems/remove-linked-list-elements
151,Reverse Words in a String,21.9%,Medium,0.0061359296669270605, https://leetcode.com/problems/reverse-words-in-a-string
1431,Kids With the Greatest Number of Candies,88.9%,Easy,0.005927699633275225, https://leetcode.com/problems/kids-with-the-greatest-number-of-candies
621,Task Scheduler,50.1%,Medium,0.005261323957171611, https://leetcode.com/problems/task-scheduler
160,Intersection of Two Linked Lists,40.6%,Easy,0.004901369939720486, https://leetcode.com/problems/intersection-of-two-linked-lists
35,Search Insert Position,42.6%,Easy,0.004646848510375352, https://leetcode.com/problems/search-insert-position
7,Reverse Integer,25.8%,Easy,0.00418293972984512, https://leetcode.com/problems/reverse-integer
977,Squares of a Sorted Array,72.1%,Easy,0.003891055492966611, https://leetcode.com/problems/squares-of-a-sorted-array
78,Subsets,62.0%,Medium,0.00368765975195334, https://leetcode.com/problems/subsets
100,Same Tree,53.4%,Easy,0.003165227373565798, https://leetcode.com/problems/same-tree
309,Best Time to Buy and Sell Stock with Cooldown,47.4%,Medium,0.0028498166907604426, https://leetcode.com/problems/best-time-to-buy-and-sell-stock-with-cooldown
797,All Paths From Source to Target,77.9%,Medium,0.0024703569875376783, https://leetcode.com/problems/all-paths-from-source-to-target
260,Single Number III,64.3%,Medium,0.0020288097849578786, https://leetcode.com/problems/single-number-iii
ID,Title,Acceptance,Difficulty,Frequency,Leetcode Question Link
937,Reorder Data in Log Files,54.3%,Easy,3.9547702430822818, https://leetcode.com/problems/reorder-data-in-log-files
200,Number of Islands,46.8%,Medium,3.6590323855166846, https://leetcode.com/problems/number-of-islands
1192,Critical Connections in a Network,48.6%,Hard,3.3632945279510875, https://leetcode.com/problems/critical-connections-in-a-network
763,Partition Labels,76.1%,Medium,3.1678101129592746, https://leetcode.com/problems/partition-labels
994,Rotting Oranges,49.2%,Medium,2.8720722553936775, https://leetcode.com/problems/rotting-oranges
692,Top K Frequent Words,51.8%,Medium,2.7214375224426046, https://leetcode.com/problems/top-k-frequent-words
819,Most Common Word,44.8%,Easy,2.4256996648770075, https://leetcode.com/problems/most-common-word
146,LRU Cache,33.2%,Medium,2.1299618073114104, https://leetcode.com/problems/lru-cache
1152,Analyze User Website Visit Pattern,43.5%,Medium,1.8342239497458135, https://leetcode.com/problems/analyze-user-website-visit-pattern
23,Merge k Sorted Lists,40.2%,Hard,1.739235050219392, https://leetcode.com/problems/merge-k-sorted-lists
588,Design In-Memory File System,45.9%,Hard,1.6763233015814871, https://leetcode.com/problems/design-in-memory-file-system
1,Two Sum,45.6%,Easy,1.5089728550598949, https://leetcode.com/problems/two-sum
472,Concatenated Words,43.7%,Hard,1.4802648705378958, https://leetcode.com/problems/concatenated-words
973,K Closest Points to Origin,63.8%,Medium,1.4345467018065698, https://leetcode.com/problems/k-closest-points-to-origin
957,Prison Cells After N Days,40.7%,Medium,1.3423289104477119, https://leetcode.com/problems/prison-cells-after-n-days
460,LFU Cache,34.2%,Hard,1.1854052630535123, https://leetcode.com/problems/lfu-cache
1167,Minimum Cost to Connect Sticks,62.8%,Medium,1.1814314904899383, https://leetcode.com/problems/minimum-cost-to-connect-sticks
42,Trapping Rain Water,48.9%,Hard,1.1037585327659545, https://leetcode.com/problems/trapping-rain-water
138,Copy List with Random Pointer,36.4%,Medium,1.102640803567812, https://leetcode.com/problems/copy-list-with-random-pointer
127,Word Ladder,29.6%,Medium,1.0425997036961998, https://leetcode.com/problems/word-ladder
295,Find Median from Data Stream,44.3%,Hard,1.0194793992505597, https://leetcode.com/problems/find-median-from-data-stream
348,Design Tic-Tac-Toe,54.3%,Medium,0.9433716904768258, https://leetcode.com/problems/design-tic-tac-toe
212,Word Search II,34.9%,Hard,0.8857014706209553, https://leetcode.com/problems/word-search-ii
253,Meeting Rooms II,45.7%,Medium,0.8632775077826929, https://leetcode.com/problems/meeting-rooms-ii
21,Merge Two Sorted Lists,53.5%,Easy,0.8095181456041088, https://leetcode.com/problems/merge-two-sorted-lists
694,Number of Distinct Islands,56.0%,Medium,0.7884573603642702, https://leetcode.com/problems/number-of-distinct-islands
269,Alien Dictionary,33.3%,Hard,0.7683984542353193, https://leetcode.com/problems/alien-dictionary
273,Integer to English Words,27.1%,Hard,0.7404748586772619, https://leetcode.com/problems/integer-to-english-words
380,Insert Delete GetRandom O(1),47.5%,Medium,0.7362463730417975, https://leetcode.com/problems/insert-delete-getrandom-o1
297,Serialize and Deserialize Binary Tree,47.5%,Hard,0.7044467358138786, https://leetcode.com/problems/serialize-and-deserialize-binary-tree
863,All Nodes Distance K in Binary Tree,55.4%,Medium,0.6739386478106545, https://leetcode.com/problems/all-nodes-distance-k-in-binary-tree
139,Word Break,40.1%,Medium,0.6613827480153901, https://leetcode.com/problems/word-break
2,Add Two Numbers,33.9%,Medium,0.5977271417553114, https://leetcode.com/problems/add-two-numbers
726,Number of Atoms,49.0%,Hard,0.591070740103309, https://leetcode.com/problems/number-of-atoms
909,Snakes and Ladders,38.4%,Medium,0.581062856900522, https://leetcode.com/problems/snakes-and-ladders
121,Best Time to Buy and Sell Stock,50.5%,Easy,0.5695968683666981, https://leetcode.com/problems/best-time-to-buy-and-sell-stock
126,Word Ladder II,22.1%,Hard,0.5693600008081126, https://leetcode.com/problems/word-ladder-ii
353,Design Snake Game,34.2%,Medium,0.5678280191954505, https://leetcode.com/problems/design-snake-game
1268,Search Suggestions System,63.2%,Medium,0.5670827306499265, https://leetcode.com/problems/search-suggestions-system
240,Search a 2D Matrix II,43.2%,Medium,0.5659839416965464, https://leetcode.com/problems/search-a-2d-matrix-ii
733,Flood Fill,55.3%,Easy,0.5434516866606699, https://leetcode.com/problems/flood-fill
49,Group Anagrams,56.9%,Medium,0.5274564521278222, https://leetcode.com/problems/group-anagrams
1429,First Unique Number,47.0%,Medium,0.5239621016713606, https://leetcode.com/problems/first-unique-number
56,Merge Intervals,39.3%,Medium,0.5198989648602567, https://leetcode.com/problems/merge-intervals
1091,Shortest Path in Binary Matrix,38.2%,Medium,0.5014571171893788, https://leetcode.com/problems/shortest-path-in-binary-matrix
15,3Sum,26.8%,Medium,0.4923847546019265, https://leetcode.com/problems/3sum
227,Basic Calculator II,36.9%,Medium,0.47707464048628756, https://leetcode.com/problems/basic-calculator-ii
815,Bus Routes,42.5%,Hard,0.46566970439379607, https://leetcode.com/problems/bus-routes
465,Optimal Account Balancing,46.9%,Hard,0.44746022914476763, https://leetcode.com/problems/optimal-account-balancing
564,Find the Closest Palindrome,19.7%,Hard,0.43712242797885603, https://leetcode.com/problems/find-the-closest-palindrome
5,Longest Palindromic Substring,29.5%,Medium,0.43711515550369573, https://leetcode.com/problems/longest-palindromic-substring
642,Design Search Autocomplete System,44.7%,Hard,0.43349242036282026, https://leetcode.com/problems/design-search-autocomplete-system
17,Letter Combinations of a Phone Number,46.8%,Medium,0.42775086183255473, https://leetcode.com/problems/letter-combinations-of-a-phone-number
403,Frog Jump,39.7%,Hard,0.42647291912626817, https://leetcode.com/problems/frog-jump
394,Decode String,50.0%,Medium,0.42186669570914975, https://leetcode.com/problems/decode-string
210,Course Schedule II,40.7%,Medium,0.4187970574421199, https://leetcode.com/problems/course-schedule-ii
239,Sliding Window Maximum,43.0%,Hard,0.4104750065235096, https://leetcode.com/problems/sliding-window-maximum
1335,Minimum Difficulty of a Job Schedule,57.6%,Hard,0.3963047387095001, https://leetcode.com/problems/minimum-difficulty-of-a-job-schedule
317,Shortest Distance from All Buildings,41.4%,Hard,0.3879036811782171, https://leetcode.com/problems/shortest-distance-from-all-buildings
208,Implement Trie (Prefix Tree),49.4%,Medium,0.3703247851035097, https://leetcode.com/problems/implement-trie-prefix-tree
322,Coin Change,35.5%,Medium,0.3682371587377334, https://leetcode.com/problems/coin-change
572,Subtree of Another Tree,44.1%,Easy,0.36744178604609046, https://leetcode.com/problems/subtree-of-another-tree
211,Add and Search Word - Data structure design,38.1%,Medium,0.3669576767104271, https://leetcode.com/problems/add-and-search-word-data-structure-design
437,Path Sum III,47.2%,Medium,0.36415150066384533, https://leetcode.com/problems/path-sum-iii
238,Product of Array Except Self,60.1%,Medium,0.3605955735094466, https://leetcode.com/problems/product-of-array-except-self
236,Lowest Common Ancestor of a Binary Tree,45.7%,Medium,0.3551971839535377, https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-tree
140,Word Break II,32.6%,Hard,0.35315833146615444, https://leetcode.com/problems/word-break-ii
97,Interleaving String,31.5%,Hard,0.3498263128325362, https://leetcode.com/problems/interleaving-string
173,Binary Search Tree Iterator,56.6%,Medium,0.3490586305394522, https://leetcode.com/problems/binary-search-tree-iterator
188,Best Time to Buy and Sell Stock IV,28.0%,Hard,0.3480617703158782, https://leetcode.com/problems/best-time-to-buy-and-sell-stock-iv
489,Robot Room Cleaner,69.7%,Hard,0.34393738002030483, https://leetcode.com/problems/robot-room-cleaner
93,Restore IP Addresses,35.6%,Medium,0.33946177546957895, https://leetcode.com/problems/restore-ip-addresses
76,Minimum Window Substring,34.6%,Hard,0.33651688545811814, https://leetcode.com/problems/minimum-window-substring
895,Maximum Frequency Stack,60.6%,Hard,0.33520721431462625, https://leetcode.com/problems/maximum-frequency-stack
165,Compare Version Numbers,27.4%,Medium,0.33499311472223486, https://leetcode.com/problems/compare-version-numbers
53,Maximum Subarray,46.5%,Easy,0.33316614062015326, https://leetcode.com/problems/maximum-subarray
490,The Maze,51.4%,Medium,0.33239571796243805, https://leetcode.com/problems/the-maze
20,Valid Parentheses,39.0%,Easy,0.32875969157833257, https://leetcode.com/problems/valid-parentheses
721,Accounts Merge,48.8%,Medium,0.3264810496971675, https://leetcode.com/problems/accounts-merge
155,Min Stack,44.5%,Easy,0.32611635610879774, https://leetcode.com/problems/min-stack
901,Online Stock Span,60.2%,Medium,0.3225465062722876, https://leetcode.com/problems/online-stock-span
1219,Path with Maximum Gold,65.1%,Medium,0.3204549706485941, https://leetcode.com/problems/path-with-maximum-gold
277,Find the Celebrity,41.8%,Medium,0.3142660340639637, https://leetcode.com/problems/find-the-celebrity
55,Jump Game,34.6%,Medium,0.31027241049283566, https://leetcode.com/problems/jump-game
12,Integer to Roman,55.1%,Medium,0.30898314806430144, https://leetcode.com/problems/integer-to-roman
185,Department Top Three Salaries,34.5%,Hard,0.3067091029533853, https://leetcode.com/problems/department-top-three-salaries
987,Vertical Order Traversal of a Binary Tree,36.6%,Medium,0.30230623809780655, https://leetcode.com/problems/vertical-order-traversal-of-a-binary-tree
4,Median of Two Sorted Arrays,29.6%,Hard,0.30208546395829133, https://leetcode.com/problems/median-of-two-sorted-arrays
224,Basic Calculator,36.8%,Hard,0.291910408561302, https://leetcode.com/problems/basic-calculator
74,Search a 2D Matrix,36.5%,Medium,0.29107845681405486, https://leetcode.com/problems/search-a-2d-matrix
640,Solve the Equation,42.0%,Medium,0.2840257612486704, https://leetcode.com/problems/solve-the-equation
54,Spiral Matrix,34.1%,Medium,0.28079436421311554, https://leetcode.com/problems/spiral-matrix
362,Design Hit Counter,63.7%,Medium,0.2737682417732349, https://leetcode.com/problems/design-hit-counter
399,Evaluate Division,51.6%,Medium,0.27239954676797734, https://leetcode.com/problems/evaluate-division
480,Sliding Window Median,37.2%,Hard,0.2690708449339646, https://leetcode.com/problems/sliding-window-median
1057,Campus Bikes,57.7%,Medium,0.2582475718767295, https://leetcode.com/problems/campus-bikes
91,Decode Ways,24.7%,Medium,0.2572166935751766, https://leetcode.com/problems/decode-ways
466,Count The Repetitions,28.2%,Hard,0.2561688067457042, https://leetcode.com/problems/count-the-repetitions
45,Jump Game II,30.6%,Hard,0.25477233836298296, https://leetcode.com/problems/jump-game-ii
323,Number of Connected Components in an Undirected Graph,56.0%,Medium,0.25237712763702813, https://leetcode.com/problems/number-of-connected-components-in-an-undirected-graph
99,Recover Binary Search Tree,39.7%,Hard,0.25183380763426816, https://leetcode.com/problems/recover-binary-search-tree
3,Longest Substring Without Repeating Characters,30.4%,Medium,0.24977369595529056, https://leetcode.com/problems/longest-substring-without-repeating-characters
332,Reconstruct Itinerary,36.7%,Medium,0.24722791193435328, https://leetcode.com/problems/reconstruct-itinerary
1197,Minimum Knight Moves,36.1%,Medium,0.24003104821376078, https://leetcode.com/problems/minimum-knight-moves
775,Global and Local Inversions,42.1%,Medium,0.23922968906583414, https://leetcode.com/problems/global-and-local-inversions
496,Next Greater Element I,63.8%,Easy,0.23831034385769945, https://leetcode.com/problems/next-greater-element-i
33,Search in Rotated Sorted Array,34.5%,Medium,0.2327382673745402, https://leetcode.com/problems/search-in-rotated-sorted-array
772,Basic Calculator III,41.3%,Hard,0.2322522675124501, https://leetcode.com/problems/basic-calculator-iii
543,Diameter of Binary Tree,48.4%,Easy,0.2316456750750147, https://leetcode.com/problems/diameter-of-binary-tree
445,Add Two Numbers II,54.5%,Medium,0.22413561488763817, https://leetcode.com/problems/add-two-numbers-ii
333,Largest BST Subtree,35.8%,Medium,0.2228314901476892, https://leetcode.com/problems/largest-bst-subtree
11,Container With Most Water,50.8%,Medium,0.22223677269815797, https://leetcode.com/problems/container-with-most-water
75,Sort Colors,47.3%,Medium,0.21933249465057122, https://leetcode.com/problems/sort-colors
688,Knight Probability in Chessboard,48.9%,Medium,0.2176811889223697, https://leetcode.com/problems/knight-probability-in-chessboard
105,Construct Binary Tree from Preorder and Inorder Traversal,48.8%,Medium,0.2138725437818616, https://leetcode.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal
356,Line Reflection,31.8%,Medium,0.2124355370417375, https://leetcode.com/problems/line-reflection
143,Reorder List,37.1%,Medium,0.21178045827645292, https://leetcode.com/problems/reorder-list
1155,Number of Dice Rolls With Target Sum,49.0%,Medium,0.21008151389087, https://leetcode.com/problems/number-of-dice-rolls-with-target-sum
503,Next Greater Element II,56.5%,Medium,0.20963047971710957, https://leetcode.com/problems/next-greater-element-ii
312,Burst Balloons,51.8%,Hard,0.20921375502735295, https://leetcode.com/problems/burst-balloons
103,Binary Tree Zigzag Level Order Traversal,48.3%,Medium,0.2038677804597886, https://leetcode.com/problems/binary-tree-zigzag-level-order-traversal
735,Asteroid Collision,41.0%,Medium,0.20317069676423571, https://leetcode.com/problems/asteroid-collision
314,Binary Tree Vertical Order Traversal,45.3%,Medium,0.20100106920044414, https://leetcode.com/problems/binary-tree-vertical-order-traversal
64,Minimum Path Sum,54.5%,Medium,0.19988813533277905, https://leetcode.com/problems/minimum-path-sum
352,Data Stream as Disjoint Intervals,47.3%,Hard,0.1980128865886302, https://leetcode.com/problems/data-stream-as-disjoint-intervals
1315,Sum of Nodes with Even-Valued Grandparent,83.5%,Medium,0.19757677034220278, https://leetcode.com/problems/sum-of-nodes-with-even-valued-grandparent
706,Design HashMap,61.3%,Easy,0.1960785423771685, https://leetcode.com/problems/design-hashmap
1360,Number of Days Between Two Dates,48.8%,Easy,0.19578302313828744, https://leetcode.com/problems/number-of-days-between-two-dates
85,Maximal Rectangle,37.7%,Hard,0.1945507253203666, https://leetcode.com/problems/maximal-rectangle
756,Pyramid Transition Matrix,54.6%,Medium,0.19105523676270922, https://leetcode.com/problems/pyramid-transition-matrix
25,Reverse Nodes in k-Group,42.1%,Hard,0.18884373606243307, https://leetcode.com/problems/reverse-nodes-in-k-group
199,Binary Tree Right Side View,54.1%,Medium,0.18661020557359304, https://leetcode.com/problems/binary-tree-right-side-view
449,Serialize and Deserialize BST,52.0%,Medium,0.1860058460684763, https://leetcode.com/problems/serialize-and-deserialize-bst
79,Word Search,35.6%,Medium,0.18365355832289545, https://leetcode.com/problems/word-search
759,Employee Free Time,66.2%,Hard,0.1816986978513639, https://leetcode.com/problems/employee-free-time
1244,Design A Leaderboard,60.7%,Medium,0.17763094743610072, https://leetcode.com/problems/design-a-leaderboard
13,Roman to Integer,55.7%,Easy,0.17663825552387563, https://leetcode.com/problems/roman-to-integer
737,Sentence Similarity II,45.8%,Medium,0.17520408902509066, https://leetcode.com/problems/sentence-similarity-ii
1011,Capacity To Ship Packages Within D Days,58.1%,Medium,0.1747811031478766, https://leetcode.com/problems/capacity-to-ship-packages-within-d-days
205,Isomorphic Strings,39.8%,Easy,0.1703978238463443, https://leetcode.com/problems/isomorphic-strings
1099,Two Sum Less Than K,60.6%,Easy,0.16935823314801637, https://leetcode.com/problems/two-sum-less-than-k
1430,Check If a String Is a Valid Sequence from Root to Leaves Path in a Binary Tree,44.8%,Medium,0.16917873135476025, https://leetcode.com/problems/check-if-a-string-is-a-valid-sequence-from-root-to-leaves-path-in-a-binary-tree
36,Valid Sudoku,48.7%,Medium,0.16730621375459595, https://leetcode.com/problems/valid-sudoku
715,Range Module,38.5%,Hard,0.1636294237818021, https://leetcode.com/problems/range-module
1373,Maximum Sum BST in Binary Tree,40.2%,Hard,0.1599143845440084, https://leetcode.com/problems/maximum-sum-bst-in-binary-tree
535,Encode and Decode TinyURL,79.9%,Medium,0.15827628732919474, https://leetcode.com/problems/encode-and-decode-tinyurl
545,Boundary of Binary Tree,38.9%,Medium,0.15687671513649673, https://leetcode.com/problems/boundary-of-binary-tree
335,Self Crossing,28.0%,Hard,0.15535044001916237, https://leetcode.com/problems/self-crossing
101,Symmetric Tree,46.8%,Easy,0.15457702816029933, https://leetcode.com/problems/symmetric-tree
767,Reorganize String,48.7%,Medium,0.15185314866152042, https://leetcode.com/problems/reorganize-string
410,Split Array Largest Sum,44.5%,Hard,0.1513456288996497, https://leetcode.com/problems/split-array-largest-sum
57,Insert Interval,33.5%,Hard,0.14994432629434787, https://leetcode.com/problems/insert-interval
739,Daily Temperatures,63.3%,Medium,0.14956674442158685, https://leetcode.com/problems/daily-temperatures
1038,Binary Search Tree to Greater Sum Tree,80.8%,Medium,0.14935273742511918, https://leetcode.com/problems/binary-search-tree-to-greater-sum-tree
221,Maximal Square,37.7%,Medium,0.1475288463816385, https://leetcode.com/problems/maximal-square
682,Baseball Game,63.7%,Easy,0.14664834440479207, https://leetcode.com/problems/baseball-game
22,Generate Parentheses,62.7%,Medium,0.14612656455721032, https://leetcode.com/problems/generate-parentheses
1102,Path With Maximum Minimum Value,49.2%,Medium,0.1444815825552332, https://leetcode.com/problems/path-with-maximum-minimum-value
426,Convert Binary Search Tree to Sorted Doubly Linked List,59.1%,Medium,0.14252878462127264, https://leetcode.com/problems/convert-binary-search-tree-to-sorted-doubly-linked-list
1083,Sales Analysis II,50.5%,Easy,0.1417462887434142, https://leetcode.com/problems/sales-analysis-ii
690,Employee Importance,57.3%,Easy,0.14131823975737387, https://leetcode.com/problems/employee-importance
207,Course Schedule,43.1%,Medium,0.1402270159030123, https://leetcode.com/problems/course-schedule
261,Graph Valid Tree,42.2%,Medium,0.13984351177036686, https://leetcode.com/problems/graph-valid-tree
354,Russian Doll Envelopes,35.6%,Hard,0.13850969523609932, https://leetcode.com/problems/russian-doll-envelopes
286,Walls and Gates,54.5%,Medium,0.13712574822724946, https://leetcode.com/problems/walls-and-gates
10,Regular Expression Matching,26.8%,Hard,0.13632230148088326, https://leetcode.com/problems/regular-expression-matching
1405,Longest Happy String,49.0%,Medium,0.1343297958605471, https://leetcode.com/problems/longest-happy-string
378,Kth Smallest Element in a Sorted Matrix,54.3%,Medium,0.13397014948713715, https://leetcode.com/problems/kth-smallest-element-in-a-sorted-matrix
215,Kth Largest Element in an Array,55.4%,Medium,0.13169686633492952, https://leetcode.com/problems/kth-largest-element-in-an-array
981,Time Based Key-Value Store,53.1%,Medium,0.1316303182973487, https://leetcode.com/problems/time-based-key-value-store
148,Sort List,42.3%,Medium,0.1292970884857343, https://leetcode.com/problems/sort-list
1117,Building H2O,52.6%,Medium,0.12796988096337653, https://leetcode.com/problems/building-h2o
347,Top K Frequent Elements,61.2%,Medium,0.12591062025304192, https://leetcode.com/problems/top-k-frequent-elements
84,Largest Rectangle in Histogram,35.2%,Hard,0.12570469475928556, https://leetcode.com/problems/largest-rectangle-in-histogram
1139,Largest 1-Bordered Square,47.5%,Medium,0.12477221253464107, https://leetcode.com/problems/largest-1-bordered-square
1130,Minimum Cost Tree From Leaf Values,66.1%,Medium,0.12332774831203028, https://leetcode.com/problems/minimum-cost-tree-from-leaf-values
262,Trips and Users,32.7%,Hard,0.12266506325369182, https://leetcode.com/problems/trips-and-users
177,Nth Highest Salary,31.4%,Medium,0.12247703235966204, https://leetcode.com/problems/nth-highest-salary
1214,Two Sum BSTs,67.6%,Medium,0.12247703235966204, https://leetcode.com/problems/two-sum-bsts
19,Remove Nth Node From End of List,35.2%,Medium,0.12237713290283221, https://leetcode.com/problems/remove-nth-node-from-end-of-list
844,Backspace String Compare,46.4%,Easy,0.12201137176590456, https://leetcode.com/problems/backspace-string-compare
46,Permutations,63.5%,Medium,0.12027982804941116, https://leetcode.com/problems/permutations
1229,Meeting Scheduler,52.7%,Medium,0.11671261732648351, https://leetcode.com/problems/meeting-scheduler
1275,Find Winner on a Tic Tac Toe Game,52.8%,Easy,0.11536465479210183, https://leetcode.com/problems/find-winner-on-a-tic-tac-toe-game
1375,Bulb Switcher III,62.6%,Medium,0.11506932978478719, https://leetcode.com/problems/bulb-switcher-iii
540,Single Element in a Sorted Array,57.9%,Medium,0.11443656521536286, https://leetcode.com/problems/single-element-in-a-sorted-array
229,Majority Element II,35.6%,Medium,0.11355198202632807, https://leetcode.com/problems/majority-element-ii
120,Triangle,44.2%,Medium,0.11325730177515365, https://leetcode.com/problems/triangle
296,Best Meeting Point,57.5%,Hard,0.11216225709564905, https://leetcode.com/problems/best-meeting-point
1004,Max Consecutive Ones III,59.1%,Medium,0.11063437101968247, https://leetcode.com/problems/max-consecutive-ones-iii
39,Combination Sum,56.1%,Medium,0.10982174474537089, https://leetcode.com/problems/combination-sum
695,Max Area of Island,62.7%,Medium,0.10876995385464024, https://leetcode.com/problems/max-area-of-island
96,Unique Binary Search Trees,52.9%,Medium,0.10772540512336069, https://leetcode.com/problems/unique-binary-search-trees
152,Maximum Product Subarray,31.7%,Medium,0.10753054905987956, https://leetcode.com/problems/maximum-product-subarray
29,Divide Two Integers,16.4%,Medium,0.10321754835984784, https://leetcode.com/problems/divide-two-integers
1143,Longest Common Subsequence,58.4%,Medium,0.10320598865355674, https://leetcode.com/problems/longest-common-subsequence
1013,Partition Array Into Three Parts With Equal Sum,51.8%,Easy,0.10294796925244239, https://leetcode.com/problems/partition-array-into-three-parts-with-equal-sum
453,Minimum Moves to Equal Array Elements,50.2%,Easy,0.10178269430994231, https://leetcode.com/problems/minimum-moves-to-equal-array-elements
442,Find All Duplicates in an Array,67.8%,Medium,0.10047484799446413, https://leetcode.com/problems/find-all-duplicates-in-an-array
417,Pacific Atlantic Water Flow,41.1%,Medium,0.10008345855698253, https://leetcode.com/problems/pacific-atlantic-water-flow
628,Maximum Product of Three Numbers,47.1%,Easy,0.09909090264423091, https://leetcode.com/problems/maximum-product-of-three-numbers
1135,Connecting Cities With Minimum Cost,57.5%,Medium,0.09909090264423091, https://leetcode.com/problems/connecting-cities-with-minimum-cost
51,N-Queens,46.6%,Hard,0.09831093224356313, https://leetcode.com/problems/n-queens
218,The Skyline Problem,34.6%,Hard,0.09823843958341322, https://leetcode.com/problems/the-skyline-problem
41,First Missing Positive,32.0%,Hard,0.0979525363954321, https://leetcode.com/problems/first-missing-positive
529,Minesweeper,59.1%,Medium,0.09695424100489167, https://leetcode.com/problems/minesweeper
1046,Last Stone Weight,62.2%,Easy,0.09686234390618549, https://leetcode.com/problems/last-stone-weight
230,Kth Smallest Element in a BST,60.2%,Medium,0.09685471541555685, https://leetcode.com/problems/kth-smallest-element-in-a-bst
980,Unique Paths III,73.3%,Hard,0.09531017980432487, https://leetcode.com/problems/unique-paths-iii
86,Partition List,41.5%,Medium,0.09480379573736777, https://leetcode.com/problems/partition-list
716,Max Stack,42.6%,Easy,0.09362342046209744, https://leetcode.com/problems/max-stack
611,Valid Triangle Number,48.4%,Medium,0.09333193979221914, https://leetcode.com/problems/valid-triangle-number
827,Making A Large Island,45.7%,Hard,0.09287412500644375, https://leetcode.com/problems/making-a-large-island
384,Shuffle an Array,52.8%,Medium,0.09170644621893462, https://leetcode.com/problems/shuffle-an-array
8,String to Integer (atoi),15.4%,Medium,0.09074872434968777, https://leetcode.com/problems/string-to-integer-atoi
153,Find Minimum in Rotated Sorted Array,45.1%,Medium,0.0899077741767165, https://leetcode.com/problems/find-minimum-in-rotated-sorted-array
243,Shortest Word Distance,61.0%,Easy,0.08952296190665864, https://leetcode.com/problems/shortest-word-distance
995,Minimum Number of K Consecutive Bit Flips,46.8%,Hard,0.08894748601649616, https://leetcode.com/problems/minimum-number-of-k-consecutive-bit-flips
301,Remove Invalid Parentheses,43.3%,Hard,0.08716315660591871, https://leetcode.com/problems/remove-invalid-parentheses
109,Convert Sorted List to Binary Search Tree,47.7%,Medium,0.08701137698962977, https://leetcode.com/problems/convert-sorted-list-to-binary-search-tree
176,Second Highest Salary,31.6%,Easy,0.08701137698962977, https://leetcode.com/problems/second-highest-salary
622,Design Circular Queue,43.7%,Medium,0.08696405427235052, https://leetcode.com/problems/design-circular-queue
72,Edit Distance,44.8%,Hard,0.08673866592531046, https://leetcode.com/problems/edit-distance
315,Count of Smaller Numbers After Self,41.5%,Hard,0.08649925937213519, https://leetcode.com/problems/count-of-smaller-numbers-after-self
18,4Sum,33.7%,Medium,0.08527891770220855, https://leetcode.com/problems/4sum
113,Path Sum II,46.7%,Medium,0.08479653666007693, https://leetcode.com/problems/path-sum-ii
916,Word Subsets,47.8%,Medium,0.08479653666007693, https://leetcode.com/problems/word-subsets
1245,Tree Diameter,60.1%,Medium,0.08338160893905106, https://leetcode.com/problems/tree-diameter
473,Matchsticks to Square,37.7%,Medium,0.08201315166083516, https://leetcode.com/problems/matchsticks-to-square
134,Gas Station,38.5%,Medium,0.08169138321871633, https://leetcode.com/problems/gas-station
636,Exclusive Time of Functions,52.0%,Medium,0.08155306616046964, https://leetcode.com/problems/exclusive-time-of-functions
122,Best Time to Buy and Sell Stock II,57.0%,Easy,0.08066286273217169, https://leetcode.com/problems/best-time-to-buy-and-sell-stock-ii
161,One Edit Distance,32.3%,Medium,0.07982960165248484, https://leetcode.com/problems/one-edit-distance
451,Sort Characters By Frequency,63.0%,Medium,0.07950784615171191, https://leetcode.com/problems/sort-characters-by-frequency
128,Longest Consecutive Sequence,45.1%,Hard,0.0786603197723907, https://leetcode.com/problems/longest-consecutive-sequence
341,Flatten Nested List Iterator,52.9%,Medium,0.07763353611776078, https://leetcode.com/problems/flatten-nested-list-iterator
518,Coin Change 2,50.2%,Medium,0.07583984694698977, https://leetcode.com/problems/coin-change-2
547,Friend Circles,58.6%,Medium,0.07408600065076033, https://leetcode.com/problems/friend-circles
860,Lemonade Change,51.6%,Easy,0.07208884919207953, https://leetcode.com/problems/lemonade-change
1008,Construct Binary Search Tree from Preorder Traversal,78.4%,Medium,0.07181191271198491, https://leetcode.com/problems/construct-binary-search-tree-from-preorder-traversal
523,Continuous Subarray Sum,24.6%,Medium,0.07166389251403688, https://leetcode.com/problems/continuous-subarray-sum
102,Binary Tree Level Order Traversal,54.6%,Medium,0.0712263700241388, https://leetcode.com/problems/binary-tree-level-order-traversal
1074,Number of Submatrices That Sum to Target,60.4%,Hard,0.07120444629179161, https://leetcode.com/problems/number-of-submatrices-that-sum-to-target
37,Sudoku Solver,43.6%,Hard,0.07095173597228444, https://leetcode.com/problems/sudoku-solver
438,Find All Anagrams in a String,43.3%,Medium,0.07086789751218016, https://leetcode.com/problems/find-all-anagrams-in-a-string
632,Smallest Range Covering Elements from K Lists,52.4%,Hard,0.07082605256861242, https://leetcode.com/problems/smallest-range-covering-elements-from-k-lists
187,Repeated DNA Sequences,38.9%,Medium,0.06947237281476738, https://leetcode.com/problems/repeated-dna-sequences
117,Populating Next Right Pointers in Each Node II,39.1%,Medium,0.0691455898745421, https://leetcode.com/problems/populating-next-right-pointers-in-each-node-ii
432,All O`one Data Structure,32.4%,Hard,0.06887402901251127, https://leetcode.com/problems/all-oone-data-structure
123,Best Time to Buy and Sell Stock III,37.5%,Hard,0.06838868749455218, https://leetcode.com/problems/best-time-to-buy-and-sell-stock-iii
316,Remove Duplicate Letters,35.8%,Hard,0.067239661116769, https://leetcode.com/problems/remove-duplicate-letters
368,Largest Divisible Subset,38.0%,Medium,0.0670392438027145, https://leetcode.com/problems/largest-divisible-subset
1032,Stream of Characters,48.3%,Hard,0.06646964500774162, https://leetcode.com/problems/stream-of-characters
584,Find Customer Referee,72.3%,Easy,0.06592172080482424, https://leetcode.com/problems/find-customer-referee
16,3Sum Closest,46.0%,Medium,0.065777130514714, https://leetcode.com/problems/3sum-closest
124,Binary Tree Maximum Path Sum,34.3%,Hard,0.06574255262249057, https://leetcode.com/problems/binary-tree-maximum-path-sum
997,Find the Town Judge,50.1%,Easy,0.06548984513511495, https://leetcode.com/problems/find-the-town-judge
287,Find the Duplicate Number,55.5%,Medium,0.06539148783312071, https://leetcode.com/problems/find-the-duplicate-number
387,First Unique Character in a String,53.4%,Easy,0.06495130161301915, https://leetcode.com/problems/first-unique-character-in-a-string
116,Populating Next Right Pointers in Each Node,45.2%,Medium,0.06417026482702023, https://leetcode.com/problems/populating-next-right-pointers-in-each-node
1270,All People Report to the Given Manager,87.1%,Medium,0.06412452816953867, https://leetcode.com/problems/all-people-report-to-the-given-manager
1005,Maximize Sum Of Array After K Negations,51.3%,Easy,0.06371581438610768, https://leetcode.com/problems/maximize-sum-of-array-after-k-negations
71,Simplify Path,32.6%,Medium,0.06351340572232586, https://leetcode.com/problems/simplify-path
300,Longest Increasing Subsequence,42.6%,Medium,0.06265630749555627, https://leetcode.com/problems/longest-increasing-subsequence
1044,Longest Duplicate Substring,31.9%,Hard,0.062325463197828765, https://leetcode.com/problems/longest-duplicate-substring
73,Set Matrix Zeroes,43.1%,Medium,0.061431799532484045, https://leetcode.com/problems/set-matrix-zeroes
48,Rotate Image,56.7%,Medium,0.06069974483040549, https://leetcode.com/problems/rotate-image
701,Insert into a Binary Search Tree,77.7%,Medium,0.06069363413516112, https://leetcode.com/problems/insert-into-a-binary-search-tree
88,Merge Sorted Array,39.4%,Easy,0.059258174101133876, https://leetcode.com/problems/merge-sorted-array
373,Find K Pairs with Smallest Sums,36.7%,Medium,0.058155920157074034, https://leetcode.com/problems/find-k-pairs-with-smallest-sums
98,Validate Binary Search Tree,27.8%,Medium,0.057985181512132535, https://leetcode.com/problems/validate-binary-search-tree
206,Reverse Linked List,62.5%,Easy,0.05691436258797462, https://leetcode.com/problems/reverse-linked-list
873,Length of Longest Fibonacci Subsequence,48.0%,Medium,0.05691436258797462, https://leetcode.com/problems/length-of-longest-fibonacci-subsequence
283,Move Zeroes,57.8%,Easy,0.05686540295029014, https://leetcode.com/problems/move-zeroes
586,Customer Placing the Largest Number of Orders,73.0%,Easy,0.0568334747631659, https://leetcode.com/problems/customer-placing-the-largest-number-of-orders
279,Perfect Squares,47.4%,Medium,0.05625780265009439, https://leetcode.com/problems/perfect-squares
32,Longest Valid Parentheses,28.4%,Hard,0.0556316959861487, https://leetcode.com/problems/longest-valid-parentheses
849,Maximize Distance to Closest Person,42.6%,Easy,0.055535552308963565, https://leetcode.com/problems/maximize-distance-to-closest-person
366,Find Leaves of Binary Tree,70.6%,Medium,0.05526267867504946, https://leetcode.com/problems/find-leaves-of-binary-tree
839,Similar String Groups,38.6%,Hard,0.05480823649499502, https://leetcode.com/problems/similar-string-groups
538,Convert BST to Greater Tree,55.4%,Easy,0.05475820397384584, https://leetcode.com/problems/convert-bst-to-greater-tree
983,Minimum Cost For Tickets,60.5%,Medium,0.05469163590186561, https://leetcode.com/problems/minimum-cost-for-tickets
443,String Compression,41.3%,Easy,0.05450940566837169, https://leetcode.com/problems/string-compression
131,Palindrome Partitioning,47.5%,Medium,0.05449083692828802, https://leetcode.com/problems/palindrome-partitioning
703,Kth Largest Element in a Stream,49.7%,Easy,0.054472280837981495, https://leetcode.com/problems/kth-largest-element-in-a-stream
179,Largest Number,28.8%,Medium,0.0543427413161019, https://leetcode.com/problems/largest-number
310,Minimum Height Trees,32.3%,Medium,0.05423015406086025, https://leetcode.com/problems/minimum-height-trees
234,Palindrome Linked List,39.3%,Easy,0.05416885609643319, https://leetcode.com/problems/palindrome-linked-list
329,Longest Increasing Path in a Matrix,43.4%,Hard,0.052557250738676044, https://leetcode.com/problems/longest-increasing-path-in-a-matrix
581,Shortest Unsorted Continuous Subarray,31.1%,Easy,0.052333720049023605, https://leetcode.com/problems/shortest-unsorted-continuous-subarray
209,Minimum Size Subarray Sum,38.2%,Medium,0.05146227039335983, https://leetcode.com/problems/minimum-size-subarray-sum
560,Subarray Sum Equals K,43.9%,Medium,0.0512021569656579, https://leetcode.com/problems/subarray-sum-equals-k
65,Valid Number,15.3%,Hard,0.05071509257901641, https://leetcode.com/problems/valid-number
1339,Maximum Product of Splitted Binary Tree,37.2%,Medium,0.05064373281875492, https://leetcode.com/problems/maximum-product-of-splitted-binary-tree
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
743,Network Delay Time,45.0%,Medium,0.05002606023684499, https://leetcode.com/problems/network-delay-time
129,Sum Root to Leaf Numbers,49.1%,Medium,0.050010420574661374, https://leetcode.com/problems/sum-root-to-leaf-numbers
242,Valid Anagram,56.9%,Easy,0.04973624974928908, https://leetcode.com/problems/valid-anagram
285,Inorder Successor in BST,40.4%,Medium,0.049569618859417214, https://leetcode.com/problems/inorder-successor-in-bst
181,Employees Earning More Than Their Managers,56.9%,Easy,0.04954573655142984, https://leetcode.com/problems/employees-earning-more-than-their-managers
137,Single Number II,52.4%,Medium,0.04919528672454412, https://leetcode.com/problems/single-number-ii
969,Pancake Sorting,67.5%,Medium,0.04908961019652358, https://leetcode.com/problems/pancake-sorting
1267,Count Servers that Communicate,57.9%,Medium,0.04902942724031861, https://leetcode.com/problems/count-servers-that-communicate
1153,String Transforms Into Another String,35.8%,Hard,0.04861224405509378, https://leetcode.com/problems/string-transforms-into-another-string
407,Trapping Rain Water II,42.4%,Hard,0.04797082778602956, https://leetcode.com/problems/trapping-rain-water-ii
986,Interval List Intersections,67.3%,Medium,0.04703983015489417, https://leetcode.com/problems/interval-list-intersections
336,Palindrome Pairs,33.7%,Hard,0.04690191367275952, https://leetcode.com/problems/palindrome-pairs
698,Partition to K Equal Sum Subsets,45.0%,Medium,0.04685917114094188, https://leetcode.com/problems/partition-to-k-equal-sum-subsets
556,Next Greater Element III,31.7%,Medium,0.04679216150675895, https://leetcode.com/problems/next-greater-element-iii
359,Logger Rate Limiter,70.8%,Easy,0.0467617659080393, https://leetcode.com/problems/logger-rate-limiter
978,Longest Turbulent Subarray,46.6%,Medium,0.046737477851689815, https://leetcode.com/problems/longest-turbulent-subarray
415,Add Strings,47.5%,Easy,0.04650270606183304, https://leetcode.com/problems/add-strings
264,Ugly Number II,42.0%,Medium,0.04563095565767374, https://leetcode.com/problems/ugly-number-ii
843,Guess the Word,46.1%,Hard,0.045462374076757336, https://leetcode.com/problems/guess-the-word
1162,As Far from Land as Possible,43.5%,Medium,0.04510347333459475, https://leetcode.com/problems/as-far-from-land-as-possible
1382,Balance a Binary Search Tree,74.8%,Medium,0.04480032475536626, https://leetcode.com/problems/balance-a-binary-search-tree
349,Intersection of Two Arrays,62.5%,Easy,0.04447549064708117, https://leetcode.com/problems/intersection-of-two-arrays
268,Missing Number,51.7%,Easy,0.043089480538103624, https://leetcode.com/problems/missing-number
515,Find Largest Value in Each Tree Row,61.1%,Medium,0.042459207771791546, https://leetcode.com/problems/find-largest-value-in-each-tree-row
184,Department Highest Salary,36.7%,Medium,0.041672696400568025, https://leetcode.com/problems/department-highest-salary
169,Majority Element,58.7%,Easy,0.041581229756944955, https://leetcode.com/problems/majority-element
430,Flatten a Multilevel Doubly Linked List,55.1%,Medium,0.04154283751370906, https://leetcode.com/problems/flatten-a-multilevel-doubly-linked-list
92,Reverse Linked List II,38.8%,Medium,0.041073535208287514, https://leetcode.com/problems/reverse-linked-list-ii
647,Palindromic Substrings,60.6%,Medium,0.040968350772541844, https://leetcode.com/problems/palindromic-substrings
62,Unique Paths,54.1%,Medium,0.04084052144450833, https://leetcode.com/problems/unique-paths
1094,Car Pooling,56.7%,Medium,0.04016604172533471, https://leetcode.com/problems/car-pooling
686,Repeated String Match,32.3%,Easy,0.03984590854719967, https://leetcode.com/problems/repeated-string-match
406,Queue Reconstruction by Height,66.9%,Medium,0.03949613834265583, https://leetcode.com/problems/queue-reconstruction-by-height
289,Game of Life,54.5%,Medium,0.03856519035039098, https://leetcode.com/problems/game-of-life
202,Happy Number,50.4%,Easy,0.03853744444187023, https://leetcode.com/problems/happy-number
178,Rank Scores,45.8%,Medium,0.037379767071581464, https://leetcode.com/problems/rank-scores
1031,Maximum Sum of Two Non-Overlapping Subarrays,57.9%,Medium,0.03711000965123125, https://leetcode.com/problems/maximum-sum-of-two-non-overlapping-subarrays
646,Maximum Length of Pair Chain,51.9%,Medium,0.036870535808327706, https://leetcode.com/problems/maximum-length-of-pair-chain
729,My Calendar I,51.8%,Medium,0.036433902246102004, https://leetcode.com/problems/my-calendar-i
884,Uncommon Words from Two Sentences,63.3%,Easy,0.036301626676214796, https://leetcode.com/problems/uncommon-words-from-two-sentences
1249,Minimum Remove to Make Valid Parentheses,62.5%,Medium,0.03628515973976445, https://leetcode.com/problems/minimum-remove-to-make-valid-parentheses
875,Koko Eating Bananas,52.1%,Medium,0.0359751024582779, https://leetcode.com/problems/koko-eating-bananas
1254,Number of Closed Islands,60.5%,Medium,0.03540192705091593, https://leetcode.com/problems/number-of-closed-islands
63,Unique Paths II,34.6%,Medium,0.03440459729940371, https://leetcode.com/problems/unique-paths-ii
1002,Find Common Characters,67.6%,Easy,0.03404262162737441, https://leetcode.com/problems/find-common-characters
226,Invert Binary Tree,65.0%,Easy,0.03393837323839263, https://leetcode.com/problems/invert-binary-tree
528,Random Pick with Weight,43.9%,Medium,0.03306693626657339, https://leetcode.com/problems/random-pick-with-weight
235,Lowest Common Ancestor of a Binary Search Tree,49.9%,Easy,0.032470385030784074, https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-search-tree
133,Clone Graph,34.8%,Medium,0.03215711163453134, https://leetcode.com/problems/clone-graph
1146,Snapshot Array,37.0%,Medium,0.0317991816929387, https://leetcode.com/problems/snapshot-array
653,Two Sum IV - Input is a BST,55.5%,Easy,0.031726312677204306, https://leetcode.com/problems/two-sum-iv-input-is-a-bst
150,Evaluate Reverse Polish Notation,36.3%,Medium,0.031526253646773944, https://leetcode.com/problems/evaluate-reverse-polish-notation
38,Count and Say,44.6%,Easy,0.030956234663467107, https://leetcode.com/problems/count-and-say
1179,Reformat Department Table,80.6%,Easy,0.030653741091002412, https://leetcode.com/problems/reformat-department-table
135,Candy,31.6%,Hard,0.029764101906453892, https://leetcode.com/problems/candy
419,Battleships in a Board,70.0%,Medium,0.02967576814611661, https://leetcode.com/problems/battleships-in-a-board
413,Arithmetic Slices,57.9%,Medium,0.028431197162004825, https://leetcode.com/problems/arithmetic-slices
77,Combinations,54.7%,Medium,0.028021758737593695, https://leetcode.com/problems/combinations
204,Count Primes,31.5%,Easy,0.02799343042200216, https://leetcode.com/problems/count-primes
183,Customers Who Never Order,53.4%,Easy,0.027702602549335792, https://leetcode.com/problems/customers-who-never-order
68,Text Justification,27.7%,Hard,0.0276451606661453, https://leetcode.com/problems/text-justification
249,Group Shifted Strings,55.1%,Medium,0.0276069982440099, https://leetcode.com/problems/group-shifted-strings
114,Flatten Binary Tree to Linked List,49.3%,Medium,0.02730545069026746, https://leetcode.com/problems/flatten-binary-tree-to-linked-list
130,Surrounded Regions,28.1%,Medium,0.02672368055211276, https://leetcode.com/problems/surrounded-regions
931,Minimum Falling Path Sum,62.5%,Medium,0.02672169681715245, https://leetcode.com/problems/minimum-falling-path-sum
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
158,Read N Characters Given Read4 II - Call multiple times,33.8%,Hard,0.026196651946570663, https://leetcode.com/problems/read-n-characters-given-read4-ii-call-multiple-times
1395,Count Number of Teams,82.0%,Medium,0.025462865161248044, https://leetcode.com/problems/count-number-of-teams
862,Shortest Subarray with Sum at Least K,24.6%,Hard,0.025398190605610438, https://leetcode.com/problems/shortest-subarray-with-sum-at-least-k
951,Flip Equivalent Binary Trees,65.8%,Medium,0.025269822188076344, https://leetcode.com/problems/flip-equivalent-binary-trees
232,Implement Queue using Stacks,49.6%,Easy,0.025119936515296634, https://leetcode.com/problems/implement-queue-using-stacks
785,Is Graph Bipartite?,47.5%,Medium,0.02510592113107633, https://leetcode.com/problems/is-graph-bipartite
132,Palindrome Partitioning II,30.2%,Hard,0.024436157849456068, https://leetcode.com/problems/palindrome-partitioning-ii
714,Best Time to Buy and Sell Stock with Transaction Fee,54.7%,Medium,0.024258315059789946, https://leetcode.com/problems/best-time-to-buy-and-sell-stock-with-transaction-fee
836,Rectangle Overlap,48.6%,Easy,0.024228925974379843, https://leetcode.com/problems/rectangle-overlap
395,Longest Substring with At Least K Repeating Characters,41.4%,Medium,0.024228925974379843, https://leetcode.com/problems/longest-substring-with-at-least-k-repeating-characters
70,Climbing Stairs,47.8%,Easy,0.023866591309041507, https://leetcode.com/problems/climbing-stairs
31,Next Permutation,32.6%,Medium,0.023747034562878154, https://leetcode.com/problems/next-permutation
704,Binary Search,52.1%,Easy,0.02368531774150923, https://leetcode.com/problems/binary-search
1161,Maximum Level Sum of a Binary Tree,72.2%,Medium,0.023270392682351006, https://leetcode.com/problems/maximum-level-sum-of-a-binary-tree
1299,Replace Elements with Greatest Element on Right Side,75.4%,Easy,0.022756987122616215, https://leetcode.com/problems/replace-elements-with-greatest-element-on-right-side
678,Valid Parenthesis String,31.0%,Medium,0.02271534352147261, https://leetcode.com/problems/valid-parenthesis-string
61,Rotate List,30.0%,Medium,0.022195732391784302, https://leetcode.com/problems/rotate-list
112,Path Sum,41.2%,Easy,0.021701651897460775, https://leetcode.com/problems/path-sum
1019,Next Greater Node In Linked List,57.4%,Medium,0.02159911180346178, https://leetcode.com/problems/next-greater-node-in-linked-list
1520,Maximum Number of Non-Overlapping Substrings,32.8%,Hard,0.021485667755491482, https://leetcode.com/problems/maximum-number-of-non-overlapping-substrings
841,Keys and Rooms,64.3%,Medium,0.021425565169310254, https://leetcode.com/problems/keys-and-rooms
921,Minimum Add to Make Parentheses Valid,73.7%,Medium,0.021425565169310254, https://leetcode.com/problems/minimum-add-to-make-parentheses-valid
14,Longest Common Prefix,35.4%,Easy,0.02057347087022327, https://leetcode.com/problems/longest-common-prefix
784,Letter Case Permutation,64.6%,Medium,0.02026411791905559, https://leetcode.com/problems/letter-case-permutation
69,Sqrt(x),33.9%,Easy,0.020253856904497686, https://leetcode.com/problems/sqrtx
180,Consecutive Numbers,39.7%,Medium,0.02021291655585931, https://leetcode.com/problems/consecutive-numbers
525,Contiguous Array,42.8%,Medium,0.01975372873623256, https://leetcode.com/problems/contiguous-array
435,Non-overlapping Intervals,42.9%,Medium,0.019455866615365896, https://leetcode.com/problems/non-overlapping-intervals
416,Partition Equal Subset Sum,43.7%,Medium,0.01943905703222215, https://leetcode.com/problems/partition-equal-subset-sum
1048,Longest String Chain,54.7%,Medium,0.019361689049145963, https://leetcode.com/problems/longest-string-chain
787,Cheapest Flights Within K Stops,39.3%,Medium,0.018824085245635554, https://leetcode.com/problems/cheapest-flights-within-k-stops
450,Delete Node in a BST,43.1%,Medium,0.018536211907915243, https://leetcode.com/problems/delete-node-in-a-bst
290,Word Pattern,37.0%,Easy,0.01839978311884168, https://leetcode.com/problems/word-pattern
590,N-ary Tree Postorder Traversal,72.1%,Easy,0.018182319083190436, https://leetcode.com/problems/n-ary-tree-postorder-traversal
542,01 Matrix,39.8%,Medium,0.01796993548494071, https://leetcode.com/problems/01-matrix
383,Ransom Note,53.1%,Easy,0.017621601349819518, https://leetcode.com/problems/ransom-note
993,Cousins in Binary Tree,52.0%,Easy,0.017414458368636587, https://leetcode.com/problems/cousins-in-binary-tree
104,Maximum Depth of Binary Tree,66.0%,Easy,0.017297878201610554, https://leetcode.com/problems/maximum-depth-of-binary-tree
6,ZigZag Conversion,36.3%,Medium,0.01726827253226344, https://leetcode.com/problems/zigzag-conversion
337,House Robber III,50.6%,Medium,0.017182553319996886, https://leetcode.com/problems/house-robber-iii
50,Pow(x;n),30.3%,Medium,0.017036779497025166, https://leetcode.com/problems/powx-n
389,Find the Difference,55.3%,Easy,0.016978336534417868, https://leetcode.com/problems/find-the-difference
402,Remove K Digits,28.4%,Medium,0.016863806052004816, https://leetcode.com/problems/remove-k-digits
1110,Delete Nodes And Return Forest,67.0%,Medium,0.01660478167636296, https://leetcode.com/problems/delete-nodes-and-return-forest
1108,Defanging an IP Address,87.5%,Easy,0.016423726830643748, https://leetcode.com/problems/defanging-an-ip-address
299,Bulls and Cows,42.4%,Easy,0.016227536621756702, https://leetcode.com/problems/bulls-and-cows
340,Longest Substring with At Most K Distinct Characters,44.1%,Hard,0.016122880486563188, https://leetcode.com/problems/longest-substring-with-at-most-k-distinct-characters
412,Fizz Buzz,62.3%,Easy,0.016051709010507904, https://leetcode.com/problems/fizz-buzz
509,Fibonacci Number,67.2%,Easy,0.01593518138579736, https://leetcode.com/problems/fibonacci-number
1304,Find N Unique Integers Sum up to Zero,76.3%,Easy,0.015892269319508656, https://leetcode.com/problems/find-n-unique-integers-sum-up-to-zero
938,Range Sum of BST,81.3%,Easy,0.015707129205357877, https://leetcode.com/problems/range-sum-of-bst
28,Implement strStr(),34.5%,Easy,0.01568044672076543, https://leetcode.com/problems/implement-strstr
118,Pascal's Triangle,52.5%,Easy,0.015123796918620345, https://leetcode.com/problems/pascals-triangle
567,Permutation in String,44.4%,Medium,0.014947961435873182, https://leetcode.com/problems/permutation-in-string
912,Sort an Array,63.9%,Medium,0.01443026482902881, https://leetcode.com/problems/sort-an-array
107,Binary Tree Level Order Traversal II,53.5%,Easy,0.014395642075089957, https://leetcode.com/problems/binary-tree-level-order-traversal-ii
404,Sum of Left Leaves,50.9%,Easy,0.013981353230340547, https://leetcode.com/problems/sum-of-left-leaves
304,Range Sum Query 2D - Immutable,38.6%,Medium,0.013913267916985026, https://leetcode.com/problems/range-sum-query-2d-immutable
724,Find Pivot Index,44.0%,Easy,0.013850636933899008, https://leetcode.com/problems/find-pivot-index
44,Wildcard Matching,24.7%,Hard,0.013703537497261858, https://leetcode.com/problems/wildcard-matching
1047,Remove All Adjacent Duplicates In String,68.6%,Easy,0.013059277989179281, https://leetcode.com/problems/remove-all-adjacent-duplicates-in-string
344,Reverse String,68.5%,Easy,0.013014662307854044, https://leetcode.com/problems/reverse-string
82,Remove Duplicates from Sorted List II,36.8%,Medium,0.01297035044262745, https://leetcode.com/problems/remove-duplicates-from-sorted-list-ii
213,House Robber II,36.5%,Medium,0.012654392210497564, https://leetcode.com/problems/house-robber-ii
852,Peak Index in a Mountain Array,71.6%,Easy,0.012618463959211509, https://leetcode.com/problems/peak-index-in-a-mountain-array
108,Convert Sorted Array to Binary Search Tree,57.9%,Easy,0.012453461071286613, https://leetcode.com/problems/convert-sorted-array-to-binary-search-tree
167,Two Sum II - Input array is sorted,54.1%,Easy,0.012349223898473458, https://leetcode.com/problems/two-sum-ii-input-array-is-sorted
9,Palindrome Number,48.4%,Easy,0.01209661684713821, https://leetcode.com/problems/palindrome-number
81,Search in Rotated Sorted Array II,33.0%,Medium,0.011689203815677656, https://leetcode.com/problems/search-in-rotated-sorted-array-ii
350,Intersection of Two Arrays II,51.4%,Easy,0.01168540951877908, https://leetcode.com/problems/intersection-of-two-arrays-ii
136,Single Number,65.5%,Easy,0.011429512235126808, https://leetcode.com/problems/single-number
90,Subsets II,47.1%,Medium,0.011412392051744769, https://leetcode.com/problems/subsets-ii
171,Excel Sheet Column Number,55.9%,Easy,0.011195191092491645, https://leetcode.com/problems/excel-sheet-column-number
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
662,Maximum Width of Binary Tree,41.0%,Medium,0.010790501245113902, https://leetcode.com/problems/maximum-width-of-binary-tree
414,Third Maximum Number,30.5%,Easy,0.010357420400453607, https://leetcode.com/problems/third-maximum-number
40,Combination Sum II,48.2%,Medium,0.009578617297069781, https://leetcode.com/problems/combination-sum-ii
106,Construct Binary Tree from Inorder and Postorder Traversal,47.2%,Medium,0.009328969762346678, https://leetcode.com/problems/construct-binary-tree-from-inorder-and-postorder-traversal
189,Rotate Array,34.7%,Easy,0.00904437880665999, https://leetcode.com/problems/rotate-array
125,Valid Palindrome,36.7%,Easy,0.008933948641551634, https://leetcode.com/problems/valid-palindrome
953,Verifying an Alien Dictionary,54.1%,Easy,0.007884921592696038, https://leetcode.com/problems/verifying-an-alien-dictionary
141,Linked List Cycle,41.1%,Easy,0.007843861028908454, https://leetcode.com/problems/linked-list-cycle
1344,Angle Between Hands of a Clock,61.4%,Medium,0.007795031188053973, https://leetcode.com/problems/angle-between-hands-of-a-clock
26,Remove Duplicates from Sorted Array,45.1%,Easy,0.007782518973063169, https://leetcode.com/problems/remove-duplicates-from-sorted-array
94,Binary Tree Inorder Traversal,63.3%,Medium,0.007533307577636257, https://leetcode.com/problems/binary-tree-inorder-traversal
66,Plus One,43.0%,Easy,0.007324847595025828, https://leetcode.com/problems/plus-one
771,Jewels and Stones,86.4%,Easy,0.007284679819409419, https://leetcode.com/problems/jewels-and-stones
1365,How Many Numbers Are Smaller Than the Current Number,85.6%,Easy,0.007109877088701047, https://leetcode.com/problems/how-many-numbers-are-smaller-than-the-current-number
110,Balanced Binary Tree,43.5%,Easy,0.007027435807456887, https://leetcode.com/problems/balanced-binary-tree
67,Add Binary,45.2%,Easy,0.006631598888145552, https://leetcode.com/problems/add-binary
203,Remove Linked List Elements,38.6%,Easy,0.006479067005887776, https://leetcode.com/problems/remove-linked-list-elements
151,Reverse Words in a String,21.9%,Medium,0.0061359296669270605, https://leetcode.com/problems/reverse-words-in-a-string
1431,Kids With the Greatest Number of Candies,88.9%,Easy,0.005927699633275225, https://leetcode.com/problems/kids-with-the-greatest-number-of-candies
621,Task Scheduler,50.1%,Medium,0.005261323957171611, https://leetcode.com/problems/task-scheduler
160,Intersection of Two Linked Lists,40.6%,Easy,0.004901369939720486, https://leetcode.com/problems/intersection-of-two-linked-lists
35,Search Insert Position,42.6%,Easy,0.004646848510375352, https://leetcode.com/problems/search-insert-position
7,Reverse Integer,25.8%,Easy,0.00418293972984512, https://leetcode.com/problems/reverse-integer
977,Squares of a Sorted Array,72.1%,Easy,0.003891055492966611, https://leetcode.com/problems/squares-of-a-sorted-array
78,Subsets,62.0%,Medium,0.00368765975195334, https://leetcode.com/problems/subsets
100,Same Tree,53.4%,Easy,0.003165227373565798, https://leetcode.com/problems/same-tree
309,Best Time to Buy and Sell Stock with Cooldown,47.4%,Medium,0.0028498166907604426, https://leetcode.com/problems/best-time-to-buy-and-sell-stock-with-cooldown
797,All Paths From Source to Target,77.9%,Medium,0.0024703569875376783, https://leetcode.com/problems/all-paths-from-source-to-target
260,Single Number III,64.3%,Medium,0.0020288097849578786, https://leetcode.com/problems/single-number-iii
1 937 ID Reorder Data in Log Files Title 54.3% Acceptance Easy Difficulty 3.9547702430822818 Frequency https://leetcode.com/problems/reorder-data-in-log-files Leetcode Question Link
2 200 937 Number of Islands Reorder Data in Log Files 46.8% 54.3% Medium Easy 3.6590323855166846 3.9547702430822818 https://leetcode.com/problems/number-of-islands https://leetcode.com/problems/reorder-data-in-log-files
3 1192 200 Critical Connections in a Network Number of Islands 48.6% 46.8% Hard Medium 3.3632945279510875 3.6590323855166846 https://leetcode.com/problems/critical-connections-in-a-network https://leetcode.com/problems/number-of-islands
4 763 1192 Partition Labels Critical Connections in a Network 76.1% 48.6% Medium Hard 3.1678101129592746 3.3632945279510875 https://leetcode.com/problems/partition-labels https://leetcode.com/problems/critical-connections-in-a-network
5 994 763 Rotting Oranges Partition Labels 49.2% 76.1% Medium Medium 2.8720722553936775 3.1678101129592746 https://leetcode.com/problems/rotting-oranges https://leetcode.com/problems/partition-labels
6 692 994 Top K Frequent Words Rotting Oranges 51.8% 49.2% Medium Medium 2.7214375224426046 2.8720722553936775 https://leetcode.com/problems/top-k-frequent-words https://leetcode.com/problems/rotting-oranges
7 819 692 Most Common Word Top K Frequent Words 44.8% 51.8% Easy Medium 2.4256996648770075 2.7214375224426046 https://leetcode.com/problems/most-common-word https://leetcode.com/problems/top-k-frequent-words
8 146 819 LRU Cache Most Common Word 33.2% 44.8% Medium Easy 2.1299618073114104 2.4256996648770075 https://leetcode.com/problems/lru-cache https://leetcode.com/problems/most-common-word
9 1152 146 Analyze User Website Visit Pattern LRU Cache 43.5% 33.2% Medium Medium 1.8342239497458135 2.1299618073114104 https://leetcode.com/problems/analyze-user-website-visit-pattern https://leetcode.com/problems/lru-cache
10 23 1152 Merge k Sorted Lists Analyze User Website Visit Pattern 40.2% 43.5% Hard Medium 1.739235050219392 1.8342239497458135 https://leetcode.com/problems/merge-k-sorted-lists https://leetcode.com/problems/analyze-user-website-visit-pattern
11 588 23 Design In-Memory File System Merge k Sorted Lists 45.9% 40.2% Hard Hard 1.6763233015814871 1.739235050219392 https://leetcode.com/problems/design-in-memory-file-system https://leetcode.com/problems/merge-k-sorted-lists
12 1 588 Two Sum Design In-Memory File System 45.6% 45.9% Easy Hard 1.5089728550598949 1.6763233015814871 https://leetcode.com/problems/two-sum https://leetcode.com/problems/design-in-memory-file-system
13 472 1 Concatenated Words Two Sum 43.7% 45.6% Hard Easy 1.4802648705378958 1.5089728550598949 https://leetcode.com/problems/concatenated-words https://leetcode.com/problems/two-sum
14 973 472 K Closest Points to Origin Concatenated Words 63.8% 43.7% Medium Hard 1.4345467018065698 1.4802648705378958 https://leetcode.com/problems/k-closest-points-to-origin https://leetcode.com/problems/concatenated-words
15 957 973 Prison Cells After N Days K Closest Points to Origin 40.7% 63.8% Medium Medium 1.3423289104477119 1.4345467018065698 https://leetcode.com/problems/prison-cells-after-n-days https://leetcode.com/problems/k-closest-points-to-origin
16 460 957 LFU Cache Prison Cells After N Days 34.2% 40.7% Hard Medium 1.1854052630535123 1.3423289104477119 https://leetcode.com/problems/lfu-cache https://leetcode.com/problems/prison-cells-after-n-days
17 1167 460 Minimum Cost to Connect Sticks LFU Cache 62.8% 34.2% Medium Hard 1.1814314904899383 1.1854052630535123 https://leetcode.com/problems/minimum-cost-to-connect-sticks https://leetcode.com/problems/lfu-cache
18 42 1167 Trapping Rain Water Minimum Cost to Connect Sticks 48.9% 62.8% Hard Medium 1.1037585327659545 1.1814314904899383 https://leetcode.com/problems/trapping-rain-water https://leetcode.com/problems/minimum-cost-to-connect-sticks
19 138 42 Copy List with Random Pointer Trapping Rain Water 36.4% 48.9% Medium Hard 1.102640803567812 1.1037585327659545 https://leetcode.com/problems/copy-list-with-random-pointer https://leetcode.com/problems/trapping-rain-water
20 127 138 Word Ladder Copy List with Random Pointer 29.6% 36.4% Medium Medium 1.0425997036961998 1.102640803567812 https://leetcode.com/problems/word-ladder https://leetcode.com/problems/copy-list-with-random-pointer
21 295 127 Find Median from Data Stream Word Ladder 44.3% 29.6% Hard Medium 1.0194793992505597 1.0425997036961998 https://leetcode.com/problems/find-median-from-data-stream https://leetcode.com/problems/word-ladder
22 348 295 Design Tic-Tac-Toe Find Median from Data Stream 54.3% 44.3% Medium Hard 0.9433716904768258 1.0194793992505597 https://leetcode.com/problems/design-tic-tac-toe https://leetcode.com/problems/find-median-from-data-stream
23 212 348 Word Search II Design Tic-Tac-Toe 34.9% 54.3% Hard Medium 0.8857014706209553 0.9433716904768258 https://leetcode.com/problems/word-search-ii https://leetcode.com/problems/design-tic-tac-toe
24 253 212 Meeting Rooms II Word Search II 45.7% 34.9% Medium Hard 0.8632775077826929 0.8857014706209553 https://leetcode.com/problems/meeting-rooms-ii https://leetcode.com/problems/word-search-ii
25 21 253 Merge Two Sorted Lists Meeting Rooms II 53.5% 45.7% Easy Medium 0.8095181456041088 0.8632775077826929 https://leetcode.com/problems/merge-two-sorted-lists https://leetcode.com/problems/meeting-rooms-ii
26 694 21 Number of Distinct Islands Merge Two Sorted Lists 56.0% 53.5% Medium Easy 0.7884573603642702 0.8095181456041088 https://leetcode.com/problems/number-of-distinct-islands https://leetcode.com/problems/merge-two-sorted-lists
27 269 694 Alien Dictionary Number of Distinct Islands 33.3% 56.0% Hard Medium 0.7683984542353193 0.7884573603642702 https://leetcode.com/problems/alien-dictionary https://leetcode.com/problems/number-of-distinct-islands
28 273 269 Integer to English Words Alien Dictionary 27.1% 33.3% Hard Hard 0.7404748586772619 0.7683984542353193 https://leetcode.com/problems/integer-to-english-words https://leetcode.com/problems/alien-dictionary
29 380 273 Insert Delete GetRandom O(1) Integer to English Words 47.5% 27.1% Medium Hard 0.7362463730417975 0.7404748586772619 https://leetcode.com/problems/insert-delete-getrandom-o1 https://leetcode.com/problems/integer-to-english-words
30 297 380 Serialize and Deserialize Binary Tree Insert Delete GetRandom O(1) 47.5% 47.5% Hard Medium 0.7044467358138786 0.7362463730417975 https://leetcode.com/problems/serialize-and-deserialize-binary-tree https://leetcode.com/problems/insert-delete-getrandom-o1
31 863 297 All Nodes Distance K in Binary Tree Serialize and Deserialize Binary Tree 55.4% 47.5% Medium Hard 0.6739386478106545 0.7044467358138786 https://leetcode.com/problems/all-nodes-distance-k-in-binary-tree https://leetcode.com/problems/serialize-and-deserialize-binary-tree
32 139 863 Word Break All Nodes Distance K in Binary Tree 40.1% 55.4% Medium Medium 0.6613827480153901 0.6739386478106545 https://leetcode.com/problems/word-break https://leetcode.com/problems/all-nodes-distance-k-in-binary-tree
33 2 139 Add Two Numbers Word Break 33.9% 40.1% Medium Medium 0.5977271417553114 0.6613827480153901 https://leetcode.com/problems/add-two-numbers https://leetcode.com/problems/word-break
34 726 2 Number of Atoms Add Two Numbers 49.0% 33.9% Hard Medium 0.591070740103309 0.5977271417553114 https://leetcode.com/problems/number-of-atoms https://leetcode.com/problems/add-two-numbers
35 909 726 Snakes and Ladders Number of Atoms 38.4% 49.0% Medium Hard 0.581062856900522 0.591070740103309 https://leetcode.com/problems/snakes-and-ladders https://leetcode.com/problems/number-of-atoms
36 121 909 Best Time to Buy and Sell Stock Snakes and Ladders 50.5% 38.4% Easy Medium 0.5695968683666981 0.581062856900522 https://leetcode.com/problems/best-time-to-buy-and-sell-stock https://leetcode.com/problems/snakes-and-ladders
37 126 121 Word Ladder II Best Time to Buy and Sell Stock 22.1% 50.5% Hard Easy 0.5693600008081126 0.5695968683666981 https://leetcode.com/problems/word-ladder-ii https://leetcode.com/problems/best-time-to-buy-and-sell-stock
38 353 126 Design Snake Game Word Ladder II 34.2% 22.1% Medium Hard 0.5678280191954505 0.5693600008081126 https://leetcode.com/problems/design-snake-game https://leetcode.com/problems/word-ladder-ii
39 1268 353 Search Suggestions System Design Snake Game 63.2% 34.2% Medium Medium 0.5670827306499265 0.5678280191954505 https://leetcode.com/problems/search-suggestions-system https://leetcode.com/problems/design-snake-game
40 240 1268 Search a 2D Matrix II Search Suggestions System 43.2% 63.2% Medium Medium 0.5659839416965464 0.5670827306499265 https://leetcode.com/problems/search-a-2d-matrix-ii https://leetcode.com/problems/search-suggestions-system
41 733 240 Flood Fill Search a 2D Matrix II 55.3% 43.2% Easy Medium 0.5434516866606699 0.5659839416965464 https://leetcode.com/problems/flood-fill https://leetcode.com/problems/search-a-2d-matrix-ii
42 49 733 Group Anagrams Flood Fill 56.9% 55.3% Medium Easy 0.5274564521278222 0.5434516866606699 https://leetcode.com/problems/group-anagrams https://leetcode.com/problems/flood-fill
43 1429 49 First Unique Number Group Anagrams 47.0% 56.9% Medium Medium 0.5239621016713606 0.5274564521278222 https://leetcode.com/problems/first-unique-number https://leetcode.com/problems/group-anagrams
44 56 1429 Merge Intervals First Unique Number 39.3% 47.0% Medium Medium 0.5198989648602567 0.5239621016713606 https://leetcode.com/problems/merge-intervals https://leetcode.com/problems/first-unique-number
45 1091 56 Shortest Path in Binary Matrix Merge Intervals 38.2% 39.3% Medium Medium 0.5014571171893788 0.5198989648602567 https://leetcode.com/problems/shortest-path-in-binary-matrix https://leetcode.com/problems/merge-intervals
46 15 1091 3Sum Shortest Path in Binary Matrix 26.8% 38.2% Medium Medium 0.4923847546019265 0.5014571171893788 https://leetcode.com/problems/3sum https://leetcode.com/problems/shortest-path-in-binary-matrix
47 227 15 Basic Calculator II 3Sum 36.9% 26.8% Medium Medium 0.47707464048628756 0.4923847546019265 https://leetcode.com/problems/basic-calculator-ii https://leetcode.com/problems/3sum
48 815 227 Bus Routes Basic Calculator II 42.5% 36.9% Hard Medium 0.46566970439379607 0.47707464048628756 https://leetcode.com/problems/bus-routes https://leetcode.com/problems/basic-calculator-ii
49 465 815 Optimal Account Balancing Bus Routes 46.9% 42.5% Hard Hard 0.44746022914476763 0.46566970439379607 https://leetcode.com/problems/optimal-account-balancing https://leetcode.com/problems/bus-routes
50 564 465 Find the Closest Palindrome Optimal Account Balancing 19.7% 46.9% Hard Hard 0.43712242797885603 0.44746022914476763 https://leetcode.com/problems/find-the-closest-palindrome https://leetcode.com/problems/optimal-account-balancing
51 5 564 Longest Palindromic Substring Find the Closest Palindrome 29.5% 19.7% Medium Hard 0.43711515550369573 0.43712242797885603 https://leetcode.com/problems/longest-palindromic-substring https://leetcode.com/problems/find-the-closest-palindrome
52 642 5 Design Search Autocomplete System Longest Palindromic Substring 44.7% 29.5% Hard Medium 0.43349242036282026 0.43711515550369573 https://leetcode.com/problems/design-search-autocomplete-system https://leetcode.com/problems/longest-palindromic-substring
53 17 642 Letter Combinations of a Phone Number Design Search Autocomplete System 46.8% 44.7% Medium Hard 0.42775086183255473 0.43349242036282026 https://leetcode.com/problems/letter-combinations-of-a-phone-number https://leetcode.com/problems/design-search-autocomplete-system
54 403 17 Frog Jump Letter Combinations of a Phone Number 39.7% 46.8% Hard Medium 0.42647291912626817 0.42775086183255473 https://leetcode.com/problems/frog-jump https://leetcode.com/problems/letter-combinations-of-a-phone-number
55 394 403 Decode String Frog Jump 50.0% 39.7% Medium Hard 0.42186669570914975 0.42647291912626817 https://leetcode.com/problems/decode-string https://leetcode.com/problems/frog-jump
56 210 394 Course Schedule II Decode String 40.7% 50.0% Medium Medium 0.4187970574421199 0.42186669570914975 https://leetcode.com/problems/course-schedule-ii https://leetcode.com/problems/decode-string
57 239 210 Sliding Window Maximum Course Schedule II 43.0% 40.7% Hard Medium 0.4104750065235096 0.4187970574421199 https://leetcode.com/problems/sliding-window-maximum https://leetcode.com/problems/course-schedule-ii
58 1335 239 Minimum Difficulty of a Job Schedule Sliding Window Maximum 57.6% 43.0% Hard Hard 0.3963047387095001 0.4104750065235096 https://leetcode.com/problems/minimum-difficulty-of-a-job-schedule https://leetcode.com/problems/sliding-window-maximum
59 317 1335 Shortest Distance from All Buildings Minimum Difficulty of a Job Schedule 41.4% 57.6% Hard Hard 0.3879036811782171 0.3963047387095001 https://leetcode.com/problems/shortest-distance-from-all-buildings https://leetcode.com/problems/minimum-difficulty-of-a-job-schedule
60 208 317 Implement Trie (Prefix Tree) Shortest Distance from All Buildings 49.4% 41.4% Medium Hard 0.3703247851035097 0.3879036811782171 https://leetcode.com/problems/implement-trie-prefix-tree https://leetcode.com/problems/shortest-distance-from-all-buildings
61 322 208 Coin Change Implement Trie (Prefix Tree) 35.5% 49.4% Medium Medium 0.3682371587377334 0.3703247851035097 https://leetcode.com/problems/coin-change https://leetcode.com/problems/implement-trie-prefix-tree
62 572 322 Subtree of Another Tree Coin Change 44.1% 35.5% Easy Medium 0.36744178604609046 0.3682371587377334 https://leetcode.com/problems/subtree-of-another-tree https://leetcode.com/problems/coin-change
63 211 572 Add and Search Word - Data structure design Subtree of Another Tree 38.1% 44.1% Medium Easy 0.3669576767104271 0.36744178604609046 https://leetcode.com/problems/add-and-search-word-data-structure-design https://leetcode.com/problems/subtree-of-another-tree
64 437 211 Path Sum III Add and Search Word - Data structure design 47.2% 38.1% Medium Medium 0.36415150066384533 0.3669576767104271 https://leetcode.com/problems/path-sum-iii https://leetcode.com/problems/add-and-search-word-data-structure-design
65 238 437 Product of Array Except Self Path Sum III 60.1% 47.2% Medium Medium 0.3605955735094466 0.36415150066384533 https://leetcode.com/problems/product-of-array-except-self https://leetcode.com/problems/path-sum-iii
66 236 238 Lowest Common Ancestor of a Binary Tree Product of Array Except Self 45.7% 60.1% Medium Medium 0.3551971839535377 0.3605955735094466 https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-tree https://leetcode.com/problems/product-of-array-except-self
67 140 236 Word Break II Lowest Common Ancestor of a Binary Tree 32.6% 45.7% Hard Medium 0.35315833146615444 0.3551971839535377 https://leetcode.com/problems/word-break-ii https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-tree
68 97 140 Interleaving String Word Break II 31.5% 32.6% Hard Hard 0.3498263128325362 0.35315833146615444 https://leetcode.com/problems/interleaving-string https://leetcode.com/problems/word-break-ii
69 173 97 Binary Search Tree Iterator Interleaving String 56.6% 31.5% Medium Hard 0.3490586305394522 0.3498263128325362 https://leetcode.com/problems/binary-search-tree-iterator https://leetcode.com/problems/interleaving-string
70 188 173 Best Time to Buy and Sell Stock IV Binary Search Tree Iterator 28.0% 56.6% Hard Medium 0.3480617703158782 0.3490586305394522 https://leetcode.com/problems/best-time-to-buy-and-sell-stock-iv https://leetcode.com/problems/binary-search-tree-iterator
71 489 188 Robot Room Cleaner Best Time to Buy and Sell Stock IV 69.7% 28.0% Hard Hard 0.34393738002030483 0.3480617703158782 https://leetcode.com/problems/robot-room-cleaner https://leetcode.com/problems/best-time-to-buy-and-sell-stock-iv
72 93 489 Restore IP Addresses Robot Room Cleaner 35.6% 69.7% Medium Hard 0.33946177546957895 0.34393738002030483 https://leetcode.com/problems/restore-ip-addresses https://leetcode.com/problems/robot-room-cleaner
73 76 93 Minimum Window Substring Restore IP Addresses 34.6% 35.6% Hard Medium 0.33651688545811814 0.33946177546957895 https://leetcode.com/problems/minimum-window-substring https://leetcode.com/problems/restore-ip-addresses
74 895 76 Maximum Frequency Stack Minimum Window Substring 60.6% 34.6% Hard Hard 0.33520721431462625 0.33651688545811814 https://leetcode.com/problems/maximum-frequency-stack https://leetcode.com/problems/minimum-window-substring
75 165 895 Compare Version Numbers Maximum Frequency Stack 27.4% 60.6% Medium Hard 0.33499311472223486 0.33520721431462625 https://leetcode.com/problems/compare-version-numbers https://leetcode.com/problems/maximum-frequency-stack
76 53 165 Maximum Subarray Compare Version Numbers 46.5% 27.4% Easy Medium 0.33316614062015326 0.33499311472223486 https://leetcode.com/problems/maximum-subarray https://leetcode.com/problems/compare-version-numbers
77 490 53 The Maze Maximum Subarray 51.4% 46.5% Medium Easy 0.33239571796243805 0.33316614062015326 https://leetcode.com/problems/the-maze https://leetcode.com/problems/maximum-subarray
78 20 490 Valid Parentheses The Maze 39.0% 51.4% Easy Medium 0.32875969157833257 0.33239571796243805 https://leetcode.com/problems/valid-parentheses https://leetcode.com/problems/the-maze
79 721 20 Accounts Merge Valid Parentheses 48.8% 39.0% Medium Easy 0.3264810496971675 0.32875969157833257 https://leetcode.com/problems/accounts-merge https://leetcode.com/problems/valid-parentheses
80 155 721 Min Stack Accounts Merge 44.5% 48.8% Easy Medium 0.32611635610879774 0.3264810496971675 https://leetcode.com/problems/min-stack https://leetcode.com/problems/accounts-merge
81 901 155 Online Stock Span Min Stack 60.2% 44.5% Medium Easy 0.3225465062722876 0.32611635610879774 https://leetcode.com/problems/online-stock-span https://leetcode.com/problems/min-stack
82 1219 901 Path with Maximum Gold Online Stock Span 65.1% 60.2% Medium Medium 0.3204549706485941 0.3225465062722876 https://leetcode.com/problems/path-with-maximum-gold https://leetcode.com/problems/online-stock-span
83 277 1219 Find the Celebrity Path with Maximum Gold 41.8% 65.1% Medium Medium 0.3142660340639637 0.3204549706485941 https://leetcode.com/problems/find-the-celebrity https://leetcode.com/problems/path-with-maximum-gold
84 55 277 Jump Game Find the Celebrity 34.6% 41.8% Medium Medium 0.31027241049283566 0.3142660340639637 https://leetcode.com/problems/jump-game https://leetcode.com/problems/find-the-celebrity
85 12 55 Integer to Roman Jump Game 55.1% 34.6% Medium Medium 0.30898314806430144 0.31027241049283566 https://leetcode.com/problems/integer-to-roman https://leetcode.com/problems/jump-game
86 185 12 Department Top Three Salaries Integer to Roman 34.5% 55.1% Hard Medium 0.3067091029533853 0.30898314806430144 https://leetcode.com/problems/department-top-three-salaries https://leetcode.com/problems/integer-to-roman
87 987 185 Vertical Order Traversal of a Binary Tree Department Top Three Salaries 36.6% 34.5% Medium Hard 0.30230623809780655 0.3067091029533853 https://leetcode.com/problems/vertical-order-traversal-of-a-binary-tree https://leetcode.com/problems/department-top-three-salaries
88 4 987 Median of Two Sorted Arrays Vertical Order Traversal of a Binary Tree 29.6% 36.6% Hard Medium 0.30208546395829133 0.30230623809780655 https://leetcode.com/problems/median-of-two-sorted-arrays https://leetcode.com/problems/vertical-order-traversal-of-a-binary-tree
89 224 4 Basic Calculator Median of Two Sorted Arrays 36.8% 29.6% Hard Hard 0.291910408561302 0.30208546395829133 https://leetcode.com/problems/basic-calculator https://leetcode.com/problems/median-of-two-sorted-arrays
90 74 224 Search a 2D Matrix Basic Calculator 36.5% 36.8% Medium Hard 0.29107845681405486 0.291910408561302 https://leetcode.com/problems/search-a-2d-matrix https://leetcode.com/problems/basic-calculator
91 640 74 Solve the Equation Search a 2D Matrix 42.0% 36.5% Medium Medium 0.2840257612486704 0.29107845681405486 https://leetcode.com/problems/solve-the-equation https://leetcode.com/problems/search-a-2d-matrix
92 54 640 Spiral Matrix Solve the Equation 34.1% 42.0% Medium Medium 0.28079436421311554 0.2840257612486704 https://leetcode.com/problems/spiral-matrix https://leetcode.com/problems/solve-the-equation
93 362 54 Design Hit Counter Spiral Matrix 63.7% 34.1% Medium Medium 0.2737682417732349 0.28079436421311554 https://leetcode.com/problems/design-hit-counter https://leetcode.com/problems/spiral-matrix
94 399 362 Evaluate Division Design Hit Counter 51.6% 63.7% Medium Medium 0.27239954676797734 0.2737682417732349 https://leetcode.com/problems/evaluate-division https://leetcode.com/problems/design-hit-counter
95 480 399 Sliding Window Median Evaluate Division 37.2% 51.6% Hard Medium 0.2690708449339646 0.27239954676797734 https://leetcode.com/problems/sliding-window-median https://leetcode.com/problems/evaluate-division
96 1057 480 Campus Bikes Sliding Window Median 57.7% 37.2% Medium Hard 0.2582475718767295 0.2690708449339646 https://leetcode.com/problems/campus-bikes https://leetcode.com/problems/sliding-window-median
97 91 1057 Decode Ways Campus Bikes 24.7% 57.7% Medium Medium 0.2572166935751766 0.2582475718767295 https://leetcode.com/problems/decode-ways https://leetcode.com/problems/campus-bikes
98 466 91 Count The Repetitions Decode Ways 28.2% 24.7% Hard Medium 0.2561688067457042 0.2572166935751766 https://leetcode.com/problems/count-the-repetitions https://leetcode.com/problems/decode-ways
99 45 466 Jump Game II Count The Repetitions 30.6% 28.2% Hard Hard 0.25477233836298296 0.2561688067457042 https://leetcode.com/problems/jump-game-ii https://leetcode.com/problems/count-the-repetitions
100 323 45 Number of Connected Components in an Undirected Graph Jump Game II 56.0% 30.6% Medium Hard 0.25237712763702813 0.25477233836298296 https://leetcode.com/problems/number-of-connected-components-in-an-undirected-graph https://leetcode.com/problems/jump-game-ii
101 99 323 Recover Binary Search Tree Number of Connected Components in an Undirected Graph 39.7% 56.0% Hard Medium 0.25183380763426816 0.25237712763702813 https://leetcode.com/problems/recover-binary-search-tree https://leetcode.com/problems/number-of-connected-components-in-an-undirected-graph
102 3 99 Longest Substring Without Repeating Characters Recover Binary Search Tree 30.4% 39.7% Medium Hard 0.24977369595529056 0.25183380763426816 https://leetcode.com/problems/longest-substring-without-repeating-characters https://leetcode.com/problems/recover-binary-search-tree
103 332 3 Reconstruct Itinerary Longest Substring Without Repeating Characters 36.7% 30.4% Medium Medium 0.24722791193435328 0.24977369595529056 https://leetcode.com/problems/reconstruct-itinerary https://leetcode.com/problems/longest-substring-without-repeating-characters
104 1197 332 Minimum Knight Moves Reconstruct Itinerary 36.1% 36.7% Medium Medium 0.24003104821376078 0.24722791193435328 https://leetcode.com/problems/minimum-knight-moves https://leetcode.com/problems/reconstruct-itinerary
105 775 1197 Global and Local Inversions Minimum Knight Moves 42.1% 36.1% Medium Medium 0.23922968906583414 0.24003104821376078 https://leetcode.com/problems/global-and-local-inversions https://leetcode.com/problems/minimum-knight-moves
106 496 775 Next Greater Element I Global and Local Inversions 63.8% 42.1% Easy Medium 0.23831034385769945 0.23922968906583414 https://leetcode.com/problems/next-greater-element-i https://leetcode.com/problems/global-and-local-inversions
107 33 496 Search in Rotated Sorted Array Next Greater Element I 34.5% 63.8% Medium Easy 0.2327382673745402 0.23831034385769945 https://leetcode.com/problems/search-in-rotated-sorted-array https://leetcode.com/problems/next-greater-element-i
108 772 33 Basic Calculator III Search in Rotated Sorted Array 41.3% 34.5% Hard Medium 0.2322522675124501 0.2327382673745402 https://leetcode.com/problems/basic-calculator-iii https://leetcode.com/problems/search-in-rotated-sorted-array
109 543 772 Diameter of Binary Tree Basic Calculator III 48.4% 41.3% Easy Hard 0.2316456750750147 0.2322522675124501 https://leetcode.com/problems/diameter-of-binary-tree https://leetcode.com/problems/basic-calculator-iii
110 445 543 Add Two Numbers II Diameter of Binary Tree 54.5% 48.4% Medium Easy 0.22413561488763817 0.2316456750750147 https://leetcode.com/problems/add-two-numbers-ii https://leetcode.com/problems/diameter-of-binary-tree
111 333 445 Largest BST Subtree Add Two Numbers II 35.8% 54.5% Medium Medium 0.2228314901476892 0.22413561488763817 https://leetcode.com/problems/largest-bst-subtree https://leetcode.com/problems/add-two-numbers-ii
112 11 333 Container With Most Water Largest BST Subtree 50.8% 35.8% Medium Medium 0.22223677269815797 0.2228314901476892 https://leetcode.com/problems/container-with-most-water https://leetcode.com/problems/largest-bst-subtree
113 75 11 Sort Colors Container With Most Water 47.3% 50.8% Medium Medium 0.21933249465057122 0.22223677269815797 https://leetcode.com/problems/sort-colors https://leetcode.com/problems/container-with-most-water
114 688 75 Knight Probability in Chessboard Sort Colors 48.9% 47.3% Medium Medium 0.2176811889223697 0.21933249465057122 https://leetcode.com/problems/knight-probability-in-chessboard https://leetcode.com/problems/sort-colors
115 105 688 Construct Binary Tree from Preorder and Inorder Traversal Knight Probability in Chessboard 48.8% 48.9% Medium Medium 0.2138725437818616 0.2176811889223697 https://leetcode.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal https://leetcode.com/problems/knight-probability-in-chessboard
116 356 105 Line Reflection Construct Binary Tree from Preorder and Inorder Traversal 31.8% 48.8% Medium Medium 0.2124355370417375 0.2138725437818616 https://leetcode.com/problems/line-reflection https://leetcode.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal
117 143 356 Reorder List Line Reflection 37.1% 31.8% Medium Medium 0.21178045827645292 0.2124355370417375 https://leetcode.com/problems/reorder-list https://leetcode.com/problems/line-reflection
118 1155 143 Number of Dice Rolls With Target Sum Reorder List 49.0% 37.1% Medium Medium 0.21008151389087 0.21178045827645292 https://leetcode.com/problems/number-of-dice-rolls-with-target-sum https://leetcode.com/problems/reorder-list
119 503 1155 Next Greater Element II Number of Dice Rolls With Target Sum 56.5% 49.0% Medium Medium 0.20963047971710957 0.21008151389087 https://leetcode.com/problems/next-greater-element-ii https://leetcode.com/problems/number-of-dice-rolls-with-target-sum
120 312 503 Burst Balloons Next Greater Element II 51.8% 56.5% Hard Medium 0.20921375502735295 0.20963047971710957 https://leetcode.com/problems/burst-balloons https://leetcode.com/problems/next-greater-element-ii
121 103 312 Binary Tree Zigzag Level Order Traversal Burst Balloons 48.3% 51.8% Medium Hard 0.2038677804597886 0.20921375502735295 https://leetcode.com/problems/binary-tree-zigzag-level-order-traversal https://leetcode.com/problems/burst-balloons
122 735 103 Asteroid Collision Binary Tree Zigzag Level Order Traversal 41.0% 48.3% Medium Medium 0.20317069676423571 0.2038677804597886 https://leetcode.com/problems/asteroid-collision https://leetcode.com/problems/binary-tree-zigzag-level-order-traversal
123 314 735 Binary Tree Vertical Order Traversal Asteroid Collision 45.3% 41.0% Medium Medium 0.20100106920044414 0.20317069676423571 https://leetcode.com/problems/binary-tree-vertical-order-traversal https://leetcode.com/problems/asteroid-collision
124 64 314 Minimum Path Sum Binary Tree Vertical Order Traversal 54.5% 45.3% Medium Medium 0.19988813533277905 0.20100106920044414 https://leetcode.com/problems/minimum-path-sum https://leetcode.com/problems/binary-tree-vertical-order-traversal
125 352 64 Data Stream as Disjoint Intervals Minimum Path Sum 47.3% 54.5% Hard Medium 0.1980128865886302 0.19988813533277905 https://leetcode.com/problems/data-stream-as-disjoint-intervals https://leetcode.com/problems/minimum-path-sum
126 1315 352 Sum of Nodes with Even-Valued Grandparent Data Stream as Disjoint Intervals 83.5% 47.3% Medium Hard 0.19757677034220278 0.1980128865886302 https://leetcode.com/problems/sum-of-nodes-with-even-valued-grandparent https://leetcode.com/problems/data-stream-as-disjoint-intervals
127 706 1315 Design HashMap Sum of Nodes with Even-Valued Grandparent 61.3% 83.5% Easy Medium 0.1960785423771685 0.19757677034220278 https://leetcode.com/problems/design-hashmap https://leetcode.com/problems/sum-of-nodes-with-even-valued-grandparent
128 1360 706 Number of Days Between Two Dates Design HashMap 48.8% 61.3% Easy Easy 0.19578302313828744 0.1960785423771685 https://leetcode.com/problems/number-of-days-between-two-dates https://leetcode.com/problems/design-hashmap
129 85 1360 Maximal Rectangle Number of Days Between Two Dates 37.7% 48.8% Hard Easy 0.1945507253203666 0.19578302313828744 https://leetcode.com/problems/maximal-rectangle https://leetcode.com/problems/number-of-days-between-two-dates
130 756 85 Pyramid Transition Matrix Maximal Rectangle 54.6% 37.7% Medium Hard 0.19105523676270922 0.1945507253203666 https://leetcode.com/problems/pyramid-transition-matrix https://leetcode.com/problems/maximal-rectangle
131 25 756 Reverse Nodes in k-Group Pyramid Transition Matrix 42.1% 54.6% Hard Medium 0.18884373606243307 0.19105523676270922 https://leetcode.com/problems/reverse-nodes-in-k-group https://leetcode.com/problems/pyramid-transition-matrix
132 199 25 Binary Tree Right Side View Reverse Nodes in k-Group 54.1% 42.1% Medium Hard 0.18661020557359304 0.18884373606243307 https://leetcode.com/problems/binary-tree-right-side-view https://leetcode.com/problems/reverse-nodes-in-k-group
133 449 199 Serialize and Deserialize BST Binary Tree Right Side View 52.0% 54.1% Medium Medium 0.1860058460684763 0.18661020557359304 https://leetcode.com/problems/serialize-and-deserialize-bst https://leetcode.com/problems/binary-tree-right-side-view
134 79 449 Word Search Serialize and Deserialize BST 35.6% 52.0% Medium Medium 0.18365355832289545 0.1860058460684763 https://leetcode.com/problems/word-search https://leetcode.com/problems/serialize-and-deserialize-bst
135 759 79 Employee Free Time Word Search 66.2% 35.6% Hard Medium 0.1816986978513639 0.18365355832289545 https://leetcode.com/problems/employee-free-time https://leetcode.com/problems/word-search
136 1244 759 Design A Leaderboard Employee Free Time 60.7% 66.2% Medium Hard 0.17763094743610072 0.1816986978513639 https://leetcode.com/problems/design-a-leaderboard https://leetcode.com/problems/employee-free-time
137 13 1244 Roman to Integer Design A Leaderboard 55.7% 60.7% Easy Medium 0.17663825552387563 0.17763094743610072 https://leetcode.com/problems/roman-to-integer https://leetcode.com/problems/design-a-leaderboard
138 737 13 Sentence Similarity II Roman to Integer 45.8% 55.7% Medium Easy 0.17520408902509066 0.17663825552387563 https://leetcode.com/problems/sentence-similarity-ii https://leetcode.com/problems/roman-to-integer
139 1011 737 Capacity To Ship Packages Within D Days Sentence Similarity II 58.1% 45.8% Medium Medium 0.1747811031478766 0.17520408902509066 https://leetcode.com/problems/capacity-to-ship-packages-within-d-days https://leetcode.com/problems/sentence-similarity-ii
140 205 1011 Isomorphic Strings Capacity To Ship Packages Within D Days 39.8% 58.1% Easy Medium 0.1703978238463443 0.1747811031478766 https://leetcode.com/problems/isomorphic-strings https://leetcode.com/problems/capacity-to-ship-packages-within-d-days
141 1099 205 Two Sum Less Than K Isomorphic Strings 60.6% 39.8% Easy Easy 0.16935823314801637 0.1703978238463443 https://leetcode.com/problems/two-sum-less-than-k https://leetcode.com/problems/isomorphic-strings
142 1430 1099 Check If a String Is a Valid Sequence from Root to Leaves Path in a Binary Tree Two Sum Less Than K 44.8% 60.6% Medium Easy 0.16917873135476025 0.16935823314801637 https://leetcode.com/problems/check-if-a-string-is-a-valid-sequence-from-root-to-leaves-path-in-a-binary-tree https://leetcode.com/problems/two-sum-less-than-k
143 36 1430 Valid Sudoku Check If a String Is a Valid Sequence from Root to Leaves Path in a Binary Tree 48.7% 44.8% Medium Medium 0.16730621375459595 0.16917873135476025 https://leetcode.com/problems/valid-sudoku https://leetcode.com/problems/check-if-a-string-is-a-valid-sequence-from-root-to-leaves-path-in-a-binary-tree
144 715 36 Range Module Valid Sudoku 38.5% 48.7% Hard Medium 0.1636294237818021 0.16730621375459595 https://leetcode.com/problems/range-module https://leetcode.com/problems/valid-sudoku
145 1373 715 Maximum Sum BST in Binary Tree Range Module 40.2% 38.5% Hard Hard 0.1599143845440084 0.1636294237818021 https://leetcode.com/problems/maximum-sum-bst-in-binary-tree https://leetcode.com/problems/range-module
146 535 1373 Encode and Decode TinyURL Maximum Sum BST in Binary Tree 79.9% 40.2% Medium Hard 0.15827628732919474 0.1599143845440084 https://leetcode.com/problems/encode-and-decode-tinyurl https://leetcode.com/problems/maximum-sum-bst-in-binary-tree
147 545 535 Boundary of Binary Tree Encode and Decode TinyURL 38.9% 79.9% Medium Medium 0.15687671513649673 0.15827628732919474 https://leetcode.com/problems/boundary-of-binary-tree https://leetcode.com/problems/encode-and-decode-tinyurl
148 335 545 Self Crossing Boundary of Binary Tree 28.0% 38.9% Hard Medium 0.15535044001916237 0.15687671513649673 https://leetcode.com/problems/self-crossing https://leetcode.com/problems/boundary-of-binary-tree
149 101 335 Symmetric Tree Self Crossing 46.8% 28.0% Easy Hard 0.15457702816029933 0.15535044001916237 https://leetcode.com/problems/symmetric-tree https://leetcode.com/problems/self-crossing
150 767 101 Reorganize String Symmetric Tree 48.7% 46.8% Medium Easy 0.15185314866152042 0.15457702816029933 https://leetcode.com/problems/reorganize-string https://leetcode.com/problems/symmetric-tree
151 410 767 Split Array Largest Sum Reorganize String 44.5% 48.7% Hard Medium 0.1513456288996497 0.15185314866152042 https://leetcode.com/problems/split-array-largest-sum https://leetcode.com/problems/reorganize-string
152 57 410 Insert Interval Split Array Largest Sum 33.5% 44.5% Hard Hard 0.14994432629434787 0.1513456288996497 https://leetcode.com/problems/insert-interval https://leetcode.com/problems/split-array-largest-sum
153 739 57 Daily Temperatures Insert Interval 63.3% 33.5% Medium Hard 0.14956674442158685 0.14994432629434787 https://leetcode.com/problems/daily-temperatures https://leetcode.com/problems/insert-interval
154 1038 739 Binary Search Tree to Greater Sum Tree Daily Temperatures 80.8% 63.3% Medium Medium 0.14935273742511918 0.14956674442158685 https://leetcode.com/problems/binary-search-tree-to-greater-sum-tree https://leetcode.com/problems/daily-temperatures
155 221 1038 Maximal Square Binary Search Tree to Greater Sum Tree 37.7% 80.8% Medium Medium 0.1475288463816385 0.14935273742511918 https://leetcode.com/problems/maximal-square https://leetcode.com/problems/binary-search-tree-to-greater-sum-tree
156 682 221 Baseball Game Maximal Square 63.7% 37.7% Easy Medium 0.14664834440479207 0.1475288463816385 https://leetcode.com/problems/baseball-game https://leetcode.com/problems/maximal-square
157 22 682 Generate Parentheses Baseball Game 62.7% 63.7% Medium Easy 0.14612656455721032 0.14664834440479207 https://leetcode.com/problems/generate-parentheses https://leetcode.com/problems/baseball-game
158 1102 22 Path With Maximum Minimum Value Generate Parentheses 49.2% 62.7% Medium Medium 0.1444815825552332 0.14612656455721032 https://leetcode.com/problems/path-with-maximum-minimum-value https://leetcode.com/problems/generate-parentheses
159 426 1102 Convert Binary Search Tree to Sorted Doubly Linked List Path With Maximum Minimum Value 59.1% 49.2% Medium Medium 0.14252878462127264 0.1444815825552332 https://leetcode.com/problems/convert-binary-search-tree-to-sorted-doubly-linked-list https://leetcode.com/problems/path-with-maximum-minimum-value
160 1083 426 Sales Analysis II Convert Binary Search Tree to Sorted Doubly Linked List 50.5% 59.1% Easy Medium 0.1417462887434142 0.14252878462127264 https://leetcode.com/problems/sales-analysis-ii https://leetcode.com/problems/convert-binary-search-tree-to-sorted-doubly-linked-list
161 690 1083 Employee Importance Sales Analysis II 57.3% 50.5% Easy Easy 0.14131823975737387 0.1417462887434142 https://leetcode.com/problems/employee-importance https://leetcode.com/problems/sales-analysis-ii
162 207 690 Course Schedule Employee Importance 43.1% 57.3% Medium Easy 0.1402270159030123 0.14131823975737387 https://leetcode.com/problems/course-schedule https://leetcode.com/problems/employee-importance
163 261 207 Graph Valid Tree Course Schedule 42.2% 43.1% Medium Medium 0.13984351177036686 0.1402270159030123 https://leetcode.com/problems/graph-valid-tree https://leetcode.com/problems/course-schedule
164 354 261 Russian Doll Envelopes Graph Valid Tree 35.6% 42.2% Hard Medium 0.13850969523609932 0.13984351177036686 https://leetcode.com/problems/russian-doll-envelopes https://leetcode.com/problems/graph-valid-tree
165 286 354 Walls and Gates Russian Doll Envelopes 54.5% 35.6% Medium Hard 0.13712574822724946 0.13850969523609932 https://leetcode.com/problems/walls-and-gates https://leetcode.com/problems/russian-doll-envelopes
166 10 286 Regular Expression Matching Walls and Gates 26.8% 54.5% Hard Medium 0.13632230148088326 0.13712574822724946 https://leetcode.com/problems/regular-expression-matching https://leetcode.com/problems/walls-and-gates
167 1405 10 Longest Happy String Regular Expression Matching 49.0% 26.8% Medium Hard 0.1343297958605471 0.13632230148088326 https://leetcode.com/problems/longest-happy-string https://leetcode.com/problems/regular-expression-matching
168 378 1405 Kth Smallest Element in a Sorted Matrix Longest Happy String 54.3% 49.0% Medium Medium 0.13397014948713715 0.1343297958605471 https://leetcode.com/problems/kth-smallest-element-in-a-sorted-matrix https://leetcode.com/problems/longest-happy-string
169 215 378 Kth Largest Element in an Array Kth Smallest Element in a Sorted Matrix 55.4% 54.3% Medium Medium 0.13169686633492952 0.13397014948713715 https://leetcode.com/problems/kth-largest-element-in-an-array https://leetcode.com/problems/kth-smallest-element-in-a-sorted-matrix
170 981 215 Time Based Key-Value Store Kth Largest Element in an Array 53.1% 55.4% Medium Medium 0.1316303182973487 0.13169686633492952 https://leetcode.com/problems/time-based-key-value-store https://leetcode.com/problems/kth-largest-element-in-an-array
171 148 981 Sort List Time Based Key-Value Store 42.3% 53.1% Medium Medium 0.1292970884857343 0.1316303182973487 https://leetcode.com/problems/sort-list https://leetcode.com/problems/time-based-key-value-store
172 1117 148 Building H2O Sort List 52.6% 42.3% Medium Medium 0.12796988096337653 0.1292970884857343 https://leetcode.com/problems/building-h2o https://leetcode.com/problems/sort-list
173 347 1117 Top K Frequent Elements Building H2O 61.2% 52.6% Medium Medium 0.12591062025304192 0.12796988096337653 https://leetcode.com/problems/top-k-frequent-elements https://leetcode.com/problems/building-h2o
174 84 347 Largest Rectangle in Histogram Top K Frequent Elements 35.2% 61.2% Hard Medium 0.12570469475928556 0.12591062025304192 https://leetcode.com/problems/largest-rectangle-in-histogram https://leetcode.com/problems/top-k-frequent-elements
175 1139 84 Largest 1-Bordered Square Largest Rectangle in Histogram 47.5% 35.2% Medium Hard 0.12477221253464107 0.12570469475928556 https://leetcode.com/problems/largest-1-bordered-square https://leetcode.com/problems/largest-rectangle-in-histogram
176 1130 1139 Minimum Cost Tree From Leaf Values Largest 1-Bordered Square 66.1% 47.5% Medium Medium 0.12332774831203028 0.12477221253464107 https://leetcode.com/problems/minimum-cost-tree-from-leaf-values https://leetcode.com/problems/largest-1-bordered-square
177 262 1130 Trips and Users Minimum Cost Tree From Leaf Values 32.7% 66.1% Hard Medium 0.12266506325369182 0.12332774831203028 https://leetcode.com/problems/trips-and-users https://leetcode.com/problems/minimum-cost-tree-from-leaf-values
178 177 262 Nth Highest Salary Trips and Users 31.4% 32.7% Medium Hard 0.12247703235966204 0.12266506325369182 https://leetcode.com/problems/nth-highest-salary https://leetcode.com/problems/trips-and-users
179 1214 177 Two Sum BSTs Nth Highest Salary 67.6% 31.4% Medium Medium 0.12247703235966204 0.12247703235966204 https://leetcode.com/problems/two-sum-bsts https://leetcode.com/problems/nth-highest-salary
180 19 1214 Remove Nth Node From End of List Two Sum BSTs 35.2% 67.6% Medium Medium 0.12237713290283221 0.12247703235966204 https://leetcode.com/problems/remove-nth-node-from-end-of-list https://leetcode.com/problems/two-sum-bsts
181 844 19 Backspace String Compare Remove Nth Node From End of List 46.4% 35.2% Easy Medium 0.12201137176590456 0.12237713290283221 https://leetcode.com/problems/backspace-string-compare https://leetcode.com/problems/remove-nth-node-from-end-of-list
182 46 844 Permutations Backspace String Compare 63.5% 46.4% Medium Easy 0.12027982804941116 0.12201137176590456 https://leetcode.com/problems/permutations https://leetcode.com/problems/backspace-string-compare
183 1229 46 Meeting Scheduler Permutations 52.7% 63.5% Medium Medium 0.11671261732648351 0.12027982804941116 https://leetcode.com/problems/meeting-scheduler https://leetcode.com/problems/permutations
184 1275 1229 Find Winner on a Tic Tac Toe Game Meeting Scheduler 52.8% 52.7% Easy Medium 0.11536465479210183 0.11671261732648351 https://leetcode.com/problems/find-winner-on-a-tic-tac-toe-game https://leetcode.com/problems/meeting-scheduler
185 1375 1275 Bulb Switcher III Find Winner on a Tic Tac Toe Game 62.6% 52.8% Medium Easy 0.11506932978478719 0.11536465479210183 https://leetcode.com/problems/bulb-switcher-iii https://leetcode.com/problems/find-winner-on-a-tic-tac-toe-game
186 540 1375 Single Element in a Sorted Array Bulb Switcher III 57.9% 62.6% Medium Medium 0.11443656521536286 0.11506932978478719 https://leetcode.com/problems/single-element-in-a-sorted-array https://leetcode.com/problems/bulb-switcher-iii
187 229 540 Majority Element II Single Element in a Sorted Array 35.6% 57.9% Medium Medium 0.11355198202632807 0.11443656521536286 https://leetcode.com/problems/majority-element-ii https://leetcode.com/problems/single-element-in-a-sorted-array
188 120 229 Triangle Majority Element II 44.2% 35.6% Medium Medium 0.11325730177515365 0.11355198202632807 https://leetcode.com/problems/triangle https://leetcode.com/problems/majority-element-ii
189 296 120 Best Meeting Point Triangle 57.5% 44.2% Hard Medium 0.11216225709564905 0.11325730177515365 https://leetcode.com/problems/best-meeting-point https://leetcode.com/problems/triangle
190 1004 296 Max Consecutive Ones III Best Meeting Point 59.1% 57.5% Medium Hard 0.11063437101968247 0.11216225709564905 https://leetcode.com/problems/max-consecutive-ones-iii https://leetcode.com/problems/best-meeting-point
191 39 1004 Combination Sum Max Consecutive Ones III 56.1% 59.1% Medium Medium 0.10982174474537089 0.11063437101968247 https://leetcode.com/problems/combination-sum https://leetcode.com/problems/max-consecutive-ones-iii
192 695 39 Max Area of Island Combination Sum 62.7% 56.1% Medium Medium 0.10876995385464024 0.10982174474537089 https://leetcode.com/problems/max-area-of-island https://leetcode.com/problems/combination-sum
193 96 695 Unique Binary Search Trees Max Area of Island 52.9% 62.7% Medium Medium 0.10772540512336069 0.10876995385464024 https://leetcode.com/problems/unique-binary-search-trees https://leetcode.com/problems/max-area-of-island
194 152 96 Maximum Product Subarray Unique Binary Search Trees 31.7% 52.9% Medium Medium 0.10753054905987956 0.10772540512336069 https://leetcode.com/problems/maximum-product-subarray https://leetcode.com/problems/unique-binary-search-trees
195 29 152 Divide Two Integers Maximum Product Subarray 16.4% 31.7% Medium Medium 0.10321754835984784 0.10753054905987956 https://leetcode.com/problems/divide-two-integers https://leetcode.com/problems/maximum-product-subarray
196 1143 29 Longest Common Subsequence Divide Two Integers 58.4% 16.4% Medium Medium 0.10320598865355674 0.10321754835984784 https://leetcode.com/problems/longest-common-subsequence https://leetcode.com/problems/divide-two-integers
197 1013 1143 Partition Array Into Three Parts With Equal Sum Longest Common Subsequence 51.8% 58.4% Easy Medium 0.10294796925244239 0.10320598865355674 https://leetcode.com/problems/partition-array-into-three-parts-with-equal-sum https://leetcode.com/problems/longest-common-subsequence
198 453 1013 Minimum Moves to Equal Array Elements Partition Array Into Three Parts With Equal Sum 50.2% 51.8% Easy Easy 0.10178269430994231 0.10294796925244239 https://leetcode.com/problems/minimum-moves-to-equal-array-elements https://leetcode.com/problems/partition-array-into-three-parts-with-equal-sum
199 442 453 Find All Duplicates in an Array Minimum Moves to Equal Array Elements 67.8% 50.2% Medium Easy 0.10047484799446413 0.10178269430994231 https://leetcode.com/problems/find-all-duplicates-in-an-array https://leetcode.com/problems/minimum-moves-to-equal-array-elements
200 417 442 Pacific Atlantic Water Flow Find All Duplicates in an Array 41.1% 67.8% Medium Medium 0.10008345855698253 0.10047484799446413 https://leetcode.com/problems/pacific-atlantic-water-flow https://leetcode.com/problems/find-all-duplicates-in-an-array
201 628 417 Maximum Product of Three Numbers Pacific Atlantic Water Flow 47.1% 41.1% Easy Medium 0.09909090264423091 0.10008345855698253 https://leetcode.com/problems/maximum-product-of-three-numbers https://leetcode.com/problems/pacific-atlantic-water-flow
202 1135 628 Connecting Cities With Minimum Cost Maximum Product of Three Numbers 57.5% 47.1% Medium Easy 0.09909090264423091 0.09909090264423091 https://leetcode.com/problems/connecting-cities-with-minimum-cost https://leetcode.com/problems/maximum-product-of-three-numbers
203 51 1135 N-Queens Connecting Cities With Minimum Cost 46.6% 57.5% Hard Medium 0.09831093224356313 0.09909090264423091 https://leetcode.com/problems/n-queens https://leetcode.com/problems/connecting-cities-with-minimum-cost
204 218 51 The Skyline Problem N-Queens 34.6% 46.6% Hard Hard 0.09823843958341322 0.09831093224356313 https://leetcode.com/problems/the-skyline-problem https://leetcode.com/problems/n-queens
205 41 218 First Missing Positive The Skyline Problem 32.0% 34.6% Hard Hard 0.0979525363954321 0.09823843958341322 https://leetcode.com/problems/first-missing-positive https://leetcode.com/problems/the-skyline-problem
206 529 41 Minesweeper First Missing Positive 59.1% 32.0% Medium Hard 0.09695424100489167 0.0979525363954321 https://leetcode.com/problems/minesweeper https://leetcode.com/problems/first-missing-positive
207 1046 529 Last Stone Weight Minesweeper 62.2% 59.1% Easy Medium 0.09686234390618549 0.09695424100489167 https://leetcode.com/problems/last-stone-weight https://leetcode.com/problems/minesweeper
208 230 1046 Kth Smallest Element in a BST Last Stone Weight 60.2% 62.2% Medium Easy 0.09685471541555685 0.09686234390618549 https://leetcode.com/problems/kth-smallest-element-in-a-bst https://leetcode.com/problems/last-stone-weight
209 980 230 Unique Paths III Kth Smallest Element in a BST 73.3% 60.2% Hard Medium 0.09531017980432487 0.09685471541555685 https://leetcode.com/problems/unique-paths-iii https://leetcode.com/problems/kth-smallest-element-in-a-bst
210 86 980 Partition List Unique Paths III 41.5% 73.3% Medium Hard 0.09480379573736777 0.09531017980432487 https://leetcode.com/problems/partition-list https://leetcode.com/problems/unique-paths-iii
211 716 86 Max Stack Partition List 42.6% 41.5% Easy Medium 0.09362342046209744 0.09480379573736777 https://leetcode.com/problems/max-stack https://leetcode.com/problems/partition-list
212 611 716 Valid Triangle Number Max Stack 48.4% 42.6% Medium Easy 0.09333193979221914 0.09362342046209744 https://leetcode.com/problems/valid-triangle-number https://leetcode.com/problems/max-stack
213 827 611 Making A Large Island Valid Triangle Number 45.7% 48.4% Hard Medium 0.09287412500644375 0.09333193979221914 https://leetcode.com/problems/making-a-large-island https://leetcode.com/problems/valid-triangle-number
214 384 827 Shuffle an Array Making A Large Island 52.8% 45.7% Medium Hard 0.09170644621893462 0.09287412500644375 https://leetcode.com/problems/shuffle-an-array https://leetcode.com/problems/making-a-large-island
215 8 384 String to Integer (atoi) Shuffle an Array 15.4% 52.8% Medium Medium 0.09074872434968777 0.09170644621893462 https://leetcode.com/problems/string-to-integer-atoi https://leetcode.com/problems/shuffle-an-array
216 153 8 Find Minimum in Rotated Sorted Array String to Integer (atoi) 45.1% 15.4% Medium Medium 0.0899077741767165 0.09074872434968777 https://leetcode.com/problems/find-minimum-in-rotated-sorted-array https://leetcode.com/problems/string-to-integer-atoi
217 243 153 Shortest Word Distance Find Minimum in Rotated Sorted Array 61.0% 45.1% Easy Medium 0.08952296190665864 0.0899077741767165 https://leetcode.com/problems/shortest-word-distance https://leetcode.com/problems/find-minimum-in-rotated-sorted-array
218 995 243 Minimum Number of K Consecutive Bit Flips Shortest Word Distance 46.8% 61.0% Hard Easy 0.08894748601649616 0.08952296190665864 https://leetcode.com/problems/minimum-number-of-k-consecutive-bit-flips https://leetcode.com/problems/shortest-word-distance
219 301 995 Remove Invalid Parentheses Minimum Number of K Consecutive Bit Flips 43.3% 46.8% Hard Hard 0.08716315660591871 0.08894748601649616 https://leetcode.com/problems/remove-invalid-parentheses https://leetcode.com/problems/minimum-number-of-k-consecutive-bit-flips
220 109 301 Convert Sorted List to Binary Search Tree Remove Invalid Parentheses 47.7% 43.3% Medium Hard 0.08701137698962977 0.08716315660591871 https://leetcode.com/problems/convert-sorted-list-to-binary-search-tree https://leetcode.com/problems/remove-invalid-parentheses
221 176 109 Second Highest Salary Convert Sorted List to Binary Search Tree 31.6% 47.7% Easy Medium 0.08701137698962977 0.08701137698962977 https://leetcode.com/problems/second-highest-salary https://leetcode.com/problems/convert-sorted-list-to-binary-search-tree
222 622 176 Design Circular Queue Second Highest Salary 43.7% 31.6% Medium Easy 0.08696405427235052 0.08701137698962977 https://leetcode.com/problems/design-circular-queue https://leetcode.com/problems/second-highest-salary
223 72 622 Edit Distance Design Circular Queue 44.8% 43.7% Hard Medium 0.08673866592531046 0.08696405427235052 https://leetcode.com/problems/edit-distance https://leetcode.com/problems/design-circular-queue
224 315 72 Count of Smaller Numbers After Self Edit Distance 41.5% 44.8% Hard Hard 0.08649925937213519 0.08673866592531046 https://leetcode.com/problems/count-of-smaller-numbers-after-self https://leetcode.com/problems/edit-distance
225 18 315 4Sum Count of Smaller Numbers After Self 33.7% 41.5% Medium Hard 0.08527891770220855 0.08649925937213519 https://leetcode.com/problems/4sum https://leetcode.com/problems/count-of-smaller-numbers-after-self
226 113 18 Path Sum II 4Sum 46.7% 33.7% Medium Medium 0.08479653666007693 0.08527891770220855 https://leetcode.com/problems/path-sum-ii https://leetcode.com/problems/4sum
227 916 113 Word Subsets Path Sum II 47.8% 46.7% Medium Medium 0.08479653666007693 0.08479653666007693 https://leetcode.com/problems/word-subsets https://leetcode.com/problems/path-sum-ii
228 1245 916 Tree Diameter Word Subsets 60.1% 47.8% Medium Medium 0.08338160893905106 0.08479653666007693 https://leetcode.com/problems/tree-diameter https://leetcode.com/problems/word-subsets
229 473 1245 Matchsticks to Square Tree Diameter 37.7% 60.1% Medium Medium 0.08201315166083516 0.08338160893905106 https://leetcode.com/problems/matchsticks-to-square https://leetcode.com/problems/tree-diameter
230 134 473 Gas Station Matchsticks to Square 38.5% 37.7% Medium Medium 0.08169138321871633 0.08201315166083516 https://leetcode.com/problems/gas-station https://leetcode.com/problems/matchsticks-to-square
231 636 134 Exclusive Time of Functions Gas Station 52.0% 38.5% Medium Medium 0.08155306616046964 0.08169138321871633 https://leetcode.com/problems/exclusive-time-of-functions https://leetcode.com/problems/gas-station
232 122 636 Best Time to Buy and Sell Stock II Exclusive Time of Functions 57.0% 52.0% Easy Medium 0.08066286273217169 0.08155306616046964 https://leetcode.com/problems/best-time-to-buy-and-sell-stock-ii https://leetcode.com/problems/exclusive-time-of-functions
233 161 122 One Edit Distance Best Time to Buy and Sell Stock II 32.3% 57.0% Medium Easy 0.07982960165248484 0.08066286273217169 https://leetcode.com/problems/one-edit-distance https://leetcode.com/problems/best-time-to-buy-and-sell-stock-ii
234 451 161 Sort Characters By Frequency One Edit Distance 63.0% 32.3% Medium Medium 0.07950784615171191 0.07982960165248484 https://leetcode.com/problems/sort-characters-by-frequency https://leetcode.com/problems/one-edit-distance
235 128 451 Longest Consecutive Sequence Sort Characters By Frequency 45.1% 63.0% Hard Medium 0.0786603197723907 0.07950784615171191 https://leetcode.com/problems/longest-consecutive-sequence https://leetcode.com/problems/sort-characters-by-frequency
236 341 128 Flatten Nested List Iterator Longest Consecutive Sequence 52.9% 45.1% Medium Hard 0.07763353611776078 0.0786603197723907 https://leetcode.com/problems/flatten-nested-list-iterator https://leetcode.com/problems/longest-consecutive-sequence
237 518 341 Coin Change 2 Flatten Nested List Iterator 50.2% 52.9% Medium Medium 0.07583984694698977 0.07763353611776078 https://leetcode.com/problems/coin-change-2 https://leetcode.com/problems/flatten-nested-list-iterator
238 547 518 Friend Circles Coin Change 2 58.6% 50.2% Medium Medium 0.07408600065076033 0.07583984694698977 https://leetcode.com/problems/friend-circles https://leetcode.com/problems/coin-change-2
239 860 547 Lemonade Change Friend Circles 51.6% 58.6% Easy Medium 0.07208884919207953 0.07408600065076033 https://leetcode.com/problems/lemonade-change https://leetcode.com/problems/friend-circles
240 1008 860 Construct Binary Search Tree from Preorder Traversal Lemonade Change 78.4% 51.6% Medium Easy 0.07181191271198491 0.07208884919207953 https://leetcode.com/problems/construct-binary-search-tree-from-preorder-traversal https://leetcode.com/problems/lemonade-change
241 523 1008 Continuous Subarray Sum Construct Binary Search Tree from Preorder Traversal 24.6% 78.4% Medium Medium 0.07166389251403688 0.07181191271198491 https://leetcode.com/problems/continuous-subarray-sum https://leetcode.com/problems/construct-binary-search-tree-from-preorder-traversal
242 102 523 Binary Tree Level Order Traversal Continuous Subarray Sum 54.6% 24.6% Medium Medium 0.0712263700241388 0.07166389251403688 https://leetcode.com/problems/binary-tree-level-order-traversal https://leetcode.com/problems/continuous-subarray-sum
243 1074 102 Number of Submatrices That Sum to Target Binary Tree Level Order Traversal 60.4% 54.6% Hard Medium 0.07120444629179161 0.0712263700241388 https://leetcode.com/problems/number-of-submatrices-that-sum-to-target https://leetcode.com/problems/binary-tree-level-order-traversal
244 37 1074 Sudoku Solver Number of Submatrices That Sum to Target 43.6% 60.4% Hard Hard 0.07095173597228444 0.07120444629179161 https://leetcode.com/problems/sudoku-solver https://leetcode.com/problems/number-of-submatrices-that-sum-to-target
245 438 37 Find All Anagrams in a String Sudoku Solver 43.3% 43.6% Medium Hard 0.07086789751218016 0.07095173597228444 https://leetcode.com/problems/find-all-anagrams-in-a-string https://leetcode.com/problems/sudoku-solver
246 632 438 Smallest Range Covering Elements from K Lists Find All Anagrams in a String 52.4% 43.3% Hard Medium 0.07082605256861242 0.07086789751218016 https://leetcode.com/problems/smallest-range-covering-elements-from-k-lists https://leetcode.com/problems/find-all-anagrams-in-a-string
247 187 632 Repeated DNA Sequences Smallest Range Covering Elements from K Lists 38.9% 52.4% Medium Hard 0.06947237281476738 0.07082605256861242 https://leetcode.com/problems/repeated-dna-sequences https://leetcode.com/problems/smallest-range-covering-elements-from-k-lists
248 117 187 Populating Next Right Pointers in Each Node II Repeated DNA Sequences 39.1% 38.9% Medium Medium 0.0691455898745421 0.06947237281476738 https://leetcode.com/problems/populating-next-right-pointers-in-each-node-ii https://leetcode.com/problems/repeated-dna-sequences
249 432 117 All O`one Data Structure Populating Next Right Pointers in Each Node II 32.4% 39.1% Hard Medium 0.06887402901251127 0.0691455898745421 https://leetcode.com/problems/all-oone-data-structure https://leetcode.com/problems/populating-next-right-pointers-in-each-node-ii
250 123 432 Best Time to Buy and Sell Stock III All O`one Data Structure 37.5% 32.4% Hard Hard 0.06838868749455218 0.06887402901251127 https://leetcode.com/problems/best-time-to-buy-and-sell-stock-iii https://leetcode.com/problems/all-oone-data-structure
251 316 123 Remove Duplicate Letters Best Time to Buy and Sell Stock III 35.8% 37.5% Hard Hard 0.067239661116769 0.06838868749455218 https://leetcode.com/problems/remove-duplicate-letters https://leetcode.com/problems/best-time-to-buy-and-sell-stock-iii
252 368 316 Largest Divisible Subset Remove Duplicate Letters 38.0% 35.8% Medium Hard 0.0670392438027145 0.067239661116769 https://leetcode.com/problems/largest-divisible-subset https://leetcode.com/problems/remove-duplicate-letters
253 1032 368 Stream of Characters Largest Divisible Subset 48.3% 38.0% Hard Medium 0.06646964500774162 0.0670392438027145 https://leetcode.com/problems/stream-of-characters https://leetcode.com/problems/largest-divisible-subset
254 584 1032 Find Customer Referee Stream of Characters 72.3% 48.3% Easy Hard 0.06592172080482424 0.06646964500774162 https://leetcode.com/problems/find-customer-referee https://leetcode.com/problems/stream-of-characters
255 16 584 3Sum Closest Find Customer Referee 46.0% 72.3% Medium Easy 0.065777130514714 0.06592172080482424 https://leetcode.com/problems/3sum-closest https://leetcode.com/problems/find-customer-referee
256 124 16 Binary Tree Maximum Path Sum 3Sum Closest 34.3% 46.0% Hard Medium 0.06574255262249057 0.065777130514714 https://leetcode.com/problems/binary-tree-maximum-path-sum https://leetcode.com/problems/3sum-closest
257 997 124 Find the Town Judge Binary Tree Maximum Path Sum 50.1% 34.3% Easy Hard 0.06548984513511495 0.06574255262249057 https://leetcode.com/problems/find-the-town-judge https://leetcode.com/problems/binary-tree-maximum-path-sum
258 287 997 Find the Duplicate Number Find the Town Judge 55.5% 50.1% Medium Easy 0.06539148783312071 0.06548984513511495 https://leetcode.com/problems/find-the-duplicate-number https://leetcode.com/problems/find-the-town-judge
259 387 287 First Unique Character in a String Find the Duplicate Number 53.4% 55.5% Easy Medium 0.06495130161301915 0.06539148783312071 https://leetcode.com/problems/first-unique-character-in-a-string https://leetcode.com/problems/find-the-duplicate-number
260 116 387 Populating Next Right Pointers in Each Node First Unique Character in a String 45.2% 53.4% Medium Easy 0.06417026482702023 0.06495130161301915 https://leetcode.com/problems/populating-next-right-pointers-in-each-node https://leetcode.com/problems/first-unique-character-in-a-string
261 1270 116 All People Report to the Given Manager Populating Next Right Pointers in Each Node 87.1% 45.2% Medium Medium 0.06412452816953867 0.06417026482702023 https://leetcode.com/problems/all-people-report-to-the-given-manager https://leetcode.com/problems/populating-next-right-pointers-in-each-node
262 1005 1270 Maximize Sum Of Array After K Negations All People Report to the Given Manager 51.3% 87.1% Easy Medium 0.06371581438610768 0.06412452816953867 https://leetcode.com/problems/maximize-sum-of-array-after-k-negations https://leetcode.com/problems/all-people-report-to-the-given-manager
263 71 1005 Simplify Path Maximize Sum Of Array After K Negations 32.6% 51.3% Medium Easy 0.06351340572232586 0.06371581438610768 https://leetcode.com/problems/simplify-path https://leetcode.com/problems/maximize-sum-of-array-after-k-negations
264 300 71 Longest Increasing Subsequence Simplify Path 42.6% 32.6% Medium Medium 0.06265630749555627 0.06351340572232586 https://leetcode.com/problems/longest-increasing-subsequence https://leetcode.com/problems/simplify-path
265 1044 300 Longest Duplicate Substring Longest Increasing Subsequence 31.9% 42.6% Hard Medium 0.062325463197828765 0.06265630749555627 https://leetcode.com/problems/longest-duplicate-substring https://leetcode.com/problems/longest-increasing-subsequence
266 73 1044 Set Matrix Zeroes Longest Duplicate Substring 43.1% 31.9% Medium Hard 0.061431799532484045 0.062325463197828765 https://leetcode.com/problems/set-matrix-zeroes https://leetcode.com/problems/longest-duplicate-substring
267 48 73 Rotate Image Set Matrix Zeroes 56.7% 43.1% Medium Medium 0.06069974483040549 0.061431799532484045 https://leetcode.com/problems/rotate-image https://leetcode.com/problems/set-matrix-zeroes
268 701 48 Insert into a Binary Search Tree Rotate Image 77.7% 56.7% Medium Medium 0.06069363413516112 0.06069974483040549 https://leetcode.com/problems/insert-into-a-binary-search-tree https://leetcode.com/problems/rotate-image
269 88 701 Merge Sorted Array Insert into a Binary Search Tree 39.4% 77.7% Easy Medium 0.059258174101133876 0.06069363413516112 https://leetcode.com/problems/merge-sorted-array https://leetcode.com/problems/insert-into-a-binary-search-tree
270 373 88 Find K Pairs with Smallest Sums Merge Sorted Array 36.7% 39.4% Medium Easy 0.058155920157074034 0.059258174101133876 https://leetcode.com/problems/find-k-pairs-with-smallest-sums https://leetcode.com/problems/merge-sorted-array
271 98 373 Validate Binary Search Tree Find K Pairs with Smallest Sums 27.8% 36.7% Medium Medium 0.057985181512132535 0.058155920157074034 https://leetcode.com/problems/validate-binary-search-tree https://leetcode.com/problems/find-k-pairs-with-smallest-sums
272 206 98 Reverse Linked List Validate Binary Search Tree 62.5% 27.8% Easy Medium 0.05691436258797462 0.057985181512132535 https://leetcode.com/problems/reverse-linked-list https://leetcode.com/problems/validate-binary-search-tree
273 873 206 Length of Longest Fibonacci Subsequence Reverse Linked List 48.0% 62.5% Medium Easy 0.05691436258797462 0.05691436258797462 https://leetcode.com/problems/length-of-longest-fibonacci-subsequence https://leetcode.com/problems/reverse-linked-list
274 283 873 Move Zeroes Length of Longest Fibonacci Subsequence 57.8% 48.0% Easy Medium 0.05686540295029014 0.05691436258797462 https://leetcode.com/problems/move-zeroes https://leetcode.com/problems/length-of-longest-fibonacci-subsequence
275 586 283 Customer Placing the Largest Number of Orders Move Zeroes 73.0% 57.8% Easy Easy 0.0568334747631659 0.05686540295029014 https://leetcode.com/problems/customer-placing-the-largest-number-of-orders https://leetcode.com/problems/move-zeroes
276 279 586 Perfect Squares Customer Placing the Largest Number of Orders 47.4% 73.0% Medium Easy 0.05625780265009439 0.0568334747631659 https://leetcode.com/problems/perfect-squares https://leetcode.com/problems/customer-placing-the-largest-number-of-orders
277 32 279 Longest Valid Parentheses Perfect Squares 28.4% 47.4% Hard Medium 0.0556316959861487 0.05625780265009439 https://leetcode.com/problems/longest-valid-parentheses https://leetcode.com/problems/perfect-squares
278 849 32 Maximize Distance to Closest Person Longest Valid Parentheses 42.6% 28.4% Easy Hard 0.055535552308963565 0.0556316959861487 https://leetcode.com/problems/maximize-distance-to-closest-person https://leetcode.com/problems/longest-valid-parentheses
279 366 849 Find Leaves of Binary Tree Maximize Distance to Closest Person 70.6% 42.6% Medium Easy 0.05526267867504946 0.055535552308963565 https://leetcode.com/problems/find-leaves-of-binary-tree https://leetcode.com/problems/maximize-distance-to-closest-person
280 839 366 Similar String Groups Find Leaves of Binary Tree 38.6% 70.6% Hard Medium 0.05480823649499502 0.05526267867504946 https://leetcode.com/problems/similar-string-groups https://leetcode.com/problems/find-leaves-of-binary-tree
281 538 839 Convert BST to Greater Tree Similar String Groups 55.4% 38.6% Easy Hard 0.05475820397384584 0.05480823649499502 https://leetcode.com/problems/convert-bst-to-greater-tree https://leetcode.com/problems/similar-string-groups
282 983 538 Minimum Cost For Tickets Convert BST to Greater Tree 60.5% 55.4% Medium Easy 0.05469163590186561 0.05475820397384584 https://leetcode.com/problems/minimum-cost-for-tickets https://leetcode.com/problems/convert-bst-to-greater-tree
283 443 983 String Compression Minimum Cost For Tickets 41.3% 60.5% Easy Medium 0.05450940566837169 0.05469163590186561 https://leetcode.com/problems/string-compression https://leetcode.com/problems/minimum-cost-for-tickets
284 131 443 Palindrome Partitioning String Compression 47.5% 41.3% Medium Easy 0.05449083692828802 0.05450940566837169 https://leetcode.com/problems/palindrome-partitioning https://leetcode.com/problems/string-compression
285 703 131 Kth Largest Element in a Stream Palindrome Partitioning 49.7% 47.5% Easy Medium 0.054472280837981495 0.05449083692828802 https://leetcode.com/problems/kth-largest-element-in-a-stream https://leetcode.com/problems/palindrome-partitioning
286 179 703 Largest Number Kth Largest Element in a Stream 28.8% 49.7% Medium Easy 0.0543427413161019 0.054472280837981495 https://leetcode.com/problems/largest-number https://leetcode.com/problems/kth-largest-element-in-a-stream
287 310 179 Minimum Height Trees Largest Number 32.3% 28.8% Medium Medium 0.05423015406086025 0.0543427413161019 https://leetcode.com/problems/minimum-height-trees https://leetcode.com/problems/largest-number
288 234 310 Palindrome Linked List Minimum Height Trees 39.3% 32.3% Easy Medium 0.05416885609643319 0.05423015406086025 https://leetcode.com/problems/palindrome-linked-list https://leetcode.com/problems/minimum-height-trees
289 329 234 Longest Increasing Path in a Matrix Palindrome Linked List 43.4% 39.3% Hard Easy 0.052557250738676044 0.05416885609643319 https://leetcode.com/problems/longest-increasing-path-in-a-matrix https://leetcode.com/problems/palindrome-linked-list
290 581 329 Shortest Unsorted Continuous Subarray Longest Increasing Path in a Matrix 31.1% 43.4% Easy Hard 0.052333720049023605 0.052557250738676044 https://leetcode.com/problems/shortest-unsorted-continuous-subarray https://leetcode.com/problems/longest-increasing-path-in-a-matrix
291 209 581 Minimum Size Subarray Sum Shortest Unsorted Continuous Subarray 38.2% 31.1% Medium Easy 0.05146227039335983 0.052333720049023605 https://leetcode.com/problems/minimum-size-subarray-sum https://leetcode.com/problems/shortest-unsorted-continuous-subarray
292 560 209 Subarray Sum Equals K Minimum Size Subarray Sum 43.9% 38.2% Medium Medium 0.0512021569656579 0.05146227039335983 https://leetcode.com/problems/subarray-sum-equals-k https://leetcode.com/problems/minimum-size-subarray-sum
293 65 560 Valid Number Subarray Sum Equals K 15.3% 43.9% Hard Medium 0.05071509257901641 0.0512021569656579 https://leetcode.com/problems/valid-number https://leetcode.com/problems/subarray-sum-equals-k
294 1339 65 Maximum Product of Splitted Binary Tree Valid Number 37.2% 15.3% Medium Hard 0.05064373281875492 0.05071509257901641 https://leetcode.com/problems/maximum-product-of-splitted-binary-tree https://leetcode.com/problems/valid-number
295 681 1339 Next Closest Time Maximum Product of Splitted Binary Tree 45.0% 37.2% Medium Medium 0.05045206096038863 0.05064373281875492 https://leetcode.com/problems/next-closest-time https://leetcode.com/problems/maximum-product-of-splitted-binary-tree
296 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
297 743 382 Network Delay Time Linked List Random Node 45.0% 52.1% Medium Medium 0.05002606023684499 0.05045206096038863 https://leetcode.com/problems/network-delay-time https://leetcode.com/problems/linked-list-random-node
298 129 743 Sum Root to Leaf Numbers Network Delay Time 49.1% 45.0% Medium Medium 0.050010420574661374 0.05002606023684499 https://leetcode.com/problems/sum-root-to-leaf-numbers https://leetcode.com/problems/network-delay-time
299 242 129 Valid Anagram Sum Root to Leaf Numbers 56.9% 49.1% Easy Medium 0.04973624974928908 0.050010420574661374 https://leetcode.com/problems/valid-anagram https://leetcode.com/problems/sum-root-to-leaf-numbers
300 285 242 Inorder Successor in BST Valid Anagram 40.4% 56.9% Medium Easy 0.049569618859417214 0.04973624974928908 https://leetcode.com/problems/inorder-successor-in-bst https://leetcode.com/problems/valid-anagram
301 181 285 Employees Earning More Than Their Managers Inorder Successor in BST 56.9% 40.4% Easy Medium 0.04954573655142984 0.049569618859417214 https://leetcode.com/problems/employees-earning-more-than-their-managers https://leetcode.com/problems/inorder-successor-in-bst
302 137 181 Single Number II Employees Earning More Than Their Managers 52.4% 56.9% Medium Easy 0.04919528672454412 0.04954573655142984 https://leetcode.com/problems/single-number-ii https://leetcode.com/problems/employees-earning-more-than-their-managers
303 969 137 Pancake Sorting Single Number II 67.5% 52.4% Medium Medium 0.04908961019652358 0.04919528672454412 https://leetcode.com/problems/pancake-sorting https://leetcode.com/problems/single-number-ii
304 1267 969 Count Servers that Communicate Pancake Sorting 57.9% 67.5% Medium Medium 0.04902942724031861 0.04908961019652358 https://leetcode.com/problems/count-servers-that-communicate https://leetcode.com/problems/pancake-sorting
305 1153 1267 String Transforms Into Another String Count Servers that Communicate 35.8% 57.9% Hard Medium 0.04861224405509378 0.04902942724031861 https://leetcode.com/problems/string-transforms-into-another-string https://leetcode.com/problems/count-servers-that-communicate
306 407 1153 Trapping Rain Water II String Transforms Into Another String 42.4% 35.8% Hard Hard 0.04797082778602956 0.04861224405509378 https://leetcode.com/problems/trapping-rain-water-ii https://leetcode.com/problems/string-transforms-into-another-string
307 986 407 Interval List Intersections Trapping Rain Water II 67.3% 42.4% Medium Hard 0.04703983015489417 0.04797082778602956 https://leetcode.com/problems/interval-list-intersections https://leetcode.com/problems/trapping-rain-water-ii
308 336 986 Palindrome Pairs Interval List Intersections 33.7% 67.3% Hard Medium 0.04690191367275952 0.04703983015489417 https://leetcode.com/problems/palindrome-pairs https://leetcode.com/problems/interval-list-intersections
309 698 336 Partition to K Equal Sum Subsets Palindrome Pairs 45.0% 33.7% Medium Hard 0.04685917114094188 0.04690191367275952 https://leetcode.com/problems/partition-to-k-equal-sum-subsets https://leetcode.com/problems/palindrome-pairs
310 556 698 Next Greater Element III Partition to K Equal Sum Subsets 31.7% 45.0% Medium Medium 0.04679216150675895 0.04685917114094188 https://leetcode.com/problems/next-greater-element-iii https://leetcode.com/problems/partition-to-k-equal-sum-subsets
311 359 556 Logger Rate Limiter Next Greater Element III 70.8% 31.7% Easy Medium 0.0467617659080393 0.04679216150675895 https://leetcode.com/problems/logger-rate-limiter https://leetcode.com/problems/next-greater-element-iii
312 978 359 Longest Turbulent Subarray Logger Rate Limiter 46.6% 70.8% Medium Easy 0.046737477851689815 0.0467617659080393 https://leetcode.com/problems/longest-turbulent-subarray https://leetcode.com/problems/logger-rate-limiter
313 415 978 Add Strings Longest Turbulent Subarray 47.5% 46.6% Easy Medium 0.04650270606183304 0.046737477851689815 https://leetcode.com/problems/add-strings https://leetcode.com/problems/longest-turbulent-subarray
314 264 415 Ugly Number II Add Strings 42.0% 47.5% Medium Easy 0.04563095565767374 0.04650270606183304 https://leetcode.com/problems/ugly-number-ii https://leetcode.com/problems/add-strings
315 843 264 Guess the Word Ugly Number II 46.1% 42.0% Hard Medium 0.045462374076757336 0.04563095565767374 https://leetcode.com/problems/guess-the-word https://leetcode.com/problems/ugly-number-ii
316 1162 843 As Far from Land as Possible Guess the Word 43.5% 46.1% Medium Hard 0.04510347333459475 0.045462374076757336 https://leetcode.com/problems/as-far-from-land-as-possible https://leetcode.com/problems/guess-the-word
317 1382 1162 Balance a Binary Search Tree As Far from Land as Possible 74.8% 43.5% Medium Medium 0.04480032475536626 0.04510347333459475 https://leetcode.com/problems/balance-a-binary-search-tree https://leetcode.com/problems/as-far-from-land-as-possible
318 349 1382 Intersection of Two Arrays Balance a Binary Search Tree 62.5% 74.8% Easy Medium 0.04447549064708117 0.04480032475536626 https://leetcode.com/problems/intersection-of-two-arrays https://leetcode.com/problems/balance-a-binary-search-tree
319 268 349 Missing Number Intersection of Two Arrays 51.7% 62.5% Easy Easy 0.043089480538103624 0.04447549064708117 https://leetcode.com/problems/missing-number https://leetcode.com/problems/intersection-of-two-arrays
320 515 268 Find Largest Value in Each Tree Row Missing Number 61.1% 51.7% Medium Easy 0.042459207771791546 0.043089480538103624 https://leetcode.com/problems/find-largest-value-in-each-tree-row https://leetcode.com/problems/missing-number
321 184 515 Department Highest Salary Find Largest Value in Each Tree Row 36.7% 61.1% Medium Medium 0.041672696400568025 0.042459207771791546 https://leetcode.com/problems/department-highest-salary https://leetcode.com/problems/find-largest-value-in-each-tree-row
322 169 184 Majority Element Department Highest Salary 58.7% 36.7% Easy Medium 0.041581229756944955 0.041672696400568025 https://leetcode.com/problems/majority-element https://leetcode.com/problems/department-highest-salary
323 430 169 Flatten a Multilevel Doubly Linked List Majority Element 55.1% 58.7% Medium Easy 0.04154283751370906 0.041581229756944955 https://leetcode.com/problems/flatten-a-multilevel-doubly-linked-list https://leetcode.com/problems/majority-element
324 92 430 Reverse Linked List II Flatten a Multilevel Doubly Linked List 38.8% 55.1% Medium Medium 0.041073535208287514 0.04154283751370906 https://leetcode.com/problems/reverse-linked-list-ii https://leetcode.com/problems/flatten-a-multilevel-doubly-linked-list
325 647 92 Palindromic Substrings Reverse Linked List II 60.6% 38.8% Medium Medium 0.040968350772541844 0.041073535208287514 https://leetcode.com/problems/palindromic-substrings https://leetcode.com/problems/reverse-linked-list-ii
326 62 647 Unique Paths Palindromic Substrings 54.1% 60.6% Medium Medium 0.04084052144450833 0.040968350772541844 https://leetcode.com/problems/unique-paths https://leetcode.com/problems/palindromic-substrings
327 1094 62 Car Pooling Unique Paths 56.7% 54.1% Medium Medium 0.04016604172533471 0.04084052144450833 https://leetcode.com/problems/car-pooling https://leetcode.com/problems/unique-paths
328 686 1094 Repeated String Match Car Pooling 32.3% 56.7% Easy Medium 0.03984590854719967 0.04016604172533471 https://leetcode.com/problems/repeated-string-match https://leetcode.com/problems/car-pooling
329 406 686 Queue Reconstruction by Height Repeated String Match 66.9% 32.3% Medium Easy 0.03949613834265583 0.03984590854719967 https://leetcode.com/problems/queue-reconstruction-by-height https://leetcode.com/problems/repeated-string-match
330 289 406 Game of Life Queue Reconstruction by Height 54.5% 66.9% Medium Medium 0.03856519035039098 0.03949613834265583 https://leetcode.com/problems/game-of-life https://leetcode.com/problems/queue-reconstruction-by-height
331 202 289 Happy Number Game of Life 50.4% 54.5% Easy Medium 0.03853744444187023 0.03856519035039098 https://leetcode.com/problems/happy-number https://leetcode.com/problems/game-of-life
332 178 202 Rank Scores Happy Number 45.8% 50.4% Medium Easy 0.037379767071581464 0.03853744444187023 https://leetcode.com/problems/rank-scores https://leetcode.com/problems/happy-number
333 1031 178 Maximum Sum of Two Non-Overlapping Subarrays Rank Scores 57.9% 45.8% Medium Medium 0.03711000965123125 0.037379767071581464 https://leetcode.com/problems/maximum-sum-of-two-non-overlapping-subarrays https://leetcode.com/problems/rank-scores
334 646 1031 Maximum Length of Pair Chain Maximum Sum of Two Non-Overlapping Subarrays 51.9% 57.9% Medium Medium 0.036870535808327706 0.03711000965123125 https://leetcode.com/problems/maximum-length-of-pair-chain https://leetcode.com/problems/maximum-sum-of-two-non-overlapping-subarrays
335 729 646 My Calendar I Maximum Length of Pair Chain 51.8% 51.9% Medium Medium 0.036433902246102004 0.036870535808327706 https://leetcode.com/problems/my-calendar-i https://leetcode.com/problems/maximum-length-of-pair-chain
336 884 729 Uncommon Words from Two Sentences My Calendar I 63.3% 51.8% Easy Medium 0.036301626676214796 0.036433902246102004 https://leetcode.com/problems/uncommon-words-from-two-sentences https://leetcode.com/problems/my-calendar-i
337 1249 884 Minimum Remove to Make Valid Parentheses Uncommon Words from Two Sentences 62.5% 63.3% Medium Easy 0.03628515973976445 0.036301626676214796 https://leetcode.com/problems/minimum-remove-to-make-valid-parentheses https://leetcode.com/problems/uncommon-words-from-two-sentences
338 875 1249 Koko Eating Bananas Minimum Remove to Make Valid Parentheses 52.1% 62.5% Medium Medium 0.0359751024582779 0.03628515973976445 https://leetcode.com/problems/koko-eating-bananas https://leetcode.com/problems/minimum-remove-to-make-valid-parentheses
339 1254 875 Number of Closed Islands Koko Eating Bananas 60.5% 52.1% Medium Medium 0.03540192705091593 0.0359751024582779 https://leetcode.com/problems/number-of-closed-islands https://leetcode.com/problems/koko-eating-bananas
340 63 1254 Unique Paths II Number of Closed Islands 34.6% 60.5% Medium Medium 0.03440459729940371 0.03540192705091593 https://leetcode.com/problems/unique-paths-ii https://leetcode.com/problems/number-of-closed-islands
341 1002 63 Find Common Characters Unique Paths II 67.6% 34.6% Easy Medium 0.03404262162737441 0.03440459729940371 https://leetcode.com/problems/find-common-characters https://leetcode.com/problems/unique-paths-ii
342 226 1002 Invert Binary Tree Find Common Characters 65.0% 67.6% Easy Easy 0.03393837323839263 0.03404262162737441 https://leetcode.com/problems/invert-binary-tree https://leetcode.com/problems/find-common-characters
343 528 226 Random Pick with Weight Invert Binary Tree 43.9% 65.0% Medium Easy 0.03306693626657339 0.03393837323839263 https://leetcode.com/problems/random-pick-with-weight https://leetcode.com/problems/invert-binary-tree
344 235 528 Lowest Common Ancestor of a Binary Search Tree Random Pick with Weight 49.9% 43.9% Easy Medium 0.032470385030784074 0.03306693626657339 https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-search-tree https://leetcode.com/problems/random-pick-with-weight
345 133 235 Clone Graph Lowest Common Ancestor of a Binary Search Tree 34.8% 49.9% Medium Easy 0.03215711163453134 0.032470385030784074 https://leetcode.com/problems/clone-graph https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-search-tree
346 1146 133 Snapshot Array Clone Graph 37.0% 34.8% Medium Medium 0.0317991816929387 0.03215711163453134 https://leetcode.com/problems/snapshot-array https://leetcode.com/problems/clone-graph
347 653 1146 Two Sum IV - Input is a BST Snapshot Array 55.5% 37.0% Easy Medium 0.031726312677204306 0.0317991816929387 https://leetcode.com/problems/two-sum-iv-input-is-a-bst https://leetcode.com/problems/snapshot-array
348 150 653 Evaluate Reverse Polish Notation Two Sum IV - Input is a BST 36.3% 55.5% Medium Easy 0.031526253646773944 0.031726312677204306 https://leetcode.com/problems/evaluate-reverse-polish-notation https://leetcode.com/problems/two-sum-iv-input-is-a-bst
349 38 150 Count and Say Evaluate Reverse Polish Notation 44.6% 36.3% Easy Medium 0.030956234663467107 0.031526253646773944 https://leetcode.com/problems/count-and-say https://leetcode.com/problems/evaluate-reverse-polish-notation
350 1179 38 Reformat Department Table Count and Say 80.6% 44.6% Easy Easy 0.030653741091002412 0.030956234663467107 https://leetcode.com/problems/reformat-department-table https://leetcode.com/problems/count-and-say
351 135 1179 Candy Reformat Department Table 31.6% 80.6% Hard Easy 0.029764101906453892 0.030653741091002412 https://leetcode.com/problems/candy https://leetcode.com/problems/reformat-department-table
352 419 135 Battleships in a Board Candy 70.0% 31.6% Medium Hard 0.02967576814611661 0.029764101906453892 https://leetcode.com/problems/battleships-in-a-board https://leetcode.com/problems/candy
353 413 419 Arithmetic Slices Battleships in a Board 57.9% 70.0% Medium Medium 0.028431197162004825 0.02967576814611661 https://leetcode.com/problems/arithmetic-slices https://leetcode.com/problems/battleships-in-a-board
354 77 413 Combinations Arithmetic Slices 54.7% 57.9% Medium Medium 0.028021758737593695 0.028431197162004825 https://leetcode.com/problems/combinations https://leetcode.com/problems/arithmetic-slices
355 204 77 Count Primes Combinations 31.5% 54.7% Easy Medium 0.02799343042200216 0.028021758737593695 https://leetcode.com/problems/count-primes https://leetcode.com/problems/combinations
356 183 204 Customers Who Never Order Count Primes 53.4% 31.5% Easy Easy 0.027702602549335792 0.02799343042200216 https://leetcode.com/problems/customers-who-never-order https://leetcode.com/problems/count-primes
357 68 183 Text Justification Customers Who Never Order 27.7% 53.4% Hard Easy 0.0276451606661453 0.027702602549335792 https://leetcode.com/problems/text-justification https://leetcode.com/problems/customers-who-never-order
358 249 68 Group Shifted Strings Text Justification 55.1% 27.7% Medium Hard 0.0276069982440099 0.0276451606661453 https://leetcode.com/problems/group-shifted-strings https://leetcode.com/problems/text-justification
359 114 249 Flatten Binary Tree to Linked List Group Shifted Strings 49.3% 55.1% Medium Medium 0.02730545069026746 0.0276069982440099 https://leetcode.com/problems/flatten-binary-tree-to-linked-list https://leetcode.com/problems/group-shifted-strings
360 130 114 Surrounded Regions Flatten Binary Tree to Linked List 28.1% 49.3% Medium Medium 0.02672368055211276 0.02730545069026746 https://leetcode.com/problems/surrounded-regions https://leetcode.com/problems/flatten-binary-tree-to-linked-list
361 931 130 Minimum Falling Path Sum Surrounded Regions 62.5% 28.1% Medium Medium 0.02672169681715245 0.02672368055211276 https://leetcode.com/problems/minimum-falling-path-sum https://leetcode.com/problems/surrounded-regions
362 34 931 Find First and Last Position of Element in Sorted Array Minimum Falling Path Sum 36.2% 62.5% Medium Medium 0.026256496787488606 0.02672169681715245 https://leetcode.com/problems/find-first-and-last-position-of-element-in-sorted-array https://leetcode.com/problems/minimum-falling-path-sum
363 158 34 Read N Characters Given Read4 II - Call multiple times Find First and Last Position of Element in Sorted Array 33.8% 36.2% Hard Medium 0.026196651946570663 0.026256496787488606 https://leetcode.com/problems/read-n-characters-given-read4-ii-call-multiple-times https://leetcode.com/problems/find-first-and-last-position-of-element-in-sorted-array
364 1395 158 Count Number of Teams Read N Characters Given Read4 II - Call multiple times 82.0% 33.8% Medium Hard 0.025462865161248044 0.026196651946570663 https://leetcode.com/problems/count-number-of-teams https://leetcode.com/problems/read-n-characters-given-read4-ii-call-multiple-times
365 862 1395 Shortest Subarray with Sum at Least K Count Number of Teams 24.6% 82.0% Hard Medium 0.025398190605610438 0.025462865161248044 https://leetcode.com/problems/shortest-subarray-with-sum-at-least-k https://leetcode.com/problems/count-number-of-teams
366 951 862 Flip Equivalent Binary Trees Shortest Subarray with Sum at Least K 65.8% 24.6% Medium Hard 0.025269822188076344 0.025398190605610438 https://leetcode.com/problems/flip-equivalent-binary-trees https://leetcode.com/problems/shortest-subarray-with-sum-at-least-k
367 232 951 Implement Queue using Stacks Flip Equivalent Binary Trees 49.6% 65.8% Easy Medium 0.025119936515296634 0.025269822188076344 https://leetcode.com/problems/implement-queue-using-stacks https://leetcode.com/problems/flip-equivalent-binary-trees
368 785 232 Is Graph Bipartite? Implement Queue using Stacks 47.5% 49.6% Medium Easy 0.02510592113107633 0.025119936515296634 https://leetcode.com/problems/is-graph-bipartite https://leetcode.com/problems/implement-queue-using-stacks
369 132 785 Palindrome Partitioning II Is Graph Bipartite? 30.2% 47.5% Hard Medium 0.024436157849456068 0.02510592113107633 https://leetcode.com/problems/palindrome-partitioning-ii https://leetcode.com/problems/is-graph-bipartite
370 714 132 Best Time to Buy and Sell Stock with Transaction Fee Palindrome Partitioning II 54.7% 30.2% Medium Hard 0.024258315059789946 0.024436157849456068 https://leetcode.com/problems/best-time-to-buy-and-sell-stock-with-transaction-fee https://leetcode.com/problems/palindrome-partitioning-ii
371 836 714 Rectangle Overlap Best Time to Buy and Sell Stock with Transaction Fee 48.6% 54.7% Easy Medium 0.024228925974379843 0.024258315059789946 https://leetcode.com/problems/rectangle-overlap https://leetcode.com/problems/best-time-to-buy-and-sell-stock-with-transaction-fee
372 395 836 Longest Substring with At Least K Repeating Characters Rectangle Overlap 41.4% 48.6% Medium Easy 0.024228925974379843 0.024228925974379843 https://leetcode.com/problems/longest-substring-with-at-least-k-repeating-characters https://leetcode.com/problems/rectangle-overlap
373 70 395 Climbing Stairs Longest Substring with At Least K Repeating Characters 47.8% 41.4% Easy Medium 0.023866591309041507 0.024228925974379843 https://leetcode.com/problems/climbing-stairs https://leetcode.com/problems/longest-substring-with-at-least-k-repeating-characters
374 31 70 Next Permutation Climbing Stairs 32.6% 47.8% Medium Easy 0.023747034562878154 0.023866591309041507 https://leetcode.com/problems/next-permutation https://leetcode.com/problems/climbing-stairs
375 704 31 Binary Search Next Permutation 52.1% 32.6% Easy Medium 0.02368531774150923 0.023747034562878154 https://leetcode.com/problems/binary-search https://leetcode.com/problems/next-permutation
376 1161 704 Maximum Level Sum of a Binary Tree Binary Search 72.2% 52.1% Medium Easy 0.023270392682351006 0.02368531774150923 https://leetcode.com/problems/maximum-level-sum-of-a-binary-tree https://leetcode.com/problems/binary-search
377 1299 1161 Replace Elements with Greatest Element on Right Side Maximum Level Sum of a Binary Tree 75.4% 72.2% Easy Medium 0.022756987122616215 0.023270392682351006 https://leetcode.com/problems/replace-elements-with-greatest-element-on-right-side https://leetcode.com/problems/maximum-level-sum-of-a-binary-tree
378 678 1299 Valid Parenthesis String Replace Elements with Greatest Element on Right Side 31.0% 75.4% Medium Easy 0.02271534352147261 0.022756987122616215 https://leetcode.com/problems/valid-parenthesis-string https://leetcode.com/problems/replace-elements-with-greatest-element-on-right-side
379 61 678 Rotate List Valid Parenthesis String 30.0% 31.0% Medium Medium 0.022195732391784302 0.02271534352147261 https://leetcode.com/problems/rotate-list https://leetcode.com/problems/valid-parenthesis-string
380 112 61 Path Sum Rotate List 41.2% 30.0% Easy Medium 0.021701651897460775 0.022195732391784302 https://leetcode.com/problems/path-sum https://leetcode.com/problems/rotate-list
381 1019 112 Next Greater Node In Linked List Path Sum 57.4% 41.2% Medium Easy 0.02159911180346178 0.021701651897460775 https://leetcode.com/problems/next-greater-node-in-linked-list https://leetcode.com/problems/path-sum
382 1520 1019 Maximum Number of Non-Overlapping Substrings Next Greater Node In Linked List 32.8% 57.4% Hard Medium 0.021485667755491482 0.02159911180346178 https://leetcode.com/problems/maximum-number-of-non-overlapping-substrings https://leetcode.com/problems/next-greater-node-in-linked-list
383 841 1520 Keys and Rooms Maximum Number of Non-Overlapping Substrings 64.3% 32.8% Medium Hard 0.021425565169310254 0.021485667755491482 https://leetcode.com/problems/keys-and-rooms https://leetcode.com/problems/maximum-number-of-non-overlapping-substrings
384 921 841 Minimum Add to Make Parentheses Valid Keys and Rooms 73.7% 64.3% Medium Medium 0.021425565169310254 0.021425565169310254 https://leetcode.com/problems/minimum-add-to-make-parentheses-valid https://leetcode.com/problems/keys-and-rooms
385 14 921 Longest Common Prefix Minimum Add to Make Parentheses Valid 35.4% 73.7% Easy Medium 0.02057347087022327 0.021425565169310254 https://leetcode.com/problems/longest-common-prefix https://leetcode.com/problems/minimum-add-to-make-parentheses-valid
386 784 14 Letter Case Permutation Longest Common Prefix 64.6% 35.4% Medium Easy 0.02026411791905559 0.02057347087022327 https://leetcode.com/problems/letter-case-permutation https://leetcode.com/problems/longest-common-prefix
387 69 784 Sqrt(x) Letter Case Permutation 33.9% 64.6% Easy Medium 0.020253856904497686 0.02026411791905559 https://leetcode.com/problems/sqrtx https://leetcode.com/problems/letter-case-permutation
388 180 69 Consecutive Numbers Sqrt(x) 39.7% 33.9% Medium Easy 0.02021291655585931 0.020253856904497686 https://leetcode.com/problems/consecutive-numbers https://leetcode.com/problems/sqrtx
389 525 180 Contiguous Array Consecutive Numbers 42.8% 39.7% Medium Medium 0.01975372873623256 0.02021291655585931 https://leetcode.com/problems/contiguous-array https://leetcode.com/problems/consecutive-numbers
390 435 525 Non-overlapping Intervals Contiguous Array 42.9% 42.8% Medium Medium 0.019455866615365896 0.01975372873623256 https://leetcode.com/problems/non-overlapping-intervals https://leetcode.com/problems/contiguous-array
391 416 435 Partition Equal Subset Sum Non-overlapping Intervals 43.7% 42.9% Medium Medium 0.01943905703222215 0.019455866615365896 https://leetcode.com/problems/partition-equal-subset-sum https://leetcode.com/problems/non-overlapping-intervals
392 1048 416 Longest String Chain Partition Equal Subset Sum 54.7% 43.7% Medium Medium 0.019361689049145963 0.01943905703222215 https://leetcode.com/problems/longest-string-chain https://leetcode.com/problems/partition-equal-subset-sum
393 787 1048 Cheapest Flights Within K Stops Longest String Chain 39.3% 54.7% Medium Medium 0.018824085245635554 0.019361689049145963 https://leetcode.com/problems/cheapest-flights-within-k-stops https://leetcode.com/problems/longest-string-chain
394 450 787 Delete Node in a BST Cheapest Flights Within K Stops 43.1% 39.3% Medium Medium 0.018536211907915243 0.018824085245635554 https://leetcode.com/problems/delete-node-in-a-bst https://leetcode.com/problems/cheapest-flights-within-k-stops
395 290 450 Word Pattern Delete Node in a BST 37.0% 43.1% Easy Medium 0.01839978311884168 0.018536211907915243 https://leetcode.com/problems/word-pattern https://leetcode.com/problems/delete-node-in-a-bst
396 590 290 N-ary Tree Postorder Traversal Word Pattern 72.1% 37.0% Easy Easy 0.018182319083190436 0.01839978311884168 https://leetcode.com/problems/n-ary-tree-postorder-traversal https://leetcode.com/problems/word-pattern
397 542 590 01 Matrix N-ary Tree Postorder Traversal 39.8% 72.1% Medium Easy 0.01796993548494071 0.018182319083190436 https://leetcode.com/problems/01-matrix https://leetcode.com/problems/n-ary-tree-postorder-traversal
398 383 542 Ransom Note 01 Matrix 53.1% 39.8% Easy Medium 0.017621601349819518 0.01796993548494071 https://leetcode.com/problems/ransom-note https://leetcode.com/problems/01-matrix
399 993 383 Cousins in Binary Tree Ransom Note 52.0% 53.1% Easy Easy 0.017414458368636587 0.017621601349819518 https://leetcode.com/problems/cousins-in-binary-tree https://leetcode.com/problems/ransom-note
400 104 993 Maximum Depth of Binary Tree Cousins in Binary Tree 66.0% 52.0% Easy Easy 0.017297878201610554 0.017414458368636587 https://leetcode.com/problems/maximum-depth-of-binary-tree https://leetcode.com/problems/cousins-in-binary-tree
401 6 104 ZigZag Conversion Maximum Depth of Binary Tree 36.3% 66.0% Medium Easy 0.01726827253226344 0.017297878201610554 https://leetcode.com/problems/zigzag-conversion https://leetcode.com/problems/maximum-depth-of-binary-tree
402 337 6 House Robber III ZigZag Conversion 50.6% 36.3% Medium Medium 0.017182553319996886 0.01726827253226344 https://leetcode.com/problems/house-robber-iii https://leetcode.com/problems/zigzag-conversion
403 50 337 Pow(x;n) House Robber III 30.3% 50.6% Medium Medium 0.017036779497025166 0.017182553319996886 https://leetcode.com/problems/powx-n https://leetcode.com/problems/house-robber-iii
404 389 50 Find the Difference Pow(x;n) 55.3% 30.3% Easy Medium 0.016978336534417868 0.017036779497025166 https://leetcode.com/problems/find-the-difference https://leetcode.com/problems/powx-n
405 402 389 Remove K Digits Find the Difference 28.4% 55.3% Medium Easy 0.016863806052004816 0.016978336534417868 https://leetcode.com/problems/remove-k-digits https://leetcode.com/problems/find-the-difference
406 1110 402 Delete Nodes And Return Forest Remove K Digits 67.0% 28.4% Medium Medium 0.01660478167636296 0.016863806052004816 https://leetcode.com/problems/delete-nodes-and-return-forest https://leetcode.com/problems/remove-k-digits
407 1108 1110 Defanging an IP Address Delete Nodes And Return Forest 87.5% 67.0% Easy Medium 0.016423726830643748 0.01660478167636296 https://leetcode.com/problems/defanging-an-ip-address https://leetcode.com/problems/delete-nodes-and-return-forest
408 299 1108 Bulls and Cows Defanging an IP Address 42.4% 87.5% Easy Easy 0.016227536621756702 0.016423726830643748 https://leetcode.com/problems/bulls-and-cows https://leetcode.com/problems/defanging-an-ip-address
409 340 299 Longest Substring with At Most K Distinct Characters Bulls and Cows 44.1% 42.4% Hard Easy 0.016122880486563188 0.016227536621756702 https://leetcode.com/problems/longest-substring-with-at-most-k-distinct-characters https://leetcode.com/problems/bulls-and-cows
410 412 340 Fizz Buzz Longest Substring with At Most K Distinct Characters 62.3% 44.1% Easy Hard 0.016051709010507904 0.016122880486563188 https://leetcode.com/problems/fizz-buzz https://leetcode.com/problems/longest-substring-with-at-most-k-distinct-characters
411 509 412 Fibonacci Number Fizz Buzz 67.2% 62.3% Easy Easy 0.01593518138579736 0.016051709010507904 https://leetcode.com/problems/fibonacci-number https://leetcode.com/problems/fizz-buzz
412 1304 509 Find N Unique Integers Sum up to Zero Fibonacci Number 76.3% 67.2% Easy Easy 0.015892269319508656 0.01593518138579736 https://leetcode.com/problems/find-n-unique-integers-sum-up-to-zero https://leetcode.com/problems/fibonacci-number
413 938 1304 Range Sum of BST Find N Unique Integers Sum up to Zero 81.3% 76.3% Easy Easy 0.015707129205357877 0.015892269319508656 https://leetcode.com/problems/range-sum-of-bst https://leetcode.com/problems/find-n-unique-integers-sum-up-to-zero
414 28 938 Implement strStr() Range Sum of BST 34.5% 81.3% Easy Easy 0.01568044672076543 0.015707129205357877 https://leetcode.com/problems/implement-strstr https://leetcode.com/problems/range-sum-of-bst
415 118 28 Pascal's Triangle Implement strStr() 52.5% 34.5% Easy Easy 0.015123796918620345 0.01568044672076543 https://leetcode.com/problems/pascals-triangle https://leetcode.com/problems/implement-strstr
416 567 118 Permutation in String Pascal's Triangle 44.4% 52.5% Medium Easy 0.014947961435873182 0.015123796918620345 https://leetcode.com/problems/permutation-in-string https://leetcode.com/problems/pascals-triangle
417 912 567 Sort an Array Permutation in String 63.9% 44.4% Medium Medium 0.01443026482902881 0.014947961435873182 https://leetcode.com/problems/sort-an-array https://leetcode.com/problems/permutation-in-string
418 107 912 Binary Tree Level Order Traversal II Sort an Array 53.5% 63.9% Easy Medium 0.014395642075089957 0.01443026482902881 https://leetcode.com/problems/binary-tree-level-order-traversal-ii https://leetcode.com/problems/sort-an-array
419 404 107 Sum of Left Leaves Binary Tree Level Order Traversal II 50.9% 53.5% Easy Easy 0.013981353230340547 0.014395642075089957 https://leetcode.com/problems/sum-of-left-leaves https://leetcode.com/problems/binary-tree-level-order-traversal-ii
420 304 404 Range Sum Query 2D - Immutable Sum of Left Leaves 38.6% 50.9% Medium Easy 0.013913267916985026 0.013981353230340547 https://leetcode.com/problems/range-sum-query-2d-immutable https://leetcode.com/problems/sum-of-left-leaves
421 724 304 Find Pivot Index Range Sum Query 2D - Immutable 44.0% 38.6% Easy Medium 0.013850636933899008 0.013913267916985026 https://leetcode.com/problems/find-pivot-index https://leetcode.com/problems/range-sum-query-2d-immutable
422 44 724 Wildcard Matching Find Pivot Index 24.7% 44.0% Hard Easy 0.013703537497261858 0.013850636933899008 https://leetcode.com/problems/wildcard-matching https://leetcode.com/problems/find-pivot-index
423 1047 44 Remove All Adjacent Duplicates In String Wildcard Matching 68.6% 24.7% Easy Hard 0.013059277989179281 0.013703537497261858 https://leetcode.com/problems/remove-all-adjacent-duplicates-in-string https://leetcode.com/problems/wildcard-matching
424 344 1047 Reverse String Remove All Adjacent Duplicates In String 68.5% 68.6% Easy Easy 0.013014662307854044 0.013059277989179281 https://leetcode.com/problems/reverse-string https://leetcode.com/problems/remove-all-adjacent-duplicates-in-string
425 82 344 Remove Duplicates from Sorted List II Reverse String 36.8% 68.5% Medium Easy 0.01297035044262745 0.013014662307854044 https://leetcode.com/problems/remove-duplicates-from-sorted-list-ii https://leetcode.com/problems/reverse-string
426 213 82 House Robber II Remove Duplicates from Sorted List II 36.5% 36.8% Medium Medium 0.012654392210497564 0.01297035044262745 https://leetcode.com/problems/house-robber-ii https://leetcode.com/problems/remove-duplicates-from-sorted-list-ii
427 852 213 Peak Index in a Mountain Array House Robber II 71.6% 36.5% Easy Medium 0.012618463959211509 0.012654392210497564 https://leetcode.com/problems/peak-index-in-a-mountain-array https://leetcode.com/problems/house-robber-ii
428 108 852 Convert Sorted Array to Binary Search Tree Peak Index in a Mountain Array 57.9% 71.6% Easy Easy 0.012453461071286613 0.012618463959211509 https://leetcode.com/problems/convert-sorted-array-to-binary-search-tree https://leetcode.com/problems/peak-index-in-a-mountain-array
429 167 108 Two Sum II - Input array is sorted Convert Sorted Array to Binary Search Tree 54.1% 57.9% Easy Easy 0.012349223898473458 0.012453461071286613 https://leetcode.com/problems/two-sum-ii-input-array-is-sorted https://leetcode.com/problems/convert-sorted-array-to-binary-search-tree
430 9 167 Palindrome Number Two Sum II - Input array is sorted 48.4% 54.1% Easy Easy 0.01209661684713821 0.012349223898473458 https://leetcode.com/problems/palindrome-number https://leetcode.com/problems/two-sum-ii-input-array-is-sorted
431 81 9 Search in Rotated Sorted Array II Palindrome Number 33.0% 48.4% Medium Easy 0.011689203815677656 0.01209661684713821 https://leetcode.com/problems/search-in-rotated-sorted-array-ii https://leetcode.com/problems/palindrome-number
432 350 81 Intersection of Two Arrays II Search in Rotated Sorted Array II 51.4% 33.0% Easy Medium 0.01168540951877908 0.011689203815677656 https://leetcode.com/problems/intersection-of-two-arrays-ii https://leetcode.com/problems/search-in-rotated-sorted-array-ii
433 136 350 Single Number Intersection of Two Arrays II 65.5% 51.4% Easy Easy 0.011429512235126808 0.01168540951877908 https://leetcode.com/problems/single-number https://leetcode.com/problems/intersection-of-two-arrays-ii
434 90 136 Subsets II Single Number 47.1% 65.5% Medium Easy 0.011412392051744769 0.011429512235126808 https://leetcode.com/problems/subsets-ii https://leetcode.com/problems/single-number
435 171 90 Excel Sheet Column Number Subsets II 55.9% 47.1% Easy Medium 0.011195191092491645 0.011412392051744769 https://leetcode.com/problems/excel-sheet-column-number https://leetcode.com/problems/subsets-ii
436 559 171 Maximum Depth of N-ary Tree Excel Sheet Column Number 68.7% 55.9% Easy Easy 0.010974047031976715 0.011195191092491645 https://leetcode.com/problems/maximum-depth-of-n-ary-tree https://leetcode.com/problems/excel-sheet-column-number
437 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
438 662 463 Maximum Width of Binary Tree Island Perimeter 41.0% 65.7% Medium Easy 0.010790501245113902 0.010935046086198837 https://leetcode.com/problems/maximum-width-of-binary-tree https://leetcode.com/problems/island-perimeter
439 414 662 Third Maximum Number Maximum Width of Binary Tree 30.5% 41.0% Easy Medium 0.010357420400453607 0.010790501245113902 https://leetcode.com/problems/third-maximum-number https://leetcode.com/problems/maximum-width-of-binary-tree
440 40 414 Combination Sum II Third Maximum Number 48.2% 30.5% Medium Easy 0.009578617297069781 0.010357420400453607 https://leetcode.com/problems/combination-sum-ii https://leetcode.com/problems/third-maximum-number
441 106 40 Construct Binary Tree from Inorder and Postorder Traversal Combination Sum II 47.2% 48.2% Medium Medium 0.009328969762346678 0.009578617297069781 https://leetcode.com/problems/construct-binary-tree-from-inorder-and-postorder-traversal https://leetcode.com/problems/combination-sum-ii
442 189 106 Rotate Array Construct Binary Tree from Inorder and Postorder Traversal 34.7% 47.2% Easy Medium 0.00904437880665999 0.009328969762346678 https://leetcode.com/problems/rotate-array https://leetcode.com/problems/construct-binary-tree-from-inorder-and-postorder-traversal
443 125 189 Valid Palindrome Rotate Array 36.7% 34.7% Easy Easy 0.008933948641551634 0.00904437880665999 https://leetcode.com/problems/valid-palindrome https://leetcode.com/problems/rotate-array
444 953 125 Verifying an Alien Dictionary Valid Palindrome 54.1% 36.7% Easy Easy 0.007884921592696038 0.008933948641551634 https://leetcode.com/problems/verifying-an-alien-dictionary https://leetcode.com/problems/valid-palindrome
445 141 953 Linked List Cycle Verifying an Alien Dictionary 41.1% 54.1% Easy Easy 0.007843861028908454 0.007884921592696038 https://leetcode.com/problems/linked-list-cycle https://leetcode.com/problems/verifying-an-alien-dictionary
446 1344 141 Angle Between Hands of a Clock Linked List Cycle 61.4% 41.1% Medium Easy 0.007795031188053973 0.007843861028908454 https://leetcode.com/problems/angle-between-hands-of-a-clock https://leetcode.com/problems/linked-list-cycle
447 26 1344 Remove Duplicates from Sorted Array Angle Between Hands of a Clock 45.1% 61.4% Easy Medium 0.007782518973063169 0.007795031188053973 https://leetcode.com/problems/remove-duplicates-from-sorted-array https://leetcode.com/problems/angle-between-hands-of-a-clock
448 94 26 Binary Tree Inorder Traversal Remove Duplicates from Sorted Array 63.3% 45.1% Medium Easy 0.007533307577636257 0.007782518973063169 https://leetcode.com/problems/binary-tree-inorder-traversal https://leetcode.com/problems/remove-duplicates-from-sorted-array
449 66 94 Plus One Binary Tree Inorder Traversal 43.0% 63.3% Easy Medium 0.007324847595025828 0.007533307577636257 https://leetcode.com/problems/plus-one https://leetcode.com/problems/binary-tree-inorder-traversal
450 771 66 Jewels and Stones Plus One 86.4% 43.0% Easy Easy 0.007284679819409419 0.007324847595025828 https://leetcode.com/problems/jewels-and-stones https://leetcode.com/problems/plus-one
451 1365 771 How Many Numbers Are Smaller Than the Current Number Jewels and Stones 85.6% 86.4% Easy Easy 0.007109877088701047 0.007284679819409419 https://leetcode.com/problems/how-many-numbers-are-smaller-than-the-current-number https://leetcode.com/problems/jewels-and-stones
452 110 1365 Balanced Binary Tree How Many Numbers Are Smaller Than the Current Number 43.5% 85.6% Easy Easy 0.007027435807456887 0.007109877088701047 https://leetcode.com/problems/balanced-binary-tree https://leetcode.com/problems/how-many-numbers-are-smaller-than-the-current-number
453 67 110 Add Binary Balanced Binary Tree 45.2% 43.5% Easy Easy 0.006631598888145552 0.007027435807456887 https://leetcode.com/problems/add-binary https://leetcode.com/problems/balanced-binary-tree
454 203 67 Remove Linked List Elements Add Binary 38.6% 45.2% Easy Easy 0.006479067005887776 0.006631598888145552 https://leetcode.com/problems/remove-linked-list-elements https://leetcode.com/problems/add-binary
455 151 203 Reverse Words in a String Remove Linked List Elements 21.9% 38.6% Medium Easy 0.0061359296669270605 0.006479067005887776 https://leetcode.com/problems/reverse-words-in-a-string https://leetcode.com/problems/remove-linked-list-elements
456 1431 151 Kids With the Greatest Number of Candies Reverse Words in a String 88.9% 21.9% Easy Medium 0.005927699633275225 0.0061359296669270605 https://leetcode.com/problems/kids-with-the-greatest-number-of-candies https://leetcode.com/problems/reverse-words-in-a-string
457 621 1431 Task Scheduler Kids With the Greatest Number of Candies 50.1% 88.9% Medium Easy 0.005261323957171611 0.005927699633275225 https://leetcode.com/problems/task-scheduler https://leetcode.com/problems/kids-with-the-greatest-number-of-candies
458 160 621 Intersection of Two Linked Lists Task Scheduler 40.6% 50.1% Easy Medium 0.004901369939720486 0.005261323957171611 https://leetcode.com/problems/intersection-of-two-linked-lists https://leetcode.com/problems/task-scheduler
459 35 160 Search Insert Position Intersection of Two Linked Lists 42.6% 40.6% Easy Easy 0.004646848510375352 0.004901369939720486 https://leetcode.com/problems/search-insert-position https://leetcode.com/problems/intersection-of-two-linked-lists
460 7 35 Reverse Integer Search Insert Position 25.8% 42.6% Easy Easy 0.00418293972984512 0.004646848510375352 https://leetcode.com/problems/reverse-integer https://leetcode.com/problems/search-insert-position
461 977 7 Squares of a Sorted Array Reverse Integer 72.1% 25.8% Easy Easy 0.003891055492966611 0.00418293972984512 https://leetcode.com/problems/squares-of-a-sorted-array https://leetcode.com/problems/reverse-integer
462 78 977 Subsets Squares of a Sorted Array 62.0% 72.1% Medium Easy 0.00368765975195334 0.003891055492966611 https://leetcode.com/problems/subsets https://leetcode.com/problems/squares-of-a-sorted-array
463 100 78 Same Tree Subsets 53.4% 62.0% Easy Medium 0.003165227373565798 0.00368765975195334 https://leetcode.com/problems/same-tree https://leetcode.com/problems/subsets
464 309 100 Best Time to Buy and Sell Stock with Cooldown Same Tree 47.4% 53.4% Medium Easy 0.0028498166907604426 0.003165227373565798 https://leetcode.com/problems/best-time-to-buy-and-sell-stock-with-cooldown https://leetcode.com/problems/same-tree
465 797 309 All Paths From Source to Target Best Time to Buy and Sell Stock with Cooldown 77.9% 47.4% Medium Medium 0.0024703569875376783 0.0028498166907604426 https://leetcode.com/problems/all-paths-from-source-to-target https://leetcode.com/problems/best-time-to-buy-and-sell-stock-with-cooldown
466 260 797 Single Number III All Paths From Source to Target 64.3% 77.9% Medium Medium 0.0020288097849578786 0.0024703569875376783 https://leetcode.com/problems/single-number-iii https://leetcode.com/problems/all-paths-from-source-to-target
467 260 Single Number III 64.3% Medium 0.0020288097849578786 https://leetcode.com/problems/single-number-iii