Files
LeetCode-Questions-CompanyWise/google_2year.csv
Krishna Kumar Dey fb5f78b55e 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)

```
2023-04-01 11:07:49 +05:30

82 KiB

1IDTitleAcceptanceDifficultyFrequencyLeetcode Question Link
2929Unique Email Addresses67.4%Easy4.044864181469562https://leetcode.com/problems/unique-email-addresses
3904Fruit Into Baskets42.5%Medium3.944467952217217https://leetcode.com/problems/fruit-into-baskets
41007Minimum Domino Rotations For Equal Row50.0%Medium3.8440717229648724https://leetcode.com/problems/minimum-domino-rotations-for-equal-row
5843Guess the Word46.1%Hard3.743675493712528https://leetcode.com/problems/guess-the-word
6482License Key Formatting43.1%Easy3.6432792644601832https://leetcode.com/problems/license-key-formatting
7975Odd Even Jump42.2%Hard3.5428830352078386https://leetcode.com/problems/odd-even-jump
8681Next Closest Time45.0%Medium3.442486805955494https://leetcode.com/problems/next-closest-time
91Two Sum45.6%Easy3.3919412023306292https://leetcode.com/problems/two-sum
10399Evaluate Division51.6%Medium3.376278307417863https://leetcode.com/problems/evaluate-division
11410Split Array Largest Sum44.5%Hard3.328761998002674https://leetcode.com/problems/split-array-largest-sum
12159Longest Substring with At Most Two Distinct Characters49.4%Medium3.2283657687503293https://leetcode.com/problems/longest-substring-with-at-most-two-distinct-characters
13222Count Complete Tree Nodes46.8%Medium3.1625743234775263https://leetcode.com/problems/count-complete-tree-nodes
14947Most Stones Removed with Same Row or Column55.2%Medium3.119562576778479https://leetcode.com/problems/most-stones-removed-with-same-row-or-column
15857Minimum Cost to Hire K Workers49.6%Hard3.062264814727787https://leetcode.com/problems/minimum-cost-to-hire-k-workers
16844Backspace String Compare46.4%Easy3.0249115810191864https://leetcode.com/problems/backspace-string-compare
17809Expressive Words47.0%Medium2.960302926485219https://leetcode.com/problems/expressive-words
18642Design Search Autocomplete System44.7%Hard2.8599066972328746https://leetcode.com/problems/design-search-autocomplete-system
19683K Empty Slots35.6%Hard2.797569124141848https://leetcode.com/problems/k-empty-slots
20248Strobogrammatic Number III39.6%Hard2.7272391635558617https://leetcode.com/problems/strobogrammatic-number-iii
211057Campus Bikes57.7%Medium2.7150993767802127https://leetcode.com/problems/campus-bikes
22489Robot Room Cleaner69.7%Hard2.630171759357849https://leetcode.com/problems/robot-room-cleaner
23299Bulls and Cows42.4%Easy2.5375177850737174https://leetcode.com/problems/bulls-and-cows
24833Find And Replace in String50.4%Medium2.5236194176142264https://leetcode.com/problems/find-and-replace-in-string
25753Cracking the Safe50.5%Hard2.4956223313311052https://leetcode.com/problems/cracking-the-safe
26939Minimum Area Rectangle51.8%Medium2.4798105966919675https://leetcode.com/problems/minimum-area-rectangle
271153String Transforms Into Another String35.8%Hard2.4182636672384614https://leetcode.com/problems/string-transforms-into-another-string
28736Parse Lisp Expression47.5%Hard2.401785275487999https://leetcode.com/problems/parse-lisp-expression
29727Minimum Window Subsequence41.8%Hard2.3522468452462983https://leetcode.com/problems/minimum-window-subsequence
301055Shortest Way to Form String56.9%Medium2.3448096513311962https://leetcode.com/problems/shortest-way-to-form-string
31359Logger Rate Limiter70.8%Easy2.3184153762193795https://leetcode.com/problems/logger-rate-limiter
321088Confusing Number II44.0%Hard2.292381877047574https://leetcode.com/problems/confusing-number-ii
33308Range Sum Query 2D - Mutable35.6%Hard2.256291556154219https://leetcode.com/problems/range-sum-query-2d-mutable
34777Swap Adjacent in LR String34.8%Medium2.1854101194026425https://leetcode.com/problems/swap-adjacent-in-lr-string
35659Split Array into Consecutive Subsequences43.7%Medium2.1845884916182685https://leetcode.com/problems/split-array-into-consecutive-subsequences
36803Bricks Falling When Hit30.8%Hard2.1118142976405325https://leetcode.com/problems/bricks-falling-when-hit
371110Delete Nodes And Return Forest67.0%Medium2.0191253634913346https://leetcode.com/problems/delete-nodes-and-return-forest
38731My Calendar II49.1%Medium2.015129499337331https://leetcode.com/problems/my-calendar-ii
39465Optimal Account Balancing46.9%Hard1.9963058803388951https://leetcode.com/problems/optimal-account-balancing
40837New 21 Game34.6%Medium1.9906157370153674https://leetcode.com/problems/new-21-game
41158Read N Characters Given Read4 II - Call multiple times33.8%Hard1.9766021206834103https://leetcode.com/problems/read-n-characters-given-read4-ii-call-multiple-times
42253Meeting Rooms II45.7%Medium1.9742755414801227https://leetcode.com/problems/meeting-rooms-ii
43846Hand of Straights54.2%Medium1.9589928212074286https://leetcode.com/problems/hand-of-straights
4467924 Game46.4%Hard1.9311876270598622https://leetcode.com/problems/24-game
45913Cat and Mouse31.3%Hard1.9135193229265484https://leetcode.com/problems/cat-and-mouse
46900RLE Iterator53.5%Medium1.9095686029554597https://leetcode.com/problems/rle-iterator
47527Word Abbreviation54.3%Hard1.8632251701364466https://leetcode.com/problems/word-abbreviation
48363Max Sum of Rectangle No Larger Than K37.3%Hard1.8588863307783803https://leetcode.com/problems/max-sum-of-rectangle-no-larger-than-k
49562Longest Line of Consecutive One in Matrix45.9%Medium1.858560438645791https://leetcode.com/problems/longest-line-of-consecutive-one-in-matrix
50552Student Attendance Record II36.7%Hard1.8556835666961384https://leetcode.com/problems/student-attendance-record-ii
511096Brace Expansion II62.2%Hard1.8345455624419171https://leetcode.com/problems/brace-expansion-ii
52951Flip Equivalent Binary Trees65.8%Medium1.7341493331895725https://leetcode.com/problems/flip-equivalent-binary-trees
531170Compare Strings by Frequency of the Smallest Character58.7%Easy1.7114332746638885https://leetcode.com/problems/compare-strings-by-frequency-of-the-smallest-character
54315Count of Smaller Numbers After Self41.5%Hard1.6443821681064463https://leetcode.com/problems/count-of-smaller-numbers-after-self
55818Race Car39.0%Hard1.6214460620624969https://leetcode.com/problems/race-car
56946Validate Stack Sequences61.9%Medium1.5994559783727524https://leetcode.com/problems/validate-stack-sequences
57774Minimize Max Distance to Gas Station46.9%Hard1.5441973905656994https://leetcode.com/problems/minimize-max-distance-to-gas-station
58329Longest Increasing Path in a Matrix43.4%Hard1.541769145865253https://leetcode.com/problems/longest-increasing-path-in-a-matrix
59271Encode and Decode Strings31.5%Medium1.5383105684185163https://leetcode.com/problems/encode-and-decode-strings
60205Isomorphic Strings39.8%Easy1.516418285828295https://leetcode.com/problems/isomorphic-strings
61247Strobogrammatic Number II47.6%Medium1.5085335516081693https://leetcode.com/problems/strobogrammatic-number-ii
62734Sentence Similarity42.1%Easy1.4835233134988377https://leetcode.com/problems/sentence-similarity
63394Decode String50.0%Medium1.4539606731923782https://leetcode.com/problems/decode-string
64528Random Pick with Weight43.9%Medium1.4210764862519991https://leetcode.com/problems/random-pick-with-weight
651087Brace Expansion62.7%Medium1.41943804993247https://leetcode.com/problems/brace-expansion
661231Divide Chocolate52.4%Hard1.4098248585300848https://leetcode.com/problems/divide-chocolate
6768Text Justification27.7%Hard1.4086426277269546https://leetcode.com/problems/text-justification
68750Number Of Corner Rectangles66.4%Medium1.3924482266942688https://leetcode.com/problems/number-of-corner-rectangles
69752Open the Lock51.8%Medium1.3892458195731074https://leetcode.com/problems/open-the-lock
70943Find the Shortest Superstring42.9%Hard1.3440770366239985https://leetcode.com/problems/find-the-shortest-superstring
71444Sequence Reconstruction22.2%Medium1.3436115712374912https://leetcode.com/problems/sequence-reconstruction
72850Rectangle Area II47.5%Hard1.3400889592991392https://leetcode.com/problems/rectangle-area-ii
73849Maximize Distance to Closest Person42.6%Easy1.3345334179948198https://leetcode.com/problems/maximize-distance-to-closest-person
7457Insert Interval33.5%Hard1.328796037498436https://leetcode.com/problems/insert-interval
75729My Calendar I51.8%Medium1.303154716935821https://leetcode.com/problems/my-calendar-i
7656Merge Intervals39.3%Medium1.2894784387567062https://leetcode.com/problems/merge-intervals
77911Online Election50.4%Medium1.2692378056988731https://leetcode.com/problems/online-election
78524Longest Word in Dictionary through Deleting48.4%Medium1.2543525412350942https://leetcode.com/problems/longest-word-in-dictionary-through-deleting
79835Image Overlap58.5%Medium1.252762968495368https://leetcode.com/problems/image-overlap
801066Campus Bikes II54.2%Medium1.2505627475857657https://leetcode.com/problems/campus-bikes-ii
811438Longest Continuous Subarray With Absolute Diff Less Than or Equal to Limit42.1%Medium1.2179008580058674https://leetcode.com/problems/longest-continuous-subarray-with-absolute-diff-less-than-or-equal-to-limit
82418Sentence Screen Fitting32.6%Medium1.2148142963271744https://leetcode.com/problems/sentence-screen-fitting
83853Car Fleet42.3%Medium1.2083112059245342https://leetcode.com/problems/car-fleet
84200Number of Islands46.8%Medium1.184437251765828https://leetcode.com/problems/number-of-islands
85963Minimum Area Rectangle II50.9%Medium1.1685097282854882https://leetcode.com/problems/minimum-area-rectangle-ii
86346Moving Average from Data Stream70.9%Easy1.1495787322601372https://leetcode.com/problems/moving-average-from-data-stream
87475Heaters33.1%Easy1.1492067361246072https://leetcode.com/problems/heaters
88723Candy Crush69.2%Medium1.1435248453489324https://leetcode.com/problems/candy-crush
89737Sentence Similarity II45.8%Medium1.1402849850686776https://leetcode.com/problems/sentence-similarity-ii
90246Strobogrammatic Number45.0%Easy1.1370161426523429https://leetcode.com/problems/strobogrammatic-number
91221Maximal Square37.7%Medium1.1278221649789075https://leetcode.com/problems/maximal-square
921032Stream of Characters48.3%Hard1.124617145803438https://leetcode.com/problems/stream-of-characters
93471Encode String with Shortest Length47.1%Hard1.107015699464489https://leetcode.com/problems/encode-string-with-shortest-length
94163Missing Ranges24.3%Medium1.10122325620883https://leetcode.com/problems/missing-ranges
951011Capacity To Ship Packages Within D Days58.1%Medium1.083732588790613https://leetcode.com/problems/capacity-to-ship-packages-within-d-days
96288Unique Word Abbreviation21.9%Medium1.0747067678145552https://leetcode.com/problems/unique-word-abbreviation
97767Reorganize String48.7%Medium1.0742208355439504https://leetcode.com/problems/reorganize-string
98801Minimum Swaps To Make Sequences Increasing38.9%Medium1.0707583186918646https://leetcode.com/problems/minimum-swaps-to-make-sequences-increasing
99685Redundant Connection II32.4%Hard1.044404125057112https://leetcode.com/problems/redundant-connection-ii
1002Add Two Numbers33.9%Medium1.0439659025998724https://leetcode.com/problems/add-two-numbers
101981Time Based Key-Value Store53.1%Medium1.0379055963296016https://leetcode.com/problems/time-based-key-value-store
102380Insert Delete GetRandom O(1)47.5%Medium1.029143465930734https://leetcode.com/problems/insert-delete-getrandom-o1
10385Maximal Rectangle37.7%Hard1.0207112085182868https://leetcode.com/problems/maximal-rectangle
104686Repeated String Match32.3%Easy0.999704860609635https://leetcode.com/problems/repeated-string-match
10576Minimum Window Substring34.6%Hard0.9939287329653157https://leetcode.com/problems/minimum-window-substring
106743Network Delay Time45.0%Medium0.9917901232250947https://leetcode.com/problems/network-delay-time
10742Trapping Rain Water48.9%Hard0.9775537833292556https://leetcode.com/problems/trapping-rain-water
108317Shortest Distance from All Buildings41.4%Hard0.9686666122010286https://leetcode.com/problems/shortest-distance-from-all-buildings
109772Basic Calculator III41.3%Hard0.9684986405542475https://leetcode.com/problems/basic-calculator-iii
110340Longest Substring with At Most K Distinct Characters44.1%Hard0.9652163331671095https://leetcode.com/problems/longest-substring-with-at-most-k-distinct-characters
111770Basic Calculator IV48.1%Hard0.9582549309731873https://leetcode.com/problems/basic-calculator-iv
112715Range Module38.5%Hard0.9555114450274365https://leetcode.com/problems/range-module
1131146Snapshot Array37.0%Medium0.949028440149358https://leetcode.com/problems/snapshot-array
114428Serialize and Deserialize N-ary Tree59.4%Hard0.9486721413771949https://leetcode.com/problems/serialize-and-deserialize-n-ary-tree
115354Russian Doll Envelopes35.6%Hard0.9435843026305373https://leetcode.com/problems/russian-doll-envelopes
1164Median of Two Sorted Arrays29.6%Hard0.9412215951339467https://leetcode.com/problems/median-of-two-sorted-arrays
117353Design Snake Game34.2%Medium0.9400316341694208https://leetcode.com/problems/design-snake-game
118792Number of Matching Subsequences47.4%Medium0.9334889301713758https://leetcode.com/problems/number-of-matching-subsequences
1191074Number of Submatrices That Sum to Target60.4%Hard0.9140742551632632https://leetcode.com/problems/number-of-submatrices-that-sum-to-target
120722Remove Comments34.6%Medium0.9113197191521346https://leetcode.com/problems/remove-comments
121135Candy31.6%Hard0.9084047340753654https://leetcode.com/problems/candy
1221048Longest String Chain54.7%Medium0.880668619073652https://leetcode.com/problems/longest-string-chain
123295Find Median from Data Stream44.3%Hard0.8806342806547954https://leetcode.com/problems/find-median-from-data-stream
124298Binary Tree Longest Consecutive Sequence47.1%Medium0.8602012652231115https://leetcode.com/problems/binary-tree-longest-consecutive-sequence
125920Number of Music Playlists46.5%Hard0.8472978603872036https://leetcode.com/problems/number-of-music-playlists
126855Exam Room43.1%Medium0.8468278251259058https://leetcode.com/problems/exam-room
127702Search in a Sorted Array of Unknown Size66.9%Medium0.8458894094501456https://leetcode.com/problems/search-in-a-sorted-array-of-unknown-size
128640Solve the Equation42.0%Medium0.8389208480491557https://leetcode.com/problems/solve-the-equation
129361Bomb Enemy46.0%Medium0.7976598792954321https://leetcode.com/problems/bomb-enemy
130845Longest Mountain in Array37.2%Medium0.7952825740015933https://leetcode.com/problems/longest-mountain-in-array
131457Circular Array Loop29.4%Medium0.7941569279715013https://leetcode.com/problems/circular-array-loop
132591Tag Validator34.3%Hard0.7812544480702122https://leetcode.com/problems/tag-validator
133127Word Ladder29.6%Medium0.7772182069685641https://leetcode.com/problems/word-ladder
1341423Maximum Points You Can Obtain from Cards42.6%Medium0.7734023603473162https://leetcode.com/problems/maximum-points-you-can-obtain-from-cards
1351240Tiling a Rectangle with the Fewest Squares50.1%Hard0.7707054149058199https://leetcode.com/problems/tiling-a-rectangle-with-the-fewest-squares
136375Guess Number Higher or Lower II40.3%Medium0.7555261887912736https://leetcode.com/problems/guess-number-higher-or-lower-ii
137146LRU Cache33.2%Medium0.7456357257684216https://leetcode.com/problems/lru-cache
138208Implement Trie (Prefix Tree)49.4%Medium0.7451662576960115https://leetcode.com/problems/implement-trie-prefix-tree
1391293Shortest Path in a Grid with Obstacles Elimination42.8%Hard0.7389567165912395https://leetcode.com/problems/shortest-path-in-a-grid-with-obstacles-elimination
1403Longest Substring Without Repeating Characters30.4%Medium0.7387388508438986https://leetcode.com/problems/longest-substring-without-repeating-characters
14134Find First and Last Position of Element in Sorted Array36.2%Medium0.7370250523671653https://leetcode.com/problems/find-first-and-last-position-of-element-in-sorted-array
142362Design Hit Counter63.7%Medium0.7353050433361996https://leetcode.com/problems/design-hit-counter
1431320Minimum Distance to Type a Word Using Two Fingers62.3%Hard0.7328875092094594https://leetcode.com/problems/minimum-distance-to-type-a-word-using-two-fingers
144914X of a Kind in a Deck of Cards35.1%Easy0.7282385003712154https://leetcode.com/problems/x-of-a-kind-in-a-deck-of-cards
145708Insert into a Sorted Circular Linked List31.6%Medium0.7268728152679815https://leetcode.com/problems/insert-into-a-sorted-circular-linked-list
146296Best Meeting Point57.5%Hard0.7267024804081622https://leetcode.com/problems/best-meeting-point
147815Bus Routes42.5%Hard0.7199671546205382https://leetcode.com/problems/bus-routes
148224Basic Calculator36.8%Hard0.712035465080151https://leetcode.com/problems/basic-calculator
149484Find Permutation60.5%Medium0.7102416139192455https://leetcode.com/problems/find-permutation
150710Random Pick with Blacklist32.5%Hard0.7095409903356217https://leetcode.com/problems/random-pick-with-blacklist
151889Construct Binary Tree from Preorder and Postorder Traversal66.2%Medium0.701902708662324https://leetcode.com/problems/construct-binary-tree-from-preorder-and-postorder-traversal
152788Rotated Digits57.1%Easy0.7007325519492019https://leetcode.com/problems/rotated-digits
153128Longest Consecutive Sequence45.1%Hard0.6943966837610759https://leetcode.com/problems/longest-consecutive-sequence
154360Sort Transformed Array48.8%Medium0.6852420010528321https://leetcode.com/problems/sort-transformed-array
155218The Skyline Problem34.6%Hard0.6570184564714399https://leetcode.com/problems/the-skyline-problem
156269Alien Dictionary33.3%Hard0.6552836497974878https://leetcode.com/problems/alien-dictionary
157459Repeated Substring Pattern42.2%Easy0.6491992489583386https://leetcode.com/problems/repeated-substring-pattern
15853Maximum Subarray46.5%Easy0.6479950376835847https://leetcode.com/problems/maximum-subarray
159660Remove 953.3%Hard0.6466271649250525https://leetcode.com/problems/remove-9
16072Edit Distance44.8%Hard0.6463874228863365https://leetcode.com/problems/edit-distance
161157Read N Characters Given Read434.2%Easy0.6437780586849429https://leetcode.com/problems/read-n-characters-given-read4
162568Maximum Vacation Days40.8%Hard0.633385446017691https://leetcode.com/problems/maximum-vacation-days
163370Range Addition62.8%Medium0.633385446017691https://leetcode.com/problems/range-addition
164337House Robber III50.6%Medium0.6147639847936538https://leetcode.com/problems/house-robber-iii
1651296Divide Array in Sets of K Consecutive Numbers53.8%Medium0.6080358611436607https://leetcode.com/problems/divide-array-in-sets-of-k-consecutive-numbers
1661145Binary Tree Coloring Game51.2%Medium0.6069098573282921https://leetcode.com/problems/binary-tree-coloring-game
167549Binary Tree Longest Consecutive Sequence II47.0%Medium0.6040389271467308https://leetcode.com/problems/binary-tree-longest-consecutive-sequence-ii
168497Random Point in Non-overlapping Rectangles37.8%Medium0.5900175637637866https://leetcode.com/problems/random-point-in-non-overlapping-rectangles
169799Champagne Tower35.8%Medium0.5900175637637866https://leetcode.com/problems/champagne-tower
170124Binary Tree Maximum Path Sum34.3%Hard0.5871084584239136https://leetcode.com/problems/binary-tree-maximum-path-sum
171593Valid Square43.1%Medium0.5866777099783799https://leetcode.com/problems/valid-square
17231Next Permutation32.6%Medium0.5847447612010301https://leetcode.com/problems/next-permutation
173284Peeking Iterator45.7%Medium0.5821538388838301https://leetcode.com/problems/peeking-iterator
174304Range Sum Query 2D - Immutable38.6%Medium0.5811486085086554https://leetcode.com/problems/range-sum-query-2d-immutable
175332Reconstruct Itinerary36.7%Medium0.5760996776571121https://leetcode.com/problems/reconstruct-itinerary
176871Minimum Number of Refueling Stops31.4%Hard0.5733459807473247https://leetcode.com/problems/minimum-number-of-refueling-stops
1771031Maximum Sum of Two Non-Overlapping Subarrays57.9%Medium0.5684880063705432https://leetcode.com/problems/maximum-sum-of-two-non-overlapping-subarrays
1781197Minimum Knight Moves36.1%Medium0.5616591289700842https://leetcode.com/problems/minimum-knight-moves
179560Subarray Sum Equals K43.9%Medium0.5450980726634445https://leetcode.com/problems/subarray-sum-equals-k
180280Wiggle Sort63.8%Medium0.5385318814797998https://leetcode.com/problems/wiggle-sort
181150Evaluate Reverse Polish Notation36.3%Medium0.5291618215545955https://leetcode.com/problems/evaluate-reverse-polish-notation
182684Redundant Connection57.4%Medium0.5260410870552643https://leetcode.com/problems/redundant-connection
18323Merge k Sorted Lists40.2%Hard0.5224095440640042https://leetcode.com/problems/merge-k-sorted-lists
184351Android Unlock Patterns48.4%Medium0.5138062519041285https://leetcode.com/problems/android-unlock-patterns
185817Linked List Components57.3%Medium0.5135616035848655https://leetcode.com/problems/linked-list-components
1861368Minimum Cost to Make at Least One Valid Path in a Grid54.3%Hard0.5118945709548958https://leetcode.com/problems/minimum-cost-to-make-at-least-one-valid-path-in-a-grid
187379Design Phone Directory46.8%Medium0.5108256237659907https://leetcode.com/problems/design-phone-directory
188505The Maze II47.7%Medium0.5100859787618564https://leetcode.com/problems/the-maze-ii
18943Multiply Strings33.9%Medium0.5090785772088112https://leetcode.com/problems/multiply-strings
1901168Optimize Water Distribution in a Village60.9%Hard0.5078801135362339https://leetcode.com/problems/optimize-water-distribution-in-a-village
191632Smallest Range Covering Elements from K Lists52.4%Hard0.5071491490366821https://leetcode.com/problems/smallest-range-covering-elements-from-k-lists
192894All Possible Full Binary Trees75.2%Medium0.5065094584465851https://leetcode.com/problems/all-possible-full-binary-trees
193403Frog Jump39.7%Hard0.504766595745896https://leetcode.com/problems/frog-jump
1941477Find Two Non-overlapping Sub-arrays Each With Target Sum30.0%Medium0.503366532914857https://leetcode.com/problems/find-two-non-overlapping-sub-arrays-each-with-target-sum
195239Sliding Window Maximum43.0%Hard0.4961265254306646https://leetcode.com/problems/sliding-window-maximum
19666Plus One43.0%Easy0.4949512290283664https://leetcode.com/problems/plus-one
19717Letter Combinations of a Phone Number46.8%Medium0.49180839437197https://leetcode.com/problems/letter-combinations-of-a-phone-number
1981060Missing Element in Sorted Array54.5%Medium0.4903986257668087https://leetcode.com/problems/missing-element-in-sorted-array
1991376Time Needed to Inform All Employees55.4%Medium0.4903935849487848https://leetcode.com/problems/time-needed-to-inform-all-employees
2001292Maximum Side Length of a Square with Sum Less than or Equal to Threshold48.6%Medium0.48550781578170077https://leetcode.com/problems/maximum-side-length-of-a-square-with-sum-less-than-or-equal-to-threshold
201688Knight Probability in Chessboard48.9%Medium0.48401013690358163https://leetcode.com/problems/knight-probability-in-chessboard
202852Peak Index in a Mountain Array71.6%Easy0.4837969513780714https://leetcode.com/problems/peak-index-in-a-mountain-array
203544Output Contest Matches75.3%Medium0.48285177172358457https://leetcode.com/problems/output-contest-matches
204166Fraction to Recurring Decimal21.6%Medium0.4798153870234304https://leetcode.com/problems/fraction-to-recurring-decimal
205139Word Break40.1%Medium0.4760457233294034https://leetcode.com/problems/word-break
206800Similar RGB Color61.4%Easy0.4737843520856416https://leetcode.com/problems/similar-rgb-color
207558Logical OR of Two Binary Grids Represented as Quad-Trees44.6%Medium0.46813621507094005https://leetcode.com/problems/logical-or-of-two-binary-grids-represented-as-quad-trees
208250Count Univalue Subtrees52.0%Medium0.4639892692240469https://leetcode.com/problems/count-univalue-subtrees
209336Palindrome Pairs33.7%Hard0.462623521948113https://leetcode.com/problems/palindrome-pairs
210302Smallest Rectangle Enclosing Black Pixels51.6%Hard0.462623521948113https://leetcode.com/problems/smallest-rectangle-enclosing-black-pixels
2111136Parallel Courses61.1%Hard0.462623521948113https://leetcode.com/problems/parallel-courses
212358Rearrange String k Distance Apart34.9%Hard0.4583075894825443https://leetcode.com/problems/rearrange-string-k-distance-apart
2131056Confusing Number48.6%Easy0.4566040695993518https://leetcode.com/problems/confusing-number
214766Toeplitz Matrix65.1%Easy0.4553348599434077https://leetcode.com/problems/toeplitz-matrix
215498Diagonal Traverse48.2%Medium0.4485486942444761https://leetcode.com/problems/diagonal-traverse
216635Design Log Storage System58.6%Medium0.4485486942444761https://leetcode.com/problems/design-log-storage-system
217840Magic Squares In Grid37.3%Easy0.44827607353997145https://leetcode.com/problems/magic-squares-in-grid
218325Maximum Size Subarray Sum Equals k46.8%Medium0.44674676708146827https://leetcode.com/problems/maximum-size-subarray-sum-equals-k
219305Number of Islands II40.1%Hard0.44293784687708265https://leetcode.com/problems/number-of-islands-ii
220935Knight Dialer45.2%Medium0.44264411134991843https://leetcode.com/problems/knight-dialer
221212Word Search II34.9%Hard0.44245091388616276https://leetcode.com/problems/word-search-ii
222480Sliding Window Median37.2%Hard0.43753536706649304https://leetcode.com/problems/sliding-window-median
223274H-Index36.1%Medium0.43662552392322673https://leetcode.com/problems/h-index
224551Student Attendance Record I46.0%Easy0.4327031070787976https://leetcode.com/problems/student-attendance-record-i
225741Cherry Pickup33.9%Hard0.42085002694764384https://leetcode.com/problems/cherry-pickup
22610Regular Expression Matching26.8%Hard0.4194313154229419https://leetcode.com/problems/regular-expression-matching
22741First Missing Positive32.0%Hard0.4193575471092812https://leetcode.com/problems/first-missing-positive
228862Shortest Subarray with Sum at Least K24.6%Hard0.41930247631269885https://leetcode.com/problems/shortest-subarray-with-sum-at-least-k
229430Flatten a Multilevel Doubly Linked List55.1%Medium0.41845914519471433https://leetcode.com/problems/flatten-a-multilevel-doubly-linked-list
230424Longest Repeating Character Replacement47.0%Medium0.4166001267983146https://leetcode.com/problems/longest-repeating-character-replacement
2311219Path with Maximum Gold65.1%Medium0.41486465511966875https://leetcode.com/problems/path-with-maximum-gold
232228Summary Ranges39.5%Medium0.41424759968851377https://leetcode.com/problems/summary-ranges
233187Repeated DNA Sequences38.9%Medium0.41316255819154635https://leetcode.com/problems/repeated-dna-sequences
234149Max Points on a Line16.9%Hard0.4117347211217598https://leetcode.com/problems/max-points-on-a-line
235652Find Duplicate Subtrees50.2%Medium0.4102843945441133https://leetcode.com/problems/find-duplicate-subtrees
236460LFU Cache34.2%Hard0.40755934971127916https://leetcode.com/problems/lfu-cache
237926Flip String to Monotone Increasing52.3%Medium0.40755934971127916https://leetcode.com/problems/flip-string-to-monotone-increasing
238310Minimum Height Trees32.3%Medium0.4064965677148267https://leetcode.com/problems/minimum-height-trees
239616Add Bold Tag in String43.1%Medium0.40639318242071826https://leetcode.com/problems/add-bold-tag-in-string
240836Rectangle Overlap48.6%Easy0.4032144677719462https://leetcode.com/problems/rectangle-overlap
241378Kth Smallest Element in a Sorted Matrix54.3%Medium0.4017523534768937https://leetcode.com/problems/kth-smallest-element-in-a-sorted-matrix
242776Split BST55.8%Medium0.4013413909243023https://leetcode.com/problems/split-bst
243334Increasing Triplet Subsequence40.0%Medium0.39856152739041106https://leetcode.com/problems/increasing-triplet-subsequence
244281Zigzag Iterator58.4%Medium0.39730179746900346https://leetcode.com/problems/zigzag-iterator
2451284Minimum Number of Flips to Convert Binary Matrix to Zero Matrix69.5%Hard0.39465419200394874https://leetcode.com/problems/minimum-number-of-flips-to-convert-binary-matrix-to-zero-matrix
246692Top K Frequent Words51.8%Medium0.39395691913283476https://leetcode.com/problems/top-k-frequent-words
2475Longest Palindromic Substring29.5%Medium0.391890975403642https://leetcode.com/problems/longest-palindromic-substring
248209Minimum Size Subarray Sum38.2%Medium0.3888513074455089https://leetcode.com/problems/minimum-size-subarray-sum
249742Closest Leaf in a Binary Tree43.6%Medium0.38378938262912404https://leetcode.com/problems/closest-leaf-in-a-binary-tree
250133Clone Graph34.8%Medium0.3781342143911931https://leetcode.com/problems/clone-graph
251285Inorder Successor in BST40.4%Medium0.3766325619357803https://leetcode.com/problems/inorder-successor-in-bst
252924Minimize Malware Spread42.0%Hard0.3764775712349121https://leetcode.com/problems/minimize-malware-spread
253198House Robber42.0%Easy0.3753696913265524https://leetcode.com/problems/house-robber
254307Range Sum Query - Mutable34.6%Medium0.3752202920857025https://leetcode.com/problems/range-sum-query-mutable
255152Maximum Product Subarray31.7%Medium0.37438681518796224https://leetcode.com/problems/maximum-product-subarray
256126Word Ladder II22.1%Hard0.37426780280681504https://leetcode.com/problems/word-ladder-ii
257369Plus One Linked List58.2%Medium0.37117603462953225https://leetcode.com/problems/plus-one-linked-list
258392Is Subsequence49.2%Easy0.36975947588613317https://leetcode.com/problems/is-subsequence
2591463Cherry Pickup II65.7%Hard0.36745148140812023https://leetcode.com/problems/cherry-pickup-ii
2601345Jump Game IV38.0%Hard0.363133899796418https://leetcode.com/problems/jump-game-iv
261773Sliding Puzzle59.3%Hard0.36028288531493147https://leetcode.com/problems/sliding-puzzle
262130Surrounded Regions28.1%Medium0.3600097324462661https://leetcode.com/problems/surrounded-regions
26391Decode Ways24.7%Medium0.3594248261115621https://leetcode.com/problems/decode-ways
264636Exclusive Time of Functions51.9%Medium0.3577895641544465https://leetcode.com/problems/exclusive-time-of-functions
265393UTF-8 Validation37.5%Medium0.35774963506849783https://leetcode.com/problems/utf-8-validation
2661223Dice Roll Simulation45.6%Medium0.35774963506849783https://leetcode.com/problems/dice-roll-simulation
26754Spiral Matrix34.1%Medium0.35306273805914157https://leetcode.com/problems/spiral-matrix
268724Find Pivot Index44.0%Easy0.35199174941488953https://leetcode.com/problems/find-pivot-index
269417Pacific Atlantic Water Flow41.1%Medium0.3513978868378886https://leetcode.com/problems/pacific-atlantic-water-flow
27097Interleaving String31.5%Hard0.3498263128325362https://leetcode.com/problems/interleaving-string
271769Max Chunks To Make Sorted54.8%Medium0.34928988184127135https://leetcode.com/problems/max-chunks-to-make-sorted
272173Binary Search Tree Iterator56.6%Medium0.3490586305394522https://leetcode.com/problems/binary-search-tree-iterator
273694Number of Distinct Islands56.0%Medium0.34240697214102744https://leetcode.com/problems/number-of-distinct-islands
27445Jump Game II30.6%Hard0.3402335677782111https://leetcode.com/problems/jump-game-ii
275153Sum26.8%Medium0.33733671072118065https://leetcode.com/problems/3sum
2761125Smallest Sufficient Team46.6%Hard0.33647223662121295https://leetcode.com/problems/smallest-sufficient-team
277297Serialize and Deserialize Binary Tree47.5%Hard0.33611705991707064https://leetcode.com/problems/serialize-and-deserialize-binary-tree
278165Compare Version Numbers27.4%Medium0.33499311472223486https://leetcode.com/problems/compare-version-numbers
279493Reverse Pairs25.2%Hard0.33395175639587793https://leetcode.com/problems/reverse-pairs
280960Delete Columns to Make Sorted III53.6%Hard0.33363937353690887https://leetcode.com/problems/delete-columns-to-make-sorted-iii
281320Generalized Abbreviation52.1%Medium0.3308542443169896https://leetcode.com/problems/generalized-abbreviation
282279Perfect Squares47.4%Medium0.3301693462910973https://leetcode.com/problems/perfect-squares
2831277Count Square Submatrices with All Ones73.3%Medium0.3296504505018546https://leetcode.com/problems/count-square-submatrices-with-all-ones
28420Valid Parentheses39.0%Easy0.32875969157833257https://leetcode.com/problems/valid-parentheses
285794Valid Tic-Tac-Toe State32.6%Medium0.32676342249425205https://leetcode.com/problems/valid-tic-tac-toe-state
286695Max Area of Island62.7%Medium0.32657434158263016https://leetcode.com/problems/max-area-of-island
2871406Stone Game III56.1%Hard0.3195226783074397https://leetcode.com/problems/stone-game-iii
28899Recover Binary Search Tree39.7%Hard0.31776277464787606https://leetcode.com/problems/recover-binary-search-tree
289968Binary Tree Cameras37.5%Hard0.31669089928362504https://leetcode.com/problems/binary-tree-cameras
290973K Closest Points to Origin63.8%Medium0.3152375313673053https://leetcode.com/problems/k-closest-points-to-origin
29163Unique Paths II34.6%Medium0.3146079174135661https://leetcode.com/problems/unique-paths-ii
292950Reveal Cards In Increasing Order74.6%Medium0.31034899001607286https://leetcode.com/problems/reveal-cards-in-increasing-order
29355Jump Game34.6%Medium0.31027241049283566https://leetcode.com/problems/jump-game
294433Minimum Genetic Mutation41.8%Medium0.3101549283038395https://leetcode.com/problems/minimum-genetic-mutation
295739Daily Temperatures63.3%Medium0.3096842688676747https://leetcode.com/problems/daily-temperatures
296406Queue Reconstruction by Height66.9%Medium0.30937873935243043https://leetcode.com/problems/queue-reconstruction-by-height
297162Find Peak Element43.3%Medium0.30626138920500007https://leetcode.com/problems/find-peak-element
298771Jewels and Stones86.4%Easy0.3061990240936433https://leetcode.com/problems/jewels-and-stones
299241Different Ways to Add Parentheses55.2%Medium0.304600460541843https://leetcode.com/problems/different-ways-to-add-parentheses
300366Find Leaves of Binary Tree70.6%Medium0.3038853152902441https://leetcode.com/problems/find-leaves-of-binary-tree
301802Find Eventual Safe States48.9%Medium0.302536844570577https://leetcode.com/problems/find-eventual-safe-states
302215Kth Largest Element in an Array55.4%Medium0.30223837022598843https://leetcode.com/problems/kth-largest-element-in-an-array
30364Minimum Path Sum54.5%Medium0.2969353790224153https://leetcode.com/problems/minimum-path-sum
304155Min Stack44.5%Easy0.29559427979545205https://leetcode.com/problems/min-stack
305249Group Shifted Strings55.1%Medium0.29482931807783247https://leetcode.com/problems/group-shifted-strings
306543Diameter of Binary Tree48.4%Easy0.293020900976851https://leetcode.com/problems/diameter-of-binary-tree
307941Valid Mountain Array33.2%Easy0.29180406103165496https://leetcode.com/problems/valid-mountain-array
308261Graph Valid Tree42.2%Medium0.29095999624845137https://leetcode.com/problems/graph-valid-tree
309982Triples with Bitwise AND Equal To Zero55.6%Hard0.2876820724517809https://leetcode.com/problems/triples-with-bitwise-and-equal-to-zero
31033Search in Rotated Sorted Array34.5%Medium0.28029477579728224https://leetcode.com/problems/search-in-rotated-sorted-array
311732My Calendar III60.0%Hard0.27958486221916157https://leetcode.com/problems/my-calendar-iii
3121326Minimum Number of Taps to Open to Water a Garden43.6%Hard0.2786048543006643https://leetcode.com/problems/minimum-number-of-taps-to-open-to-water-a-garden
3131036Escape a Large Maze35.4%Hard0.2776317365982795https://leetcode.com/problems/escape-a-large-maze
3142593Sum Smaller47.6%Medium0.27555297386795485https://leetcode.com/problems/3sum-smaller
315385Mini Parser33.8%Medium0.2752815592533259https://leetcode.com/problems/mini-parser
3161203Sort Items by Groups Respecting Dependencies47.6%Hard0.2711095169699942https://leetcode.com/problems/sort-items-by-groups-respecting-dependencies
317759Employee Free Time66.3%Hard0.27104379818721386https://leetcode.com/problems/employee-free-time
318721Accounts Merge48.8%Medium0.26624321689215175https://leetcode.com/problems/accounts-merge
3191140Stone Game II63.3%Medium0.2655409465745674https://leetcode.com/problems/stone-game-ii
320486Predict the Winner47.9%Medium0.26356981012283964https://leetcode.com/problems/predict-the-winner
321986Interval List Intersections67.3%Medium0.2631512468935911https://leetcode.com/problems/interval-list-intersections
322499The Maze III41.0%Hard0.2629424662760252https://leetcode.com/problems/the-maze-iii
3231265Print Immutable Linked List in Reverse94.6%Medium0.26207612154660964https://leetcode.com/problems/print-immutable-linked-list-in-reverse
324109Convert Sorted List to Binary Search Tree47.7%Medium0.25815963318545915https://leetcode.com/problems/convert-sorted-list-to-binary-search-tree
32537Sudoku Solver43.6%Hard0.2578291093020998https://leetcode.com/problems/sudoku-solver
326286Walls and Gates54.5%Medium0.2531417471996048https://leetcode.com/problems/walls-and-gates
327117Populating Next Right Pointers in Each Node II39.1%Medium0.251823398898841https://leetcode.com/problems/populating-next-right-pointers-in-each-node-ii
32838Count and Say44.6%Easy0.2491724445978008https://leetcode.com/problems/count-and-say
329531Lonely Pixel I59.0%Medium0.24817962947553462https://leetcode.com/problems/lonely-pixel-i
330168Excel Sheet Column Title31.1%Easy0.24683273722531368https://leetcode.com/problems/excel-sheet-column-title
331282Expression Add Operators35.5%Hard0.24611236110332652https://leetcode.com/problems/expression-add-operators
332365Water and Jug Problem30.6%Medium0.24587963229494916https://leetcode.com/problems/water-and-jug-problem
333316Remove Duplicate Letters35.8%Hard0.24545840052279075https://leetcode.com/problems/remove-duplicate-letters
334895Maximum Frequency Stack60.6%Hard0.24416008667586836https://leetcode.com/problems/maximum-frequency-stack
335490The Maze51.4%Medium0.24202227192369596https://leetcode.com/problems/the-maze
336276Paint Fence38.3%Easy0.24067603007585034https://leetcode.com/problems/paint-fence
3371157Online Majority Element In Subarray39.0%Hard0.24067603007585034https://leetcode.com/problems/online-majority-element-in-subarray
338287Find the Duplicate Number55.5%Medium0.23925903161664286https://leetcode.com/problems/find-the-duplicate-number
339266Palindrome Permutation61.9%Easy0.235382573048932https://leetcode.com/problems/palindrome-permutation
3401444Number of Ways of Cutting a Pizza52.8%Hard0.23499359123170555https://leetcode.com/problems/number-of-ways-of-cutting-a-pizza
341381Insert Delete GetRandom O(1) - Duplicates allowed34.1%Hard0.2349381278070467https://leetcode.com/problems/insert-delete-getrandom-o1-duplicates-allowed
342726Number of Atoms49.0%Hard0.23361485118150516https://leetcode.com/problems/number-of-atoms
343174Dungeon Game32.3%Hard0.2334626603948416https://leetcode.com/problems/dungeon-game
344138Copy List with Random Pointer36.4%Medium0.2330001096609468https://leetcode.com/problems/copy-list-with-random-pointer
345243Shortest Word Distance61.0%Easy0.23122733458279973https://leetcode.com/problems/shortest-word-distance
346137Single Number II52.4%Medium0.22735779159844866https://leetcode.com/problems/single-number-ii
347347Top K Frequent Elements61.2%Medium0.22415404267727618https://leetcode.com/problems/top-k-frequent-elements
348464Can I Win28.8%Medium0.2228314901476892https://leetcode.com/problems/can-i-win
349438Find All Anagrams in a String43.3%Medium0.22061076675829852https://leetcode.com/problems/find-all-anagrams-in-a-string
350273Integer to English Words27.1%Hard0.22003937644871932https://leetcode.com/problems/integer-to-english-words
3511000Minimum Cost to Merge Stones39.8%Hard0.21932154283963445https://leetcode.com/problems/minimum-cost-to-merge-stones
352267Palindrome Permutation II36.4%Medium0.21932154283963445https://leetcode.com/problems/palindrome-permutation-ii
353630Course Schedule III33.5%Hard0.2161812104912073https://leetcode.com/problems/course-schedule-iii
354373Find K Pairs with Smallest Sums36.7%Medium0.21472498084861397https://leetcode.com/problems/find-k-pairs-with-smallest-sums
355979Distribute Coins in Binary Tree68.9%Medium0.21421194491522716https://leetcode.com/problems/distribute-coins-in-binary-tree
356356Line Reflection31.8%Medium0.2124355370417375https://leetcode.com/problems/line-reflection
357987Vertical Order Traversal of a Binary Tree36.6%Medium0.21211445911057397https://leetcode.com/problems/vertical-order-traversal-of-a-binary-tree
3581352Product of the Last K Numbers43.6%Medium0.21187081254168746https://leetcode.com/problems/product-of-the-last-k-numbers
359121Best Time to Buy and Sell Stock50.5%Easy0.2105950466616926https://leetcode.com/problems/best-time-to-buy-and-sell-stock
360890Find and Replace Pattern73.4%Medium0.21019457697340665https://leetcode.com/problems/find-and-replace-pattern
361226Invert Binary Tree65.0%Easy0.20974292263446198https://leetcode.com/problems/invert-binary-tree
362312Burst Balloons51.8%Hard0.20921375502735295https://leetcode.com/problems/burst-balloons
36396Unique Binary Search Trees52.9%Medium0.20874135717581893https://leetcode.com/problems/unique-binary-search-trees
364236Lowest Common Ancestor of a Binary Tree45.7%Medium0.2082667520997665https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-tree
365604Design Compressed String Iterator37.5%Easy0.20585205420414873https://leetcode.com/problems/design-compressed-string-iterator
36621Merge Two Sorted Lists53.5%Easy0.20357073336081377https://leetcode.com/problems/merge-two-sorted-lists
367830Positions of Large Groups49.6%Easy0.2026290804209878https://leetcode.com/problems/positions-of-large-groups
368300Longest Increasing Subsequence42.6%Medium0.20131829397372072https://leetcode.com/problems/longest-increasing-subsequence
36944Wildcard Matching24.7%Hard0.19947835142380788https://leetcode.com/problems/wildcard-matching
370690Employee Importance57.3%Easy0.19768561861869782https://leetcode.com/problems/employee-importance
371510Inorder Successor in BST II58.0%Medium0.19714257713870645https://leetcode.com/problems/inorder-successor-in-bst-ii
3721062Longest Repeating Substring57.2%Medium0.19627990904466153https://leetcode.com/problems/longest-repeating-substring
373110Balanced Binary Tree43.5%Easy0.19336751814546227https://leetcode.com/problems/balanced-binary-tree
3741131Maximum of Absolute Value Expression53.0%Medium0.19331931100349597https://leetcode.com/problems/maximum-of-absolute-value-expression
3751047Remove All Adjacent Duplicates In String68.6%Easy0.19088376654809422https://leetcode.com/problems/remove-all-adjacent-duplicates-in-string
37684Largest Rectangle in Histogram35.2%Hard0.19003555314042572https://leetcode.com/problems/largest-rectangle-in-histogram
377864Shortest Path to Get All Keys40.1%Hard0.18924199963852842https://leetcode.com/problems/shortest-path-to-get-all-keys
378382Linked List Random Node52.1%Medium0.18812615225992188https://leetcode.com/problems/linked-list-random-node
3791312Minimum Insertion Steps to Make a String Palindrome58.1%Hard0.1874629562943733https://leetcode.com/problems/minimum-insertion-steps-to-make-a-string-palindrome
380188Best Time to Buy and Sell Stock IV28.0%Hard0.18564658063872644https://leetcode.com/problems/best-time-to-buy-and-sell-stock-iv
381105Construct Binary Tree from Preorder and Inorder Traversal48.8%Medium0.18497547993179358https://leetcode.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal
3821466Reorder Routes to Make All Paths Lead to the City Zero63.5%Medium0.18400364297693944https://leetcode.com/problems/reorder-routes-to-make-all-paths-lead-to-the-city-zero
3831091Shortest Path in Binary Matrix38.2%Medium0.18312509239363786https://leetcode.com/problems/shortest-path-in-binary-matrix
384398Random Pick Index56.0%Medium0.18306532774679926https://leetcode.com/problems/random-pick-index
385388Longest Absolute File Path41.8%Medium0.18128582392042256https://leetcode.com/problems/longest-absolute-file-path
386407Trapping Rain Water II42.4%Hard0.17945093763999478https://leetcode.com/problems/trapping-rain-water-ii
387210Course Schedule II40.7%Medium0.1748347156206382https://leetcode.com/problems/course-schedule-ii
388163Sum Closest46.0%Medium0.17299268844294072https://leetcode.com/problems/3sum-closest
389277Find the Celebrity41.8%Medium0.17260355263083088https://leetcode.com/problems/find-the-celebrity
390440K-th Smallest in Lexicographical Order29.1%Hard0.1720973230180951https://leetcode.com/problems/k-th-smallest-in-lexicographical-order
39114Longest Common Prefix35.4%Easy0.1714957284786035https://leetcode.com/problems/longest-common-prefix
39249Group Anagrams56.9%Medium0.17122319544154743https://leetcode.com/problems/group-anagrams
393609Find Duplicate File in System59.5%Medium0.16971838464062922https://leetcode.com/problems/find-duplicate-file-in-system
39422Generate Parentheses62.7%Medium0.16945504620070437https://leetcode.com/problems/generate-parentheses
395940Distinct Subsequences II41.5%Hard0.16917873135476025https://leetcode.com/problems/distinct-subsequences-ii
39636Valid Sudoku48.7%Medium0.16730621375459595https://leetcode.com/problems/valid-sudoku
397745Prefix and Suffix Search34.1%Hard0.1670540846631662https://leetcode.com/problems/prefix-and-suffix-search
398341Flatten Nested List Iterator52.9%Medium0.16689882926772934https://leetcode.com/problems/flatten-nested-list-iterator
399529Minesweeper59.1%Medium0.16635770580494058https://leetcode.com/problems/minesweeper
400805Split Array With Same Average26.4%Hard0.16635770580494058https://leetcode.com/problems/split-array-with-same-average
4011024Video Stitching49.2%Medium0.16582008790006805https://leetcode.com/problems/video-stitching
402171Excel Sheet Column Number55.9%Easy0.16562415114973555https://leetcode.com/problems/excel-sheet-column-number
403980Unique Paths III73.3%Hard0.1636294237818021https://leetcode.com/problems/unique-paths-iii
404765Couples Holding Hands54.3%Hard0.16310930637214985https://leetcode.com/problems/couples-holding-hands
405821Shortest Distance to a Character66.9%Easy0.16229864091884685https://leetcode.com/problems/shortest-distance-to-a-character
406540Single Element in a Sorted Array57.9%Medium0.16091725953613234https://leetcode.com/problems/single-element-in-a-sorted-array
407720Longest Word in Dictionary48.2%Easy0.16082720489992372https://leetcode.com/problems/longest-word-in-dictionary
4081155Number of Dice Rolls With Target Sum49.0%Medium0.15850324382610032https://leetcode.com/problems/number-of-dice-rolls-with-target-sum
409535Encode and Decode TinyURL79.9%Medium0.15827628732919474https://leetcode.com/problems/encode-and-decode-tinyurl
410322Coin Change35.5%Medium0.1575195768933631https://leetcode.com/problems/coin-change
4111165Single-Row Keyboard84.8%Easy0.15656906069153992https://leetcode.com/problems/single-row-keyboard
412206Reverse Linked List62.5%Easy0.1563653350583309https://leetcode.com/problems/reverse-linked-list
413335Self Crossing28.0%Hard0.15535044001916237https://leetcode.com/problems/self-crossing
414283Move Zeroes57.8%Easy0.15060470513075988https://leetcode.com/problems/move-zeroes
415432All O`one Data Structure32.4%Hard0.14878873668587292https://leetcode.com/problems/all-oone-data-structure
416386Lexicographical Numbers51.6%Medium0.14854271203296188https://leetcode.com/problems/lexicographical-numbers
41730Substring with Concatenation of All Words25.4%Hard0.1461170580676051https://leetcode.com/problems/substring-with-concatenation-of-all-words
418213House Robber II36.5%Medium0.14496687187568924https://leetcode.com/problems/house-robber-ii
4191102Path With Maximum Minimum Value49.2%Medium0.1444815825552332https://leetcode.com/problems/path-with-maximum-minimum-value
42069Sqrt(x)33.9%Easy0.14386781287167433https://leetcode.com/problems/sqrtx
42177Combinations54.7%Medium0.14385837161074141https://leetcode.com/problems/combinations
422132Palindrome Partitioning II30.2%Hard0.14376028396461576https://leetcode.com/problems/palindrome-partitioning-ii
423518Coin Change 250.2%Medium0.1436049711956188https://leetcode.com/problems/coin-change-2
424936Stamping The Sequence42.8%Hard0.14310084364067333https://leetcode.com/problems/stamping-the-sequence
425318Maximum Product of Word Lengths51.2%Medium0.14219494390710943https://leetcode.com/problems/maximum-product-of-word-lengths
42646Permutations63.5%Medium0.1415927177998517https://leetcode.com/problems/permutations
427207Course Schedule43.1%Medium0.1402270159030123https://leetcode.com/problems/course-schedule
428242Valid Anagram56.9%Easy0.13963976683590715https://leetcode.com/problems/valid-anagram
429116Populating Next Right Pointers in Each Node45.2%Medium0.13899325359219267https://leetcode.com/problems/populating-next-right-pointers-in-each-node
430887Super Egg Drop27.1%Hard0.13899176053364581https://leetcode.com/problems/super-egg-drop
431252Meeting Rooms54.6%Easy0.13757923623799603https://leetcode.com/problems/meeting-rooms
4321209Remove All Adjacent Duplicates in String II56.9%Medium0.13712574822724946https://leetcode.com/problems/remove-all-adjacent-duplicates-in-string-ii
433427Construct Quad Tree61.4%Medium0.13580154115906176https://leetcode.com/problems/construct-quad-tree
43465Valid Number15.3%Hard0.1349754361967563https://leetcode.com/problems/valid-number
435932Beautiful Array58.3%Medium0.13443026908953976https://leetcode.com/problems/beautiful-array
436668Kth Smallest Number in Multiplication Table45.6%Hard0.1330864537962701https://leetcode.com/problems/kth-smallest-number-in-multiplication-table
437195Tenth Line33.0%Easy0.1329388000145885https://leetcode.com/problems/tenth-line
438622Design Circular Queue43.8%Medium0.1327502812764459https://leetcode.com/problems/design-circular-queue
439238Product of Array Except Self60.1%Medium0.13258332101720208https://leetcode.com/problems/product-of-array-except-self
440420Strong Password Checker14.0%Hard0.13254665596198312https://leetcode.com/problems/strong-password-checker
441156Binary Tree Upside Down55.0%Medium0.13176927763112334https://leetcode.com/problems/binary-tree-upside-down
442333Largest BST Subtree35.8%Medium0.13138400282910845https://leetcode.com/problems/largest-bst-subtree
443730Count Different Palindromic Subsequences41.8%Hard0.13133600206108695https://leetcode.com/problems/count-different-palindromic-subsequences
44462Unique Paths54.1%Medium0.1311257686834479https://leetcode.com/problems/unique-paths
445416Partition Equal Subset Sum43.7%Medium0.13066469214244653https://leetcode.com/problems/partition-equal-subset-sum
446785Is Graph Bipartite?47.5%Medium0.12963964881290854https://leetcode.com/problems/is-graph-bipartite
447705Design HashSet64.3%Easy0.12963106265293975https://leetcode.com/problems/design-hashset
448278First Bad Version35.7%Easy0.1267677952000762https://leetcode.com/problems/first-bad-version
449925Long Pressed Name40.5%Easy0.12636677934777493https://leetcode.com/problems/long-pressed-name
450463Island Perimeter65.7%Easy0.1263589480833311https://leetcode.com/problems/island-perimeter
451698Partition to K Equal Sum Subsets45.0%Medium0.12510042933572324https://leetcode.com/problems/partition-to-k-equal-sum-subsets
45278Subsets62.0%Medium0.12486971572185374https://leetcode.com/problems/subsets
453662Maximum Width of Binary Tree41.0%Medium0.12478016626303083https://leetcode.com/problems/maximum-width-of-binary-tree
454764Largest Plus Sign46.0%Medium0.12477221253464107https://leetcode.com/problems/largest-plus-sign
4551218Longest Arithmetic Subsequence of Given Difference44.6%Medium0.12344419109112172https://leetcode.com/problems/longest-arithmetic-subsequence-of-given-difference
456301Remove Invalid Parentheses43.3%Hard0.12323264042394814https://leetcode.com/problems/remove-invalid-parentheses
457572Subtree of Another Tree44.1%Easy0.12110558833260582https://leetcode.com/problems/subtree-of-another-tree
458647Palindromic Substrings60.6%Medium0.1205091763778271https://leetcode.com/problems/palindromic-substrings
4591504Count Submatrices With All Ones61.7%Medium0.12017442778845913https://leetcode.com/problems/count-submatrices-with-all-ones
460202Happy Number50.4%Easy0.11982401289364229https://leetcode.com/problems/happy-number
4611229Meeting Scheduler52.7%Medium0.11671261732648351https://leetcode.com/problems/meeting-scheduler
462328Odd Even Linked List55.7%Medium0.11579884452311498https://leetcode.com/problems/odd-even-linked-list
463134Gas Station38.5%Medium0.11562431187311098https://leetcode.com/problems/gas-station
464425Word Squares47.7%Hard0.11540167715731688https://leetcode.com/problems/word-squares
465184Sum33.7%Medium0.11437025092711227https://leetcode.com/problems/4sum
466806Number of Lines To Write String64.9%Easy0.11408368723037224https://leetcode.com/problems/number-of-lines-to-write-string
467419Battleships in a Board70.0%Medium0.11375888535665801https://leetcode.com/problems/battleships-in-a-board
46879Word Search35.6%Medium0.11366482626329145https://leetcode.com/problems/word-search
469229Majority Element II35.6%Medium0.11355198202632807https://leetcode.com/problems/majority-element-ii
4707Reverse Integer25.8%Easy0.11264147610629817https://leetcode.com/problems/reverse-integer
471169Majority Element58.7%Easy0.11148630714903861https://leetcode.com/problems/majority-element
4721188Design Bounded Blocking Queue70.5%Medium0.11030454201470608https://leetcode.com/problems/design-bounded-blocking-queue
473219Contains Duplicate II37.7%Easy0.10943188230246585https://leetcode.com/problems/contains-duplicate-ii
474834Sum of Distances in Tree43.7%Hard0.1090999130829226https://leetcode.com/problems/sum-of-distances-in-tree
475265Paint House II44.6%Hard0.1088028598487991https://leetcode.com/problems/paint-house-ii
476768Max Chunks To Make Sorted II48.7%Hard0.10763066419236544https://leetcode.com/problems/max-chunks-to-make-sorted-ii
477467Unique Substrings in Wraparound String35.6%Medium0.10734155493596446https://leetcode.com/problems/unique-substrings-in-wraparound-string
478115Distinct Subsequences38.3%Hard0.10683933709559944https://leetcode.com/problems/distinct-subsequences
479311Sparse Matrix Multiplication61.9%Medium0.10648348040245009https://leetcode.com/problems/sparse-matrix-multiplication
480227Basic Calculator II36.9%Medium0.10642046525358746https://leetcode.com/problems/basic-calculator-ii
481289Game of Life54.5%Medium0.10365526175211173https://leetcode.com/problems/game-of-life
482118Pascal's Triangle52.5%Easy0.10288539275725785https://leetcode.com/problems/pascals-triangle
483931Minimum Falling Path Sum62.5%Medium0.10285229483975511https://leetcode.com/problems/minimum-falling-path-sum
484933Number of Recent Calls71.9%Easy0.10224562156147776https://leetcode.com/problems/number-of-recent-calls
485192Word Frequency25.8%Medium0.10186917331721722https://leetcode.com/problems/word-frequency
486389Find the Difference55.3%Easy0.10167221538368511https://leetcode.com/problems/find-the-difference
487689Maximum Sum of 3 Non-Overlapping Subarrays46.3%Hard0.10120990193151315https://leetcode.com/problems/maximum-sum-of-3-non-overlapping-subarrays
48898Validate Binary Search Tree27.8%Medium0.1008693132143216https://leetcode.com/problems/validate-binary-search-tree
489254Factor Combinations46.7%Medium0.10058723690516862https://leetcode.com/problems/factor-combinations
490748Shortest Completing Word56.7%Easy0.10033471483971139https://leetcode.com/problems/shortest-completing-word
4911021Remove Outermost Parentheses78.0%Easy0.09854363000280295https://leetcode.com/problems/remove-outermost-parentheses
492101Symmetric Tree46.8%Easy0.09821350130564939https://leetcode.com/problems/symmetric-tree
4931029Two City Scheduling56.1%Easy0.0978488207555662https://leetcode.com/problems/two-city-scheduling
494232Implement Queue using Stacks49.6%Easy0.09690200534777553https://leetcode.com/problems/implement-queue-using-stacks
49594Binary Tree Inorder Traversal63.3%Medium0.09682138821886824https://leetcode.com/problems/binary-tree-inorder-traversal
496733Flood Fill55.3%Easy0.09669362480247104https://leetcode.com/problems/flood-fill
497104Maximum Depth of Binary Tree66.0%Easy0.09576690509200843https://leetcode.com/problems/maximum-depth-of-binary-tree
498807Max Increase to Keep City Skyline83.7%Medium0.09510858722224913https://leetcode.com/problems/max-increase-to-keep-city-skyline
499395Longest Substring with At Least K Repeating Characters41.4%Medium0.09358079943969791https://leetcode.com/problems/longest-substring-with-at-least-k-repeating-characters
500348Design Tic-Tac-Toe54.3%Medium0.09352605801082346https://leetcode.com/problems/design-tic-tac-toe
501426Convert Binary Search Tree to Sorted Doubly Linked List59.1%Medium0.09352605801082346https://leetcode.com/problems/convert-binary-search-tree-to-sorted-doubly-linked-list
50287Scramble String33.7%Hard0.09333193979221914https://leetcode.com/problems/scramble-string
503140Word Break II32.6%Hard0.09311451843548549https://leetcode.com/problems/word-break-ii
504352Data Stream as Disjoint Intervals47.3%Hard0.09287412500644375https://leetcode.com/problems/data-stream-as-disjoint-intervals
505827Making A Large Island45.7%Hard0.09287412500644375https://leetcode.com/problems/making-a-large-island
506447Number of Boomerangs51.8%Easy0.09159716909540325https://leetcode.com/problems/number-of-boomerangs
507211Add and Search Word - Data structure design38.1%Medium0.09024155134657033https://leetcode.com/problems/add-and-search-word-data-structure-design
508567Permutation in String44.4%Medium0.08995633353390375https://leetcode.com/problems/permutation-in-string
509240Search a 2D Matrix II43.2%Medium0.08914990697180455https://leetcode.com/problems/search-a-2d-matrix-ii
510185Department Top Three Salaries34.5%Hard0.08593583151429968https://leetcode.com/problems/department-top-three-salaries
511113Path Sum II46.7%Medium0.08479653666007693https://leetcode.com/problems/path-sum-ii
512958Check Completeness of a Binary Tree52.1%Medium0.08434923744523329https://leetcode.com/problems/check-completeness-of-a-binary-tree
513564Find the Closest Palindrome19.7%Hard0.0840831172105414https://leetcode.com/problems/find-the-closest-palindrome
514909Snakes and Ladders38.4%Medium0.08392620769993404https://leetcode.com/problems/snakes-and-ladders
515582Kill Process60.8%Medium0.08355588569097351https://leetcode.com/problems/kill-process
5161244Design A Leaderboard60.7%Medium0.08286311601350513https://leetcode.com/problems/design-a-leaderboard
517992Subarrays with K Different Integers48.6%Hard0.08141927010789951https://leetcode.com/problems/subarrays-with-k-different-integers
518350Intersection of Two Arrays II51.4%Easy0.08027374155116185https://leetcode.com/problems/intersection-of-two-arrays-ii
519161One Edit Distance32.3%Medium0.07982960165248484https://leetcode.com/problems/one-edit-distance
520496Next Greater Element I63.8%Easy0.07978711661783192https://leetcode.com/problems/next-greater-element-i
521451Sort Characters By Frequency63.0%Medium0.07950784615171191https://leetcode.com/problems/sort-characters-by-frequency
52260Permutation Sequence38.4%Hard0.07948571541724253https://leetcode.com/problems/permutation-sequence
523934Shortest Bridge48.2%Medium0.07940677760441046https://leetcode.com/problems/shortest-bridge
524875Koko Eating Bananas52.1%Medium0.07919704166119315https://leetcode.com/problems/koko-eating-bananas
525665Non-decreasing Array19.5%Easy0.0787064326559118https://leetcode.com/problems/non-decreasing-array
52648Rotate Image56.7%Medium0.0785679986612513https://leetcode.com/problems/rotate-image
5271143Longest Common Subsequence58.4%Medium0.07684598714280602https://leetcode.com/problems/longest-common-subsequence
528778Swim in Rising Water53.1%Hard0.07651914983419623https://leetcode.com/problems/swim-in-rising-water
5291237Find Positive Integer Solution for a Given Equation69.7%Easy0.07536521894921006https://leetcode.com/problems/find-positive-integer-solution-for-a-given-equation
530886Possible Bipartition44.2%Medium0.0751605712416521https://leetcode.com/problems/possible-bipartition
531639Decode Ways II26.6%Hard0.07424558998921052https://leetcode.com/problems/decode-ways-ii
5328String to Integer (atoi)15.4%Medium0.07412832776627384https://leetcode.com/problems/string-to-integer-atoi
53311Container With Most Water50.8%Medium0.07400372347113877https://leetcode.com/problems/container-with-most-water
534787Cheapest Flights Within K Stops39.3%Medium0.0732592918006526https://leetcode.com/problems/cheapest-flights-within-k-stops
535965Univalued Binary Tree67.7%Easy0.07266018482653944https://leetcode.com/problems/univalued-binary-tree
5361366Rank Teams by Votes53.8%Medium0.07223355735937158https://leetcode.com/problems/rank-teams-by-votes
537450Delete Node in a BST43.1%Medium0.07216836682371046https://leetcode.com/problems/delete-node-in-a-bst
538989Add to Array-Form of Integer44.2%Easy0.07208884919207953https://leetcode.com/problems/add-to-array-form-of-integer
53935Search Insert Position42.6%Easy0.07187646029497265https://leetcode.com/problems/search-insert-position
540442Find All Duplicates in an Array67.8%Medium0.07083107135140704https://leetcode.com/problems/find-all-duplicates-in-an-array
541314Binary Tree Vertical Order Traversal45.3%Medium0.07017345555905126https://leetcode.com/problems/binary-tree-vertical-order-traversal
542676Implement Magic Dictionary54.5%Medium0.06995858860691037https://leetcode.com/problems/implement-magic-dictionary
543706Design HashMap61.3%Easy0.0683442674369718https://leetcode.com/problems/design-hashmap
54426Remove Duplicates from Sorted Array45.1%Easy0.06795386974703942https://leetcode.com/problems/remove-duplicates-from-sorted-array
545504Base 746.2%Easy0.06759329113252818https://leetcode.com/problems/base-7
5461027Longest Arithmetic Sequence53.4%Medium0.06693948267510934https://leetcode.com/problems/longest-arithmetic-sequence
54750Pow(x;n)30.3%Medium0.06647190010502257https://leetcode.com/problems/powx-n
548167Two Sum II - Input array is sorted54.1%Easy0.06546140041370939https://leetcode.com/problems/two-sum-ii-input-array-is-sorted
549658Find K Closest Elements40.9%Medium0.06485254217956125https://leetcode.com/problems/find-k-closest-elements
550747Largest Number At Least Twice of Others42.0%Easy0.06481750007647082https://leetcode.com/problems/largest-number-at-least-twice-of-others
5511105Filling Bookcase Shelves58.1%Medium0.06464285626208545https://leetcode.com/problems/filling-bookcase-shelves
552344Reverse String68.5%Easy0.06421097445924148https://leetcode.com/problems/reverse-string
553554Brick Wall50.0%Medium0.0639195177132874https://leetcode.com/problems/brick-wall
5541044Longest Duplicate Substring31.9%Hard0.062325463197828765https://leetcode.com/problems/longest-duplicate-substring
555400Nth Digit31.7%Medium0.06203539091945264https://leetcode.com/problems/nth-digit
55659Spiral Matrix II53.9%Medium0.06172417859532683https://leetcode.com/problems/spiral-matrix-ii
557811Subdomain Visit Count69.9%Easy0.06132711569850354https://leetcode.com/problems/subdomain-visit-count
558343Integer Break50.4%Medium0.06009818879287794https://leetcode.com/problems/integer-break
559374Guess Number Higher or Lower43.1%Easy0.0600555670011015https://leetcode.com/problems/guess-number-higher-or-lower
5609Palindrome Number48.4%Easy0.05978757881204004https://leetcode.com/problems/palindrome-number
561384Shuffle an Array52.8%Medium0.05965241992885116https://leetcode.com/problems/shuffle-an-array
562177Nth Highest Salary31.4%Medium0.0562934401878294https://leetcode.com/problems/nth-highest-salary
56332Longest Valid Parentheses28.4%Hard0.0556316959861487https://leetcode.com/problems/longest-valid-parentheses
564421Maximum XOR of Two Numbers in an Array53.5%Medium0.055569851154810765https://leetcode.com/problems/maximum-xor-of-two-numbers-in-an-array
565713Subarray Product Less Than K39.1%Medium0.054824934330955866https://leetcode.com/problems/subarray-product-less-than-k
566839Similar String Groups38.6%Hard0.05480823649499502https://leetcode.com/problems/similar-string-groups
567735Asteroid Collision41.0%Medium0.05479154882968245https://leetcode.com/problems/asteroid-collision
568983Minimum Cost For Tickets60.5%Medium0.05469163590186561https://leetcode.com/problems/minimum-cost-for-tickets
56924Swap Nodes in Pairs50.4%Medium0.05465011300438079https://leetcode.com/problems/swap-nodes-in-pairs
570443String Compression41.3%Easy0.05450940566837169https://leetcode.com/problems/string-compression
571131Palindrome Partitioning47.5%Medium0.05449083692828802https://leetcode.com/problems/palindrome-partitioning
572714Best Time to Buy and Sell Stock with Transaction Fee54.7%Medium0.05377639678080413https://leetcode.com/problems/best-time-to-buy-and-sell-stock-with-transaction-fee
573477Total Hamming Distance50.4%Medium0.05377639678080413https://leetcode.com/problems/total-hamming-distance
574719Find K-th Smallest Pair Distance31.5%Hard0.05370417897186106https://leetcode.com/problems/find-k-th-smallest-pair-distance
5751095Find in Mountain Array35.8%Hard0.053560323833736816https://leetcode.com/problems/find-in-mountain-array
576122Best Time to Buy and Sell Stock II57.0%Easy0.05236798551731598https://leetcode.com/problems/best-time-to-buy-and-sell-stock-ii
57712Integer to Roman55.1%Medium0.05217122936969127https://leetcode.com/problems/integer-to-roman
578780Reaching Points29.4%Hard0.05149142535276627https://leetcode.com/problems/reaching-points
579678Valid Parenthesis String31.0%Medium0.05040260490632167https://leetcode.com/problems/valid-parenthesis-string
58039Combination Sum56.1%Medium0.05030398316850793https://leetcode.com/problems/combination-sum
581387First Unique Character in a String53.4%Easy0.05010248394501295https://leetcode.com/problems/first-unique-character-in-a-string
582449Serialize and Deserialize BST52.0%Medium0.049844204077291364https://leetcode.com/problems/serialize-and-deserialize-bst
5831267Count Servers that Communicate57.9%Medium0.04902942724031861https://leetcode.com/problems/count-servers-that-communicate
584949Largest Time for Given Digits35.8%Easy0.04814407445796121https://leetcode.com/problems/largest-time-for-given-digits
585125Valid Palindrome36.7%Easy0.047702249651065814https://leetcode.com/problems/valid-palindrome
586841Keys and Rooms64.3%Medium0.04757768320775592https://leetcode.com/problems/keys-and-rooms
58728Implement strStr()34.5%Easy0.047265041722825606https://leetcode.com/problems/implement-strstr
588977Squares of a Sorted Array72.1%Easy0.046652914831048324https://leetcode.com/problems/squares-of-a-sorted-array
58981Search in Rotated Sorted Array II33.0%Medium0.04595869089379989https://leetcode.com/problems/search-in-rotated-sorted-array-ii
5901099Two Sum Less Than K60.6%Easy0.04510347333459475https://leetcode.com/problems/two-sum-less-than-k
59170Climbing Stairs47.8%Easy0.04465356981278914https://leetcode.com/problems/climbing-stairs
592349Intersection of Two Arrays62.5%Easy0.04447549064708117https://leetcode.com/problems/intersection-of-two-arrays
593412Fizz Buzz62.3%Easy0.04396698989626337https://leetcode.com/problems/fizz-buzz
594525Contiguous Array42.8%Medium0.04390949261556855https://leetcode.com/problems/contiguous-array
5951122Relative Sort Array67.7%Easy0.04376002021726661https://leetcode.com/problems/relative-sort-array
596559Maximum Depth of N-ary Tree68.7%Easy0.04319159858277399https://leetcode.com/problems/maximum-depth-of-n-ary-tree
597881Boats to Save People46.8%Medium0.043110123653728516https://leetcode.com/problems/boats-to-save-people
598268Missing Number51.7%Easy0.043089480538103624https://leetcode.com/problems/missing-number
599716Max Stack42.6%Easy0.042695919196489414https://leetcode.com/problems/max-stack
600669Trim a Binary Search Tree63.0%Easy0.04255961441879593https://leetcode.com/problems/trim-a-binary-search-tree
601674Longest Continuous Increasing Subsequence45.9%Easy0.04225980928988265https://leetcode.com/problems/longest-continuous-increasing-subsequence
602290Word Pattern37.0%Easy0.04093340892625306https://leetcode.com/problems/word-pattern
6031235Maximum Profit in Job Scheduling44.0%Hard0.040573516447166516https://leetcode.com/problems/maximum-profit-in-job-scheduling
604872Leaf-Similar Trees64.5%Easy0.03899974309382511https://leetcode.com/problems/leaf-similar-trees
605230Kth Smallest Element in a BST60.2%Medium0.03895787134280517https://leetcode.com/problems/kth-smallest-element-in-a-bst
606682Baseball Game63.7%Easy0.03872700788529212https://leetcode.com/problems/baseball-game
607942DI String Match72.6%Easy0.03865215443427916https://leetcode.com/problems/di-string-match
608231Power of Two43.7%Easy0.0383924310382344https://leetcode.com/problems/power-of-two
609863All Nodes Distance K in Binary Tree55.4%Medium0.037756162417993476https://leetcode.com/problems/all-nodes-distance-k-in-binary-tree
610144Binary Tree Preorder Traversal55.7%Medium0.03751377610149742https://leetcode.com/problems/binary-tree-preorder-traversal
611621Task Scheduler50.1%Medium0.036825978166247095https://leetcode.com/problems/task-scheduler
61251N-Queens46.6%Hard0.03651521297509749https://leetcode.com/problems/n-queens
6131254Number of Closed Islands60.5%Medium0.03540192705091593https://leetcode.com/problems/number-of-closed-islands
6141325Delete Leaves With a Given Value73.0%Medium0.03478611608541555https://leetcode.com/problems/delete-leaves-with-a-given-value
615136Single Number65.5%Easy0.03459819810553353https://leetcode.com/problems/single-number
616701Insert into a Binary Search Tree77.7%Medium0.03459222693591465https://leetcode.com/problems/insert-into-a-binary-search-tree
617468Validate IP Address24.1%Medium0.0344861760711693https://leetcode.com/problems/validate-ip-address
618153Find Minimum in Rotated Sorted Array45.1%Medium0.033305576061673434https://leetcode.com/problems/find-minimum-in-rotated-sorted-array
61980Remove Duplicates from Sorted Array II44.0%Medium0.03303052567648182https://leetcode.com/problems/remove-duplicates-from-sorted-array-ii
620237Delete Node in a Linked List63.8%Easy0.031728549820175866https://leetcode.com/problems/delete-node-in-a-linked-list
6211123Lowest Common Ancestor of Deepest Leaves66.8%Medium0.03147388037973136https://leetcode.com/problems/lowest-common-ancestor-of-deepest-leaves
622404Sum of Left Leaves50.9%Easy0.031187558856704493https://leetcode.com/problems/sum-of-left-leaves
623814Binary Tree Pruning74.5%Medium0.03113091859517317https://leetcode.com/problems/binary-tree-pruning
624141Linked List Cycle41.1%Easy0.031012908394529512https://leetcode.com/problems/linked-list-cycle
62575Sort Colors47.3%Medium0.030801991570373215https://leetcode.com/problems/sort-colors
6261179Reformat Department Table80.6%Easy0.030653741091002412https://leetcode.com/problems/reformat-department-table
6276ZigZag Conversion36.3%Medium0.03049597862981453https://leetcode.com/problems/zigzag-conversion
628175Combine Two Tables60.8%Easy0.03043795943204348https://leetcode.com/problems/combine-two-tables
629160Intersection of Two Linked Lists40.6%Easy0.030246680296091687https://leetcode.com/problems/intersection-of-two-linked-lists
6301192Critical Connections in a Network48.6%Hard0.030183377823098576https://leetcode.com/problems/critical-connections-in-a-network
631501Find Mode in Binary Search Tree42.4%Easy0.029808466297826082https://leetcode.com/problems/find-mode-in-binary-search-tree
632581Shortest Unsorted Continuous Subarray31.1%Easy0.029773949243192512https://leetcode.com/problems/shortest-unsorted-continuous-subarray
633120Triangle44.2%Medium0.029539397513905316https://leetcode.com/problems/triangle
634452Minimum Number of Arrows to Burst Balloons49.6%Medium0.029478921626711667https://leetcode.com/problems/minimum-number-of-arrows-to-burst-balloons
635456132 Pattern28.9%Medium0.029306126585499394https://leetcode.com/problems/132-pattern
636324Wiggle Sort II29.9%Medium0.02898753687325229https://leetcode.com/problems/wiggle-sort-ii
637917Reverse Only Letters58.0%Easy0.0286552557603761https://leetcode.com/problems/reverse-only-letters
638129Sum Root to Leaf Numbers49.1%Medium0.02843793532053351https://leetcode.com/problems/sum-root-to-leaf-numbers
639181Employees Earning More Than Their Managers56.9%Easy0.02817087696669632https://leetcode.com/problems/employees-earning-more-than-their-managers
640709To Lower Case79.3%Easy0.02780531308033682https://leetcode.com/problems/to-lower-case
641472Concatenated Words43.7%Hard0.027664281472355556https://leetcode.com/problems/concatenated-words
64219Remove Nth Node From End of List35.2%Medium0.027353171676046843https://leetcode.com/problems/remove-nth-node-from-end-of-list
643547Friend Circles58.6%Medium0.027307522052851193https://leetcode.com/problems/friend-circles
644114Flatten Binary Tree to Linked List49.3%Medium0.02730545069026746https://leetcode.com/problems/flatten-binary-tree-to-linked-list
645448Find All Numbers Disappeared in an Array55.9%Easy0.02717558537896476https://leetcode.com/problems/find-all-numbers-disappeared-in-an-array
64629Divide Two Integers16.4%Medium0.026820246545985277https://leetcode.com/problems/divide-two-integers
64788Merge Sorted Array39.4%Easy0.02677137871391415https://leetcode.com/problems/merge-sorted-array
648119Pascal's Triangle II49.0%Easy0.026565907037593445https://leetcode.com/problems/pascals-triangle-ii
649523Continuous Subarray Sum24.6%Medium0.02639449412294209https://leetcode.com/problems/continuous-subarray-sum
650143Reorder List37.1%Medium0.025870945598649286https://leetcode.com/problems/reorder-list
6517171-bit and 2-bit Characters48.8%Easy0.025269822188076344https://leetcode.com/problems/1-bit-and-2-bit-characters
652148Sort List42.3%Medium0.025036078161324866https://leetcode.com/problems/sort-list
653220Contains Duplicate III20.9%Medium0.024876904755404577https://leetcode.com/problems/contains-duplicate-iii
654409Longest Palindrome50.3%Easy0.02486144206532915https://leetcode.com/problems/longest-palindrome
655804Unique Morse Code Words77.0%Easy0.024332100659530644https://leetcode.com/problems/unique-morse-code-words
656687Longest Univalue Path36.2%Easy0.023502844454782748https://leetcode.com/problems/longest-univalue-path
657257Binary Tree Paths51.5%Easy0.02337768800906243https://leetcode.com/problems/binary-tree-paths
658326Power of Three42.1%Easy0.023341308632796296https://leetcode.com/problems/power-of-three
65992Reverse Linked List II38.8%Medium0.0233110788684471https://leetcode.com/problems/reverse-linked-list-ii
660791Custom Sort String65.7%Medium0.023283938954044722https://leetcode.com/problems/custom-sort-string
661414Third Maximum Number30.5%Easy0.023155137938555212https://leetcode.com/problems/third-maximum-number
662216Combination Sum III56.6%Medium0.02261260849011709https://leetcode.com/problems/combination-sum-iii
663108Convert Sorted Array to Binary Search Tree57.9%Easy0.022033389270751453https://leetcode.com/problems/convert-sorted-array-to-binary-search-tree
66440Combination Sum II48.2%Medium0.021424290044083395https://leetcode.com/problems/combination-sum-ii
66574Search a 2D Matrix36.5%Medium0.020896975877216107https://leetcode.com/problems/search-a-2d-matrix
666377Combination Sum IV45.3%Medium0.02087758502155521https://leetcode.com/problems/combination-sum-iv
667654Maximum Binary Tree79.9%Medium0.02060866342778963https://leetcode.com/problems/maximum-binary-tree
66867Add Binary45.2%Easy0.020171933774613085https://leetcode.com/problems/add-binary
6691026Maximum Difference Between Node and Ancestor66.0%Medium0.020101179321087244https://leetcode.com/problems/maximum-difference-between-node-and-ancestor
670435Non-overlapping Intervals42.9%Medium0.019455866615365896https://leetcode.com/problems/non-overlapping-intervals
671503Next Greater Element II56.5%Medium0.01885958774468238https://leetcode.com/problems/next-greater-element-ii
672901Online Stock Span60.2%Medium0.018622512098001826https://leetcode.com/problems/online-stock-span
673234Palindrome Linked List39.3%Easy0.01801241989645556https://leetcode.com/problems/palindrome-linked-list
67454201 Matrix39.8%Medium0.01796993548494071https://leetcode.com/problems/01-matrix
675270Closest Binary Search Tree Value48.5%Easy0.017123706078591462https://leetcode.com/problems/closest-binary-search-tree-value
676415Add Strings47.5%Easy0.016991158247219373https://leetcode.com/problems/add-strings
677145Binary Tree Postorder Traversal55.0%Hard0.01682911820009702https://leetcode.com/problems/binary-tree-postorder-traversal
678997Find the Town Judge50.1%Easy0.01677891712910938https://leetcode.com/problems/find-the-town-judge
679191Number of 1 Bits49.8%Easy0.01673523624045844https://leetcode.com/problems/number-of-1-bits
680176Second Highest Salary31.6%Easy0.01655971603901838https://leetcode.com/problems/second-highest-salary
681680Valid Palindrome II36.6%Easy0.01632541245860885https://leetcode.com/problems/valid-palindrome-ii
682204Count Primes31.5%Easy0.015842612639489526https://leetcode.com/problems/count-primes
6831025Divisor Game66.3%Easy0.015015297119995507https://leetcode.com/problems/divisor-game
684367Valid Perfect Square41.7%Easy0.014992784586141334https://leetcode.com/problems/valid-perfect-square
685142Linked List Cycle II37.3%Medium0.014710955064667802https://leetcode.com/problems/linked-list-cycle-ii
686371Sum of Two Integers50.7%Medium0.014064929467403538https://leetcode.com/problems/sum-of-two-integers
687345Reverse Vowels of a String44.2%Easy0.013947227480850463https://leetcode.com/problems/reverse-vowels-of-a-string
688703Kth Largest Element in a Stream49.7%Easy0.013898764390814973https://leetcode.com/problems/kth-largest-element-in-a-stream
689179Largest Number28.8%Medium0.013865040137171665https://leetcode.com/problems/largest-number
69013Roman to Integer55.7%Easy0.013645103403569418https://leetcode.com/problems/roman-to-integer
691303Range Sum Query - Immutable44.7%Easy0.013240842236997532https://leetcode.com/problems/range-sum-query-immutable
69282Remove Duplicates from Sorted List II36.8%Medium0.01297035044262745https://leetcode.com/problems/remove-duplicates-from-sorted-list-ii
693100Same Tree53.4%Easy0.012601237835529503https://leetcode.com/problems/same-tree
694445Add Two Numbers II54.5%Medium0.01233061245747872https://leetcode.com/problems/add-two-numbers-ii
6951313Decompress Run-Length Encoded List85.1%Easy0.012088391385967972https://leetcode.com/problems/decompress-run-length-encoded-list
6961051Height Checker71.1%Easy0.011468015591641189https://leetcode.com/problems/height-checker
697123Best Time to Buy and Sell Stock III37.5%Hard0.011261380272539033https://leetcode.com/problems/best-time-to-buy-and-sell-stock-iii
698494Target Sum46.3%Medium0.011062059705858562https://leetcode.com/problems/target-sum
6991281Subtract the Product and Sum of Digits of an Integer85.2%Easy0.01090820742546429https://leetcode.com/problems/subtract-the-product-and-sum-of-digits-of-an-integer
700103Binary Tree Zigzag Level Order Traversal48.3%Medium0.01063025572799205https://leetcode.com/problems/binary-tree-zigzag-level-order-traversal
701819Most Common Word44.8%Easy0.010269666637456105https://leetcode.com/problems/most-common-word
70225Reverse Nodes in k-Group42.1%Hard0.01021198560502829https://leetcode.com/problems/reverse-nodes-in-k-group
703905Sort Array By Parity74.1%Easy0.009603915354180344https://leetcode.com/problems/sort-array-by-parity
704700Search in a Binary Search Tree73.1%Easy0.008512500860171227https://leetcode.com/problems/search-in-a-binary-search-tree
705235Lowest Common Ancestor of a Binary Search Tree49.9%Easy0.00821697310228087https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-search-tree
706102Binary Tree Level Order Traversal54.6%Medium0.008169238497129479https://leetcode.com/problems/binary-tree-level-order-traversal
7071108Defanging an IP Address87.5%Easy0.0073327551293917515https://leetcode.com/problems/defanging-an-ip-address
708190Reverse Bits39.8%Easy0.007306635849167308https://leetcode.com/problems/reverse-bits
709938Range Sum of BST81.3%Easy0.007011422237803984https://leetcode.com/problems/range-sum-of-bst
7101342Number of Steps to Reduce a Number to Zero86.3%Easy0.006975961320774839https://leetcode.com/problems/number-of-steps-to-reduce-a-number-to-zero
711203Remove Linked List Elements38.6%Easy0.006479067005887776https://leetcode.com/problems/remove-linked-list-elements
712309Best Time to Buy and Sell Stock with Cooldown47.4%Medium0.006400704591951834https://leetcode.com/problems/best-time-to-buy-and-sell-stock-with-cooldown
71383Remove Duplicates from Sorted List45.4%Easy0.006353261522609498https://leetcode.com/problems/remove-duplicates-from-sorted-list
714199Binary Tree Right Side View54.1%Medium0.0056826406650506926https://leetcode.com/problems/binary-tree-right-side-view
715485Max Consecutive Ones54.6%Easy0.005314920829289628https://leetcode.com/problems/max-consecutive-ones
716154Find Minimum in Rotated Sorted Array II41.6%Hard0.004780123824719199https://leetcode.com/problems/find-minimum-in-rotated-sorted-array-ii
71727Remove Element48.2%Easy0.0035524016043678225https://leetcode.com/problems/remove-element
718151Reverse Words in a String21.9%Medium0.0015375156780384337https://leetcode.com/problems/reverse-words-in-a-string