LeetCode-Questions-CompanyWise/facebook_1year.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

49 KiB
Raw Permalink Blame History

1IDTitleAcceptanceDifficultyFrequencyLeetcode Question Link
2953Verifying an Alien Dictionary54.1%Easy3.672929743430384https://leetcode.com/problems/verifying-an-alien-dictionary
31249Minimum Remove to Make Valid Parentheses62.5%Medium3.495670386899169https://leetcode.com/problems/minimum-remove-to-make-valid-parentheses
4973K Closest Points to Origin63.8%Medium3.3184110303679546https://leetcode.com/problems/k-closest-points-to-origin
5238Product of Array Except Self60.1%Medium3.283232213950597https://leetcode.com/problems/product-of-array-except-self
6301Remove Invalid Parentheses43.3%Hard3.2812706407880663https://leetcode.com/problems/remove-invalid-parentheses
7680Valid Palindrome II36.6%Easy3.271459420826784https://leetcode.com/problems/valid-palindrome-ii
8560Subarray Sum Equals K43.9%Medium3.2328873827137383https://leetcode.com/problems/subarray-sum-equals-k
9273Integer to English Words27.1%Hard3.0556280261825237https://leetcode.com/problems/integer-to-english-words
10269Alien Dictionary33.3%Hard2.878368669651309https://leetcode.com/problems/alien-dictionary
11415Add Strings47.5%Easy2.7192844822779243https://leetcode.com/problems/add-strings
12158Read N Characters Given Read4 II - Call multiple times33.8%Hard2.5420251257467097https://leetcode.com/problems/read-n-characters-given-read4-ii-call-multiple-times
13124Binary Tree Maximum Path Sum34.3%Hard2.5244353385109877https://leetcode.com/problems/binary-tree-maximum-path-sum
14297Serialize and Deserialize Binary Tree47.5%Hard2.4916605427137495https://leetcode.com/problems/serialize-and-deserialize-binary-tree
15199Binary Tree Right Side View54.1%Medium2.4876454517631963https://leetcode.com/problems/binary-tree-right-side-view
16438Find All Anagrams in a String43.3%Medium2.397524297872021https://leetcode.com/problems/find-all-anagrams-in-a-string
17211Add and Search Word - Data structure design38.1%Medium2.3759545223677563https://leetcode.com/problems/add-and-search-word-data-structure-design
18278First Bad Version35.7%Easy2.1986951658365417https://leetcode.com/problems/first-bad-version
19523Continuous Subarray Sum24.6%Medium2.166716009367632https://leetcode.com/problems/continuous-subarray-sum
2023Merge k Sorted Lists40.2%Hard2.1408121493810057https://leetcode.com/problems/merge-k-sorted-lists
21125Valid Palindrome36.7%Easy2.10463501498305https://leetcode.com/problems/valid-palindrome
22426Convert Binary Search Tree to Sorted Doubly Linked List59.1%Medium2.0376808407812033https://leetcode.com/problems/convert-binary-search-tree-to-sorted-doubly-linked-list
23173Binary Search Tree Iterator56.6%Medium2.0078306132610235https://leetcode.com/problems/binary-search-tree-iterator
2467Add Binary45.2%Easy2.0006884437372294https://leetcode.com/problems/add-binary
25282Expression Add Operators35.5%Hard1.9743024644234966https://leetcode.com/problems/expression-add-operators
26340Longest Substring with At Most K Distinct Characters44.1%Hard1.9268050203671723https://leetcode.com/problems/longest-substring-with-at-most-k-distinct-characters
27215Kth Largest Element in an Array55.4%Medium1.9162899009936014https://leetcode.com/problems/kth-largest-element-in-an-array
28543Diameter of Binary Tree48.4%Easy1.9159403034429063https://leetcode.com/problems/diameter-of-binary-tree
29636Exclusive Time of Functions51.9%Medium1.9144673183856245https://leetcode.com/problems/exclusive-time-of-functions
3065Valid Number15.3%Hard1.8249221481329196https://leetcode.com/problems/valid-number
31986Interval List Intersections67.3%Medium1.7606773319042146https://leetcode.com/problems/interval-list-intersections
3276Minimum Window Substring34.6%Hard1.7452444146734871https://leetcode.com/problems/minimum-window-substring
331428Leftmost Column with at Least a One46.8%Medium1.7410939458816417https://leetcode.com/problems/leftmost-column-with-at-least-a-one
34398Random Pick Index56.0%Medium1.739251464947996https://leetcode.com/problems/random-pick-index
35938Range Sum of BST81.3%Easy1.7183278125336303https://leetcode.com/problems/range-sum-of-bst
36311Sparse Matrix Multiplication61.9%Medium1.6183865180101145https://leetcode.com/problems/sparse-matrix-multiplication
37270Closest Binary Search Tree Value48.5%Easy1.586376093728572https://leetcode.com/problems/closest-binary-search-tree-value
38689Maximum Sum of 3 Non-Overlapping Subarrays46.3%Hard1.5757403799369294https://leetcode.com/problems/maximum-sum-of-3-non-overlapping-subarrays
3956Merge Intervals39.3%Medium1.5421333498120642https://leetcode.com/problems/merge-intervals
4031Next Permutation32.6%Medium1.4952605643210366https://leetcode.com/problems/next-permutation
41139Word Break40.1%Medium1.4806418655886273https://leetcode.com/problems/word-break
42987Vertical Order Traversal of a Binary Tree36.6%Medium1.4752728801959076https://leetcode.com/problems/vertical-order-traversal-of-a-binary-tree
43133Clone Graph34.8%Medium1.4511392078839955https://leetcode.com/problems/clone-graph
4434Find First and Last Position of Element in Sorted Array36.2%Medium1.4396247937745372https://leetcode.com/problems/find-first-and-last-position-of-element-in-sorted-array
4571Simplify Path32.6%Medium1.4382022207219085https://leetcode.com/problems/simplify-path
4688Merge Sorted Array39.4%Easy1.4313521714101423https://leetcode.com/problems/merge-sorted-array
47896Monotonic Array57.9%Easy1.4253001116063013https://leetcode.com/problems/monotonic-array
48785Is Graph Bipartite?47.5%Medium1.4051826456400964https://leetcode.com/problems/is-graph-bipartite
49721Accounts Merge48.8%Medium1.3810374792408489https://leetcode.com/problems/accounts-merge
50349Intersection of Two Arrays62.5%Easy1.3262693184793644https://leetcode.com/problems/intersection-of-two-arrays
5129Divide Two Integers16.4%Medium1.3132705131849702https://leetcode.com/problems/divide-two-integers
52249Group Shifted Strings55.1%Medium1.2602327507507307https://leetcode.com/problems/group-shifted-strings
53339Nested List Weight Sum74.0%Easy1.2338014599366327https://leetcode.com/problems/nested-list-weight-sum
54314Binary Tree Vertical Order Traversal45.3%Medium1.2247904974214212https://leetcode.com/problems/binary-tree-vertical-order-traversal
551060Missing Element in Sorted Array54.5%Medium1.2015522948374056https://leetcode.com/problems/missing-element-in-sorted-array
5642Trapping Rain Water48.9%Hard1.195895799454225https://leetcode.com/problems/trapping-rain-water
57767Reorganize String48.7%Medium1.182457868492389https://leetcode.com/problems/reorganize-string
58708Insert into a Sorted Circular Linked List31.6%Medium1.172343257989845https://leetcode.com/problems/insert-into-a-sorted-circular-linked-list
59958Check Completeness of a Binary Tree52.1%Medium1.1632195643177228https://leetcode.com/problems/check-completeness-of-a-binary-tree
601197Minimum Knight Moves36.1%Medium1.1562032194143523https://leetcode.com/problems/minimum-knight-moves
61236Lowest Common Ancestor of a Binary Tree45.7%Medium1.0938757493214366https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-tree
62528Random Pick with Weight43.9%Medium1.0906112458600137https://leetcode.com/problems/random-pick-with-weight
63253Meeting Rooms II45.7%Medium1.0814304382893596https://leetcode.com/problems/meeting-rooms-ii
64380Insert Delete GetRandom O(1)47.5%Medium1.0764926440989369https://leetcode.com/problems/insert-delete-getrandom-o1
65670Maximum Swap43.6%Medium1.0650556866604306https://leetcode.com/problems/maximum-swap
6633Search in Rotated Sorted Array34.5%Medium1.0520357838367607https://leetcode.com/problems/search-in-rotated-sorted-array
67766Toeplitz Matrix65.1%Easy0.9808292530117262https://leetcode.com/problems/toeplitz-matrix
68146LRU Cache33.2%Medium0.980036431607266https://leetcode.com/problems/lru-cache
69825Friends Of Appropriate Ages42.7%Medium0.9548282098825729https://leetcode.com/problems/friends-of-appropriate-ages
70824Goat Latin63.4%Easy0.949028440149358https://leetcode.com/problems/goat-latin
71498Diagonal Traverse48.2%Medium0.9448109538225702https://leetcode.com/problems/diagonal-traverse
72304Range Sum Query 2D - Immutable38.6%Medium0.9339964539142727https://leetcode.com/problems/range-sum-query-2d-immutable
73227Basic Calculator II36.9%Medium0.9201510193402352https://leetcode.com/problems/basic-calculator-ii
74286Walls and Gates54.5%Medium0.9182875611040503https://leetcode.com/problems/walls-and-gates
7598Validate Binary Search Tree27.8%Medium0.9132791260666902https://leetcode.com/problems/validate-binary-search-tree
76138Copy List with Random Pointer36.4%Medium0.9130873453663271https://leetcode.com/problems/copy-list-with-random-pointer
7743Multiply Strings33.9%Medium0.8901363256144234https://leetcode.com/problems/multiply-strings
78616Add Bold Tag in String43.1%Medium0.8724465334959766https://leetcode.com/problems/add-bold-tag-in-string
79921Minimum Add to Make Parentheses Valid73.7%Medium0.869631484642747https://leetcode.com/problems/minimum-add-to-make-parentheses-valid
801123Lowest Common Ancestor of Deepest Leaves66.8%Medium0.8548064280870838https://leetcode.com/problems/lowest-common-ancestor-of-deepest-leaves
811026Maximum Difference Between Node and Ancestor66.0%Medium0.8326883967450455https://leetcode.com/problems/maximum-difference-between-node-and-ancestor
82621Task Scheduler50.1%Medium0.830630807901992https://leetcode.com/problems/task-scheduler
83200Number of Islands46.8%Medium0.8225189427311105https://leetcode.com/problems/number-of-islands
841216Valid Palindrome III47.8%Hard0.8187244879431477https://leetcode.com/problems/valid-palindrome-iii
85863All Nodes Distance K in Binary Tree55.4%Medium0.8044965676039516https://leetcode.com/problems/all-nodes-distance-k-in-binary-tree
86109Convert Sorted List to Binary Search Tree47.7%Medium0.778490500448878https://leetcode.com/problems/convert-sorted-list-to-binary-search-tree
87317Shortest Distance from All Buildings41.4%Hard0.7748252115742125https://leetcode.com/problems/shortest-distance-from-all-buildings
88419Battleships in a Board70.0%Medium0.734450986701181https://leetcode.com/problems/battleships-in-a-board
89246Strobogrammatic Number45.0%Easy0.6935606599952345https://leetcode.com/problems/strobogrammatic-number
90247Strobogrammatic Number II47.6%Medium0.6864254931685857https://leetcode.com/problems/strobogrammatic-number-ii
91143Reorder List37.1%Medium0.6644936178538985https://leetcode.com/problems/reorder-list
92658Find K Closest Elements40.9%Medium0.6638270433029843https://leetcode.com/problems/find-k-closest-elements
93157Read N Characters Given Read434.2%Easy0.6437780586849429https://leetcode.com/problems/read-n-characters-given-read4
94839Similar String Groups38.6%Hard0.6425949013971141https://leetcode.com/problems/similar-string-groups
95432All O`one Data Structure32.4%Hard0.6277764653542548https://leetcode.com/problems/all-oone-data-structure
96480Sliding Window Median37.2%Hard0.6193030606504982https://leetcode.com/problems/sliding-window-median
97162Find Peak Element43.3%Medium0.6111183749147795https://leetcode.com/problems/find-peak-element
9810Regular Expression Matching26.8%Hard0.5850984373117593https://leetcode.com/problems/regular-expression-matching
99463Island Perimeter65.7%Easy0.5846665375658754https://leetcode.com/problems/island-perimeter
1001004Max Consecutive Ones III59.1%Medium0.5826782301065547https://leetcode.com/problems/max-consecutive-ones-iii
101126Word Ladder II22.1%Hard0.5693600008081126https://leetcode.com/problems/word-ladder-ii
102277Find the Celebrity41.8%Medium0.5616591289700842https://leetcode.com/problems/find-the-celebrity
103452Minimum Number of Arrows to Burst Balloons49.6%Medium0.5584397574369148https://leetcode.com/problems/minimum-number-of-arrows-to-burst-balloons
10422Generate Parentheses62.7%Medium0.553101106914229https://leetcode.com/problems/generate-parentheses
105494Target Sum46.3%Medium0.537605099367259https://leetcode.com/problems/target-sum
106865Smallest Subtree with all the Deepest Nodes60.8%Medium0.5360733767570822https://leetcode.com/problems/smallest-subtree-with-all-the-deepest-nodes
107647Palindromic Substrings60.6%Medium0.5122882232745292https://leetcode.com/problems/palindromic-substrings
108378Kth Smallest Element in a Sorted Matrix54.3%Medium0.5057807371350349https://leetcode.com/problems/kth-smallest-element-in-a-sorted-matrix
1091094Car Pooling56.7%Medium0.5042466526679481https://leetcode.com/problems/car-pooling
110153Sum26.8%Medium0.4923847546019265https://leetcode.com/problems/3sum
1111027Longest Arithmetic Sequence53.4%Medium0.48432368302048406https://leetcode.com/problems/longest-arithmetic-sequence
112348Design Tic-Tac-Toe54.3%Medium0.47793775692115553https://leetcode.com/problems/design-tic-tac-toe
113140Word Break II32.6%Hard0.4761853504191846https://leetcode.com/problems/word-break-ii
11493Restore IP Addresses35.6%Medium0.47237108409270245https://leetcode.com/problems/restore-ip-addresses
115772Basic Calculator III41.3%Hard0.462623521948113https://leetcode.com/problems/basic-calculator-iii
116540Single Element in a Sorted Array57.9%Medium0.46172503314573243https://leetcode.com/problems/single-element-in-a-sorted-array
1171213Intersection of Three Sorted Arrays78.9%Easy0.45778473187961194https://leetcode.com/problems/intersection-of-three-sorted-arrays
1181269Number of Ways to Stay in the Same Place After Some Steps43.2%Hard0.4557571315683002https://leetcode.com/problems/number-of-ways-to-stay-in-the-same-place-after-some-steps
119329Longest Increasing Path in a Matrix43.4%Hard0.4510648782793416https://leetcode.com/problems/longest-increasing-path-in-a-matrix
120529Minesweeper59.1%Medium0.4410244101446512https://leetcode.com/problems/minesweeper
12191Decode Ways24.7%Medium0.43194955048493294https://leetcode.com/problems/decode-ways
122490The Maze51.4%Medium0.4296321995074925https://leetcode.com/problems/the-maze
1231Two Sum45.6%Easy0.42776342069905027https://leetcode.com/problems/two-sum
12450Pow(x;n)30.3%Medium0.4274653596092084https://leetcode.com/problems/powx-n
125224Basic Calculator36.8%Hard0.42504615330727086https://leetcode.com/problems/basic-calculator
1261233Remove Sub-Folders from the Filesystem59.5%Medium0.4243747624654565https://leetcode.com/problems/remove-sub-folders-from-the-filesystem
127350Intersection of Two Arrays II51.4%Easy0.42028659580670896https://leetcode.com/problems/intersection-of-two-arrays-ii
128257Binary Tree Paths51.5%Easy0.4154891624073732https://leetcode.com/problems/binary-tree-paths
1298String to Integer (atoi)15.4%Medium0.407141925712164https://leetcode.com/problems/string-to-integer-atoi
130163Missing Ranges24.3%Medium0.4067714440222198https://leetcode.com/problems/missing-ranges
131568Maximum Vacation Days40.8%Hard0.4036217896138752https://leetcode.com/problems/maximum-vacation-days
132364Nested List Weight Sum II62.8%Medium0.3968580334554196https://leetcode.com/problems/nested-list-weight-sum-ii
133791Custom Sort String65.7%Medium0.3900345348815187https://leetcode.com/problems/custom-sort-string
134939Minimum Area Rectangle51.8%Medium0.3885265923801231https://leetcode.com/problems/minimum-area-rectangle
135678Valid Parenthesis String31.0%Medium0.38202577837362234https://leetcode.com/problems/valid-parenthesis-string
136934Shortest Bridge48.2%Medium0.3715318913226816https://leetcode.com/problems/shortest-bridge
137121Best Time to Buy and Sell Stock50.5%Easy0.3695140839999301https://leetcode.com/problems/best-time-to-buy-and-sell-stock
138114Flatten Binary Tree to Linked List49.3%Medium0.3666595336863693https://leetcode.com/problems/flatten-binary-tree-to-linked-list
139408Valid Word Abbreviation30.6%Easy0.36101334553733055https://leetcode.com/problems/valid-word-abbreviation
140127Word Ladder29.6%Medium0.35996786713577755https://leetcode.com/problems/word-ladder
141855Exam Room43.1%Medium0.34442921752179523https://leetcode.com/problems/exam-room
142341Flatten Nested List Iterator52.9%Medium0.3426517489923298https://leetcode.com/problems/flatten-nested-list-iterator
14378Subsets62.0%Medium0.34168366615845647https://leetcode.com/problems/subsets
144963Minimum Area Rectangle II50.9%Medium0.3416302106614813https://leetcode.com/problems/minimum-area-rectangle-ii
145400Nth Digit31.7%Medium0.33647223662121295https://leetcode.com/problems/nth-digit
1463Longest Substring Without Repeating Characters30.4%Medium0.33543751206600453https://leetcode.com/problems/longest-substring-without-repeating-characters
147333Largest BST Subtree35.8%Medium0.32931497055013925https://leetcode.com/problems/largest-bst-subtree
148827Making A Large Island45.7%Hard0.32879599515977564https://leetcode.com/problems/making-a-large-island
149695Max Area of Island62.7%Medium0.32657434158263016https://leetcode.com/problems/max-area-of-island
150266Palindrome Permutation61.9%Easy0.32365154819215153https://leetcode.com/problems/palindrome-permutation
151381Insert Delete GetRandom O(1) - Duplicates allowed34.1%Hard0.32306557634109756https://leetcode.com/problems/insert-delete-getrandom-o1-duplicates-allowed
152844Backspace String Compare46.4%Easy0.32306557634109756https://leetcode.com/problems/backspace-string-compare
153692Top K Frequent Words51.8%Medium0.31457116512531025https://leetcode.com/problems/top-k-frequent-words
154549Binary Tree Longest Consecutive Sequence II47.0%Medium0.31383478526224007https://leetcode.com/problems/binary-tree-longest-consecutive-sequence-ii
1551242Web Crawler Multithreaded45.9%Medium0.30961714931803663https://leetcode.com/problems/web-crawler-multithreaded
156207Course Schedule43.1%Medium0.3071480068014249https://leetcode.com/problems/course-schedule
157536Construct Binary Tree from String48.3%Medium0.303629619668917https://leetcode.com/problems/construct-binary-tree-from-string
1581245Tree Diameter60.1%Medium0.29849298855599654https://leetcode.com/problems/tree-diameter
159332Reconstruct Itinerary36.7%Medium0.29733066556761284https://leetcode.com/problems/reconstruct-itinerary
160936Stamping The Sequence42.8%Hard0.2972515234679316https://leetcode.com/problems/stamping-the-sequence
161161One Edit Distance32.3%Medium0.28698931177288023https://leetcode.com/problems/one-edit-distance
162875Koko Eating Bananas52.1%Medium0.28493103907989104https://leetcode.com/problems/koko-eating-bananas
16332Longest Valid Parentheses28.4%Hard0.28481756175632106https://leetcode.com/problems/longest-valid-parentheses
1641424Diagonal Traverse II42.4%Medium0.28406186115878557https://leetcode.com/problems/diagonal-traverse-ii
165166Fraction to Recurring Decimal21.6%Medium0.2819404298841057https://leetcode.com/problems/fraction-to-recurring-decimal
166548Split Array with Equal Sum46.4%Medium0.2761315220005779https://leetcode.com/problems/split-array-with-equal-sum
16792Reverse Linked List II38.8%Medium0.27542168553536034https://leetcode.com/problems/reverse-linked-list-ii
168977Squares of a Sorted Array72.1%Easy0.2744368457017603https://leetcode.com/problems/squares-of-a-sorted-array
169347Top K Frequent Elements61.2%Medium0.272004511442638https://leetcode.com/problems/top-k-frequent-elements
170609Find Duplicate File in System59.5%Medium0.25388017696233983https://leetcode.com/problems/find-duplicate-file-in-system
171111Minimum Depth of Binary Tree37.4%Easy0.24735812724870243https://leetcode.com/problems/minimum-depth-of-binary-tree
172622Design Circular Queue43.8%Medium0.2454927324105261https://leetcode.com/problems/design-circular-queue
1731032Stream of Characters48.3%Hard0.24287879543594265https://leetcode.com/problems/stream-of-characters
174240Search a 2D Matrix II43.2%Medium0.24218097481422138https://leetcode.com/problems/search-a-2d-matrix-ii
17557Insert Interval33.5%Hard0.23697938397356041https://leetcode.com/problems/insert-interval
176416Partition Equal Subset Sum43.7%Medium0.23420537108328685https://leetcode.com/problems/partition-equal-subset-sum
177742Closest Leaf in a Binary Tree43.6%Medium0.23361485118150516https://leetcode.com/problems/closest-leaf-in-a-binary-tree
178129Sum Root to Leaf Numbers49.1%Medium0.2308064240597789https://leetcode.com/problems/sum-root-to-leaf-numbers
179334Increasing Triplet Subsequence40.0%Medium0.23032129090902695https://leetcode.com/problems/increasing-triplet-subsequence
18073Set Matrix Zeroes43.1%Medium0.22588530142358976https://leetcode.com/problems/set-matrix-zeroes
181428Serialize and Deserialize N-ary Tree59.4%Hard0.22567199766756846https://leetcode.com/problems/serialize-and-deserialize-n-ary-tree
1822Add Two Numbers33.9%Medium0.21782267725557036https://leetcode.com/problems/add-two-numbers
18339Combination Sum56.1%Medium0.21687574090953024https://leetcode.com/problems/combination-sum
184515Find Largest Value in Each Tree Row61.1%Medium0.21199732494007123https://leetcode.com/problems/find-largest-value-in-each-tree-row
185283Move Zeroes57.8%Easy0.21030412725932263https://leetcode.com/problems/move-zeroes
186117Populating Next Right Pointers in Each Node II39.1%Medium0.20860539286818253https://leetcode.com/problems/populating-next-right-pointers-in-each-node-ii
18720Valid Parentheses39.0%Easy0.20727582199587388https://leetcode.com/problems/valid-parentheses
188983Minimum Cost For Tickets60.5%Medium0.2028261131996316https://leetcode.com/problems/minimum-cost-for-tickets
18919Remove Nth Node From End of List35.2%Medium0.20099276793124013https://leetcode.com/problems/remove-nth-node-from-end-of-list
190352Data Stream as Disjoint Intervals47.3%Hard0.1980128865886302https://leetcode.com/problems/data-stream-as-disjoint-intervals
191637Average of Levels in Binary Tree63.1%Easy0.1972664368553499https://leetcode.com/problems/average-of-levels-in-binary-tree
192214Shortest Palindrome29.8%Hard0.19671029424605424https://leetcode.com/problems/shortest-palindrome
19353Maximum Subarray46.5%Easy0.19634219774637035https://leetcode.com/problems/maximum-subarray
194272Closest Binary Search Tree Value II50.5%Hard0.1920777317393193https://leetcode.com/problems/closest-binary-search-tree-value-ii
19575Sort Colors47.3%Medium0.19182745017125022https://leetcode.com/problems/sort-colors
196358Rearrange String k Distance Apart34.9%Hard0.19004360288786493https://leetcode.com/problems/rearrange-string-k-distance-apart
1975Longest Palindromic Substring29.5%Medium0.18726302339313927https://leetcode.com/problems/longest-palindromic-substring
198969Pancake Sorting67.5%Medium0.18336922582639836https://leetcode.com/problems/pancake-sorting
1991091Shortest Path in Binary Matrix38.2%Medium0.18312509239363786https://leetcode.com/problems/shortest-path-in-binary-matrix
200323Number of Connected Components in an Undirected Graph56.0%Medium0.18178978331691914https://leetcode.com/problems/number-of-connected-components-in-an-undirected-graph
201759Employee Free Time66.3%Hard0.1816986978513639https://leetcode.com/problems/employee-free-time
202388Longest Absolute File Path41.8%Medium0.18128582392042256https://leetcode.com/problems/longest-absolute-file-path
20340Combination Sum II48.2%Medium0.1780616138489939https://leetcode.com/problems/combination-sum-ii
204336Palindrome Pairs33.7%Hard0.17569702187832992https://leetcode.com/problems/palindrome-pairs
205319Bulb Switcher45.4%Medium0.1734438827619372https://leetcode.com/problems/bulb-switcher
206567Permutation in String44.4%Medium0.16931057302189864https://leetcode.com/problems/permutation-in-string
207116Populating Next Right Pointers in Each Node45.2%Medium0.16897814162027025https://leetcode.com/problems/populating-next-right-pointers-in-each-node
208325Maximum Size Subarray Sum Equals k46.8%Medium0.16882086957505205https://leetcode.com/problems/maximum-size-subarray-sum-equals-k
209102Binary Tree Level Order Traversal54.6%Medium0.16435828678782985https://leetcode.com/problems/binary-tree-level-order-traversal
21046Permutations63.5%Medium0.16425503646428852https://leetcode.com/problems/permutations
211280Wiggle Sort63.8%Medium0.16413412381144152https://leetcode.com/problems/wiggle-sort
212242Valid Anagram56.9%Easy0.1620140669319784https://leetcode.com/problems/valid-anagram
213724Find Pivot Index44.0%Easy0.15773063591797515https://leetcode.com/problems/find-pivot-index
214676Implement Magic Dictionary54.5%Medium0.15104025741286586https://leetcode.com/problems/implement-magic-dictionary
215230Kth Smallest Element in a BST60.2%Medium0.1474770794572995https://leetcode.com/problems/kth-smallest-element-in-a-bst
216328Odd Even Linked List55.7%Medium0.14442996827561513https://leetcode.com/problems/odd-even-linked-list
21774Search a 2D Matrix36.5%Medium0.13990475142949543https://leetcode.com/problems/search-a-2d-matrix
218160Intersection of Two Linked Lists40.6%Easy0.13857026686146906https://leetcode.com/problems/intersection-of-two-linked-lists
2191209Remove All Adjacent Duplicates in String II56.9%Medium0.13712574822724946https://leetcode.com/problems/remove-all-adjacent-duplicates-in-string-ii
220295Find Median from Data Stream44.3%Hard0.13508385924075386https://leetcode.com/problems/find-median-from-data-stream
221442Find All Duplicates in an Array67.8%Medium0.13441180353979212https://leetcode.com/problems/find-all-duplicates-in-an-array
222449Serialize and Deserialize BST52.0%Medium0.1327502812764459https://leetcode.com/problems/serialize-and-deserialize-bst
223730Count Different Palindromic Subsequences41.8%Hard0.13133600206108695https://leetcode.com/problems/count-different-palindromic-subsequences
224305Number of Islands II40.1%Hard0.1304306149462744https://leetcode.com/problems/number-of-islands-ii
225885Spiral Matrix III69.4%Medium0.1271551754852466https://leetcode.com/problems/spiral-matrix-iii
22654Spiral Matrix34.1%Medium0.12572728493821236https://leetcode.com/problems/spiral-matrix
227694Number of Distinct Islands56.0%Medium0.12516314295400602https://leetcode.com/problems/number-of-distinct-islands
2281146Snapshot Array37.0%Medium0.12154546954921416https://leetcode.com/problems/snapshot-array
2291439Find the Kth Smallest Sum of a Matrix With Sorted Rows59.5%Hard0.11918851726511835https://leetcode.com/problems/find-the-kth-smallest-sum-of-a-matrix-with-sorted-rows
230284Peeking Iterator45.7%Medium0.11901099827011974https://leetcode.com/problems/peeking-iterator
231776Split BST55.8%Medium0.11641035184441127https://leetcode.com/problems/split-bst
232435Non-overlapping Intervals42.9%Medium0.1158164666843426https://leetcode.com/problems/non-overlapping-intervals
2331275Find Winner on a Tic Tac Toe Game52.8%Easy0.11536465479210183https://leetcode.com/problems/find-winner-on-a-tic-tac-toe-game
234212Word Search II34.9%Hard0.11439698130007839https://leetcode.com/problems/word-search-ii
235674Longest Continuous Increasing Subsequence45.9%Easy0.11324303587009586https://leetcode.com/problems/longest-continuous-increasing-subsequence
236503Next Greater Element II56.5%Medium0.11242734769506908https://leetcode.com/problems/next-greater-element-ii
2371047Remove All Adjacent Duplicates In String68.6%Easy0.11181352460393465https://leetcode.com/problems/remove-all-adjacent-duplicates-in-string
2381008Construct Binary Search Tree from Preorder Traversal78.4%Medium0.11004936619718413https://leetcode.com/problems/construct-binary-search-tree-from-preorder-traversal
239137Single Number II52.4%Medium0.10746985577594965https://leetcode.com/problems/single-number-ii
240966Vowel Spellchecker47.2%Medium0.10676797542570607https://leetcode.com/problems/vowel-spellchecker
241405Convert a Number to Hexadecimal43.9%Easy0.10573219378884732https://leetcode.com/problems/convert-a-number-to-hexadecimal
242547Friend Circles58.6%Medium0.10502210097355241https://leetcode.com/problems/friend-circles
243773Sliding Puzzle59.3%Hard0.10294796925244239https://leetcode.com/problems/sliding-puzzle
2441411Number of Ways to Paint N × 3 Grid61.1%Hard0.10135249426028749https://leetcode.com/problems/number-of-ways-to-paint-n-3-grid
245223Rectangle Area37.8%Medium0.10064352577968744https://leetcode.com/problems/rectangle-area
246387First Unique Character in a String53.4%Easy0.09971390202061521https://leetcode.com/problems/first-unique-character-in-a-string
247136Single Number65.5%Easy0.09844680818822771https://leetcode.com/problems/single-number
2481053Previous Permutation With One Swap48.5%Medium0.09835932019884275https://leetcode.com/problems/previous-permutation-with-one-swap
249489Robot Room Cleaner69.7%Hard0.09769150308111128https://leetcode.com/problems/robot-room-cleaner
250394Decode String50.0%Medium0.09572009987565212https://leetcode.com/problems/decode-string
251642Design Search Autocomplete System44.7%Hard0.09500811062818718https://leetcode.com/problems/design-search-autocomplete-system
252239Sliding Window Maximum43.0%Hard0.09271146326206103https://leetcode.com/problems/sliding-window-maximum
2531062Longest Repeating Substring57.2%Medium0.09201889872025212https://leetcode.com/problems/longest-repeating-substring
25421Merge Two Sorted Lists53.5%Easy0.09110919511165776https://leetcode.com/problems/merge-two-sorted-lists
25549Group Anagrams56.9%Medium0.09101320494254857https://leetcode.com/problems/group-anagrams
2561077Project Employees III75.6%Medium0.0907652093142671https://leetcode.com/problems/project-employees-iii
2571132Reported Posts II34.4%Medium0.0903548750399561https://leetcode.com/problems/reported-posts-ii
25862Unique Paths54.1%Medium0.08965185882136445https://leetcode.com/problems/unique-paths
259995Minimum Number of K Consecutive Bit Flips46.8%Hard0.08894748601649616https://leetcode.com/problems/minimum-number-of-k-consecutive-bit-flips
260163Sum Closest46.0%Medium0.08850538159227012https://leetcode.com/problems/3sum-closest
26125Reverse Nodes in k-Group42.1%Hard0.08835766048944313https://leetcode.com/problems/reverse-nodes-in-k-group
262788Rotated Digits57.1%Easy0.08743429938967429https://leetcode.com/problems/rotated-digits
2631113Reported Posts64.1%Easy0.08552217343816201https://leetcode.com/problems/reported-posts
264614Second Degree Follower30.3%Medium0.08479653666007693https://leetcode.com/problems/second-degree-follower
265345Reverse Vowels of a String44.2%Easy0.08413974844494757https://leetcode.com/problems/reverse-vowels-of-a-string
266443String Compression41.3%Easy0.08391368024915737https://leetcode.com/problems/string-compression
267550Game Play Analysis IV45.3%Medium0.08286311601350513https://leetcode.com/problems/game-play-analysis-iv
26844Wildcard Matching24.7%Hard0.08271909217936915https://leetcode.com/problems/wildcard-matching
26913Roman to Integer55.7%Easy0.08237818622149326https://leetcode.com/problems/roman-to-integer
270962Maximum Width Ramp45.4%Medium0.08184524810424337https://leetcode.com/problems/maximum-width-ramp
271884Uncommon Words from Two Sentences63.3%Easy0.07990051073053109https://leetcode.com/problems/uncommon-words-from-two-sentences
272208Implement Trie (Prefix Tree)49.4%Medium0.07910997849332738https://leetcode.com/problems/implement-trie-prefix-tree
273128Longest Consecutive Sequence45.1%Hard0.0786603197723907https://leetcode.com/problems/longest-consecutive-sequence
2741254Number of Closed Islands60.5%Medium0.07796154146971186https://leetcode.com/problems/number-of-closed-islands
2751055Shortest Way to Form String56.9%Medium0.07681317776161672https://leetcode.com/problems/shortest-way-to-form-string
276778Swim in Rising Water53.1%Hard0.07651914983419623https://leetcode.com/problems/swim-in-rising-water
277852Peak Index in a Mountain Array71.6%Easy0.07637297878457401https://leetcode.com/problems/peak-index-in-a-mountain-array
2784Median of Two Sorted Arrays29.6%Hard0.07615745318145342https://leetcode.com/problems/median-of-two-sorted-arrays
279468Validate IP Address24.1%Medium0.07598590697792203https://leetcode.com/problems/validate-ip-address
280505The Maze II47.7%Medium0.07133147800542972https://leetcode.com/problems/the-maze-ii
2811057Campus Bikes57.7%Medium0.07107786641655695https://leetcode.com/problems/campus-bikes
28281Search in Rotated Sorted Array II33.0%Medium0.07091146875905202https://leetcode.com/problems/search-in-rotated-sorted-array-ii
283346Moving Average from Data Stream70.9%Easy0.06887402901251127https://leetcode.com/problems/moving-average-from-data-stream
284723Candy Crush69.2%Medium0.06828590786613152https://leetcode.com/problems/candy-crush
285168Excel Sheet Column Title31.1%Easy0.0676504718923617https://leetcode.com/problems/excel-sheet-column-title
286105Construct Binary Tree from Preorder and Inorder Traversal48.8%Medium0.06685522312111739https://leetcode.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal
287178Rank Scores45.8%Medium0.06551667145414991https://leetcode.com/problems/rank-scores
288298Binary Tree Longest Consecutive Sequence47.1%Medium0.065169635074581https://leetcode.com/problems/binary-tree-longest-consecutive-sequence
2891108Defanging an IP Address87.5%Easy0.06413595621854226https://leetcode.com/problems/defanging-an-ip-address
290414Third Maximum Number30.5%Easy0.06304078374301514https://leetcode.com/problems/third-maximum-number
29111Container With Most Water50.8%Medium0.060358007567261264https://leetcode.com/problems/container-with-most-water
29255Jump Game34.6%Medium0.059854228581496645https://leetcode.com/problems/jump-game
293491Increasing Subsequences46.1%Medium0.058581901624802396https://leetcode.com/problems/increasing-subsequences
2941305All Elements in Two Binary Search Trees76.1%Medium0.05819353408024827https://leetcode.com/problems/all-elements-in-two-binary-search-trees
295373Find K Pairs with Smallest Sums36.7%Medium0.058155920157074034https://leetcode.com/problems/find-k-pairs-with-smallest-sums
296417Pacific Atlantic Water Flow41.1%Medium0.057523844138186606https://leetcode.com/problems/pacific-atlantic-water-flow
297312Burst Balloons51.8%Hard0.056547726798068784https://leetcode.com/problems/burst-balloons
298218The Skyline Problem34.6%Hard0.0564413109049518https://leetcode.com/problems/the-skyline-problem
29941First Missing Positive32.0%Hard0.056273635982108605https://leetcode.com/problems/first-missing-positive
30024Swap Nodes in Pairs50.4%Medium0.05465011300438079https://leetcode.com/problems/swap-nodes-in-pairs
301395Longest Substring with At Least K Repeating Characters41.4%Medium0.05371219359052555https://leetcode.com/problems/longest-substring-with-at-least-k-repeating-characters
30267924 Game46.4%Hard0.05341723749698583https://leetcode.com/problems/24-game
303597Friend Requests I: Overall Acceptance Rate41.0%Easy0.053062844975211534https://leetcode.com/problems/friend-requests-i-overall-acceptance-rate
30417Letter Combinations of a Phone Number46.8%Medium0.052632421620123555https://leetcode.com/problems/letter-combinations-of-a-phone-number
305122Best Time to Buy and Sell Stock II57.0%Easy0.05236798551731598https://leetcode.com/problems/best-time-to-buy-and-sell-stock-ii
306496Next Greater Element I63.8%Easy0.05179150912840488https://leetcode.com/problems/next-greater-element-i
307209Minimum Size Subarray Sum38.2%Medium0.05146227039335983https://leetcode.com/problems/minimum-size-subarray-sum
308681Next Closest Time45.0%Medium0.05045206096038863https://leetcode.com/problems/next-closest-time
309285Inorder Successor in BST40.4%Medium0.049569618859417214https://leetcode.com/problems/inorder-successor-in-bst
31079Word Search35.6%Medium0.04917091711296865https://leetcode.com/problems/word-search
311593Valid Square43.1%Medium0.048671406375812236https://leetcode.com/problems/valid-square
3121019Next Greater Node In Linked List57.4%Medium0.04795804429616222https://leetcode.com/problems/next-greater-node-in-linked-list
31326Remove Duplicates from Sorted Array45.1%Easy0.0476757427679509https://leetcode.com/problems/remove-duplicates-from-sorted-array
314698Partition to K Equal Sum Subsets45.0%Medium0.04685917114094188https://leetcode.com/problems/partition-to-k-equal-sum-subsets
315556Next Greater Element III31.7%Medium0.04679216150675895https://leetcode.com/problems/next-greater-element-iii
316191Number of 1 Bits49.8%Easy0.045812334709758235https://leetcode.com/problems/number-of-1-bits
31748Rotate Image56.7%Medium0.04495138786226632https://leetcode.com/problems/rotate-image
318935Knight Dialer45.2%Medium0.04445176257083384https://leetcode.com/problems/knight-dialer
319148Sort List42.3%Medium0.04408427313201935https://leetcode.com/problems/sort-list
3201498Number of Subsequences That Satisfy the Given Sum Condition36.7%Medium0.04334372921647208https://leetcode.com/problems/number-of-subsequences-that-satisfy-the-given-sum-condition
321399Evaluate Division51.6%Medium0.043089480538103624https://leetcode.com/problems/evaluate-division
322338Counting Bits69.5%Medium0.0428445715346785https://leetcode.com/problems/counting-bits
323716Max Stack42.6%Easy0.042695919196489414https://leetcode.com/problems/max-stack
324611Valid Triangle Number48.4%Medium0.04255961441879593https://leetcode.com/problems/valid-triangle-number
325669Trim a Binary Search Tree63.0%Easy0.04255961441879593https://leetcode.com/problems/trim-a-binary-search-tree
326430Flatten a Multilevel Doubly Linked List55.1%Medium0.04154283751370906https://leetcode.com/problems/flatten-a-multilevel-doubly-linked-list
3271219Path with Maximum Gold65.1%Medium0.04111576039097048https://leetcode.com/problems/path-with-maximum-gold
32837Sudoku Solver43.6%Hard0.040527833612118376https://leetcode.com/problems/sudoku-solver
329918Maximum Sum Circular Subarray33.7%Medium0.04045040846284272https://leetcode.com/problems/maximum-sum-circular-subarray
33014Longest Common Prefix35.4%Easy0.039933598017406854https://leetcode.com/problems/longest-common-prefix
331686Repeated String Match32.3%Easy0.03984590854719967https://leetcode.com/problems/repeated-string-match
332406Queue Reconstruction by Height66.9%Medium0.03949613834265583https://leetcode.com/problems/queue-reconstruction-by-height
333210Course Schedule II40.7%Medium0.03795788828372613https://leetcode.com/problems/course-schedule-ii
3341031Maximum Sum of Two Non-Overlapping Subarrays57.9%Medium0.03711000965123125https://leetcode.com/problems/maximum-sum-of-two-non-overlapping-subarrays
335206Reverse Linked List62.5%Easy0.03679633286058156https://leetcode.com/problems/reverse-linked-list
336887Super Egg Drop27.1%Hard0.03660060864484636https://leetcode.com/problems/super-egg-drop
33728Implement strStr()34.5%Easy0.03494144277828229https://leetcode.com/problems/implement-strstr
338152Maximum Product Subarray31.7%Medium0.034438665054543384https://leetcode.com/problems/maximum-product-subarray
339886Possible Bipartition44.2%Medium0.034103901828857086https://leetcode.com/problems/possible-bipartition
3401360Number of Days Between Two Dates48.8%Easy0.03401688527825427https://leetcode.com/problems/number-of-days-between-two-dates
341384Shuffle an Array52.8%Medium0.03399118781703353https://leetcode.com/problems/shuffle-an-array
342516Longest Palindromic Subsequence53.2%Medium0.0332870969222259https://leetcode.com/problems/longest-palindromic-subsequence
3431287Element Appearing More Than 25% In Sorted Array60.2%Easy0.033033556829153404https://leetcode.com/problems/element-appearing-more-than-25-in-sorted-array
344235Lowest Common Ancestor of a Binary Search Tree49.9%Easy0.032470385030784074https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-search-tree
345300Longest Increasing Subsequence42.6%Medium0.03245773693742074https://leetcode.com/problems/longest-increasing-subsequence
346228Summary Ranges39.5%Medium0.03157326191609021https://leetcode.com/problems/summary-ranges
347150Evaluate Reverse Polish Notation36.3%Medium0.031526253646773944https://leetcode.com/problems/evaluate-reverse-polish-notation
348703Kth Largest Element in a Stream49.7%Easy0.031004894819414507https://leetcode.com/problems/kth-largest-element-in-a-stream
349303Range Sum Query - Immutable44.7%Easy0.029549096691749193https://leetcode.com/problems/range-sum-query-immutable
3507Reverse Integer25.8%Easy0.029372034825448746https://leetcode.com/problems/reverse-integer
351176Second Highest Salary31.6%Easy0.029252542837437355https://leetcode.com/problems/second-highest-salary
352324Wiggle Sort II29.9%Medium0.02898753687325229https://leetcode.com/problems/wiggle-sort-ii
353509Fibonacci Number67.2%Easy0.028156003871381816https://leetcode.com/problems/fibonacci-number
354472Concatenated Words43.7%Hard0.027664281472355556https://leetcode.com/problems/concatenated-words
355159Longest Substring with At Most Two Distinct Characters49.4%Medium0.02717558537896476https://leetcode.com/problems/longest-substring-with-at-most-two-distinct-characters
356437Path Sum III47.2%Medium0.02708561605844235https://leetcode.com/problems/path-sum-iii
3571379Find a Corresponding Node of a Binary Tree in a Clone of That Tree83.8%Medium0.02645656953683045https://leetcode.com/problems/find-a-corresponding-node-of-a-binary-tree-in-a-clone-of-that-tree
358979Distribute Coins in Binary Tree68.9%Medium0.026196651946570663https://leetcode.com/problems/distribute-coins-in-binary-tree
359403Frog Jump39.7%Hard0.0259249775263148https://leetcode.com/problems/frog-jump
360410Split Array Largest Sum44.5%Hard0.025807883955872597https://leetcode.com/problems/split-array-largest-sum
36190Subsets II47.1%Medium0.025497131933483772https://leetcode.com/problems/subsets-ii
362189Rotate Array34.7%Easy0.024924029676386045https://leetcode.com/problems/rotate-array
36330Substring with Concatenation of All Words25.4%Hard0.02486144206532915https://leetcode.com/problems/substring-with-concatenation-of-all-words
364662Maximum Width of Binary Tree41.0%Medium0.024116924478312346https://leetcode.com/problems/maximum-width-of-binary-tree
365307Range Sum Query - Mutable34.6%Medium0.02223549085228711https://leetcode.com/problems/range-sum-query-mutable
366221Maximal Square37.7%Medium0.022108490754203434https://leetcode.com/problems/maximal-square
367108Convert Sorted Array to Binary Search Tree57.9%Easy0.022033389270751453https://leetcode.com/problems/convert-sorted-array-to-binary-search-tree
368112Path Sum41.2%Easy0.021701651897460775https://leetcode.com/problems/path-sum
3691137N-th Tribonacci Number55.9%Easy0.02072613051711693https://leetcode.com/problems/n-th-tribonacci-number
37060Permutation Sequence38.4%Hard0.020471543980187256https://leetcode.com/problems/permutation-sequence
371392Is Subsequence49.2%Easy0.02033508842008217https://leetcode.com/problems/is-subsequence
372525Contiguous Array42.8%Medium0.01975372873623256https://leetcode.com/problems/contiguous-array
373229Majority Element II35.6%Medium0.019057270410286146https://leetcode.com/problems/majority-element-ii
374787Cheapest Flights Within K Stops39.3%Medium0.018824085245635554https://leetcode.com/problems/cheapest-flights-within-k-stops
375450Delete Node in a BST43.1%Medium0.018536211907915243https://leetcode.com/problems/delete-node-in-a-bst
37670Climbing Stairs47.8%Easy0.018323749536870576https://leetcode.com/problems/climbing-stairs
377706Design HashMap61.3%Easy0.01752893260576219https://leetcode.com/problems/design-hashmap
378993Cousins in Binary Tree52.0%Easy0.017414458368636587https://leetcode.com/problems/cousins-in-binary-tree
3791266Minimum Time Visiting All Points79.6%Easy0.017354014693151613https://leetcode.com/problems/minimum-time-visiting-all-points
380289Game of Life54.5%Medium0.0173239499317743https://leetcode.com/problems/game-of-life
38195Unique Binary Search Trees II40.6%Medium0.016856699181010838https://leetcode.com/problems/unique-binary-search-trees-ii
382145Binary Tree Postorder Traversal55.0%Hard0.01682911820009702https://leetcode.com/problems/binary-tree-postorder-traversal
383997Find the Town Judge50.1%Easy0.01677891712910938https://leetcode.com/problems/find-the-town-judge
38451N-Queens46.6%Hard0.016393809775676407https://leetcode.com/problems/n-queens
3851304Find N Unique Integers Sum up to Zero76.3%Easy0.015892269319508656https://leetcode.com/problems/find-n-unique-integers-sum-up-to-zero
386153Find Minimum in Rotated Sorted Array45.1%Medium0.014939586916186732https://leetcode.com/problems/find-minimum-in-rotated-sorted-array
387203Remove Linked List Elements38.6%Easy0.014519311324453305https://leetcode.com/problems/remove-linked-list-elements
388653Two Sum IV - Input is a BST55.5%Easy0.014224990931347289https://leetcode.com/problems/two-sum-iv-input-is-a-bst
389179Largest Number28.8%Medium0.013865040137171665https://leetcode.com/problems/largest-number
39064Minimum Path Sum54.5%Medium0.013734383449598314https://leetcode.com/problems/minimum-path-sum
391101Symmetric Tree46.8%Easy0.013553786479814183https://leetcode.com/problems/symmetric-tree
392344Reverse String68.5%Easy0.013014662307854044https://leetcode.com/problems/reverse-string
39377Combinations54.7%Medium0.01255115315451512https://leetcode.com/problems/combinations
394287Find the Duplicate Number55.5%Medium0.012335682739188652https://leetcode.com/problems/find-the-duplicate-number
395445Add Two Numbers II54.5%Medium0.01233061245747872https://leetcode.com/problems/add-two-numbers-ii
396172Factorial Trailing Zeroes37.8%Easy0.012326812480658571https://leetcode.com/problems/factorial-trailing-zeroes
397205Isomorphic Strings39.8%Easy0.011544139746865315https://leetcode.com/problems/isomorphic-strings
398733Flood Fill55.3%Easy0.011217167530924988https://leetcode.com/problems/flood-fill
399171Excel Sheet Column Number55.9%Easy0.011195191092491645https://leetcode.com/problems/excel-sheet-column-number
400104Maximum Depth of Binary Tree66.0%Easy0.011105055822701604https://leetcode.com/problems/maximum-depth-of-binary-tree
401103Binary Tree Zigzag Level Order Traversal48.3%Medium0.01063025572799205https://leetcode.com/problems/binary-tree-zigzag-level-order-traversal
402234Palindrome Linked List39.3%Easy0.010171877938733932https://leetcode.com/problems/palindrome-linked-list
40372Edit Distance44.8%Hard0.010017614452317782https://leetcode.com/problems/edit-distance
40461Rotate List30.0%Medium0.009925639799969955https://leetcode.com/problems/rotate-list
405113Path Sum II46.7%Medium0.009784813879998279https://leetcode.com/problems/path-sum-ii
406905Sort Array By Parity74.1%Easy0.009603915354180344https://leetcode.com/problems/sort-array-by-parity
407151Reverse Words in a String21.9%Medium0.009570916441992467https://leetcode.com/problems/reverse-words-in-a-string
40896Unique Binary Search Trees52.9%Medium0.009242209964820877https://leetcode.com/problems/unique-binary-search-trees
4091143Longest Common Subsequence58.4%Medium0.008835931134362285https://leetcode.com/problems/longest-common-subsequence
41063Unique Paths II34.6%Medium0.008712753874961187https://leetcode.com/problems/unique-paths-ii
411763Partition Labels76.1%Medium0.008385793376274025https://leetcode.com/problems/partition-labels
41284Largest Rectangle in Histogram35.2%Hard0.00833685528906183https://leetcode.com/problems/largest-rectangle-in-histogram
41338Count and Say44.6%Easy0.007829360800435779https://leetcode.com/problems/count-and-say
4146ZigZag Conversion36.3%Medium0.0077116248757144665https://leetcode.com/problems/zigzag-conversion
41566Plus One43.0%Easy0.007324847595025828https://leetcode.com/problems/plus-one
41636Valid Sudoku48.7%Medium0.007258242715805398https://leetcode.com/problems/valid-sudoku
417204Count Primes31.5%Easy0.007072165261362441https://leetcode.com/problems/count-primes
418118Pascal's Triangle52.5%Easy0.006749941254175012https://leetcode.com/problems/pascals-triangle
41983Remove Duplicates from Sorted List45.4%Easy0.006353261522609498https://leetcode.com/problems/remove-duplicates-from-sorted-list
4201528Shuffle String86.1%Easy0.006295047716793515https://leetcode.com/problems/shuffle-string
421237Delete Node in a Linked List63.8%Easy0.005144705881237697https://leetcode.com/problems/delete-node-in-a-linked-list
422268Missing Number51.7%Easy0.0048804391649084865https://leetcode.com/problems/missing-number
423154Find Minimum in Rotated Sorted Array II41.6%Hard0.004780123824719199https://leetcode.com/problems/find-minimum-in-rotated-sorted-array-ii
424155Min Stack44.5%Easy0.00474891074128171https://leetcode.com/problems/min-stack
425141Linked List Cycle41.1%Easy0.0034937584669245472https://leetcode.com/problems/linked-list-cycle
42694Binary Tree Inorder Traversal63.3%Medium0.0033551449021403577https://leetcode.com/problems/binary-tree-inorder-traversal
427309Best Time to Buy and Sell Stock with Cooldown47.4%Medium0.0028498166907604426https://leetcode.com/problems/best-time-to-buy-and-sell-stock-with-cooldown
428260Single Number III64.3%Medium0.0020288097849578786https://leetcode.com/problems/single-number-iii
429100Same Tree53.4%Easy0.0014080047382258295https://leetcode.com/problems/same-tree