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,308 +1,309 @@
427,Construct Quad Tree,61.4%,Medium,3.2025777670666282, https://leetcode.com/problems/construct-quad-tree
291,Word Pattern II,43.4%,Hard,3.0090998629797148, https://leetcode.com/problems/word-pattern-ii
529,Minesweeper,59.1%,Medium,2.8156219588928013, https://leetcode.com/problems/minesweeper
305,Number of Islands II,40.1%,Hard,2.7873368509214487, https://leetcode.com/problems/number-of-islands-ii
741,Cherry Pickup,33.9%,Hard,2.728198259587133, https://leetcode.com/problems/cherry-pickup
757,Set Intersection Size At Least Two,40.1%,Hard,2.5347203555002196, https://leetcode.com/problems/set-intersection-size-at-least-two
332,Reconstruct Itinerary,36.7%,Medium,2.473063947812065, https://leetcode.com/problems/reconstruct-itinerary
341,Flatten Nested List Iterator,52.9%,Medium,2.4575427125463496, https://leetcode.com/problems/flatten-nested-list-iterator
68,Text Justification,27.7%,Hard,2.4560547921829063, https://leetcode.com/problems/text-justification
465,Optimal Account Balancing,46.9%,Hard,2.3937825793600807, https://leetcode.com/problems/optimal-account-balancing
146,LRU Cache,33.2%,Medium,2.2330774739793853, https://leetcode.com/problems/lru-cache
262,Trips and Users,32.7%,Hard,2.179117086708829, https://leetcode.com/problems/trips-and-users
56,Merge Intervals,39.3%,Medium,1.9856391826219157, https://leetcode.com/problems/merge-intervals
267,Palindrome Permutation II,36.4%,Medium,1.9644220544755755, https://leetcode.com/problems/palindrome-permutation-ii
36,Valid Sudoku,48.7%,Medium,1.96380460343855, https://leetcode.com/problems/valid-sudoku
655,Print Binary Tree,55.0%,Medium,1.9142294173827312, https://leetcode.com/problems/print-binary-tree
227,Basic Calculator II,36.9%,Medium,1.831507899537194, https://leetcode.com/problems/basic-calculator-ii
42,Trapping Rain Water,48.9%,Hard,1.8228811997291605, https://leetcode.com/problems/trapping-rain-water
200,Number of Islands,46.8%,Medium,1.809092583045218, https://leetcode.com/problems/number-of-islands
986,Interval List Intersections,67.3%,Medium,1.7189319563632988, https://leetcode.com/problems/interval-list-intersections
297,Serialize and Deserialize Binary Tree,47.5%,Hard,1.6607276556789818, https://leetcode.com/problems/serialize-and-deserialize-binary-tree
253,Meeting Rooms II,45.7%,Medium,1.6305479346444065, https://leetcode.com/problems/meeting-rooms-ii
1,Two Sum,45.6%,Easy,1.6253762244734984, https://leetcode.com/problems/two-sum
428,Serialize and Deserialize N-ary Tree,59.4%,Hard,1.619513564422842, https://leetcode.com/problems/serialize-and-deserialize-n-ary-tree
380,Insert Delete GetRandom O(1),47.5%,Medium,1.5587288098338494, https://leetcode.com/problems/insert-delete-getrandom-o1
773,Sliding Puzzle,59.3%,Hard,1.5000532464765486, https://leetcode.com/problems/sliding-puzzle
359,Logger Rate Limiter,70.8%,Easy,1.4642891467178614, https://leetcode.com/problems/logger-rate-limiter
772,Basic Calculator III,41.3%,Hard,1.324801306769502, https://leetcode.com/problems/basic-calculator-iii
166,Fraction to Recurring Decimal,21.6%,Medium,1.3061986410149267, https://leetcode.com/problems/fraction-to-recurring-decimal
780,Reaching Points,29.4%,Hard,1.277920355988899, https://leetcode.com/problems/reaching-points
239,Sliding Window Maximum,43.0%,Hard,1.2321602024355653, https://leetcode.com/problems/sliding-window-maximum
224,Basic Calculator,36.8%,Hard,1.204714054955524, https://leetcode.com/problems/basic-calculator
49,Group Anagrams,56.9%,Medium,1.190205287799969, https://leetcode.com/problems/group-anagrams
17,Letter Combinations of a Phone Number,46.8%,Medium,1.1735261038835452, https://leetcode.com/problems/letter-combinations-of-a-phone-number
212,Word Search II,34.9%,Hard,1.1712646007295122, https://leetcode.com/problems/word-search-ii
642,Design Search Autocomplete System,44.7%,Hard,1.1539027516811295, https://leetcode.com/problems/design-search-autocomplete-system
361,Bomb Enemy,46.0%,Medium,1.1535711729488671, https://leetcode.com/problems/bomb-enemy
139,Word Break,40.1%,Medium,1.1489605133291307, https://leetcode.com/problems/word-break
286,Walls and Gates,54.5%,Medium,1.1385638280265375, https://leetcode.com/problems/walls-and-gates
591,Tag Validator,34.3%,Hard,1.133098464739279, https://leetcode.com/problems/tag-validator
336,Palindrome Pairs,33.7%,Hard,1.1081703064742152, https://leetcode.com/problems/palindrome-pairs
636,Exclusive Time of Functions,51.9%,Medium,1.070608304685468, https://leetcode.com/problems/exclusive-time-of-functions
128,Longest Consecutive Sequence,45.1%,Hard,1.0687708064824162, https://leetcode.com/problems/longest-consecutive-sequence
381,Insert Delete GetRandom O(1) - Duplicates allowed,34.1%,Hard,1.0261327161577256, https://leetcode.com/problems/insert-delete-getrandom-o1-duplicates-allowed
34,Find First and Last Position of Element in Sorted Array,36.2%,Medium,1.025636061253605, https://leetcode.com/problems/find-first-and-last-position-of-element-in-sorted-array
365,Water and Jug Problem,30.6%,Medium,1.0087460326577822, https://leetcode.com/problems/water-and-jug-problem
269,Alien Dictionary,33.3%,Hard,0.991185435747213, https://leetcode.com/problems/alien-dictionary
254,Factor Combinations,46.7%,Medium,0.9907010014908804, https://leetcode.com/problems/factor-combinations
528,Random Pick with Weight,43.9%,Medium,0.9735653552899035, https://leetcode.com/problems/random-pick-with-weight
149,Max Points on a Line,16.9%,Hard,0.9593743180104668, https://leetcode.com/problems/max-points-on-a-line
10,Regular Expression Matching,26.8%,Hard,0.9228325761309415, https://leetcode.com/problems/regular-expression-matching
76,Minimum Window Substring,34.6%,Hard,0.9170093359386342, https://leetcode.com/problems/minimum-window-substring
679,24 Game,46.4%,Hard,0.8636247536746324, https://leetcode.com/problems/24-game
329,Longest Increasing Path in a Matrix,43.4%,Hard,0.8540205747820803, https://leetcode.com/problems/longest-increasing-path-in-a-matrix
99,Recover Binary Search Tree,39.7%,Hard,0.8394185237297231, https://leetcode.com/problems/recover-binary-search-tree
640,Solve the Equation,42.0%,Medium,0.8389208480491557, https://leetcode.com/problems/solve-the-equation
1135,Connecting Cities With Minimum Cost,57.5%,Medium,0.8224378230678087, https://leetcode.com/problems/connecting-cities-with-minimum-cost
22,Generate Parentheses,62.7%,Medium,0.8167408078117945, https://leetcode.com/problems/generate-parentheses
2,Add Two Numbers,33.9%,Medium,0.8029174283671102, https://leetcode.com/problems/add-two-numbers
173,Binary Search Tree Iterator,56.6%,Medium,0.8009344168671371, https://leetcode.com/problems/binary-search-tree-iterator
57,Insert Interval,33.5%,Hard,0.784728817691922, https://leetcode.com/problems/insert-interval
126,Word Ladder II,22.1%,Hard,0.7710576539985173, https://leetcode.com/problems/word-ladder-ii
32,Longest Valid Parentheses,28.4%,Hard,0.7455268411597167, https://leetcode.com/problems/longest-valid-parentheses
251,Flatten 2D Vector,45.7%,Medium,0.74087494933668, https://leetcode.com/problems/flatten-2d-vector
133,Clone Graph,34.8%,Medium,0.7325956832523879, https://leetcode.com/problems/clone-graph
535,Encode and Decode TinyURL,79.9%,Medium,0.7284232783609871, https://leetcode.com/problems/encode-and-decode-tinyurl
127,Word Ladder,29.6%,Medium,0.6998711506076138, https://leetcode.com/problems/word-ladder
4,Median of Two Sorted Arrays,29.6%,Hard,0.6933425502977945, https://leetcode.com/problems/median-of-two-sorted-arrays
273,Integer to English Words,27.1%,Hard,0.6853686009593172, https://leetcode.com/problems/integer-to-english-words
244,Shortest Word Distance II,52.3%,Medium,0.6781843078832329, https://leetcode.com/problems/shortest-word-distance-ii
936,Stamping The Sequence,42.8%,Hard,0.6737290947028437, https://leetcode.com/problems/stamping-the-sequence
218,The Skyline Problem,34.6%,Hard,0.6570184564714399, https://leetcode.com/problems/the-skyline-problem
54,Spiral Matrix,34.1%,Medium,0.628586606031113, https://leetcode.com/problems/spiral-matrix
23,Merge k Sorted Lists,40.2%,Hard,0.5853931037905282, https://leetcode.com/problems/merge-k-sorted-lists
388,Longest Absolute File Path,41.8%,Medium,0.5850223231279691, https://leetcode.com/problems/longest-absolute-file-path
37,Sudoku Solver,43.6%,Hard,0.5747320517924429, https://leetcode.com/problems/sudoku-solver
15,3Sum,26.8%,Medium,0.5615794220738226, https://leetcode.com/problems/3sum
208,Implement Trie (Prefix Tree),49.4%,Medium,0.554408039893292, https://leetcode.com/problems/implement-trie-prefix-tree
658,Find K Closest Elements,40.9%,Medium,0.5351504766219078, https://leetcode.com/problems/find-k-closest-elements
158,Read N Characters Given Read4 II - Call multiple times,33.8%,Hard,0.5089658995317979, https://leetcode.com/problems/read-n-characters-given-read4-ii-call-multiple-times
20,Valid Parentheses,39.0%,Easy,0.4867693607438125, https://leetcode.com/problems/valid-parentheses
527,Word Abbreviation,54.3%,Hard,0.48285177172358457, https://leetcode.com/problems/word-abbreviation
91,Decode Ways,24.7%,Medium,0.46914273798301376, https://leetcode.com/problems/decode-ways
3,Longest Substring Without Repeating Characters,30.4%,Medium,0.46498482873214675, https://leetcode.com/problems/longest-substring-without-repeating-characters
79,Word Search,35.6%,Medium,0.451219934510799, https://leetcode.com/problems/word-search
668,Kth Smallest Number in Multiplication Table,45.6%,Hard,0.4506902061131003, https://leetcode.com/problems/kth-smallest-number-in-multiplication-table
85,Maximal Rectangle,37.7%,Hard,0.4492357711634929, https://leetcode.com/problems/maximal-rectangle
353,Design Snake Game,34.2%,Medium,0.44572532239455054, https://leetcode.com/problems/design-snake-game
221,Maximal Square,37.7%,Medium,0.4439595076531865, https://leetcode.com/problems/maximal-square
207,Course Schedule,43.1%,Medium,0.43737967140902645, https://leetcode.com/problems/course-schedule
346,Moving Average from Data Stream,70.9%,Easy,0.43127299206403696, https://leetcode.com/problems/moving-average-from-data-stream
1281,Subtract the Product and Sum of Digits of an Integer,85.2%,Easy,0.4301109053149923, https://leetcode.com/problems/subtract-the-product-and-sum-of-digits-of-an-integer
289,Game of Life,54.5%,Medium,0.42436217241512136, https://leetcode.com/problems/game-of-life
301,Remove Invalid Parentheses,43.3%,Hard,0.4217256289799447, https://leetcode.com/problems/remove-invalid-parentheses
362,Design Hit Counter,63.7%,Medium,0.41908233979999515, https://leetcode.com/problems/design-hit-counter
863,All Nodes Distance K in Binary Tree,55.4%,Medium,0.4169423860623174, https://leetcode.com/problems/all-nodes-distance-k-in-binary-tree
97,Interleaving String,31.5%,Hard,0.4167762826896874, https://leetcode.com/problems/interleaving-string
243,Shortest Word Distance,61.0%,Easy,0.41203384391389536, https://leetcode.com/problems/shortest-word-distance
130,Surrounded Regions,28.1%,Medium,0.41116654890890914, https://leetcode.com/problems/surrounded-regions
568,Maximum Vacation Days,40.8%,Hard,0.4036217896138752, https://leetcode.com/problems/maximum-vacation-days
53,Maximum Subarray,46.5%,Easy,0.3975151615275705, https://leetcode.com/problems/maximum-subarray
21,Merge Two Sorted Lists,53.5%,Easy,0.38844463176041194, https://leetcode.com/problems/merge-two-sorted-lists
1188,Design Bounded Blocking Queue,70.5%,Medium,0.3828597229337993, https://leetcode.com/problems/design-bounded-blocking-queue
39,Combination Sum,56.1%,Medium,0.38138852814402385, https://leetcode.com/problems/combination-sum
282,Expression Add Operators,35.5%,Hard,0.37930977098051977, https://leetcode.com/problems/expression-add-operators
279,Perfect Squares,47.4%,Medium,0.3741145782240884, https://leetcode.com/problems/perfect-squares
552,Student Attendance Record II,36.7%,Hard,0.37292635232139065, https://leetcode.com/problems/student-attendance-record-ii
759,Employee Free Time,66.3%,Hard,0.3704034385719028, https://leetcode.com/problems/employee-free-time
815,Bus Routes,42.5%,Hard,0.3449091275382815, https://leetcode.com/problems/bus-routes
805,Split Array With Same Average,26.4%,Hard,0.3416302106614813, https://leetcode.com/problems/split-array-with-same-average
895,Maximum Frequency Stack,60.6%,Hard,0.33520721431462625, https://leetcode.com/problems/maximum-frequency-stack
493,Reverse Pairs,25.2%,Hard,0.33395175639587793, https://leetcode.com/problems/reverse-pairs
399,Evaluate Division,51.6%,Medium,0.3338128467131867, https://leetcode.com/problems/evaluate-division
238,Product of Array Except Self,60.1%,Medium,0.332046078454996, https://leetcode.com/problems/product-of-array-except-self
5,Longest Palindromic Substring,29.5%,Medium,0.32616692072076214, https://leetcode.com/problems/longest-palindromic-substring
295,Find Median from Data Stream,44.3%,Hard,0.32347449067924283, https://leetcode.com/problems/find-median-from-data-stream
11,Container With Most Water,50.8%,Medium,0.3160977539241027, https://leetcode.com/problems/container-with-most-water
542,01 Matrix,39.8%,Medium,0.3127505293143989, https://leetcode.com/problems/01-matrix
315,Count of Smaller Numbers After Self,41.5%,Hard,0.30851522790511515, https://leetcode.com/problems/count-of-smaller-numbers-after-self
131,Palindrome Partitioning,47.5%,Medium,0.3001175559774547, https://leetcode.com/problems/palindrome-partitioning
311,Sparse Matrix Multiplication,61.9%,Medium,0.2957254800409785, https://leetcode.com/problems/sparse-matrix-multiplication
74,Search a 2D Matrix,36.5%,Medium,0.29107845681405486, https://leetcode.com/problems/search-a-2d-matrix
51,N-Queens,46.6%,Hard,0.28871459706597014, https://leetcode.com/problems/n-queens
161,One Edit Distance,32.3%,Medium,0.28698931177288023, https://leetcode.com/problems/one-edit-distance
121,Best Time to Buy and Sell Stock,50.5%,Easy,0.2868445347634817, https://leetcode.com/problems/best-time-to-buy-and-sell-stock
451,Sort Characters By Frequency,63.0%,Medium,0.285942725510602, https://leetcode.com/problems/sort-characters-by-frequency
1136,Parallel Courses,61.1%,Hard,0.2858421455297737, https://leetcode.com/problems/parallel-courses
699,Falling Squares,41.8%,Hard,0.2856138193877219, https://leetcode.com/problems/falling-squares
969,Pancake Sorting,67.5%,Medium,0.27343004974457946, https://leetcode.com/problems/pancake-sorting
348,Design Tic-Tac-Toe,54.3%,Medium,0.2625527836498761, https://leetcode.com/problems/design-tic-tac-toe
290,Word Pattern,37.0%,Easy,0.2601476821005732, https://leetcode.com/problems/word-pattern
33,Search in Rotated Sorted Array,34.5%,Medium,0.2561733762253273, https://leetcode.com/problems/search-in-rotated-sorted-array
432,All O`one Data Structure,32.4%,Hard,0.25091823176225275, https://leetcode.com/problems/all-oone-data-structure
977,Squares of a Sorted Array,72.1%,Easy,0.24816891888115009, https://leetcode.com/problems/squares-of-a-sorted-array
13,Roman to Integer,55.7%,Easy,0.24545840052279075, https://leetcode.com/problems/roman-to-integer
490,The Maze,51.4%,Medium,0.24202227192369596, https://leetcode.com/problems/the-maze
138,Copy List with Random Pointer,36.4%,Medium,0.2330001096609468, https://leetcode.com/problems/copy-list-with-random-pointer
652,Find Duplicate Subtrees,50.2%,Medium,0.23015822831359434, https://leetcode.com/problems/find-duplicate-subtrees
59,Spiral Matrix II,53.9%,Medium,0.22687712200146865, https://leetcode.com/problems/spiral-matrix-ii
420,Strong Password Checker,14.0%,Hard,0.22471711576164025, https://leetcode.com/problems/strong-password-checker
445,Add Two Numbers II,54.5%,Medium,0.22413561488763817, https://leetcode.com/problems/add-two-numbers-ii
46,Permutations,63.5%,Medium,0.21322871153926434, https://leetcode.com/problems/permutations
41,First Missing Positive,32.0%,Hard,0.20827230480570424, https://leetcode.com/problems/first-missing-positive
43,Multiply Strings,33.9%,Medium,0.20674898228580507, https://leetcode.com/problems/multiply-strings
934,Shortest Bridge,48.2%,Medium,0.20666322275821203, https://leetcode.com/problems/shortest-bridge
450,Delete Node in a BST,43.1%,Medium,0.2063522880195106, https://leetcode.com/problems/delete-node-in-a-bst
733,Flood Fill,55.3%,Easy,0.20573399741869788, https://leetcode.com/problems/flood-fill
954,Array of Doubled Pairs,35.6%,Medium,0.20294084399669032, https://leetcode.com/problems/array-of-doubled-pairs
140,Word Break II,32.6%,Hard,0.19849973124449666, https://leetcode.com/problems/word-break-ii
31,Next Permutation,32.6%,Medium,0.19579797845713617, https://leetcode.com/problems/next-permutation
767,Reorganize String,48.7%,Medium,0.1940772649823193, https://leetcode.com/problems/reorganize-string
283,Move Zeroes,57.8%,Easy,0.18960312780683863, https://leetcode.com/problems/move-zeroes
694,Number of Distinct Islands,56.0%,Medium,0.18924199963852842, https://leetcode.com/problems/number-of-distinct-islands
186,Reverse Words in a String II,43.3%,Medium,0.1887940712995721, https://leetcode.com/problems/reverse-words-in-a-string-ii
449,Serialize and Deserialize BST,52.0%,Medium,0.1860058460684763, https://leetcode.com/problems/serialize-and-deserialize-bst
438,Find All Anagrams in a String,43.3%,Medium,0.18564799141482685, https://leetcode.com/problems/find-all-anagrams-in-a-string
518,Coin Change 2,50.2%,Medium,0.18373876827436816, https://leetcode.com/problems/coin-change-2
486,Predict the Winner,47.9%,Medium,0.17647417648741714, https://leetcode.com/problems/predict-the-winner
135,Candy,31.6%,Hard,0.17296269248039503, https://leetcode.com/problems/candy
24,Swap Nodes in Pairs,50.4%,Medium,0.1729418749687828, https://leetcode.com/problems/swap-nodes-in-pairs
1278,Palindrome Partitioning III,59.9%,Hard,0.17284281283941086, https://leetcode.com/problems/palindrome-partitioning-iii
567,Permutation in String,44.4%,Medium,0.16931057302189864, https://leetcode.com/problems/permutation-in-string
198,House Robber,42.0%,Easy,0.16929591377679865, https://leetcode.com/problems/house-robber
69,Sqrt(x),33.9%,Easy,0.1690194941008683, https://leetcode.com/problems/sqrtx
75,Sort Colors,47.3%,Medium,0.1656671218888174, https://leetcode.com/problems/sort-colors
249,Group Shifted Strings,55.1%,Medium,0.16122347914767343, https://leetcode.com/problems/group-shifted-strings
211,Add and Search Word - Data structure design,38.1%,Medium,0.15519944762134272, https://leetcode.com/problems/add-and-search-word-data-structure-design
124,Binary Tree Maximum Path Sum,34.3%,Hard,0.15512094811323265, https://leetcode.com/problems/binary-tree-maximum-path-sum
979,Distribute Coins in Binary Tree,68.9%,Medium,0.15348688956060175, https://leetcode.com/problems/distribute-coins-in-binary-tree
722,Remove Comments,34.6%,Medium,0.1529693447814272, https://leetcode.com/problems/remove-comments
959,Regions Cut By Slashes,66.2%,Medium,0.1507867227152846, https://leetcode.com/problems/regions-cut-by-slashes
706,Design HashMap,61.3%,Easy,0.1476880076475794, https://leetcode.com/problems/design-hashmap
695,Max Area of Island,62.7%,Medium,0.1453113999428855, https://leetcode.com/problems/max-area-of-island
78,Subsets,62.0%,Medium,0.14504470601712524, https://leetcode.com/problems/subsets
210,Course Schedule II,40.7%,Medium,0.1438838393073597, https://leetcode.com/problems/course-schedule-ii
317,Shortest Distance from All Buildings,41.4%,Hard,0.14387423888417297, https://leetcode.com/problems/shortest-distance-from-all-buildings
40,Combination Sum II,48.2%,Medium,0.14322916392828683, https://leetcode.com/problems/combination-sum-ii
395,Longest Substring with At Least K Repeating Characters,41.4%,Medium,0.14261022668001652, https://leetcode.com/problems/longest-substring-with-at-least-k-repeating-characters
769,Max Chunks To Make Sorted,54.8%,Medium,0.14019808398271194, https://leetcode.com/problems/max-chunks-to-make-sorted
242,Valid Anagram,56.9%,Easy,0.13963976683590715, https://leetcode.com/problems/valid-anagram
855,Exam Room,43.1%,Medium,0.13804422079620546, https://leetcode.com/problems/exam-room
340,Longest Substring with At Most K Distinct Characters,44.1%,Hard,0.13652366061094043, https://leetcode.com/problems/longest-substring-with-at-most-k-distinct-characters
322,Coin Change,35.5%,Medium,0.13572462473832947, https://leetcode.com/problems/coin-change
255,Verify Preorder Sequence in Binary Search Tree,45.7%,Medium,0.1348842676899421, https://leetcode.com/problems/verify-preorder-sequence-in-binary-search-tree
981,Time Based Key-Value Store,53.1%,Medium,0.1316303182973487, https://leetcode.com/problems/time-based-key-value-store
118,Pascal's Triangle,52.5%,Easy,0.12852395589356347, https://leetcode.com/problems/pascals-triangle
968,Binary Tree Cameras,37.5%,Hard,0.12586422089000404, https://leetcode.com/problems/binary-tree-cameras
235,Lowest Common Ancestor of a Binary Search Tree,49.9%,Easy,0.12399764165657076, https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-search-tree
621,Task Scheduler,50.1%,Medium,0.12387972474581618, https://leetcode.com/problems/task-scheduler
206,Reverse Linked List,62.5%,Easy,0.12378418901663191, https://leetcode.com/problems/reverse-linked-list
430,Flatten a Multilevel Doubly Linked List,55.1%,Medium,0.12213316890521433, https://leetcode.com/problems/flatten-a-multilevel-doubly-linked-list
230,Kth Smallest Element in a BST,60.2%,Medium,0.1210793254708764, https://leetcode.com/problems/kth-smallest-element-in-a-bst
228,Summary Ranges,39.5%,Medium,0.1207191114343526, https://leetcode.com/problems/summary-ranges
647,Palindromic Substrings,60.6%,Medium,0.1205091763778271, https://leetcode.com/problems/palindromic-substrings
460,LFU Cache,34.2%,Hard,0.11848160362052347, https://leetcode.com/problems/lfu-cache
6,ZigZag Conversion,36.3%,Medium,0.11677183708486526, https://leetcode.com/problems/zigzag-conversion
72,Edit Distance,44.8%,Hard,0.11629970881467097, https://leetcode.com/problems/edit-distance
70,Climbing Stairs,47.8%,Easy,0.11536054266386848, https://leetcode.com/problems/climbing-stairs
16,3Sum Closest,46.0%,Medium,0.11410404900826158, https://leetcode.com/problems/3sum-closest
229,Majority Element II,35.6%,Medium,0.11355198202632807, https://leetcode.com/problems/majority-element-ii
155,Min Stack,44.5%,Easy,0.11244000234885869, https://leetcode.com/problems/min-stack
889,Construct Binary Tree from Preorder and Postorder Traversal,66.2%,Medium,0.10711776476069794, https://leetcode.com/problems/construct-binary-tree-from-preorder-and-postorder-traversal
337,House Robber III,50.6%,Medium,0.10284435451079782, https://leetcode.com/problems/house-robber-iii
391,Perfect Rectangle,30.5%,Hard,0.10109611687136877, https://leetcode.com/problems/perfect-rectangle
101,Symmetric Tree,46.8%,Easy,0.09821350130564939, https://leetcode.com/problems/symmetric-tree
837,New 21 Game,34.6%,Medium,0.09646026618756222, https://leetcode.com/problems/new-21-game
752,Open the Lock,51.8%,Medium,0.09491410658218381, https://leetcode.com/problems/open-the-lock
827,Making A Large Island,45.7%,Hard,0.09287412500644375, https://leetcode.com/problems/making-a-large-island
826,Most Profit Assigning Work,38.5%,Medium,0.09287412500644375, https://leetcode.com/problems/most-profit-assigning-work
236,Lowest Common Ancestor of a Binary Tree,45.7%,Medium,0.0913825929084002, https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-tree
266,Palindrome Permutation,61.9%,Easy,0.091248671465145, https://leetcode.com/problems/palindrome-permutation
62,Unique Paths,54.1%,Medium,0.08965185882136445, https://leetcode.com/problems/unique-paths
918,Maximum Sum Circular Subarray,33.7%,Medium,0.08881573371064024, https://leetcode.com/problems/maximum-sum-circular-subarray
692,Top K Frequent Words,51.8%,Medium,0.08839354721658145, https://leetcode.com/problems/top-k-frequent-words
7,Reverse Integer,25.8%,Easy,0.08735674450872549, https://leetcode.com/problems/reverse-integer
150,Evaluate Reverse Polish Notation,36.3%,Medium,0.08523043261863501, https://leetcode.com/problems/evaluate-reverse-polish-notation
564,Find the Closest Palindrome,19.7%,Hard,0.0840831172105414, https://leetcode.com/problems/find-the-closest-palindrome
909,Snakes and Ladders,38.4%,Medium,0.08392620769993404, https://leetcode.com/problems/snakes-and-ladders
646,Maximum Length of Pair Chain,51.9%,Medium,0.08112554481236843, https://leetcode.com/problems/maximum-length-of-pair-chain
376,Wiggle Subsequence,39.6%,Medium,0.08068891125014274, https://leetcode.com/problems/wiggle-subsequence
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
347,Top K Frequent Elements,61.2%,Medium,0.08031715021385247, https://leetcode.com/problems/top-k-frequent-elements
55,Jump Game,34.6%,Medium,0.07748307858552587, https://leetcode.com/problems/jump-game
215,Kth Largest Element in an Array,55.4%,Medium,0.07620046088541414, https://leetcode.com/problems/kth-largest-element-in-an-array
468,Validate IP Address,24.1%,Medium,0.07598590697792203, https://leetcode.com/problems/validate-ip-address
416,Partition Equal Subset Sum,43.7%,Medium,0.07558685936624726, https://leetcode.com/problems/partition-equal-subset-sum
8,String to Integer (atoi),15.4%,Medium,0.07412832776627384, https://leetcode.com/problems/string-to-integer-atoi
437,Path Sum III,47.2%,Medium,0.07349765782290693, https://leetcode.com/problems/path-sum-iii
153,Find Minimum in Rotated Sorted Array,45.1%,Medium,0.07343579359779528, https://leetcode.com/problems/find-minimum-in-rotated-sorted-array
64,Minimum Path Sum,54.5%,Medium,0.07259220458870491, https://leetcode.com/problems/minimum-path-sum
378,Kth Smallest Element in a Sorted Matrix,54.3%,Medium,0.07059096970081927, https://leetcode.com/problems/kth-smallest-element-in-a-sorted-matrix
973,K Closest Points to Origin,63.8%,Medium,0.06852953312583007, https://leetcode.com/problems/k-closest-points-to-origin
1011,Capacity To Ship Packages Within D Days,58.1%,Medium,0.06649420875558125, https://leetcode.com/problems/capacity-to-ship-packages-within-d-days
277,Find the Celebrity,41.8%,Medium,0.06562120535847293, https://leetcode.com/problems/find-the-celebrity
298,Binary Tree Longest Consecutive Sequence,47.1%,Medium,0.065169635074581, https://leetcode.com/problems/binary-tree-longest-consecutive-sequence
334,Increasing Triplet Subsequence,40.0%,Medium,0.06274107505168265, https://leetcode.com/problems/increasing-triplet-subsequence
300,Longest Increasing Subsequence,42.6%,Medium,0.06265630749555627, https://leetcode.com/problems/longest-increasing-subsequence
189,Rotate Array,34.7%,Easy,0.06260600694223208, https://leetcode.com/problems/rotate-array
1171,Remove Zero Sum Consecutive Nodes from Linked List,41.4%,Medium,0.06025919151819684, https://leetcode.com/problems/remove-zero-sum-consecutive-nodes-from-linked-list
88,Merge Sorted Array,39.4%,Easy,0.059258174101133876, https://leetcode.com/problems/merge-sorted-array
47,Permutations II,46.4%,Medium,0.05897935516253239, https://leetcode.com/problems/permutations-ii
102,Binary Tree Level Order Traversal,54.6%,Medium,0.056692473087026664, https://leetcode.com/problems/binary-tree-level-order-traversal
1038,Binary Search Tree to Greater Sum Tree,80.8%,Medium,0.05637058926920947, https://leetcode.com/problems/binary-search-tree-to-greater-sum-tree
162,Find Peak Element,43.3%,Medium,0.05575061760504993, https://leetcode.com/problems/find-peak-element
983,Minimum Cost For Tickets,60.5%,Medium,0.05469163590186561, https://leetcode.com/problems/minimum-cost-for-tickets
1229,Meeting Scheduler,52.7%,Medium,0.053560323833736816, https://leetcode.com/problems/meeting-scheduler
829,Consecutive Numbers Sum,37.5%,Hard,0.05341723749698583, https://leetcode.com/problems/consecutive-numbers-sum
601,Human Traffic of Stadium,41.7%,Hard,0.05223119222544569, https://leetcode.com/problems/human-traffic-of-stadium
791,Custom Sort String,65.7%,Medium,0.05164658886216683, https://leetcode.com/problems/custom-sort-string
560,Subarray Sum Equals K,43.9%,Medium,0.0512021569656579, https://leetcode.com/problems/subarray-sum-equals-k
648,Replace Words,56.6%,Medium,0.051162052179868224, https://leetcode.com/problems/replace-words
740,Delete and Earn,48.6%,Medium,0.05109668266230467, https://leetcode.com/problems/delete-and-earn
344,Reverse String,68.5%,Easy,0.051072212148151434, https://leetcode.com/problems/reverse-string
681,Next Closest Time,45.0%,Medium,0.05045206096038863, https://leetcode.com/problems/next-closest-time
199,Binary Tree Right Side View,54.1%,Medium,0.05001737032794516, https://leetcode.com/problems/binary-tree-right-side-view
398,Random Pick Index,56.0%,Medium,0.04900272661044917, https://leetcode.com/problems/random-pick-index
547,Friend Circles,58.6%,Medium,0.04804286211474039, https://leetcode.com/problems/friend-circles
1019,Next Greater Node In Linked List,57.4%,Medium,0.04795804429616222, https://leetcode.com/problems/next-greater-node-in-linked-list
1385,Find the Distance Value Between Two Arrays,67.0%,Easy,0.04668292188270772, https://leetcode.com/problems/find-the-distance-value-between-two-arrays
670,Maximum Swap,43.6%,Medium,0.04630456804168632, https://leetcode.com/problems/maximum-swap
98,Validate Binary Search Tree,27.8%,Medium,0.046091107200267, https://leetcode.com/problems/validate-binary-search-tree
48,Rotate Image,56.7%,Medium,0.04495138786226632, https://leetcode.com/problems/rotate-image
232,Implement Queue using Stacks,49.6%,Easy,0.04423053722733957, https://leetcode.com/problems/implement-queue-using-stacks
338,Counting Bits,69.5%,Medium,0.0428445715346785, https://leetcode.com/problems/counting-bits
611,Valid Triangle Number,48.4%,Medium,0.04255961441879593, https://leetcode.com/problems/valid-triangle-number
114,Flatten Binary Tree to Linked List,49.3%,Medium,0.04234332805480797, https://leetcode.com/problems/flatten-binary-tree-to-linked-list
739,Daily Temperatures,63.3%,Medium,0.03954060923825168, https://leetcode.com/problems/daily-temperatures
66,Plus One,43.0%,Easy,0.039245846990968294, https://leetcode.com/problems/plus-one
992,Subarrays with K Different Integers,48.6%,Hard,0.03700699810869683, https://leetcode.com/problems/subarrays-with-k-different-integers
729,My Calendar I,51.8%,Medium,0.036433902246102004, https://leetcode.com/problems/my-calendar-i
125,Valid Palindrome,36.7%,Easy,0.035266657982323354, https://leetcode.com/problems/valid-palindrome
152,Maximum Product Subarray,31.7%,Medium,0.034438665054543384, https://leetcode.com/problems/maximum-product-subarray
177,Nth Highest Salary,31.4%,Medium,0.032054026290083464, https://leetcode.com/problems/nth-highest-salary
1146,Snapshot Array,37.0%,Medium,0.0317991816929387, https://leetcode.com/problems/snapshot-array
1091,Shortest Path in Binary Matrix,38.2%,Medium,0.03164821095078173, https://leetcode.com/problems/shortest-path-in-binary-matrix
339,Nested List Weight Sum,74.0%,Easy,0.02960986116720276, https://leetcode.com/problems/nested-list-weight-sum
671,Second Minimum Node In a Binary Tree,42.7%,Easy,0.02958795718549609, https://leetcode.com/problems/second-minimum-node-in-a-binary-tree
264,Ugly Number II,42.0%,Medium,0.025923110599373623, https://leetcode.com/problems/ugly-number-ii
104,Maximum Depth of Binary Tree,66.0%,Easy,0.024815169119723996, https://leetcode.com/problems/maximum-depth-of-binary-tree
426,Convert Binary Search Tree to Sorted Doubly Linked List,59.1%,Medium,0.024214258120594613, https://leetcode.com/problems/convert-binary-search-tree-to-sorted-doubly-linked-list
662,Maximum Width of Binary Tree,41.0%,Medium,0.024116924478312346, https://leetcode.com/problems/maximum-width-of-binary-tree
844,Backspace String Compare,46.4%,Easy,0.0235551325028849, https://leetcode.com/problems/backspace-string-compare
50,Pow(x;n),30.3%,Medium,0.022194620516948222, https://leetcode.com/problems/powx-n
278,First Bad Version,35.7%,Easy,0.021394050366625766, https://leetcode.com/problems/first-bad-version
45,Jump Game II,30.6%,Hard,0.021353124470568974, https://leetcode.com/problems/jump-game-ii
350,Intersection of Two Arrays II,51.4%,Easy,0.020680587107206983, https://leetcode.com/problems/intersection-of-two-arrays-ii
26,Remove Duplicates from Sorted Array,45.1%,Easy,0.017426260234777304, https://leetcode.com/problems/remove-duplicates-from-sorted-array
299,Bulls and Cows,42.4%,Easy,0.016227536621756702, https://leetcode.com/problems/bulls-and-cows
516,Longest Palindromic Subsequence,53.2%,Medium,0.014931221774984842, https://leetcode.com/problems/longest-palindromic-subsequence
202,Happy Number,50.4%,Easy,0.014045174703047602, https://leetcode.com/problems/happy-number
581,Shortest Unsorted Continuous Subarray,31.1%,Easy,0.013342426083839913, https://leetcode.com/problems/shortest-unsorted-continuous-subarray
154,Find Minimum in Rotated Sorted Array II,41.6%,Hard,0.013222109274363887, https://leetcode.com/problems/find-minimum-in-rotated-sorted-array-ii
852,Peak Index in a Mountain Array,71.6%,Easy,0.012618463959211509, https://leetcode.com/problems/peak-index-in-a-mountain-array
941,Valid Mountain Array,33.2%,Easy,0.011139073683009305, https://leetcode.com/problems/valid-mountain-array
94,Binary Tree Inorder Traversal,63.3%,Medium,0.007533307577636257, https://leetcode.com/problems/binary-tree-inorder-traversal
145,Binary Tree Postorder Traversal,55.0%,Hard,0.00751459482064135, https://leetcode.com/problems/binary-tree-postorder-traversal
349,Intersection of Two Arrays,62.5%,Easy,0.00725034896230682, https://leetcode.com/problems/intersection-of-two-arrays
203,Remove Linked List Elements,38.6%,Easy,0.006479067005887776, https://leetcode.com/problems/remove-linked-list-elements
690,Employee Importance,57.3%,Easy,0, https://leetcode.com/problems/employee-importance
171,Excel Sheet Column Number,55.9%,Easy,0, https://leetcode.com/problems/excel-sheet-column-number
373,Find K Pairs with Smallest Sums,36.7%,Medium,0, https://leetcode.com/problems/find-k-pairs-with-smallest-sums
735,Asteroid Collision,41.0%,Medium,0, https://leetcode.com/problems/asteroid-collision
710,Random Pick with Blacklist,32.5%,Hard,0, https://leetcode.com/problems/random-pick-with-blacklist
1064,Fixed Point,66.5%,Easy,0, https://leetcode.com/problems/fixed-point
1039,Minimum Score Triangulation of Polygon,49.1%,Medium,0, https://leetcode.com/problems/minimum-score-triangulation-of-polygon
1334,Find the City With the Smallest Number of Neighbors at a Threshold Distance,44.5%,Medium,0, https://leetcode.com/problems/find-the-city-with-the-smallest-number-of-neighbors-at-a-threshold-distance
1400,Construct K Palindrome Strings,60.4%,Medium,0, https://leetcode.com/problems/construct-k-palindrome-strings
1462,Course Schedule IV,41.9%,Medium,0, https://leetcode.com/problems/course-schedule-iv
ID,Title,Acceptance,Difficulty,Frequency,Leetcode Question Link
427,Construct Quad Tree,61.4%,Medium,3.2025777670666282, https://leetcode.com/problems/construct-quad-tree
291,Word Pattern II,43.4%,Hard,3.0090998629797148, https://leetcode.com/problems/word-pattern-ii
529,Minesweeper,59.1%,Medium,2.8156219588928013, https://leetcode.com/problems/minesweeper
305,Number of Islands II,40.1%,Hard,2.7873368509214487, https://leetcode.com/problems/number-of-islands-ii
741,Cherry Pickup,33.9%,Hard,2.728198259587133, https://leetcode.com/problems/cherry-pickup
757,Set Intersection Size At Least Two,40.1%,Hard,2.5347203555002196, https://leetcode.com/problems/set-intersection-size-at-least-two
332,Reconstruct Itinerary,36.7%,Medium,2.473063947812065, https://leetcode.com/problems/reconstruct-itinerary
341,Flatten Nested List Iterator,52.9%,Medium,2.4575427125463496, https://leetcode.com/problems/flatten-nested-list-iterator
68,Text Justification,27.7%,Hard,2.4560547921829063, https://leetcode.com/problems/text-justification
465,Optimal Account Balancing,46.9%,Hard,2.3937825793600807, https://leetcode.com/problems/optimal-account-balancing
146,LRU Cache,33.2%,Medium,2.2330774739793853, https://leetcode.com/problems/lru-cache
262,Trips and Users,32.7%,Hard,2.179117086708829, https://leetcode.com/problems/trips-and-users
56,Merge Intervals,39.3%,Medium,1.9856391826219157, https://leetcode.com/problems/merge-intervals
267,Palindrome Permutation II,36.4%,Medium,1.9644220544755755, https://leetcode.com/problems/palindrome-permutation-ii
36,Valid Sudoku,48.7%,Medium,1.96380460343855, https://leetcode.com/problems/valid-sudoku
655,Print Binary Tree,55.0%,Medium,1.9142294173827312, https://leetcode.com/problems/print-binary-tree
227,Basic Calculator II,36.9%,Medium,1.831507899537194, https://leetcode.com/problems/basic-calculator-ii
42,Trapping Rain Water,48.9%,Hard,1.8228811997291605, https://leetcode.com/problems/trapping-rain-water
200,Number of Islands,46.8%,Medium,1.809092583045218, https://leetcode.com/problems/number-of-islands
986,Interval List Intersections,67.3%,Medium,1.7189319563632988, https://leetcode.com/problems/interval-list-intersections
297,Serialize and Deserialize Binary Tree,47.5%,Hard,1.6607276556789818, https://leetcode.com/problems/serialize-and-deserialize-binary-tree
253,Meeting Rooms II,45.7%,Medium,1.6305479346444065, https://leetcode.com/problems/meeting-rooms-ii
1,Two Sum,45.6%,Easy,1.6253762244734984, https://leetcode.com/problems/two-sum
428,Serialize and Deserialize N-ary Tree,59.4%,Hard,1.619513564422842, https://leetcode.com/problems/serialize-and-deserialize-n-ary-tree
380,Insert Delete GetRandom O(1),47.5%,Medium,1.5587288098338494, https://leetcode.com/problems/insert-delete-getrandom-o1
773,Sliding Puzzle,59.3%,Hard,1.5000532464765486, https://leetcode.com/problems/sliding-puzzle
359,Logger Rate Limiter,70.8%,Easy,1.4642891467178614, https://leetcode.com/problems/logger-rate-limiter
772,Basic Calculator III,41.3%,Hard,1.324801306769502, https://leetcode.com/problems/basic-calculator-iii
166,Fraction to Recurring Decimal,21.6%,Medium,1.3061986410149267, https://leetcode.com/problems/fraction-to-recurring-decimal
780,Reaching Points,29.4%,Hard,1.277920355988899, https://leetcode.com/problems/reaching-points
239,Sliding Window Maximum,43.0%,Hard,1.2321602024355653, https://leetcode.com/problems/sliding-window-maximum
224,Basic Calculator,36.8%,Hard,1.204714054955524, https://leetcode.com/problems/basic-calculator
49,Group Anagrams,56.9%,Medium,1.190205287799969, https://leetcode.com/problems/group-anagrams
17,Letter Combinations of a Phone Number,46.8%,Medium,1.1735261038835452, https://leetcode.com/problems/letter-combinations-of-a-phone-number
212,Word Search II,34.9%,Hard,1.1712646007295122, https://leetcode.com/problems/word-search-ii
642,Design Search Autocomplete System,44.7%,Hard,1.1539027516811295, https://leetcode.com/problems/design-search-autocomplete-system
361,Bomb Enemy,46.0%,Medium,1.1535711729488671, https://leetcode.com/problems/bomb-enemy
139,Word Break,40.1%,Medium,1.1489605133291307, https://leetcode.com/problems/word-break
286,Walls and Gates,54.5%,Medium,1.1385638280265375, https://leetcode.com/problems/walls-and-gates
591,Tag Validator,34.3%,Hard,1.133098464739279, https://leetcode.com/problems/tag-validator
336,Palindrome Pairs,33.7%,Hard,1.1081703064742152, https://leetcode.com/problems/palindrome-pairs
636,Exclusive Time of Functions,51.9%,Medium,1.070608304685468, https://leetcode.com/problems/exclusive-time-of-functions
128,Longest Consecutive Sequence,45.1%,Hard,1.0687708064824162, https://leetcode.com/problems/longest-consecutive-sequence
381,Insert Delete GetRandom O(1) - Duplicates allowed,34.1%,Hard,1.0261327161577256, https://leetcode.com/problems/insert-delete-getrandom-o1-duplicates-allowed
34,Find First and Last Position of Element in Sorted Array,36.2%,Medium,1.025636061253605, https://leetcode.com/problems/find-first-and-last-position-of-element-in-sorted-array
365,Water and Jug Problem,30.6%,Medium,1.0087460326577822, https://leetcode.com/problems/water-and-jug-problem
269,Alien Dictionary,33.3%,Hard,0.991185435747213, https://leetcode.com/problems/alien-dictionary
254,Factor Combinations,46.7%,Medium,0.9907010014908804, https://leetcode.com/problems/factor-combinations
528,Random Pick with Weight,43.9%,Medium,0.9735653552899035, https://leetcode.com/problems/random-pick-with-weight
149,Max Points on a Line,16.9%,Hard,0.9593743180104668, https://leetcode.com/problems/max-points-on-a-line
10,Regular Expression Matching,26.8%,Hard,0.9228325761309415, https://leetcode.com/problems/regular-expression-matching
76,Minimum Window Substring,34.6%,Hard,0.9170093359386342, https://leetcode.com/problems/minimum-window-substring
679,24 Game,46.4%,Hard,0.8636247536746324, https://leetcode.com/problems/24-game
329,Longest Increasing Path in a Matrix,43.4%,Hard,0.8540205747820803, https://leetcode.com/problems/longest-increasing-path-in-a-matrix
99,Recover Binary Search Tree,39.7%,Hard,0.8394185237297231, https://leetcode.com/problems/recover-binary-search-tree
640,Solve the Equation,42.0%,Medium,0.8389208480491557, https://leetcode.com/problems/solve-the-equation
1135,Connecting Cities With Minimum Cost,57.5%,Medium,0.8224378230678087, https://leetcode.com/problems/connecting-cities-with-minimum-cost
22,Generate Parentheses,62.7%,Medium,0.8167408078117945, https://leetcode.com/problems/generate-parentheses
2,Add Two Numbers,33.9%,Medium,0.8029174283671102, https://leetcode.com/problems/add-two-numbers
173,Binary Search Tree Iterator,56.6%,Medium,0.8009344168671371, https://leetcode.com/problems/binary-search-tree-iterator
57,Insert Interval,33.5%,Hard,0.784728817691922, https://leetcode.com/problems/insert-interval
126,Word Ladder II,22.1%,Hard,0.7710576539985173, https://leetcode.com/problems/word-ladder-ii
32,Longest Valid Parentheses,28.4%,Hard,0.7455268411597167, https://leetcode.com/problems/longest-valid-parentheses
251,Flatten 2D Vector,45.7%,Medium,0.74087494933668, https://leetcode.com/problems/flatten-2d-vector
133,Clone Graph,34.8%,Medium,0.7325956832523879, https://leetcode.com/problems/clone-graph
535,Encode and Decode TinyURL,79.9%,Medium,0.7284232783609871, https://leetcode.com/problems/encode-and-decode-tinyurl
127,Word Ladder,29.6%,Medium,0.6998711506076138, https://leetcode.com/problems/word-ladder
4,Median of Two Sorted Arrays,29.6%,Hard,0.6933425502977945, https://leetcode.com/problems/median-of-two-sorted-arrays
273,Integer to English Words,27.1%,Hard,0.6853686009593172, https://leetcode.com/problems/integer-to-english-words
244,Shortest Word Distance II,52.3%,Medium,0.6781843078832329, https://leetcode.com/problems/shortest-word-distance-ii
936,Stamping The Sequence,42.8%,Hard,0.6737290947028437, https://leetcode.com/problems/stamping-the-sequence
218,The Skyline Problem,34.6%,Hard,0.6570184564714399, https://leetcode.com/problems/the-skyline-problem
54,Spiral Matrix,34.1%,Medium,0.628586606031113, https://leetcode.com/problems/spiral-matrix
23,Merge k Sorted Lists,40.2%,Hard,0.5853931037905282, https://leetcode.com/problems/merge-k-sorted-lists
388,Longest Absolute File Path,41.8%,Medium,0.5850223231279691, https://leetcode.com/problems/longest-absolute-file-path
37,Sudoku Solver,43.6%,Hard,0.5747320517924429, https://leetcode.com/problems/sudoku-solver
15,3Sum,26.8%,Medium,0.5615794220738226, https://leetcode.com/problems/3sum
208,Implement Trie (Prefix Tree),49.4%,Medium,0.554408039893292, https://leetcode.com/problems/implement-trie-prefix-tree
658,Find K Closest Elements,40.9%,Medium,0.5351504766219078, https://leetcode.com/problems/find-k-closest-elements
158,Read N Characters Given Read4 II - Call multiple times,33.8%,Hard,0.5089658995317979, https://leetcode.com/problems/read-n-characters-given-read4-ii-call-multiple-times
20,Valid Parentheses,39.0%,Easy,0.4867693607438125, https://leetcode.com/problems/valid-parentheses
527,Word Abbreviation,54.3%,Hard,0.48285177172358457, https://leetcode.com/problems/word-abbreviation
91,Decode Ways,24.7%,Medium,0.46914273798301376, https://leetcode.com/problems/decode-ways
3,Longest Substring Without Repeating Characters,30.4%,Medium,0.46498482873214675, https://leetcode.com/problems/longest-substring-without-repeating-characters
79,Word Search,35.6%,Medium,0.451219934510799, https://leetcode.com/problems/word-search
668,Kth Smallest Number in Multiplication Table,45.6%,Hard,0.4506902061131003, https://leetcode.com/problems/kth-smallest-number-in-multiplication-table
85,Maximal Rectangle,37.7%,Hard,0.4492357711634929, https://leetcode.com/problems/maximal-rectangle
353,Design Snake Game,34.2%,Medium,0.44572532239455054, https://leetcode.com/problems/design-snake-game
221,Maximal Square,37.7%,Medium,0.4439595076531865, https://leetcode.com/problems/maximal-square
207,Course Schedule,43.1%,Medium,0.43737967140902645, https://leetcode.com/problems/course-schedule
346,Moving Average from Data Stream,70.9%,Easy,0.43127299206403696, https://leetcode.com/problems/moving-average-from-data-stream
1281,Subtract the Product and Sum of Digits of an Integer,85.2%,Easy,0.4301109053149923, https://leetcode.com/problems/subtract-the-product-and-sum-of-digits-of-an-integer
289,Game of Life,54.5%,Medium,0.42436217241512136, https://leetcode.com/problems/game-of-life
301,Remove Invalid Parentheses,43.3%,Hard,0.4217256289799447, https://leetcode.com/problems/remove-invalid-parentheses
362,Design Hit Counter,63.7%,Medium,0.41908233979999515, https://leetcode.com/problems/design-hit-counter
863,All Nodes Distance K in Binary Tree,55.4%,Medium,0.4169423860623174, https://leetcode.com/problems/all-nodes-distance-k-in-binary-tree
97,Interleaving String,31.5%,Hard,0.4167762826896874, https://leetcode.com/problems/interleaving-string
243,Shortest Word Distance,61.0%,Easy,0.41203384391389536, https://leetcode.com/problems/shortest-word-distance
130,Surrounded Regions,28.1%,Medium,0.41116654890890914, https://leetcode.com/problems/surrounded-regions
568,Maximum Vacation Days,40.8%,Hard,0.4036217896138752, https://leetcode.com/problems/maximum-vacation-days
53,Maximum Subarray,46.5%,Easy,0.3975151615275705, https://leetcode.com/problems/maximum-subarray
21,Merge Two Sorted Lists,53.5%,Easy,0.38844463176041194, https://leetcode.com/problems/merge-two-sorted-lists
1188,Design Bounded Blocking Queue,70.5%,Medium,0.3828597229337993, https://leetcode.com/problems/design-bounded-blocking-queue
39,Combination Sum,56.1%,Medium,0.38138852814402385, https://leetcode.com/problems/combination-sum
282,Expression Add Operators,35.5%,Hard,0.37930977098051977, https://leetcode.com/problems/expression-add-operators
279,Perfect Squares,47.4%,Medium,0.3741145782240884, https://leetcode.com/problems/perfect-squares
552,Student Attendance Record II,36.7%,Hard,0.37292635232139065, https://leetcode.com/problems/student-attendance-record-ii
759,Employee Free Time,66.3%,Hard,0.3704034385719028, https://leetcode.com/problems/employee-free-time
815,Bus Routes,42.5%,Hard,0.3449091275382815, https://leetcode.com/problems/bus-routes
805,Split Array With Same Average,26.4%,Hard,0.3416302106614813, https://leetcode.com/problems/split-array-with-same-average
895,Maximum Frequency Stack,60.6%,Hard,0.33520721431462625, https://leetcode.com/problems/maximum-frequency-stack
493,Reverse Pairs,25.2%,Hard,0.33395175639587793, https://leetcode.com/problems/reverse-pairs
399,Evaluate Division,51.6%,Medium,0.3338128467131867, https://leetcode.com/problems/evaluate-division
238,Product of Array Except Self,60.1%,Medium,0.332046078454996, https://leetcode.com/problems/product-of-array-except-self
5,Longest Palindromic Substring,29.5%,Medium,0.32616692072076214, https://leetcode.com/problems/longest-palindromic-substring
295,Find Median from Data Stream,44.3%,Hard,0.32347449067924283, https://leetcode.com/problems/find-median-from-data-stream
11,Container With Most Water,50.8%,Medium,0.3160977539241027, https://leetcode.com/problems/container-with-most-water
542,01 Matrix,39.8%,Medium,0.3127505293143989, https://leetcode.com/problems/01-matrix
315,Count of Smaller Numbers After Self,41.5%,Hard,0.30851522790511515, https://leetcode.com/problems/count-of-smaller-numbers-after-self
131,Palindrome Partitioning,47.5%,Medium,0.3001175559774547, https://leetcode.com/problems/palindrome-partitioning
311,Sparse Matrix Multiplication,61.9%,Medium,0.2957254800409785, https://leetcode.com/problems/sparse-matrix-multiplication
74,Search a 2D Matrix,36.5%,Medium,0.29107845681405486, https://leetcode.com/problems/search-a-2d-matrix
51,N-Queens,46.6%,Hard,0.28871459706597014, https://leetcode.com/problems/n-queens
161,One Edit Distance,32.3%,Medium,0.28698931177288023, https://leetcode.com/problems/one-edit-distance
121,Best Time to Buy and Sell Stock,50.5%,Easy,0.2868445347634817, https://leetcode.com/problems/best-time-to-buy-and-sell-stock
451,Sort Characters By Frequency,63.0%,Medium,0.285942725510602, https://leetcode.com/problems/sort-characters-by-frequency
1136,Parallel Courses,61.1%,Hard,0.2858421455297737, https://leetcode.com/problems/parallel-courses
699,Falling Squares,41.8%,Hard,0.2856138193877219, https://leetcode.com/problems/falling-squares
969,Pancake Sorting,67.5%,Medium,0.27343004974457946, https://leetcode.com/problems/pancake-sorting
348,Design Tic-Tac-Toe,54.3%,Medium,0.2625527836498761, https://leetcode.com/problems/design-tic-tac-toe
290,Word Pattern,37.0%,Easy,0.2601476821005732, https://leetcode.com/problems/word-pattern
33,Search in Rotated Sorted Array,34.5%,Medium,0.2561733762253273, https://leetcode.com/problems/search-in-rotated-sorted-array
432,All O`one Data Structure,32.4%,Hard,0.25091823176225275, https://leetcode.com/problems/all-oone-data-structure
977,Squares of a Sorted Array,72.1%,Easy,0.24816891888115009, https://leetcode.com/problems/squares-of-a-sorted-array
13,Roman to Integer,55.7%,Easy,0.24545840052279075, https://leetcode.com/problems/roman-to-integer
490,The Maze,51.4%,Medium,0.24202227192369596, https://leetcode.com/problems/the-maze
138,Copy List with Random Pointer,36.4%,Medium,0.2330001096609468, https://leetcode.com/problems/copy-list-with-random-pointer
652,Find Duplicate Subtrees,50.2%,Medium,0.23015822831359434, https://leetcode.com/problems/find-duplicate-subtrees
59,Spiral Matrix II,53.9%,Medium,0.22687712200146865, https://leetcode.com/problems/spiral-matrix-ii
420,Strong Password Checker,14.0%,Hard,0.22471711576164025, https://leetcode.com/problems/strong-password-checker
445,Add Two Numbers II,54.5%,Medium,0.22413561488763817, https://leetcode.com/problems/add-two-numbers-ii
46,Permutations,63.5%,Medium,0.21322871153926434, https://leetcode.com/problems/permutations
41,First Missing Positive,32.0%,Hard,0.20827230480570424, https://leetcode.com/problems/first-missing-positive
43,Multiply Strings,33.9%,Medium,0.20674898228580507, https://leetcode.com/problems/multiply-strings
934,Shortest Bridge,48.2%,Medium,0.20666322275821203, https://leetcode.com/problems/shortest-bridge
450,Delete Node in a BST,43.1%,Medium,0.2063522880195106, https://leetcode.com/problems/delete-node-in-a-bst
733,Flood Fill,55.3%,Easy,0.20573399741869788, https://leetcode.com/problems/flood-fill
954,Array of Doubled Pairs,35.6%,Medium,0.20294084399669032, https://leetcode.com/problems/array-of-doubled-pairs
140,Word Break II,32.6%,Hard,0.19849973124449666, https://leetcode.com/problems/word-break-ii
31,Next Permutation,32.6%,Medium,0.19579797845713617, https://leetcode.com/problems/next-permutation
767,Reorganize String,48.7%,Medium,0.1940772649823193, https://leetcode.com/problems/reorganize-string
283,Move Zeroes,57.8%,Easy,0.18960312780683863, https://leetcode.com/problems/move-zeroes
694,Number of Distinct Islands,56.0%,Medium,0.18924199963852842, https://leetcode.com/problems/number-of-distinct-islands
186,Reverse Words in a String II,43.3%,Medium,0.1887940712995721, https://leetcode.com/problems/reverse-words-in-a-string-ii
449,Serialize and Deserialize BST,52.0%,Medium,0.1860058460684763, https://leetcode.com/problems/serialize-and-deserialize-bst
438,Find All Anagrams in a String,43.3%,Medium,0.18564799141482685, https://leetcode.com/problems/find-all-anagrams-in-a-string
518,Coin Change 2,50.2%,Medium,0.18373876827436816, https://leetcode.com/problems/coin-change-2
486,Predict the Winner,47.9%,Medium,0.17647417648741714, https://leetcode.com/problems/predict-the-winner
135,Candy,31.6%,Hard,0.17296269248039503, https://leetcode.com/problems/candy
24,Swap Nodes in Pairs,50.4%,Medium,0.1729418749687828, https://leetcode.com/problems/swap-nodes-in-pairs
1278,Palindrome Partitioning III,59.9%,Hard,0.17284281283941086, https://leetcode.com/problems/palindrome-partitioning-iii
567,Permutation in String,44.4%,Medium,0.16931057302189864, https://leetcode.com/problems/permutation-in-string
198,House Robber,42.0%,Easy,0.16929591377679865, https://leetcode.com/problems/house-robber
69,Sqrt(x),33.9%,Easy,0.1690194941008683, https://leetcode.com/problems/sqrtx
75,Sort Colors,47.3%,Medium,0.1656671218888174, https://leetcode.com/problems/sort-colors
249,Group Shifted Strings,55.1%,Medium,0.16122347914767343, https://leetcode.com/problems/group-shifted-strings
211,Add and Search Word - Data structure design,38.1%,Medium,0.15519944762134272, https://leetcode.com/problems/add-and-search-word-data-structure-design
124,Binary Tree Maximum Path Sum,34.3%,Hard,0.15512094811323265, https://leetcode.com/problems/binary-tree-maximum-path-sum
979,Distribute Coins in Binary Tree,68.9%,Medium,0.15348688956060175, https://leetcode.com/problems/distribute-coins-in-binary-tree
722,Remove Comments,34.6%,Medium,0.1529693447814272, https://leetcode.com/problems/remove-comments
959,Regions Cut By Slashes,66.2%,Medium,0.1507867227152846, https://leetcode.com/problems/regions-cut-by-slashes
706,Design HashMap,61.3%,Easy,0.1476880076475794, https://leetcode.com/problems/design-hashmap
695,Max Area of Island,62.7%,Medium,0.1453113999428855, https://leetcode.com/problems/max-area-of-island
78,Subsets,62.0%,Medium,0.14504470601712524, https://leetcode.com/problems/subsets
210,Course Schedule II,40.7%,Medium,0.1438838393073597, https://leetcode.com/problems/course-schedule-ii
317,Shortest Distance from All Buildings,41.4%,Hard,0.14387423888417297, https://leetcode.com/problems/shortest-distance-from-all-buildings
40,Combination Sum II,48.2%,Medium,0.14322916392828683, https://leetcode.com/problems/combination-sum-ii
395,Longest Substring with At Least K Repeating Characters,41.4%,Medium,0.14261022668001652, https://leetcode.com/problems/longest-substring-with-at-least-k-repeating-characters
769,Max Chunks To Make Sorted,54.8%,Medium,0.14019808398271194, https://leetcode.com/problems/max-chunks-to-make-sorted
242,Valid Anagram,56.9%,Easy,0.13963976683590715, https://leetcode.com/problems/valid-anagram
855,Exam Room,43.1%,Medium,0.13804422079620546, https://leetcode.com/problems/exam-room
340,Longest Substring with At Most K Distinct Characters,44.1%,Hard,0.13652366061094043, https://leetcode.com/problems/longest-substring-with-at-most-k-distinct-characters
322,Coin Change,35.5%,Medium,0.13572462473832947, https://leetcode.com/problems/coin-change
255,Verify Preorder Sequence in Binary Search Tree,45.7%,Medium,0.1348842676899421, https://leetcode.com/problems/verify-preorder-sequence-in-binary-search-tree
981,Time Based Key-Value Store,53.1%,Medium,0.1316303182973487, https://leetcode.com/problems/time-based-key-value-store
118,Pascal's Triangle,52.5%,Easy,0.12852395589356347, https://leetcode.com/problems/pascals-triangle
968,Binary Tree Cameras,37.5%,Hard,0.12586422089000404, https://leetcode.com/problems/binary-tree-cameras
235,Lowest Common Ancestor of a Binary Search Tree,49.9%,Easy,0.12399764165657076, https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-search-tree
621,Task Scheduler,50.1%,Medium,0.12387972474581618, https://leetcode.com/problems/task-scheduler
206,Reverse Linked List,62.5%,Easy,0.12378418901663191, https://leetcode.com/problems/reverse-linked-list
430,Flatten a Multilevel Doubly Linked List,55.1%,Medium,0.12213316890521433, https://leetcode.com/problems/flatten-a-multilevel-doubly-linked-list
230,Kth Smallest Element in a BST,60.2%,Medium,0.1210793254708764, https://leetcode.com/problems/kth-smallest-element-in-a-bst
228,Summary Ranges,39.5%,Medium,0.1207191114343526, https://leetcode.com/problems/summary-ranges
647,Palindromic Substrings,60.6%,Medium,0.1205091763778271, https://leetcode.com/problems/palindromic-substrings
460,LFU Cache,34.2%,Hard,0.11848160362052347, https://leetcode.com/problems/lfu-cache
6,ZigZag Conversion,36.3%,Medium,0.11677183708486526, https://leetcode.com/problems/zigzag-conversion
72,Edit Distance,44.8%,Hard,0.11629970881467097, https://leetcode.com/problems/edit-distance
70,Climbing Stairs,47.8%,Easy,0.11536054266386848, https://leetcode.com/problems/climbing-stairs
16,3Sum Closest,46.0%,Medium,0.11410404900826158, https://leetcode.com/problems/3sum-closest
229,Majority Element II,35.6%,Medium,0.11355198202632807, https://leetcode.com/problems/majority-element-ii
155,Min Stack,44.5%,Easy,0.11244000234885869, https://leetcode.com/problems/min-stack
889,Construct Binary Tree from Preorder and Postorder Traversal,66.2%,Medium,0.10711776476069794, https://leetcode.com/problems/construct-binary-tree-from-preorder-and-postorder-traversal
337,House Robber III,50.6%,Medium,0.10284435451079782, https://leetcode.com/problems/house-robber-iii
391,Perfect Rectangle,30.5%,Hard,0.10109611687136877, https://leetcode.com/problems/perfect-rectangle
101,Symmetric Tree,46.8%,Easy,0.09821350130564939, https://leetcode.com/problems/symmetric-tree
837,New 21 Game,34.6%,Medium,0.09646026618756222, https://leetcode.com/problems/new-21-game
752,Open the Lock,51.8%,Medium,0.09491410658218381, https://leetcode.com/problems/open-the-lock
827,Making A Large Island,45.7%,Hard,0.09287412500644375, https://leetcode.com/problems/making-a-large-island
826,Most Profit Assigning Work,38.5%,Medium,0.09287412500644375, https://leetcode.com/problems/most-profit-assigning-work
236,Lowest Common Ancestor of a Binary Tree,45.7%,Medium,0.0913825929084002, https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-tree
266,Palindrome Permutation,61.9%,Easy,0.091248671465145, https://leetcode.com/problems/palindrome-permutation
62,Unique Paths,54.1%,Medium,0.08965185882136445, https://leetcode.com/problems/unique-paths
918,Maximum Sum Circular Subarray,33.7%,Medium,0.08881573371064024, https://leetcode.com/problems/maximum-sum-circular-subarray
692,Top K Frequent Words,51.8%,Medium,0.08839354721658145, https://leetcode.com/problems/top-k-frequent-words
7,Reverse Integer,25.8%,Easy,0.08735674450872549, https://leetcode.com/problems/reverse-integer
150,Evaluate Reverse Polish Notation,36.3%,Medium,0.08523043261863501, https://leetcode.com/problems/evaluate-reverse-polish-notation
564,Find the Closest Palindrome,19.7%,Hard,0.0840831172105414, https://leetcode.com/problems/find-the-closest-palindrome
909,Snakes and Ladders,38.4%,Medium,0.08392620769993404, https://leetcode.com/problems/snakes-and-ladders
646,Maximum Length of Pair Chain,51.9%,Medium,0.08112554481236843, https://leetcode.com/problems/maximum-length-of-pair-chain
376,Wiggle Subsequence,39.6%,Medium,0.08068891125014274, https://leetcode.com/problems/wiggle-subsequence
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
347,Top K Frequent Elements,61.2%,Medium,0.08031715021385247, https://leetcode.com/problems/top-k-frequent-elements
55,Jump Game,34.6%,Medium,0.07748307858552587, https://leetcode.com/problems/jump-game
215,Kth Largest Element in an Array,55.4%,Medium,0.07620046088541414, https://leetcode.com/problems/kth-largest-element-in-an-array
468,Validate IP Address,24.1%,Medium,0.07598590697792203, https://leetcode.com/problems/validate-ip-address
416,Partition Equal Subset Sum,43.7%,Medium,0.07558685936624726, https://leetcode.com/problems/partition-equal-subset-sum
8,String to Integer (atoi),15.4%,Medium,0.07412832776627384, https://leetcode.com/problems/string-to-integer-atoi
437,Path Sum III,47.2%,Medium,0.07349765782290693, https://leetcode.com/problems/path-sum-iii
153,Find Minimum in Rotated Sorted Array,45.1%,Medium,0.07343579359779528, https://leetcode.com/problems/find-minimum-in-rotated-sorted-array
64,Minimum Path Sum,54.5%,Medium,0.07259220458870491, https://leetcode.com/problems/minimum-path-sum
378,Kth Smallest Element in a Sorted Matrix,54.3%,Medium,0.07059096970081927, https://leetcode.com/problems/kth-smallest-element-in-a-sorted-matrix
973,K Closest Points to Origin,63.8%,Medium,0.06852953312583007, https://leetcode.com/problems/k-closest-points-to-origin
1011,Capacity To Ship Packages Within D Days,58.1%,Medium,0.06649420875558125, https://leetcode.com/problems/capacity-to-ship-packages-within-d-days
277,Find the Celebrity,41.8%,Medium,0.06562120535847293, https://leetcode.com/problems/find-the-celebrity
298,Binary Tree Longest Consecutive Sequence,47.1%,Medium,0.065169635074581, https://leetcode.com/problems/binary-tree-longest-consecutive-sequence
334,Increasing Triplet Subsequence,40.0%,Medium,0.06274107505168265, https://leetcode.com/problems/increasing-triplet-subsequence
300,Longest Increasing Subsequence,42.6%,Medium,0.06265630749555627, https://leetcode.com/problems/longest-increasing-subsequence
189,Rotate Array,34.7%,Easy,0.06260600694223208, https://leetcode.com/problems/rotate-array
1171,Remove Zero Sum Consecutive Nodes from Linked List,41.4%,Medium,0.06025919151819684, https://leetcode.com/problems/remove-zero-sum-consecutive-nodes-from-linked-list
88,Merge Sorted Array,39.4%,Easy,0.059258174101133876, https://leetcode.com/problems/merge-sorted-array
47,Permutations II,46.4%,Medium,0.05897935516253239, https://leetcode.com/problems/permutations-ii
102,Binary Tree Level Order Traversal,54.6%,Medium,0.056692473087026664, https://leetcode.com/problems/binary-tree-level-order-traversal
1038,Binary Search Tree to Greater Sum Tree,80.8%,Medium,0.05637058926920947, https://leetcode.com/problems/binary-search-tree-to-greater-sum-tree
162,Find Peak Element,43.3%,Medium,0.05575061760504993, https://leetcode.com/problems/find-peak-element
983,Minimum Cost For Tickets,60.5%,Medium,0.05469163590186561, https://leetcode.com/problems/minimum-cost-for-tickets
1229,Meeting Scheduler,52.7%,Medium,0.053560323833736816, https://leetcode.com/problems/meeting-scheduler
829,Consecutive Numbers Sum,37.5%,Hard,0.05341723749698583, https://leetcode.com/problems/consecutive-numbers-sum
601,Human Traffic of Stadium,41.7%,Hard,0.05223119222544569, https://leetcode.com/problems/human-traffic-of-stadium
791,Custom Sort String,65.7%,Medium,0.05164658886216683, https://leetcode.com/problems/custom-sort-string
560,Subarray Sum Equals K,43.9%,Medium,0.0512021569656579, https://leetcode.com/problems/subarray-sum-equals-k
648,Replace Words,56.6%,Medium,0.051162052179868224, https://leetcode.com/problems/replace-words
740,Delete and Earn,48.6%,Medium,0.05109668266230467, https://leetcode.com/problems/delete-and-earn
344,Reverse String,68.5%,Easy,0.051072212148151434, https://leetcode.com/problems/reverse-string
681,Next Closest Time,45.0%,Medium,0.05045206096038863, https://leetcode.com/problems/next-closest-time
199,Binary Tree Right Side View,54.1%,Medium,0.05001737032794516, https://leetcode.com/problems/binary-tree-right-side-view
398,Random Pick Index,56.0%,Medium,0.04900272661044917, https://leetcode.com/problems/random-pick-index
547,Friend Circles,58.6%,Medium,0.04804286211474039, https://leetcode.com/problems/friend-circles
1019,Next Greater Node In Linked List,57.4%,Medium,0.04795804429616222, https://leetcode.com/problems/next-greater-node-in-linked-list
1385,Find the Distance Value Between Two Arrays,67.0%,Easy,0.04668292188270772, https://leetcode.com/problems/find-the-distance-value-between-two-arrays
670,Maximum Swap,43.6%,Medium,0.04630456804168632, https://leetcode.com/problems/maximum-swap
98,Validate Binary Search Tree,27.8%,Medium,0.046091107200267, https://leetcode.com/problems/validate-binary-search-tree
48,Rotate Image,56.7%,Medium,0.04495138786226632, https://leetcode.com/problems/rotate-image
232,Implement Queue using Stacks,49.6%,Easy,0.04423053722733957, https://leetcode.com/problems/implement-queue-using-stacks
338,Counting Bits,69.5%,Medium,0.0428445715346785, https://leetcode.com/problems/counting-bits
611,Valid Triangle Number,48.4%,Medium,0.04255961441879593, https://leetcode.com/problems/valid-triangle-number
114,Flatten Binary Tree to Linked List,49.3%,Medium,0.04234332805480797, https://leetcode.com/problems/flatten-binary-tree-to-linked-list
739,Daily Temperatures,63.3%,Medium,0.03954060923825168, https://leetcode.com/problems/daily-temperatures
66,Plus One,43.0%,Easy,0.039245846990968294, https://leetcode.com/problems/plus-one
992,Subarrays with K Different Integers,48.6%,Hard,0.03700699810869683, https://leetcode.com/problems/subarrays-with-k-different-integers
729,My Calendar I,51.8%,Medium,0.036433902246102004, https://leetcode.com/problems/my-calendar-i
125,Valid Palindrome,36.7%,Easy,0.035266657982323354, https://leetcode.com/problems/valid-palindrome
152,Maximum Product Subarray,31.7%,Medium,0.034438665054543384, https://leetcode.com/problems/maximum-product-subarray
177,Nth Highest Salary,31.4%,Medium,0.032054026290083464, https://leetcode.com/problems/nth-highest-salary
1146,Snapshot Array,37.0%,Medium,0.0317991816929387, https://leetcode.com/problems/snapshot-array
1091,Shortest Path in Binary Matrix,38.2%,Medium,0.03164821095078173, https://leetcode.com/problems/shortest-path-in-binary-matrix
339,Nested List Weight Sum,74.0%,Easy,0.02960986116720276, https://leetcode.com/problems/nested-list-weight-sum
671,Second Minimum Node In a Binary Tree,42.7%,Easy,0.02958795718549609, https://leetcode.com/problems/second-minimum-node-in-a-binary-tree
264,Ugly Number II,42.0%,Medium,0.025923110599373623, https://leetcode.com/problems/ugly-number-ii
104,Maximum Depth of Binary Tree,66.0%,Easy,0.024815169119723996, https://leetcode.com/problems/maximum-depth-of-binary-tree
426,Convert Binary Search Tree to Sorted Doubly Linked List,59.1%,Medium,0.024214258120594613, https://leetcode.com/problems/convert-binary-search-tree-to-sorted-doubly-linked-list
662,Maximum Width of Binary Tree,41.0%,Medium,0.024116924478312346, https://leetcode.com/problems/maximum-width-of-binary-tree
844,Backspace String Compare,46.4%,Easy,0.0235551325028849, https://leetcode.com/problems/backspace-string-compare
50,Pow(x;n),30.3%,Medium,0.022194620516948222, https://leetcode.com/problems/powx-n
278,First Bad Version,35.7%,Easy,0.021394050366625766, https://leetcode.com/problems/first-bad-version
45,Jump Game II,30.6%,Hard,0.021353124470568974, https://leetcode.com/problems/jump-game-ii
350,Intersection of Two Arrays II,51.4%,Easy,0.020680587107206983, https://leetcode.com/problems/intersection-of-two-arrays-ii
26,Remove Duplicates from Sorted Array,45.1%,Easy,0.017426260234777304, https://leetcode.com/problems/remove-duplicates-from-sorted-array
299,Bulls and Cows,42.4%,Easy,0.016227536621756702, https://leetcode.com/problems/bulls-and-cows
516,Longest Palindromic Subsequence,53.2%,Medium,0.014931221774984842, https://leetcode.com/problems/longest-palindromic-subsequence
202,Happy Number,50.4%,Easy,0.014045174703047602, https://leetcode.com/problems/happy-number
581,Shortest Unsorted Continuous Subarray,31.1%,Easy,0.013342426083839913, https://leetcode.com/problems/shortest-unsorted-continuous-subarray
154,Find Minimum in Rotated Sorted Array II,41.6%,Hard,0.013222109274363887, https://leetcode.com/problems/find-minimum-in-rotated-sorted-array-ii
852,Peak Index in a Mountain Array,71.6%,Easy,0.012618463959211509, https://leetcode.com/problems/peak-index-in-a-mountain-array
941,Valid Mountain Array,33.2%,Easy,0.011139073683009305, https://leetcode.com/problems/valid-mountain-array
94,Binary Tree Inorder Traversal,63.3%,Medium,0.007533307577636257, https://leetcode.com/problems/binary-tree-inorder-traversal
145,Binary Tree Postorder Traversal,55.0%,Hard,0.00751459482064135, https://leetcode.com/problems/binary-tree-postorder-traversal
349,Intersection of Two Arrays,62.5%,Easy,0.00725034896230682, https://leetcode.com/problems/intersection-of-two-arrays
203,Remove Linked List Elements,38.6%,Easy,0.006479067005887776, https://leetcode.com/problems/remove-linked-list-elements
690,Employee Importance,57.3%,Easy,0, https://leetcode.com/problems/employee-importance
171,Excel Sheet Column Number,55.9%,Easy,0, https://leetcode.com/problems/excel-sheet-column-number
373,Find K Pairs with Smallest Sums,36.7%,Medium,0, https://leetcode.com/problems/find-k-pairs-with-smallest-sums
735,Asteroid Collision,41.0%,Medium,0, https://leetcode.com/problems/asteroid-collision
710,Random Pick with Blacklist,32.5%,Hard,0, https://leetcode.com/problems/random-pick-with-blacklist
1064,Fixed Point,66.5%,Easy,0, https://leetcode.com/problems/fixed-point
1039,Minimum Score Triangulation of Polygon,49.1%,Medium,0, https://leetcode.com/problems/minimum-score-triangulation-of-polygon
1334,Find the City With the Smallest Number of Neighbors at a Threshold Distance,44.5%,Medium,0, https://leetcode.com/problems/find-the-city-with-the-smallest-number-of-neighbors-at-a-threshold-distance
1400,Construct K Palindrome Strings,60.4%,Medium,0, https://leetcode.com/problems/construct-k-palindrome-strings
1462,Course Schedule IV,41.9%,Medium,0, https://leetcode.com/problems/course-schedule-iv
1 427 ID Construct Quad Tree Title 61.4% Acceptance Medium Difficulty 3.2025777670666282 Frequency https://leetcode.com/problems/construct-quad-tree Leetcode Question Link
2 291 427 Word Pattern II Construct Quad Tree 43.4% 61.4% Hard Medium 3.0090998629797148 3.2025777670666282 https://leetcode.com/problems/word-pattern-ii https://leetcode.com/problems/construct-quad-tree
3 529 291 Minesweeper Word Pattern II 59.1% 43.4% Medium Hard 2.8156219588928013 3.0090998629797148 https://leetcode.com/problems/minesweeper https://leetcode.com/problems/word-pattern-ii
4 305 529 Number of Islands II Minesweeper 40.1% 59.1% Hard Medium 2.7873368509214487 2.8156219588928013 https://leetcode.com/problems/number-of-islands-ii https://leetcode.com/problems/minesweeper
5 741 305 Cherry Pickup Number of Islands II 33.9% 40.1% Hard Hard 2.728198259587133 2.7873368509214487 https://leetcode.com/problems/cherry-pickup https://leetcode.com/problems/number-of-islands-ii
6 757 741 Set Intersection Size At Least Two Cherry Pickup 40.1% 33.9% Hard Hard 2.5347203555002196 2.728198259587133 https://leetcode.com/problems/set-intersection-size-at-least-two https://leetcode.com/problems/cherry-pickup
7 332 757 Reconstruct Itinerary Set Intersection Size At Least Two 36.7% 40.1% Medium Hard 2.473063947812065 2.5347203555002196 https://leetcode.com/problems/reconstruct-itinerary https://leetcode.com/problems/set-intersection-size-at-least-two
8 341 332 Flatten Nested List Iterator Reconstruct Itinerary 52.9% 36.7% Medium Medium 2.4575427125463496 2.473063947812065 https://leetcode.com/problems/flatten-nested-list-iterator https://leetcode.com/problems/reconstruct-itinerary
9 68 341 Text Justification Flatten Nested List Iterator 27.7% 52.9% Hard Medium 2.4560547921829063 2.4575427125463496 https://leetcode.com/problems/text-justification https://leetcode.com/problems/flatten-nested-list-iterator
10 465 68 Optimal Account Balancing Text Justification 46.9% 27.7% Hard Hard 2.3937825793600807 2.4560547921829063 https://leetcode.com/problems/optimal-account-balancing https://leetcode.com/problems/text-justification
11 146 465 LRU Cache Optimal Account Balancing 33.2% 46.9% Medium Hard 2.2330774739793853 2.3937825793600807 https://leetcode.com/problems/lru-cache https://leetcode.com/problems/optimal-account-balancing
12 262 146 Trips and Users LRU Cache 32.7% 33.2% Hard Medium 2.179117086708829 2.2330774739793853 https://leetcode.com/problems/trips-and-users https://leetcode.com/problems/lru-cache
13 56 262 Merge Intervals Trips and Users 39.3% 32.7% Medium Hard 1.9856391826219157 2.179117086708829 https://leetcode.com/problems/merge-intervals https://leetcode.com/problems/trips-and-users
14 267 56 Palindrome Permutation II Merge Intervals 36.4% 39.3% Medium Medium 1.9644220544755755 1.9856391826219157 https://leetcode.com/problems/palindrome-permutation-ii https://leetcode.com/problems/merge-intervals
15 36 267 Valid Sudoku Palindrome Permutation II 48.7% 36.4% Medium Medium 1.96380460343855 1.9644220544755755 https://leetcode.com/problems/valid-sudoku https://leetcode.com/problems/palindrome-permutation-ii
16 655 36 Print Binary Tree Valid Sudoku 55.0% 48.7% Medium Medium 1.9142294173827312 1.96380460343855 https://leetcode.com/problems/print-binary-tree https://leetcode.com/problems/valid-sudoku
17 227 655 Basic Calculator II Print Binary Tree 36.9% 55.0% Medium Medium 1.831507899537194 1.9142294173827312 https://leetcode.com/problems/basic-calculator-ii https://leetcode.com/problems/print-binary-tree
18 42 227 Trapping Rain Water Basic Calculator II 48.9% 36.9% Hard Medium 1.8228811997291605 1.831507899537194 https://leetcode.com/problems/trapping-rain-water https://leetcode.com/problems/basic-calculator-ii
19 200 42 Number of Islands Trapping Rain Water 46.8% 48.9% Medium Hard 1.809092583045218 1.8228811997291605 https://leetcode.com/problems/number-of-islands https://leetcode.com/problems/trapping-rain-water
20 986 200 Interval List Intersections Number of Islands 67.3% 46.8% Medium Medium 1.7189319563632988 1.809092583045218 https://leetcode.com/problems/interval-list-intersections https://leetcode.com/problems/number-of-islands
21 297 986 Serialize and Deserialize Binary Tree Interval List Intersections 47.5% 67.3% Hard Medium 1.6607276556789818 1.7189319563632988 https://leetcode.com/problems/serialize-and-deserialize-binary-tree https://leetcode.com/problems/interval-list-intersections
22 253 297 Meeting Rooms II Serialize and Deserialize Binary Tree 45.7% 47.5% Medium Hard 1.6305479346444065 1.6607276556789818 https://leetcode.com/problems/meeting-rooms-ii https://leetcode.com/problems/serialize-and-deserialize-binary-tree
23 1 253 Two Sum Meeting Rooms II 45.6% 45.7% Easy Medium 1.6253762244734984 1.6305479346444065 https://leetcode.com/problems/two-sum https://leetcode.com/problems/meeting-rooms-ii
24 428 1 Serialize and Deserialize N-ary Tree Two Sum 59.4% 45.6% Hard Easy 1.619513564422842 1.6253762244734984 https://leetcode.com/problems/serialize-and-deserialize-n-ary-tree https://leetcode.com/problems/two-sum
25 380 428 Insert Delete GetRandom O(1) Serialize and Deserialize N-ary Tree 47.5% 59.4% Medium Hard 1.5587288098338494 1.619513564422842 https://leetcode.com/problems/insert-delete-getrandom-o1 https://leetcode.com/problems/serialize-and-deserialize-n-ary-tree
26 773 380 Sliding Puzzle Insert Delete GetRandom O(1) 59.3% 47.5% Hard Medium 1.5000532464765486 1.5587288098338494 https://leetcode.com/problems/sliding-puzzle https://leetcode.com/problems/insert-delete-getrandom-o1
27 359 773 Logger Rate Limiter Sliding Puzzle 70.8% 59.3% Easy Hard 1.4642891467178614 1.5000532464765486 https://leetcode.com/problems/logger-rate-limiter https://leetcode.com/problems/sliding-puzzle
28 772 359 Basic Calculator III Logger Rate Limiter 41.3% 70.8% Hard Easy 1.324801306769502 1.4642891467178614 https://leetcode.com/problems/basic-calculator-iii https://leetcode.com/problems/logger-rate-limiter
29 166 772 Fraction to Recurring Decimal Basic Calculator III 21.6% 41.3% Medium Hard 1.3061986410149267 1.324801306769502 https://leetcode.com/problems/fraction-to-recurring-decimal https://leetcode.com/problems/basic-calculator-iii
30 780 166 Reaching Points Fraction to Recurring Decimal 29.4% 21.6% Hard Medium 1.277920355988899 1.3061986410149267 https://leetcode.com/problems/reaching-points https://leetcode.com/problems/fraction-to-recurring-decimal
31 239 780 Sliding Window Maximum Reaching Points 43.0% 29.4% Hard Hard 1.2321602024355653 1.277920355988899 https://leetcode.com/problems/sliding-window-maximum https://leetcode.com/problems/reaching-points
32 224 239 Basic Calculator Sliding Window Maximum 36.8% 43.0% Hard Hard 1.204714054955524 1.2321602024355653 https://leetcode.com/problems/basic-calculator https://leetcode.com/problems/sliding-window-maximum
33 49 224 Group Anagrams Basic Calculator 56.9% 36.8% Medium Hard 1.190205287799969 1.204714054955524 https://leetcode.com/problems/group-anagrams https://leetcode.com/problems/basic-calculator
34 17 49 Letter Combinations of a Phone Number Group Anagrams 46.8% 56.9% Medium Medium 1.1735261038835452 1.190205287799969 https://leetcode.com/problems/letter-combinations-of-a-phone-number https://leetcode.com/problems/group-anagrams
35 212 17 Word Search II Letter Combinations of a Phone Number 34.9% 46.8% Hard Medium 1.1712646007295122 1.1735261038835452 https://leetcode.com/problems/word-search-ii https://leetcode.com/problems/letter-combinations-of-a-phone-number
36 642 212 Design Search Autocomplete System Word Search II 44.7% 34.9% Hard Hard 1.1539027516811295 1.1712646007295122 https://leetcode.com/problems/design-search-autocomplete-system https://leetcode.com/problems/word-search-ii
37 361 642 Bomb Enemy Design Search Autocomplete System 46.0% 44.7% Medium Hard 1.1535711729488671 1.1539027516811295 https://leetcode.com/problems/bomb-enemy https://leetcode.com/problems/design-search-autocomplete-system
38 139 361 Word Break Bomb Enemy 40.1% 46.0% Medium Medium 1.1489605133291307 1.1535711729488671 https://leetcode.com/problems/word-break https://leetcode.com/problems/bomb-enemy
39 286 139 Walls and Gates Word Break 54.5% 40.1% Medium Medium 1.1385638280265375 1.1489605133291307 https://leetcode.com/problems/walls-and-gates https://leetcode.com/problems/word-break
40 591 286 Tag Validator Walls and Gates 34.3% 54.5% Hard Medium 1.133098464739279 1.1385638280265375 https://leetcode.com/problems/tag-validator https://leetcode.com/problems/walls-and-gates
41 336 591 Palindrome Pairs Tag Validator 33.7% 34.3% Hard Hard 1.1081703064742152 1.133098464739279 https://leetcode.com/problems/palindrome-pairs https://leetcode.com/problems/tag-validator
42 636 336 Exclusive Time of Functions Palindrome Pairs 51.9% 33.7% Medium Hard 1.070608304685468 1.1081703064742152 https://leetcode.com/problems/exclusive-time-of-functions https://leetcode.com/problems/palindrome-pairs
43 128 636 Longest Consecutive Sequence Exclusive Time of Functions 45.1% 51.9% Hard Medium 1.0687708064824162 1.070608304685468 https://leetcode.com/problems/longest-consecutive-sequence https://leetcode.com/problems/exclusive-time-of-functions
44 381 128 Insert Delete GetRandom O(1) - Duplicates allowed Longest Consecutive Sequence 34.1% 45.1% Hard Hard 1.0261327161577256 1.0687708064824162 https://leetcode.com/problems/insert-delete-getrandom-o1-duplicates-allowed https://leetcode.com/problems/longest-consecutive-sequence
45 34 381 Find First and Last Position of Element in Sorted Array Insert Delete GetRandom O(1) - Duplicates allowed 36.2% 34.1% Medium Hard 1.025636061253605 1.0261327161577256 https://leetcode.com/problems/find-first-and-last-position-of-element-in-sorted-array https://leetcode.com/problems/insert-delete-getrandom-o1-duplicates-allowed
46 365 34 Water and Jug Problem Find First and Last Position of Element in Sorted Array 30.6% 36.2% Medium Medium 1.0087460326577822 1.025636061253605 https://leetcode.com/problems/water-and-jug-problem https://leetcode.com/problems/find-first-and-last-position-of-element-in-sorted-array
47 269 365 Alien Dictionary Water and Jug Problem 33.3% 30.6% Hard Medium 0.991185435747213 1.0087460326577822 https://leetcode.com/problems/alien-dictionary https://leetcode.com/problems/water-and-jug-problem
48 254 269 Factor Combinations Alien Dictionary 46.7% 33.3% Medium Hard 0.9907010014908804 0.991185435747213 https://leetcode.com/problems/factor-combinations https://leetcode.com/problems/alien-dictionary
49 528 254 Random Pick with Weight Factor Combinations 43.9% 46.7% Medium Medium 0.9735653552899035 0.9907010014908804 https://leetcode.com/problems/random-pick-with-weight https://leetcode.com/problems/factor-combinations
50 149 528 Max Points on a Line Random Pick with Weight 16.9% 43.9% Hard Medium 0.9593743180104668 0.9735653552899035 https://leetcode.com/problems/max-points-on-a-line https://leetcode.com/problems/random-pick-with-weight
51 10 149 Regular Expression Matching Max Points on a Line 26.8% 16.9% Hard Hard 0.9228325761309415 0.9593743180104668 https://leetcode.com/problems/regular-expression-matching https://leetcode.com/problems/max-points-on-a-line
52 76 10 Minimum Window Substring Regular Expression Matching 34.6% 26.8% Hard Hard 0.9170093359386342 0.9228325761309415 https://leetcode.com/problems/minimum-window-substring https://leetcode.com/problems/regular-expression-matching
53 679 76 24 Game Minimum Window Substring 46.4% 34.6% Hard Hard 0.8636247536746324 0.9170093359386342 https://leetcode.com/problems/24-game https://leetcode.com/problems/minimum-window-substring
54 329 679 Longest Increasing Path in a Matrix 24 Game 43.4% 46.4% Hard Hard 0.8540205747820803 0.8636247536746324 https://leetcode.com/problems/longest-increasing-path-in-a-matrix https://leetcode.com/problems/24-game
55 99 329 Recover Binary Search Tree Longest Increasing Path in a Matrix 39.7% 43.4% Hard Hard 0.8394185237297231 0.8540205747820803 https://leetcode.com/problems/recover-binary-search-tree https://leetcode.com/problems/longest-increasing-path-in-a-matrix
56 640 99 Solve the Equation Recover Binary Search Tree 42.0% 39.7% Medium Hard 0.8389208480491557 0.8394185237297231 https://leetcode.com/problems/solve-the-equation https://leetcode.com/problems/recover-binary-search-tree
57 1135 640 Connecting Cities With Minimum Cost Solve the Equation 57.5% 42.0% Medium Medium 0.8224378230678087 0.8389208480491557 https://leetcode.com/problems/connecting-cities-with-minimum-cost https://leetcode.com/problems/solve-the-equation
58 22 1135 Generate Parentheses Connecting Cities With Minimum Cost 62.7% 57.5% Medium Medium 0.8167408078117945 0.8224378230678087 https://leetcode.com/problems/generate-parentheses https://leetcode.com/problems/connecting-cities-with-minimum-cost
59 2 22 Add Two Numbers Generate Parentheses 33.9% 62.7% Medium Medium 0.8029174283671102 0.8167408078117945 https://leetcode.com/problems/add-two-numbers https://leetcode.com/problems/generate-parentheses
60 173 2 Binary Search Tree Iterator Add Two Numbers 56.6% 33.9% Medium Medium 0.8009344168671371 0.8029174283671102 https://leetcode.com/problems/binary-search-tree-iterator https://leetcode.com/problems/add-two-numbers
61 57 173 Insert Interval Binary Search Tree Iterator 33.5% 56.6% Hard Medium 0.784728817691922 0.8009344168671371 https://leetcode.com/problems/insert-interval https://leetcode.com/problems/binary-search-tree-iterator
62 126 57 Word Ladder II Insert Interval 22.1% 33.5% Hard Hard 0.7710576539985173 0.784728817691922 https://leetcode.com/problems/word-ladder-ii https://leetcode.com/problems/insert-interval
63 32 126 Longest Valid Parentheses Word Ladder II 28.4% 22.1% Hard Hard 0.7455268411597167 0.7710576539985173 https://leetcode.com/problems/longest-valid-parentheses https://leetcode.com/problems/word-ladder-ii
64 251 32 Flatten 2D Vector Longest Valid Parentheses 45.7% 28.4% Medium Hard 0.74087494933668 0.7455268411597167 https://leetcode.com/problems/flatten-2d-vector https://leetcode.com/problems/longest-valid-parentheses
65 133 251 Clone Graph Flatten 2D Vector 34.8% 45.7% Medium Medium 0.7325956832523879 0.74087494933668 https://leetcode.com/problems/clone-graph https://leetcode.com/problems/flatten-2d-vector
66 535 133 Encode and Decode TinyURL Clone Graph 79.9% 34.8% Medium Medium 0.7284232783609871 0.7325956832523879 https://leetcode.com/problems/encode-and-decode-tinyurl https://leetcode.com/problems/clone-graph
67 127 535 Word Ladder Encode and Decode TinyURL 29.6% 79.9% Medium Medium 0.6998711506076138 0.7284232783609871 https://leetcode.com/problems/word-ladder https://leetcode.com/problems/encode-and-decode-tinyurl
68 4 127 Median of Two Sorted Arrays Word Ladder 29.6% 29.6% Hard Medium 0.6933425502977945 0.6998711506076138 https://leetcode.com/problems/median-of-two-sorted-arrays https://leetcode.com/problems/word-ladder
69 273 4 Integer to English Words Median of Two Sorted Arrays 27.1% 29.6% Hard Hard 0.6853686009593172 0.6933425502977945 https://leetcode.com/problems/integer-to-english-words https://leetcode.com/problems/median-of-two-sorted-arrays
70 244 273 Shortest Word Distance II Integer to English Words 52.3% 27.1% Medium Hard 0.6781843078832329 0.6853686009593172 https://leetcode.com/problems/shortest-word-distance-ii https://leetcode.com/problems/integer-to-english-words
71 936 244 Stamping The Sequence Shortest Word Distance II 42.8% 52.3% Hard Medium 0.6737290947028437 0.6781843078832329 https://leetcode.com/problems/stamping-the-sequence https://leetcode.com/problems/shortest-word-distance-ii
72 218 936 The Skyline Problem Stamping The Sequence 34.6% 42.8% Hard Hard 0.6570184564714399 0.6737290947028437 https://leetcode.com/problems/the-skyline-problem https://leetcode.com/problems/stamping-the-sequence
73 54 218 Spiral Matrix The Skyline Problem 34.1% 34.6% Medium Hard 0.628586606031113 0.6570184564714399 https://leetcode.com/problems/spiral-matrix https://leetcode.com/problems/the-skyline-problem
74 23 54 Merge k Sorted Lists Spiral Matrix 40.2% 34.1% Hard Medium 0.5853931037905282 0.628586606031113 https://leetcode.com/problems/merge-k-sorted-lists https://leetcode.com/problems/spiral-matrix
75 388 23 Longest Absolute File Path Merge k Sorted Lists 41.8% 40.2% Medium Hard 0.5850223231279691 0.5853931037905282 https://leetcode.com/problems/longest-absolute-file-path https://leetcode.com/problems/merge-k-sorted-lists
76 37 388 Sudoku Solver Longest Absolute File Path 43.6% 41.8% Hard Medium 0.5747320517924429 0.5850223231279691 https://leetcode.com/problems/sudoku-solver https://leetcode.com/problems/longest-absolute-file-path
77 15 37 3Sum Sudoku Solver 26.8% 43.6% Medium Hard 0.5615794220738226 0.5747320517924429 https://leetcode.com/problems/3sum https://leetcode.com/problems/sudoku-solver
78 208 15 Implement Trie (Prefix Tree) 3Sum 49.4% 26.8% Medium Medium 0.554408039893292 0.5615794220738226 https://leetcode.com/problems/implement-trie-prefix-tree https://leetcode.com/problems/3sum
79 658 208 Find K Closest Elements Implement Trie (Prefix Tree) 40.9% 49.4% Medium Medium 0.5351504766219078 0.554408039893292 https://leetcode.com/problems/find-k-closest-elements https://leetcode.com/problems/implement-trie-prefix-tree
80 158 658 Read N Characters Given Read4 II - Call multiple times Find K Closest Elements 33.8% 40.9% Hard Medium 0.5089658995317979 0.5351504766219078 https://leetcode.com/problems/read-n-characters-given-read4-ii-call-multiple-times https://leetcode.com/problems/find-k-closest-elements
81 20 158 Valid Parentheses Read N Characters Given Read4 II - Call multiple times 39.0% 33.8% Easy Hard 0.4867693607438125 0.5089658995317979 https://leetcode.com/problems/valid-parentheses https://leetcode.com/problems/read-n-characters-given-read4-ii-call-multiple-times
82 527 20 Word Abbreviation Valid Parentheses 54.3% 39.0% Hard Easy 0.48285177172358457 0.4867693607438125 https://leetcode.com/problems/word-abbreviation https://leetcode.com/problems/valid-parentheses
83 91 527 Decode Ways Word Abbreviation 24.7% 54.3% Medium Hard 0.46914273798301376 0.48285177172358457 https://leetcode.com/problems/decode-ways https://leetcode.com/problems/word-abbreviation
84 3 91 Longest Substring Without Repeating Characters Decode Ways 30.4% 24.7% Medium Medium 0.46498482873214675 0.46914273798301376 https://leetcode.com/problems/longest-substring-without-repeating-characters https://leetcode.com/problems/decode-ways
85 79 3 Word Search Longest Substring Without Repeating Characters 35.6% 30.4% Medium Medium 0.451219934510799 0.46498482873214675 https://leetcode.com/problems/word-search https://leetcode.com/problems/longest-substring-without-repeating-characters
86 668 79 Kth Smallest Number in Multiplication Table Word Search 45.6% 35.6% Hard Medium 0.4506902061131003 0.451219934510799 https://leetcode.com/problems/kth-smallest-number-in-multiplication-table https://leetcode.com/problems/word-search
87 85 668 Maximal Rectangle Kth Smallest Number in Multiplication Table 37.7% 45.6% Hard Hard 0.4492357711634929 0.4506902061131003 https://leetcode.com/problems/maximal-rectangle https://leetcode.com/problems/kth-smallest-number-in-multiplication-table
88 353 85 Design Snake Game Maximal Rectangle 34.2% 37.7% Medium Hard 0.44572532239455054 0.4492357711634929 https://leetcode.com/problems/design-snake-game https://leetcode.com/problems/maximal-rectangle
89 221 353 Maximal Square Design Snake Game 37.7% 34.2% Medium Medium 0.4439595076531865 0.44572532239455054 https://leetcode.com/problems/maximal-square https://leetcode.com/problems/design-snake-game
90 207 221 Course Schedule Maximal Square 43.1% 37.7% Medium Medium 0.43737967140902645 0.4439595076531865 https://leetcode.com/problems/course-schedule https://leetcode.com/problems/maximal-square
91 346 207 Moving Average from Data Stream Course Schedule 70.9% 43.1% Easy Medium 0.43127299206403696 0.43737967140902645 https://leetcode.com/problems/moving-average-from-data-stream https://leetcode.com/problems/course-schedule
92 1281 346 Subtract the Product and Sum of Digits of an Integer Moving Average from Data Stream 85.2% 70.9% Easy Easy 0.4301109053149923 0.43127299206403696 https://leetcode.com/problems/subtract-the-product-and-sum-of-digits-of-an-integer https://leetcode.com/problems/moving-average-from-data-stream
93 289 1281 Game of Life Subtract the Product and Sum of Digits of an Integer 54.5% 85.2% Medium Easy 0.42436217241512136 0.4301109053149923 https://leetcode.com/problems/game-of-life https://leetcode.com/problems/subtract-the-product-and-sum-of-digits-of-an-integer
94 301 289 Remove Invalid Parentheses Game of Life 43.3% 54.5% Hard Medium 0.4217256289799447 0.42436217241512136 https://leetcode.com/problems/remove-invalid-parentheses https://leetcode.com/problems/game-of-life
95 362 301 Design Hit Counter Remove Invalid Parentheses 63.7% 43.3% Medium Hard 0.41908233979999515 0.4217256289799447 https://leetcode.com/problems/design-hit-counter https://leetcode.com/problems/remove-invalid-parentheses
96 863 362 All Nodes Distance K in Binary Tree Design Hit Counter 55.4% 63.7% Medium Medium 0.4169423860623174 0.41908233979999515 https://leetcode.com/problems/all-nodes-distance-k-in-binary-tree https://leetcode.com/problems/design-hit-counter
97 97 863 Interleaving String All Nodes Distance K in Binary Tree 31.5% 55.4% Hard Medium 0.4167762826896874 0.4169423860623174 https://leetcode.com/problems/interleaving-string https://leetcode.com/problems/all-nodes-distance-k-in-binary-tree
98 243 97 Shortest Word Distance Interleaving String 61.0% 31.5% Easy Hard 0.41203384391389536 0.4167762826896874 https://leetcode.com/problems/shortest-word-distance https://leetcode.com/problems/interleaving-string
99 130 243 Surrounded Regions Shortest Word Distance 28.1% 61.0% Medium Easy 0.41116654890890914 0.41203384391389536 https://leetcode.com/problems/surrounded-regions https://leetcode.com/problems/shortest-word-distance
100 568 130 Maximum Vacation Days Surrounded Regions 40.8% 28.1% Hard Medium 0.4036217896138752 0.41116654890890914 https://leetcode.com/problems/maximum-vacation-days https://leetcode.com/problems/surrounded-regions
101 53 568 Maximum Subarray Maximum Vacation Days 46.5% 40.8% Easy Hard 0.3975151615275705 0.4036217896138752 https://leetcode.com/problems/maximum-subarray https://leetcode.com/problems/maximum-vacation-days
102 21 53 Merge Two Sorted Lists Maximum Subarray 53.5% 46.5% Easy Easy 0.38844463176041194 0.3975151615275705 https://leetcode.com/problems/merge-two-sorted-lists https://leetcode.com/problems/maximum-subarray
103 1188 21 Design Bounded Blocking Queue Merge Two Sorted Lists 70.5% 53.5% Medium Easy 0.3828597229337993 0.38844463176041194 https://leetcode.com/problems/design-bounded-blocking-queue https://leetcode.com/problems/merge-two-sorted-lists
104 39 1188 Combination Sum Design Bounded Blocking Queue 56.1% 70.5% Medium Medium 0.38138852814402385 0.3828597229337993 https://leetcode.com/problems/combination-sum https://leetcode.com/problems/design-bounded-blocking-queue
105 282 39 Expression Add Operators Combination Sum 35.5% 56.1% Hard Medium 0.37930977098051977 0.38138852814402385 https://leetcode.com/problems/expression-add-operators https://leetcode.com/problems/combination-sum
106 279 282 Perfect Squares Expression Add Operators 47.4% 35.5% Medium Hard 0.3741145782240884 0.37930977098051977 https://leetcode.com/problems/perfect-squares https://leetcode.com/problems/expression-add-operators
107 552 279 Student Attendance Record II Perfect Squares 36.7% 47.4% Hard Medium 0.37292635232139065 0.3741145782240884 https://leetcode.com/problems/student-attendance-record-ii https://leetcode.com/problems/perfect-squares
108 759 552 Employee Free Time Student Attendance Record II 66.3% 36.7% Hard Hard 0.3704034385719028 0.37292635232139065 https://leetcode.com/problems/employee-free-time https://leetcode.com/problems/student-attendance-record-ii
109 815 759 Bus Routes Employee Free Time 42.5% 66.3% Hard Hard 0.3449091275382815 0.3704034385719028 https://leetcode.com/problems/bus-routes https://leetcode.com/problems/employee-free-time
110 805 815 Split Array With Same Average Bus Routes 26.4% 42.5% Hard Hard 0.3416302106614813 0.3449091275382815 https://leetcode.com/problems/split-array-with-same-average https://leetcode.com/problems/bus-routes
111 895 805 Maximum Frequency Stack Split Array With Same Average 60.6% 26.4% Hard Hard 0.33520721431462625 0.3416302106614813 https://leetcode.com/problems/maximum-frequency-stack https://leetcode.com/problems/split-array-with-same-average
112 493 895 Reverse Pairs Maximum Frequency Stack 25.2% 60.6% Hard Hard 0.33395175639587793 0.33520721431462625 https://leetcode.com/problems/reverse-pairs https://leetcode.com/problems/maximum-frequency-stack
113 399 493 Evaluate Division Reverse Pairs 51.6% 25.2% Medium Hard 0.3338128467131867 0.33395175639587793 https://leetcode.com/problems/evaluate-division https://leetcode.com/problems/reverse-pairs
114 238 399 Product of Array Except Self Evaluate Division 60.1% 51.6% Medium Medium 0.332046078454996 0.3338128467131867 https://leetcode.com/problems/product-of-array-except-self https://leetcode.com/problems/evaluate-division
115 5 238 Longest Palindromic Substring Product of Array Except Self 29.5% 60.1% Medium Medium 0.32616692072076214 0.332046078454996 https://leetcode.com/problems/longest-palindromic-substring https://leetcode.com/problems/product-of-array-except-self
116 295 5 Find Median from Data Stream Longest Palindromic Substring 44.3% 29.5% Hard Medium 0.32347449067924283 0.32616692072076214 https://leetcode.com/problems/find-median-from-data-stream https://leetcode.com/problems/longest-palindromic-substring
117 11 295 Container With Most Water Find Median from Data Stream 50.8% 44.3% Medium Hard 0.3160977539241027 0.32347449067924283 https://leetcode.com/problems/container-with-most-water https://leetcode.com/problems/find-median-from-data-stream
118 542 11 01 Matrix Container With Most Water 39.8% 50.8% Medium Medium 0.3127505293143989 0.3160977539241027 https://leetcode.com/problems/01-matrix https://leetcode.com/problems/container-with-most-water
119 315 542 Count of Smaller Numbers After Self 01 Matrix 41.5% 39.8% Hard Medium 0.30851522790511515 0.3127505293143989 https://leetcode.com/problems/count-of-smaller-numbers-after-self https://leetcode.com/problems/01-matrix
120 131 315 Palindrome Partitioning Count of Smaller Numbers After Self 47.5% 41.5% Medium Hard 0.3001175559774547 0.30851522790511515 https://leetcode.com/problems/palindrome-partitioning https://leetcode.com/problems/count-of-smaller-numbers-after-self
121 311 131 Sparse Matrix Multiplication Palindrome Partitioning 61.9% 47.5% Medium Medium 0.2957254800409785 0.3001175559774547 https://leetcode.com/problems/sparse-matrix-multiplication https://leetcode.com/problems/palindrome-partitioning
122 74 311 Search a 2D Matrix Sparse Matrix Multiplication 36.5% 61.9% Medium Medium 0.29107845681405486 0.2957254800409785 https://leetcode.com/problems/search-a-2d-matrix https://leetcode.com/problems/sparse-matrix-multiplication
123 51 74 N-Queens Search a 2D Matrix 46.6% 36.5% Hard Medium 0.28871459706597014 0.29107845681405486 https://leetcode.com/problems/n-queens https://leetcode.com/problems/search-a-2d-matrix
124 161 51 One Edit Distance N-Queens 32.3% 46.6% Medium Hard 0.28698931177288023 0.28871459706597014 https://leetcode.com/problems/one-edit-distance https://leetcode.com/problems/n-queens
125 121 161 Best Time to Buy and Sell Stock One Edit Distance 50.5% 32.3% Easy Medium 0.2868445347634817 0.28698931177288023 https://leetcode.com/problems/best-time-to-buy-and-sell-stock https://leetcode.com/problems/one-edit-distance
126 451 121 Sort Characters By Frequency Best Time to Buy and Sell Stock 63.0% 50.5% Medium Easy 0.285942725510602 0.2868445347634817 https://leetcode.com/problems/sort-characters-by-frequency https://leetcode.com/problems/best-time-to-buy-and-sell-stock
127 1136 451 Parallel Courses Sort Characters By Frequency 61.1% 63.0% Hard Medium 0.2858421455297737 0.285942725510602 https://leetcode.com/problems/parallel-courses https://leetcode.com/problems/sort-characters-by-frequency
128 699 1136 Falling Squares Parallel Courses 41.8% 61.1% Hard Hard 0.2856138193877219 0.2858421455297737 https://leetcode.com/problems/falling-squares https://leetcode.com/problems/parallel-courses
129 969 699 Pancake Sorting Falling Squares 67.5% 41.8% Medium Hard 0.27343004974457946 0.2856138193877219 https://leetcode.com/problems/pancake-sorting https://leetcode.com/problems/falling-squares
130 348 969 Design Tic-Tac-Toe Pancake Sorting 54.3% 67.5% Medium Medium 0.2625527836498761 0.27343004974457946 https://leetcode.com/problems/design-tic-tac-toe https://leetcode.com/problems/pancake-sorting
131 290 348 Word Pattern Design Tic-Tac-Toe 37.0% 54.3% Easy Medium 0.2601476821005732 0.2625527836498761 https://leetcode.com/problems/word-pattern https://leetcode.com/problems/design-tic-tac-toe
132 33 290 Search in Rotated Sorted Array Word Pattern 34.5% 37.0% Medium Easy 0.2561733762253273 0.2601476821005732 https://leetcode.com/problems/search-in-rotated-sorted-array https://leetcode.com/problems/word-pattern
133 432 33 All O`one Data Structure Search in Rotated Sorted Array 32.4% 34.5% Hard Medium 0.25091823176225275 0.2561733762253273 https://leetcode.com/problems/all-oone-data-structure https://leetcode.com/problems/search-in-rotated-sorted-array
134 977 432 Squares of a Sorted Array All O`one Data Structure 72.1% 32.4% Easy Hard 0.24816891888115009 0.25091823176225275 https://leetcode.com/problems/squares-of-a-sorted-array https://leetcode.com/problems/all-oone-data-structure
135 13 977 Roman to Integer Squares of a Sorted Array 55.7% 72.1% Easy Easy 0.24545840052279075 0.24816891888115009 https://leetcode.com/problems/roman-to-integer https://leetcode.com/problems/squares-of-a-sorted-array
136 490 13 The Maze Roman to Integer 51.4% 55.7% Medium Easy 0.24202227192369596 0.24545840052279075 https://leetcode.com/problems/the-maze https://leetcode.com/problems/roman-to-integer
137 138 490 Copy List with Random Pointer The Maze 36.4% 51.4% Medium Medium 0.2330001096609468 0.24202227192369596 https://leetcode.com/problems/copy-list-with-random-pointer https://leetcode.com/problems/the-maze
138 652 138 Find Duplicate Subtrees Copy List with Random Pointer 50.2% 36.4% Medium Medium 0.23015822831359434 0.2330001096609468 https://leetcode.com/problems/find-duplicate-subtrees https://leetcode.com/problems/copy-list-with-random-pointer
139 59 652 Spiral Matrix II Find Duplicate Subtrees 53.9% 50.2% Medium Medium 0.22687712200146865 0.23015822831359434 https://leetcode.com/problems/spiral-matrix-ii https://leetcode.com/problems/find-duplicate-subtrees
140 420 59 Strong Password Checker Spiral Matrix II 14.0% 53.9% Hard Medium 0.22471711576164025 0.22687712200146865 https://leetcode.com/problems/strong-password-checker https://leetcode.com/problems/spiral-matrix-ii
141 445 420 Add Two Numbers II Strong Password Checker 54.5% 14.0% Medium Hard 0.22413561488763817 0.22471711576164025 https://leetcode.com/problems/add-two-numbers-ii https://leetcode.com/problems/strong-password-checker
142 46 445 Permutations Add Two Numbers II 63.5% 54.5% Medium Medium 0.21322871153926434 0.22413561488763817 https://leetcode.com/problems/permutations https://leetcode.com/problems/add-two-numbers-ii
143 41 46 First Missing Positive Permutations 32.0% 63.5% Hard Medium 0.20827230480570424 0.21322871153926434 https://leetcode.com/problems/first-missing-positive https://leetcode.com/problems/permutations
144 43 41 Multiply Strings First Missing Positive 33.9% 32.0% Medium Hard 0.20674898228580507 0.20827230480570424 https://leetcode.com/problems/multiply-strings https://leetcode.com/problems/first-missing-positive
145 934 43 Shortest Bridge Multiply Strings 48.2% 33.9% Medium Medium 0.20666322275821203 0.20674898228580507 https://leetcode.com/problems/shortest-bridge https://leetcode.com/problems/multiply-strings
146 450 934 Delete Node in a BST Shortest Bridge 43.1% 48.2% Medium Medium 0.2063522880195106 0.20666322275821203 https://leetcode.com/problems/delete-node-in-a-bst https://leetcode.com/problems/shortest-bridge
147 733 450 Flood Fill Delete Node in a BST 55.3% 43.1% Easy Medium 0.20573399741869788 0.2063522880195106 https://leetcode.com/problems/flood-fill https://leetcode.com/problems/delete-node-in-a-bst
148 954 733 Array of Doubled Pairs Flood Fill 35.6% 55.3% Medium Easy 0.20294084399669032 0.20573399741869788 https://leetcode.com/problems/array-of-doubled-pairs https://leetcode.com/problems/flood-fill
149 140 954 Word Break II Array of Doubled Pairs 32.6% 35.6% Hard Medium 0.19849973124449666 0.20294084399669032 https://leetcode.com/problems/word-break-ii https://leetcode.com/problems/array-of-doubled-pairs
150 31 140 Next Permutation Word Break II 32.6% 32.6% Medium Hard 0.19579797845713617 0.19849973124449666 https://leetcode.com/problems/next-permutation https://leetcode.com/problems/word-break-ii
151 767 31 Reorganize String Next Permutation 48.7% 32.6% Medium Medium 0.1940772649823193 0.19579797845713617 https://leetcode.com/problems/reorganize-string https://leetcode.com/problems/next-permutation
152 283 767 Move Zeroes Reorganize String 57.8% 48.7% Easy Medium 0.18960312780683863 0.1940772649823193 https://leetcode.com/problems/move-zeroes https://leetcode.com/problems/reorganize-string
153 694 283 Number of Distinct Islands Move Zeroes 56.0% 57.8% Medium Easy 0.18924199963852842 0.18960312780683863 https://leetcode.com/problems/number-of-distinct-islands https://leetcode.com/problems/move-zeroes
154 186 694 Reverse Words in a String II Number of Distinct Islands 43.3% 56.0% Medium Medium 0.1887940712995721 0.18924199963852842 https://leetcode.com/problems/reverse-words-in-a-string-ii https://leetcode.com/problems/number-of-distinct-islands
155 449 186 Serialize and Deserialize BST Reverse Words in a String II 52.0% 43.3% Medium Medium 0.1860058460684763 0.1887940712995721 https://leetcode.com/problems/serialize-and-deserialize-bst https://leetcode.com/problems/reverse-words-in-a-string-ii
156 438 449 Find All Anagrams in a String Serialize and Deserialize BST 43.3% 52.0% Medium Medium 0.18564799141482685 0.1860058460684763 https://leetcode.com/problems/find-all-anagrams-in-a-string https://leetcode.com/problems/serialize-and-deserialize-bst
157 518 438 Coin Change 2 Find All Anagrams in a String 50.2% 43.3% Medium Medium 0.18373876827436816 0.18564799141482685 https://leetcode.com/problems/coin-change-2 https://leetcode.com/problems/find-all-anagrams-in-a-string
158 486 518 Predict the Winner Coin Change 2 47.9% 50.2% Medium Medium 0.17647417648741714 0.18373876827436816 https://leetcode.com/problems/predict-the-winner https://leetcode.com/problems/coin-change-2
159 135 486 Candy Predict the Winner 31.6% 47.9% Hard Medium 0.17296269248039503 0.17647417648741714 https://leetcode.com/problems/candy https://leetcode.com/problems/predict-the-winner
160 24 135 Swap Nodes in Pairs Candy 50.4% 31.6% Medium Hard 0.1729418749687828 0.17296269248039503 https://leetcode.com/problems/swap-nodes-in-pairs https://leetcode.com/problems/candy
161 1278 24 Palindrome Partitioning III Swap Nodes in Pairs 59.9% 50.4% Hard Medium 0.17284281283941086 0.1729418749687828 https://leetcode.com/problems/palindrome-partitioning-iii https://leetcode.com/problems/swap-nodes-in-pairs
162 567 1278 Permutation in String Palindrome Partitioning III 44.4% 59.9% Medium Hard 0.16931057302189864 0.17284281283941086 https://leetcode.com/problems/permutation-in-string https://leetcode.com/problems/palindrome-partitioning-iii
163 198 567 House Robber Permutation in String 42.0% 44.4% Easy Medium 0.16929591377679865 0.16931057302189864 https://leetcode.com/problems/house-robber https://leetcode.com/problems/permutation-in-string
164 69 198 Sqrt(x) House Robber 33.9% 42.0% Easy Easy 0.1690194941008683 0.16929591377679865 https://leetcode.com/problems/sqrtx https://leetcode.com/problems/house-robber
165 75 69 Sort Colors Sqrt(x) 47.3% 33.9% Medium Easy 0.1656671218888174 0.1690194941008683 https://leetcode.com/problems/sort-colors https://leetcode.com/problems/sqrtx
166 249 75 Group Shifted Strings Sort Colors 55.1% 47.3% Medium Medium 0.16122347914767343 0.1656671218888174 https://leetcode.com/problems/group-shifted-strings https://leetcode.com/problems/sort-colors
167 211 249 Add and Search Word - Data structure design Group Shifted Strings 38.1% 55.1% Medium Medium 0.15519944762134272 0.16122347914767343 https://leetcode.com/problems/add-and-search-word-data-structure-design https://leetcode.com/problems/group-shifted-strings
168 124 211 Binary Tree Maximum Path Sum Add and Search Word - Data structure design 34.3% 38.1% Hard Medium 0.15512094811323265 0.15519944762134272 https://leetcode.com/problems/binary-tree-maximum-path-sum https://leetcode.com/problems/add-and-search-word-data-structure-design
169 979 124 Distribute Coins in Binary Tree Binary Tree Maximum Path Sum 68.9% 34.3% Medium Hard 0.15348688956060175 0.15512094811323265 https://leetcode.com/problems/distribute-coins-in-binary-tree https://leetcode.com/problems/binary-tree-maximum-path-sum
170 722 979 Remove Comments Distribute Coins in Binary Tree 34.6% 68.9% Medium Medium 0.1529693447814272 0.15348688956060175 https://leetcode.com/problems/remove-comments https://leetcode.com/problems/distribute-coins-in-binary-tree
171 959 722 Regions Cut By Slashes Remove Comments 66.2% 34.6% Medium Medium 0.1507867227152846 0.1529693447814272 https://leetcode.com/problems/regions-cut-by-slashes https://leetcode.com/problems/remove-comments
172 706 959 Design HashMap Regions Cut By Slashes 61.3% 66.2% Easy Medium 0.1476880076475794 0.1507867227152846 https://leetcode.com/problems/design-hashmap https://leetcode.com/problems/regions-cut-by-slashes
173 695 706 Max Area of Island Design HashMap 62.7% 61.3% Medium Easy 0.1453113999428855 0.1476880076475794 https://leetcode.com/problems/max-area-of-island https://leetcode.com/problems/design-hashmap
174 78 695 Subsets Max Area of Island 62.0% 62.7% Medium Medium 0.14504470601712524 0.1453113999428855 https://leetcode.com/problems/subsets https://leetcode.com/problems/max-area-of-island
175 210 78 Course Schedule II Subsets 40.7% 62.0% Medium Medium 0.1438838393073597 0.14504470601712524 https://leetcode.com/problems/course-schedule-ii https://leetcode.com/problems/subsets
176 317 210 Shortest Distance from All Buildings Course Schedule II 41.4% 40.7% Hard Medium 0.14387423888417297 0.1438838393073597 https://leetcode.com/problems/shortest-distance-from-all-buildings https://leetcode.com/problems/course-schedule-ii
177 40 317 Combination Sum II Shortest Distance from All Buildings 48.2% 41.4% Medium Hard 0.14322916392828683 0.14387423888417297 https://leetcode.com/problems/combination-sum-ii https://leetcode.com/problems/shortest-distance-from-all-buildings
178 395 40 Longest Substring with At Least K Repeating Characters Combination Sum II 41.4% 48.2% Medium Medium 0.14261022668001652 0.14322916392828683 https://leetcode.com/problems/longest-substring-with-at-least-k-repeating-characters https://leetcode.com/problems/combination-sum-ii
179 769 395 Max Chunks To Make Sorted Longest Substring with At Least K Repeating Characters 54.8% 41.4% Medium Medium 0.14019808398271194 0.14261022668001652 https://leetcode.com/problems/max-chunks-to-make-sorted https://leetcode.com/problems/longest-substring-with-at-least-k-repeating-characters
180 242 769 Valid Anagram Max Chunks To Make Sorted 56.9% 54.8% Easy Medium 0.13963976683590715 0.14019808398271194 https://leetcode.com/problems/valid-anagram https://leetcode.com/problems/max-chunks-to-make-sorted
181 855 242 Exam Room Valid Anagram 43.1% 56.9% Medium Easy 0.13804422079620546 0.13963976683590715 https://leetcode.com/problems/exam-room https://leetcode.com/problems/valid-anagram
182 340 855 Longest Substring with At Most K Distinct Characters Exam Room 44.1% 43.1% Hard Medium 0.13652366061094043 0.13804422079620546 https://leetcode.com/problems/longest-substring-with-at-most-k-distinct-characters https://leetcode.com/problems/exam-room
183 322 340 Coin Change Longest Substring with At Most K Distinct Characters 35.5% 44.1% Medium Hard 0.13572462473832947 0.13652366061094043 https://leetcode.com/problems/coin-change https://leetcode.com/problems/longest-substring-with-at-most-k-distinct-characters
184 255 322 Verify Preorder Sequence in Binary Search Tree Coin Change 45.7% 35.5% Medium Medium 0.1348842676899421 0.13572462473832947 https://leetcode.com/problems/verify-preorder-sequence-in-binary-search-tree https://leetcode.com/problems/coin-change
185 981 255 Time Based Key-Value Store Verify Preorder Sequence in Binary Search Tree 53.1% 45.7% Medium Medium 0.1316303182973487 0.1348842676899421 https://leetcode.com/problems/time-based-key-value-store https://leetcode.com/problems/verify-preorder-sequence-in-binary-search-tree
186 118 981 Pascal's Triangle Time Based Key-Value Store 52.5% 53.1% Easy Medium 0.12852395589356347 0.1316303182973487 https://leetcode.com/problems/pascals-triangle https://leetcode.com/problems/time-based-key-value-store
187 968 118 Binary Tree Cameras Pascal's Triangle 37.5% 52.5% Hard Easy 0.12586422089000404 0.12852395589356347 https://leetcode.com/problems/binary-tree-cameras https://leetcode.com/problems/pascals-triangle
188 235 968 Lowest Common Ancestor of a Binary Search Tree Binary Tree Cameras 49.9% 37.5% Easy Hard 0.12399764165657076 0.12586422089000404 https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-search-tree https://leetcode.com/problems/binary-tree-cameras
189 621 235 Task Scheduler Lowest Common Ancestor of a Binary Search Tree 50.1% 49.9% Medium Easy 0.12387972474581618 0.12399764165657076 https://leetcode.com/problems/task-scheduler https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-search-tree
190 206 621 Reverse Linked List Task Scheduler 62.5% 50.1% Easy Medium 0.12378418901663191 0.12387972474581618 https://leetcode.com/problems/reverse-linked-list https://leetcode.com/problems/task-scheduler
191 430 206 Flatten a Multilevel Doubly Linked List Reverse Linked List 55.1% 62.5% Medium Easy 0.12213316890521433 0.12378418901663191 https://leetcode.com/problems/flatten-a-multilevel-doubly-linked-list https://leetcode.com/problems/reverse-linked-list
192 230 430 Kth Smallest Element in a BST Flatten a Multilevel Doubly Linked List 60.2% 55.1% Medium Medium 0.1210793254708764 0.12213316890521433 https://leetcode.com/problems/kth-smallest-element-in-a-bst https://leetcode.com/problems/flatten-a-multilevel-doubly-linked-list
193 228 230 Summary Ranges Kth Smallest Element in a BST 39.5% 60.2% Medium Medium 0.1207191114343526 0.1210793254708764 https://leetcode.com/problems/summary-ranges https://leetcode.com/problems/kth-smallest-element-in-a-bst
194 647 228 Palindromic Substrings Summary Ranges 60.6% 39.5% Medium Medium 0.1205091763778271 0.1207191114343526 https://leetcode.com/problems/palindromic-substrings https://leetcode.com/problems/summary-ranges
195 460 647 LFU Cache Palindromic Substrings 34.2% 60.6% Hard Medium 0.11848160362052347 0.1205091763778271 https://leetcode.com/problems/lfu-cache https://leetcode.com/problems/palindromic-substrings
196 6 460 ZigZag Conversion LFU Cache 36.3% 34.2% Medium Hard 0.11677183708486526 0.11848160362052347 https://leetcode.com/problems/zigzag-conversion https://leetcode.com/problems/lfu-cache
197 72 6 Edit Distance ZigZag Conversion 44.8% 36.3% Hard Medium 0.11629970881467097 0.11677183708486526 https://leetcode.com/problems/edit-distance https://leetcode.com/problems/zigzag-conversion
198 70 72 Climbing Stairs Edit Distance 47.8% 44.8% Easy Hard 0.11536054266386848 0.11629970881467097 https://leetcode.com/problems/climbing-stairs https://leetcode.com/problems/edit-distance
199 16 70 3Sum Closest Climbing Stairs 46.0% 47.8% Medium Easy 0.11410404900826158 0.11536054266386848 https://leetcode.com/problems/3sum-closest https://leetcode.com/problems/climbing-stairs
200 229 16 Majority Element II 3Sum Closest 35.6% 46.0% Medium Medium 0.11355198202632807 0.11410404900826158 https://leetcode.com/problems/majority-element-ii https://leetcode.com/problems/3sum-closest
201 155 229 Min Stack Majority Element II 44.5% 35.6% Easy Medium 0.11244000234885869 0.11355198202632807 https://leetcode.com/problems/min-stack https://leetcode.com/problems/majority-element-ii
202 889 155 Construct Binary Tree from Preorder and Postorder Traversal Min Stack 66.2% 44.5% Medium Easy 0.10711776476069794 0.11244000234885869 https://leetcode.com/problems/construct-binary-tree-from-preorder-and-postorder-traversal https://leetcode.com/problems/min-stack
203 337 889 House Robber III Construct Binary Tree from Preorder and Postorder Traversal 50.6% 66.2% Medium Medium 0.10284435451079782 0.10711776476069794 https://leetcode.com/problems/house-robber-iii https://leetcode.com/problems/construct-binary-tree-from-preorder-and-postorder-traversal
204 391 337 Perfect Rectangle House Robber III 30.5% 50.6% Hard Medium 0.10109611687136877 0.10284435451079782 https://leetcode.com/problems/perfect-rectangle https://leetcode.com/problems/house-robber-iii
205 101 391 Symmetric Tree Perfect Rectangle 46.8% 30.5% Easy Hard 0.09821350130564939 0.10109611687136877 https://leetcode.com/problems/symmetric-tree https://leetcode.com/problems/perfect-rectangle
206 837 101 New 21 Game Symmetric Tree 34.6% 46.8% Medium Easy 0.09646026618756222 0.09821350130564939 https://leetcode.com/problems/new-21-game https://leetcode.com/problems/symmetric-tree
207 752 837 Open the Lock New 21 Game 51.8% 34.6% Medium Medium 0.09491410658218381 0.09646026618756222 https://leetcode.com/problems/open-the-lock https://leetcode.com/problems/new-21-game
208 827 752 Making A Large Island Open the Lock 45.7% 51.8% Hard Medium 0.09287412500644375 0.09491410658218381 https://leetcode.com/problems/making-a-large-island https://leetcode.com/problems/open-the-lock
209 826 827 Most Profit Assigning Work Making A Large Island 38.5% 45.7% Medium Hard 0.09287412500644375 0.09287412500644375 https://leetcode.com/problems/most-profit-assigning-work https://leetcode.com/problems/making-a-large-island
210 236 826 Lowest Common Ancestor of a Binary Tree Most Profit Assigning Work 45.7% 38.5% Medium Medium 0.0913825929084002 0.09287412500644375 https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-tree https://leetcode.com/problems/most-profit-assigning-work
211 266 236 Palindrome Permutation Lowest Common Ancestor of a Binary Tree 61.9% 45.7% Easy Medium 0.091248671465145 0.0913825929084002 https://leetcode.com/problems/palindrome-permutation https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-tree
212 62 266 Unique Paths Palindrome Permutation 54.1% 61.9% Medium Easy 0.08965185882136445 0.091248671465145 https://leetcode.com/problems/unique-paths https://leetcode.com/problems/palindrome-permutation
213 918 62 Maximum Sum Circular Subarray Unique Paths 33.7% 54.1% Medium Medium 0.08881573371064024 0.08965185882136445 https://leetcode.com/problems/maximum-sum-circular-subarray https://leetcode.com/problems/unique-paths
214 692 918 Top K Frequent Words Maximum Sum Circular Subarray 51.8% 33.7% Medium Medium 0.08839354721658145 0.08881573371064024 https://leetcode.com/problems/top-k-frequent-words https://leetcode.com/problems/maximum-sum-circular-subarray
215 7 692 Reverse Integer Top K Frequent Words 25.8% 51.8% Easy Medium 0.08735674450872549 0.08839354721658145 https://leetcode.com/problems/reverse-integer https://leetcode.com/problems/top-k-frequent-words
216 150 7 Evaluate Reverse Polish Notation Reverse Integer 36.3% 25.8% Medium Easy 0.08523043261863501 0.08735674450872549 https://leetcode.com/problems/evaluate-reverse-polish-notation https://leetcode.com/problems/reverse-integer
217 564 150 Find the Closest Palindrome Evaluate Reverse Polish Notation 19.7% 36.3% Hard Medium 0.0840831172105414 0.08523043261863501 https://leetcode.com/problems/find-the-closest-palindrome https://leetcode.com/problems/evaluate-reverse-polish-notation
218 909 564 Snakes and Ladders Find the Closest Palindrome 38.4% 19.7% Medium Hard 0.08392620769993404 0.0840831172105414 https://leetcode.com/problems/snakes-and-ladders https://leetcode.com/problems/find-the-closest-palindrome
219 646 909 Maximum Length of Pair Chain Snakes and Ladders 51.9% 38.4% Medium Medium 0.08112554481236843 0.08392620769993404 https://leetcode.com/problems/maximum-length-of-pair-chain https://leetcode.com/problems/snakes-and-ladders
220 376 646 Wiggle Subsequence Maximum Length of Pair Chain 39.6% 51.9% Medium Medium 0.08068891125014274 0.08112554481236843 https://leetcode.com/problems/wiggle-subsequence https://leetcode.com/problems/maximum-length-of-pair-chain
221 122 376 Best Time to Buy and Sell Stock II Wiggle Subsequence 57.0% 39.6% Easy Medium 0.08066286273217169 0.08068891125014274 https://leetcode.com/problems/best-time-to-buy-and-sell-stock-ii https://leetcode.com/problems/wiggle-subsequence
222 347 122 Top K Frequent Elements Best Time to Buy and Sell Stock II 61.2% 57.0% Medium Easy 0.08031715021385247 0.08066286273217169 https://leetcode.com/problems/top-k-frequent-elements https://leetcode.com/problems/best-time-to-buy-and-sell-stock-ii
223 55 347 Jump Game Top K Frequent Elements 34.6% 61.2% Medium Medium 0.07748307858552587 0.08031715021385247 https://leetcode.com/problems/jump-game https://leetcode.com/problems/top-k-frequent-elements
224 215 55 Kth Largest Element in an Array Jump Game 55.4% 34.6% Medium Medium 0.07620046088541414 0.07748307858552587 https://leetcode.com/problems/kth-largest-element-in-an-array https://leetcode.com/problems/jump-game
225 468 215 Validate IP Address Kth Largest Element in an Array 24.1% 55.4% Medium Medium 0.07598590697792203 0.07620046088541414 https://leetcode.com/problems/validate-ip-address https://leetcode.com/problems/kth-largest-element-in-an-array
226 416 468 Partition Equal Subset Sum Validate IP Address 43.7% 24.1% Medium Medium 0.07558685936624726 0.07598590697792203 https://leetcode.com/problems/partition-equal-subset-sum https://leetcode.com/problems/validate-ip-address
227 8 416 String to Integer (atoi) Partition Equal Subset Sum 15.4% 43.7% Medium Medium 0.07412832776627384 0.07558685936624726 https://leetcode.com/problems/string-to-integer-atoi https://leetcode.com/problems/partition-equal-subset-sum
228 437 8 Path Sum III String to Integer (atoi) 47.2% 15.4% Medium Medium 0.07349765782290693 0.07412832776627384 https://leetcode.com/problems/path-sum-iii https://leetcode.com/problems/string-to-integer-atoi
229 153 437 Find Minimum in Rotated Sorted Array Path Sum III 45.1% 47.2% Medium Medium 0.07343579359779528 0.07349765782290693 https://leetcode.com/problems/find-minimum-in-rotated-sorted-array https://leetcode.com/problems/path-sum-iii
230 64 153 Minimum Path Sum Find Minimum in Rotated Sorted Array 54.5% 45.1% Medium Medium 0.07259220458870491 0.07343579359779528 https://leetcode.com/problems/minimum-path-sum https://leetcode.com/problems/find-minimum-in-rotated-sorted-array
231 378 64 Kth Smallest Element in a Sorted Matrix Minimum Path Sum 54.3% 54.5% Medium Medium 0.07059096970081927 0.07259220458870491 https://leetcode.com/problems/kth-smallest-element-in-a-sorted-matrix https://leetcode.com/problems/minimum-path-sum
232 973 378 K Closest Points to Origin Kth Smallest Element in a Sorted Matrix 63.8% 54.3% Medium Medium 0.06852953312583007 0.07059096970081927 https://leetcode.com/problems/k-closest-points-to-origin https://leetcode.com/problems/kth-smallest-element-in-a-sorted-matrix
233 1011 973 Capacity To Ship Packages Within D Days K Closest Points to Origin 58.1% 63.8% Medium Medium 0.06649420875558125 0.06852953312583007 https://leetcode.com/problems/capacity-to-ship-packages-within-d-days https://leetcode.com/problems/k-closest-points-to-origin
234 277 1011 Find the Celebrity Capacity To Ship Packages Within D Days 41.8% 58.1% Medium Medium 0.06562120535847293 0.06649420875558125 https://leetcode.com/problems/find-the-celebrity https://leetcode.com/problems/capacity-to-ship-packages-within-d-days
235 298 277 Binary Tree Longest Consecutive Sequence Find the Celebrity 47.1% 41.8% Medium Medium 0.065169635074581 0.06562120535847293 https://leetcode.com/problems/binary-tree-longest-consecutive-sequence https://leetcode.com/problems/find-the-celebrity
236 334 298 Increasing Triplet Subsequence Binary Tree Longest Consecutive Sequence 40.0% 47.1% Medium Medium 0.06274107505168265 0.065169635074581 https://leetcode.com/problems/increasing-triplet-subsequence https://leetcode.com/problems/binary-tree-longest-consecutive-sequence
237 300 334 Longest Increasing Subsequence Increasing Triplet Subsequence 42.6% 40.0% Medium Medium 0.06265630749555627 0.06274107505168265 https://leetcode.com/problems/longest-increasing-subsequence https://leetcode.com/problems/increasing-triplet-subsequence
238 189 300 Rotate Array Longest Increasing Subsequence 34.7% 42.6% Easy Medium 0.06260600694223208 0.06265630749555627 https://leetcode.com/problems/rotate-array https://leetcode.com/problems/longest-increasing-subsequence
239 1171 189 Remove Zero Sum Consecutive Nodes from Linked List Rotate Array 41.4% 34.7% Medium Easy 0.06025919151819684 0.06260600694223208 https://leetcode.com/problems/remove-zero-sum-consecutive-nodes-from-linked-list https://leetcode.com/problems/rotate-array
240 88 1171 Merge Sorted Array Remove Zero Sum Consecutive Nodes from Linked List 39.4% 41.4% Easy Medium 0.059258174101133876 0.06025919151819684 https://leetcode.com/problems/merge-sorted-array https://leetcode.com/problems/remove-zero-sum-consecutive-nodes-from-linked-list
241 47 88 Permutations II Merge Sorted Array 46.4% 39.4% Medium Easy 0.05897935516253239 0.059258174101133876 https://leetcode.com/problems/permutations-ii https://leetcode.com/problems/merge-sorted-array
242 102 47 Binary Tree Level Order Traversal Permutations II 54.6% 46.4% Medium Medium 0.056692473087026664 0.05897935516253239 https://leetcode.com/problems/binary-tree-level-order-traversal https://leetcode.com/problems/permutations-ii
243 1038 102 Binary Search Tree to Greater Sum Tree Binary Tree Level Order Traversal 80.8% 54.6% Medium Medium 0.05637058926920947 0.056692473087026664 https://leetcode.com/problems/binary-search-tree-to-greater-sum-tree https://leetcode.com/problems/binary-tree-level-order-traversal
244 162 1038 Find Peak Element Binary Search Tree to Greater Sum Tree 43.3% 80.8% Medium Medium 0.05575061760504993 0.05637058926920947 https://leetcode.com/problems/find-peak-element https://leetcode.com/problems/binary-search-tree-to-greater-sum-tree
245 983 162 Minimum Cost For Tickets Find Peak Element 60.5% 43.3% Medium Medium 0.05469163590186561 0.05575061760504993 https://leetcode.com/problems/minimum-cost-for-tickets https://leetcode.com/problems/find-peak-element
246 1229 983 Meeting Scheduler Minimum Cost For Tickets 52.7% 60.5% Medium Medium 0.053560323833736816 0.05469163590186561 https://leetcode.com/problems/meeting-scheduler https://leetcode.com/problems/minimum-cost-for-tickets
247 829 1229 Consecutive Numbers Sum Meeting Scheduler 37.5% 52.7% Hard Medium 0.05341723749698583 0.053560323833736816 https://leetcode.com/problems/consecutive-numbers-sum https://leetcode.com/problems/meeting-scheduler
248 601 829 Human Traffic of Stadium Consecutive Numbers Sum 41.7% 37.5% Hard Hard 0.05223119222544569 0.05341723749698583 https://leetcode.com/problems/human-traffic-of-stadium https://leetcode.com/problems/consecutive-numbers-sum
249 791 601 Custom Sort String Human Traffic of Stadium 65.7% 41.7% Medium Hard 0.05164658886216683 0.05223119222544569 https://leetcode.com/problems/custom-sort-string https://leetcode.com/problems/human-traffic-of-stadium
250 560 791 Subarray Sum Equals K Custom Sort String 43.9% 65.7% Medium Medium 0.0512021569656579 0.05164658886216683 https://leetcode.com/problems/subarray-sum-equals-k https://leetcode.com/problems/custom-sort-string
251 648 560 Replace Words Subarray Sum Equals K 56.6% 43.9% Medium Medium 0.051162052179868224 0.0512021569656579 https://leetcode.com/problems/replace-words https://leetcode.com/problems/subarray-sum-equals-k
252 740 648 Delete and Earn Replace Words 48.6% 56.6% Medium Medium 0.05109668266230467 0.051162052179868224 https://leetcode.com/problems/delete-and-earn https://leetcode.com/problems/replace-words
253 344 740 Reverse String Delete and Earn 68.5% 48.6% Easy Medium 0.051072212148151434 0.05109668266230467 https://leetcode.com/problems/reverse-string https://leetcode.com/problems/delete-and-earn
254 681 344 Next Closest Time Reverse String 45.0% 68.5% Medium Easy 0.05045206096038863 0.051072212148151434 https://leetcode.com/problems/next-closest-time https://leetcode.com/problems/reverse-string
255 199 681 Binary Tree Right Side View Next Closest Time 54.1% 45.0% Medium Medium 0.05001737032794516 0.05045206096038863 https://leetcode.com/problems/binary-tree-right-side-view https://leetcode.com/problems/next-closest-time
256 398 199 Random Pick Index Binary Tree Right Side View 56.0% 54.1% Medium Medium 0.04900272661044917 0.05001737032794516 https://leetcode.com/problems/random-pick-index https://leetcode.com/problems/binary-tree-right-side-view
257 547 398 Friend Circles Random Pick Index 58.6% 56.0% Medium Medium 0.04804286211474039 0.04900272661044917 https://leetcode.com/problems/friend-circles https://leetcode.com/problems/random-pick-index
258 1019 547 Next Greater Node In Linked List Friend Circles 57.4% 58.6% Medium Medium 0.04795804429616222 0.04804286211474039 https://leetcode.com/problems/next-greater-node-in-linked-list https://leetcode.com/problems/friend-circles
259 1385 1019 Find the Distance Value Between Two Arrays Next Greater Node In Linked List 67.0% 57.4% Easy Medium 0.04668292188270772 0.04795804429616222 https://leetcode.com/problems/find-the-distance-value-between-two-arrays https://leetcode.com/problems/next-greater-node-in-linked-list
260 670 1385 Maximum Swap Find the Distance Value Between Two Arrays 43.6% 67.0% Medium Easy 0.04630456804168632 0.04668292188270772 https://leetcode.com/problems/maximum-swap https://leetcode.com/problems/find-the-distance-value-between-two-arrays
261 98 670 Validate Binary Search Tree Maximum Swap 27.8% 43.6% Medium Medium 0.046091107200267 0.04630456804168632 https://leetcode.com/problems/validate-binary-search-tree https://leetcode.com/problems/maximum-swap
262 48 98 Rotate Image Validate Binary Search Tree 56.7% 27.8% Medium Medium 0.04495138786226632 0.046091107200267 https://leetcode.com/problems/rotate-image https://leetcode.com/problems/validate-binary-search-tree
263 232 48 Implement Queue using Stacks Rotate Image 49.6% 56.7% Easy Medium 0.04423053722733957 0.04495138786226632 https://leetcode.com/problems/implement-queue-using-stacks https://leetcode.com/problems/rotate-image
264 338 232 Counting Bits Implement Queue using Stacks 69.5% 49.6% Medium Easy 0.0428445715346785 0.04423053722733957 https://leetcode.com/problems/counting-bits https://leetcode.com/problems/implement-queue-using-stacks
265 611 338 Valid Triangle Number Counting Bits 48.4% 69.5% Medium Medium 0.04255961441879593 0.0428445715346785 https://leetcode.com/problems/valid-triangle-number https://leetcode.com/problems/counting-bits
266 114 611 Flatten Binary Tree to Linked List Valid Triangle Number 49.3% 48.4% Medium Medium 0.04234332805480797 0.04255961441879593 https://leetcode.com/problems/flatten-binary-tree-to-linked-list https://leetcode.com/problems/valid-triangle-number
267 739 114 Daily Temperatures Flatten Binary Tree to Linked List 63.3% 49.3% Medium Medium 0.03954060923825168 0.04234332805480797 https://leetcode.com/problems/daily-temperatures https://leetcode.com/problems/flatten-binary-tree-to-linked-list
268 66 739 Plus One Daily Temperatures 43.0% 63.3% Easy Medium 0.039245846990968294 0.03954060923825168 https://leetcode.com/problems/plus-one https://leetcode.com/problems/daily-temperatures
269 992 66 Subarrays with K Different Integers Plus One 48.6% 43.0% Hard Easy 0.03700699810869683 0.039245846990968294 https://leetcode.com/problems/subarrays-with-k-different-integers https://leetcode.com/problems/plus-one
270 729 992 My Calendar I Subarrays with K Different Integers 51.8% 48.6% Medium Hard 0.036433902246102004 0.03700699810869683 https://leetcode.com/problems/my-calendar-i https://leetcode.com/problems/subarrays-with-k-different-integers
271 125 729 Valid Palindrome My Calendar I 36.7% 51.8% Easy Medium 0.035266657982323354 0.036433902246102004 https://leetcode.com/problems/valid-palindrome https://leetcode.com/problems/my-calendar-i
272 152 125 Maximum Product Subarray Valid Palindrome 31.7% 36.7% Medium Easy 0.034438665054543384 0.035266657982323354 https://leetcode.com/problems/maximum-product-subarray https://leetcode.com/problems/valid-palindrome
273 177 152 Nth Highest Salary Maximum Product Subarray 31.4% 31.7% Medium Medium 0.032054026290083464 0.034438665054543384 https://leetcode.com/problems/nth-highest-salary https://leetcode.com/problems/maximum-product-subarray
274 1146 177 Snapshot Array Nth Highest Salary 37.0% 31.4% Medium Medium 0.0317991816929387 0.032054026290083464 https://leetcode.com/problems/snapshot-array https://leetcode.com/problems/nth-highest-salary
275 1091 1146 Shortest Path in Binary Matrix Snapshot Array 38.2% 37.0% Medium Medium 0.03164821095078173 0.0317991816929387 https://leetcode.com/problems/shortest-path-in-binary-matrix https://leetcode.com/problems/snapshot-array
276 339 1091 Nested List Weight Sum Shortest Path in Binary Matrix 74.0% 38.2% Easy Medium 0.02960986116720276 0.03164821095078173 https://leetcode.com/problems/nested-list-weight-sum https://leetcode.com/problems/shortest-path-in-binary-matrix
277 671 339 Second Minimum Node In a Binary Tree Nested List Weight Sum 42.7% 74.0% Easy Easy 0.02958795718549609 0.02960986116720276 https://leetcode.com/problems/second-minimum-node-in-a-binary-tree https://leetcode.com/problems/nested-list-weight-sum
278 264 671 Ugly Number II Second Minimum Node In a Binary Tree 42.0% 42.7% Medium Easy 0.025923110599373623 0.02958795718549609 https://leetcode.com/problems/ugly-number-ii https://leetcode.com/problems/second-minimum-node-in-a-binary-tree
279 104 264 Maximum Depth of Binary Tree Ugly Number II 66.0% 42.0% Easy Medium 0.024815169119723996 0.025923110599373623 https://leetcode.com/problems/maximum-depth-of-binary-tree https://leetcode.com/problems/ugly-number-ii
280 426 104 Convert Binary Search Tree to Sorted Doubly Linked List Maximum Depth of Binary Tree 59.1% 66.0% Medium Easy 0.024214258120594613 0.024815169119723996 https://leetcode.com/problems/convert-binary-search-tree-to-sorted-doubly-linked-list https://leetcode.com/problems/maximum-depth-of-binary-tree
281 662 426 Maximum Width of Binary Tree Convert Binary Search Tree to Sorted Doubly Linked List 41.0% 59.1% Medium Medium 0.024116924478312346 0.024214258120594613 https://leetcode.com/problems/maximum-width-of-binary-tree https://leetcode.com/problems/convert-binary-search-tree-to-sorted-doubly-linked-list
282 844 662 Backspace String Compare Maximum Width of Binary Tree 46.4% 41.0% Easy Medium 0.0235551325028849 0.024116924478312346 https://leetcode.com/problems/backspace-string-compare https://leetcode.com/problems/maximum-width-of-binary-tree
283 50 844 Pow(x;n) Backspace String Compare 30.3% 46.4% Medium Easy 0.022194620516948222 0.0235551325028849 https://leetcode.com/problems/powx-n https://leetcode.com/problems/backspace-string-compare
284 278 50 First Bad Version Pow(x;n) 35.7% 30.3% Easy Medium 0.021394050366625766 0.022194620516948222 https://leetcode.com/problems/first-bad-version https://leetcode.com/problems/powx-n
285 45 278 Jump Game II First Bad Version 30.6% 35.7% Hard Easy 0.021353124470568974 0.021394050366625766 https://leetcode.com/problems/jump-game-ii https://leetcode.com/problems/first-bad-version
286 350 45 Intersection of Two Arrays II Jump Game II 51.4% 30.6% Easy Hard 0.020680587107206983 0.021353124470568974 https://leetcode.com/problems/intersection-of-two-arrays-ii https://leetcode.com/problems/jump-game-ii
287 26 350 Remove Duplicates from Sorted Array Intersection of Two Arrays II 45.1% 51.4% Easy Easy 0.017426260234777304 0.020680587107206983 https://leetcode.com/problems/remove-duplicates-from-sorted-array https://leetcode.com/problems/intersection-of-two-arrays-ii
288 299 26 Bulls and Cows Remove Duplicates from Sorted Array 42.4% 45.1% Easy Easy 0.016227536621756702 0.017426260234777304 https://leetcode.com/problems/bulls-and-cows https://leetcode.com/problems/remove-duplicates-from-sorted-array
289 516 299 Longest Palindromic Subsequence Bulls and Cows 53.2% 42.4% Medium Easy 0.014931221774984842 0.016227536621756702 https://leetcode.com/problems/longest-palindromic-subsequence https://leetcode.com/problems/bulls-and-cows
290 202 516 Happy Number Longest Palindromic Subsequence 50.4% 53.2% Easy Medium 0.014045174703047602 0.014931221774984842 https://leetcode.com/problems/happy-number https://leetcode.com/problems/longest-palindromic-subsequence
291 581 202 Shortest Unsorted Continuous Subarray Happy Number 31.1% 50.4% Easy Easy 0.013342426083839913 0.014045174703047602 https://leetcode.com/problems/shortest-unsorted-continuous-subarray https://leetcode.com/problems/happy-number
292 154 581 Find Minimum in Rotated Sorted Array II Shortest Unsorted Continuous Subarray 41.6% 31.1% Hard Easy 0.013222109274363887 0.013342426083839913 https://leetcode.com/problems/find-minimum-in-rotated-sorted-array-ii https://leetcode.com/problems/shortest-unsorted-continuous-subarray
293 852 154 Peak Index in a Mountain Array Find Minimum in Rotated Sorted Array II 71.6% 41.6% Easy Hard 0.012618463959211509 0.013222109274363887 https://leetcode.com/problems/peak-index-in-a-mountain-array https://leetcode.com/problems/find-minimum-in-rotated-sorted-array-ii
294 941 852 Valid Mountain Array Peak Index in a Mountain Array 33.2% 71.6% Easy Easy 0.011139073683009305 0.012618463959211509 https://leetcode.com/problems/valid-mountain-array https://leetcode.com/problems/peak-index-in-a-mountain-array
295 94 941 Binary Tree Inorder Traversal Valid Mountain Array 63.3% 33.2% Medium Easy 0.007533307577636257 0.011139073683009305 https://leetcode.com/problems/binary-tree-inorder-traversal https://leetcode.com/problems/valid-mountain-array
296 145 94 Binary Tree Postorder Traversal Binary Tree Inorder Traversal 55.0% 63.3% Hard Medium 0.00751459482064135 0.007533307577636257 https://leetcode.com/problems/binary-tree-postorder-traversal https://leetcode.com/problems/binary-tree-inorder-traversal
297 349 145 Intersection of Two Arrays Binary Tree Postorder Traversal 62.5% 55.0% Easy Hard 0.00725034896230682 0.00751459482064135 https://leetcode.com/problems/intersection-of-two-arrays https://leetcode.com/problems/binary-tree-postorder-traversal
298 203 349 Remove Linked List Elements Intersection of Two Arrays 38.6% 62.5% Easy Easy 0.006479067005887776 0.00725034896230682 https://leetcode.com/problems/remove-linked-list-elements https://leetcode.com/problems/intersection-of-two-arrays
299 690 203 Employee Importance Remove Linked List Elements 57.3% 38.6% Easy Easy 0 0.006479067005887776 https://leetcode.com/problems/employee-importance https://leetcode.com/problems/remove-linked-list-elements
300 171 690 Excel Sheet Column Number Employee Importance 55.9% 57.3% Easy Easy 0 0 https://leetcode.com/problems/excel-sheet-column-number https://leetcode.com/problems/employee-importance
301 373 171 Find K Pairs with Smallest Sums Excel Sheet Column Number 36.7% 55.9% Medium Easy 0 0 https://leetcode.com/problems/find-k-pairs-with-smallest-sums https://leetcode.com/problems/excel-sheet-column-number
302 735 373 Asteroid Collision Find K Pairs with Smallest Sums 41.0% 36.7% Medium Medium 0 0 https://leetcode.com/problems/asteroid-collision https://leetcode.com/problems/find-k-pairs-with-smallest-sums
303 710 735 Random Pick with Blacklist Asteroid Collision 32.5% 41.0% Hard Medium 0 0 https://leetcode.com/problems/random-pick-with-blacklist https://leetcode.com/problems/asteroid-collision
304 1064 710 Fixed Point Random Pick with Blacklist 66.5% 32.5% Easy Hard 0 0 https://leetcode.com/problems/fixed-point https://leetcode.com/problems/random-pick-with-blacklist
305 1039 1064 Minimum Score Triangulation of Polygon Fixed Point 49.1% 66.5% Medium Easy 0 0 https://leetcode.com/problems/minimum-score-triangulation-of-polygon https://leetcode.com/problems/fixed-point
306 1334 1039 Find the City With the Smallest Number of Neighbors at a Threshold Distance Minimum Score Triangulation of Polygon 44.5% 49.1% Medium Medium 0 0 https://leetcode.com/problems/find-the-city-with-the-smallest-number-of-neighbors-at-a-threshold-distance https://leetcode.com/problems/minimum-score-triangulation-of-polygon
307 1400 1334 Construct K Palindrome Strings Find the City With the Smallest Number of Neighbors at a Threshold Distance 60.4% 44.5% Medium Medium 0 0 https://leetcode.com/problems/construct-k-palindrome-strings https://leetcode.com/problems/find-the-city-with-the-smallest-number-of-neighbors-at-a-threshold-distance
308 1462 1400 Course Schedule IV Construct K Palindrome Strings 41.9% 60.4% Medium Medium 0 0 https://leetcode.com/problems/course-schedule-iv https://leetcode.com/problems/construct-k-palindrome-strings
309 1462 Course Schedule IV 41.9% Medium 0 https://leetcode.com/problems/course-schedule-iv