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

59 KiB
Raw Permalink Blame History

1IDTitleAcceptanceDifficultyFrequencyLeetcode Question Link
2301Remove Invalid Parentheses43.3%Hard4.335196687339778https://leetcode.com/problems/remove-invalid-parentheses
3953Verifying an Alien Dictionary54.1%Easy4.206922996096642https://leetcode.com/problems/verifying-an-alien-dictionary
4273Integer to English Words27.1%Hard4.078649304853506https://leetcode.com/problems/integer-to-english-words
51249Minimum Remove to Make Valid Parentheses62.5%Medium3.9503756136103707https://leetcode.com/problems/minimum-remove-to-make-valid-parentheses
6238Product of Array Except Self60.1%Medium3.920816433231904https://leetcode.com/problems/product-of-array-except-self
7560Subarray Sum Equals K43.9%Medium3.902938675359258https://leetcode.com/problems/subarray-sum-equals-k
8973K Closest Points to Origin63.8%Medium3.837939583445208https://leetcode.com/problems/k-closest-points-to-origin
9680Valid Palindrome II36.6%Easy3.743691921282678https://leetcode.com/problems/valid-palindrome-ii
10297Serialize and Deserialize Binary Tree47.5%Hard3.615418230039542https://leetcode.com/problems/serialize-and-deserialize-binary-tree
11269Alien Dictionary33.3%Hard3.4871445387964064https://leetcode.com/problems/alien-dictionary
12158Read N Characters Given Read4 II - Call multiple times33.8%Hard3.434469283544648https://leetcode.com/problems/read-n-characters-given-read4-ii-call-multiple-times
13253Meeting Rooms II45.7%Medium3.427944872876946https://leetcode.com/problems/meeting-rooms-ii
14426Convert Binary Search Tree to Sorted Doubly Linked List59.1%Medium3.4110516539651776https://leetcode.com/problems/convert-binary-search-tree-to-sorted-doubly-linked-list
15124Binary Tree Maximum Path Sum34.3%Hard3.282777962722042https://leetcode.com/problems/binary-tree-maximum-path-sum
16438Find All Anagrams in a String43.3%Medium3.228312998479945https://leetcode.com/problems/find-all-anagrams-in-a-string
17125Valid Palindrome36.7%Easy3.16695362968713https://leetcode.com/problems/valid-palindrome
18282Expression Add Operators35.5%Hard3.161352879902371https://leetcode.com/problems/expression-add-operators
19278First Bad Version35.7%Easy3.141715385559214https://leetcode.com/problems/first-bad-version
20523Continuous Subarray Sum24.6%Medium3.134589355474442https://leetcode.com/problems/continuous-subarray-sum
21211Add and Search Word - Data structure design38.1%Medium3.1233998390837767https://leetcode.com/problems/add-and-search-word-data-structure-design
2267Add Binary45.2%Easy3.093426978305565https://leetcode.com/problems/add-binary
23173Binary Search Tree Iterator56.6%Medium3.085972660150353https://leetcode.com/problems/binary-search-tree-iterator
24415Add Strings47.5%Easy3.0354142430165405https://leetcode.com/problems/add-strings
2523Merge k Sorted Lists40.2%Hard3.012005317142122https://leetcode.com/problems/merge-k-sorted-lists
26199Binary Tree Right Side View54.1%Medium2.9712068716590117https://leetcode.com/problems/binary-tree-right-side-view
2776Minimum Window Substring34.6%Hard2.903027697620134https://leetcode.com/problems/minimum-window-substring
2865Valid Number15.3%Hard2.774754006376998https://leetcode.com/problems/valid-number
29215Kth Largest Element in an Array55.4%Medium2.6975027548980828https://leetcode.com/problems/kth-largest-element-in-an-array
3031Next Permutation32.6%Medium2.69746063524191https://leetcode.com/problems/next-permutation
31543Diameter of Binary Tree48.4%Easy2.6227083482028957https://leetcode.com/problems/diameter-of-binary-tree
32636Exclusive Time of Functions51.9%Medium2.6211064122306147https://leetcode.com/problems/exclusive-time-of-functions
33340Longest Substring with At Most K Distinct Characters44.1%Hard2.6205141399271614https://leetcode.com/problems/longest-substring-with-at-most-k-distinct-characters
34785Is Graph Bipartite?47.5%Medium2.559938999523321https://leetcode.com/problems/is-graph-bipartite
3556Merge Intervals39.3%Medium2.5576573577289374https://leetcode.com/problems/merge-intervals
36314Binary Tree Vertical Order Traversal45.3%Medium2.550800170263845https://leetcode.com/problems/binary-tree-vertical-order-traversal
37689Maximum Sum of 3 Non-Overlapping Subarrays46.3%Hard2.51549898450556https://leetcode.com/problems/maximum-sum-of-3-non-overlapping-subarrays
38986Interval List Intersections67.3%Medium2.4093233466724615https://leetcode.com/problems/interval-list-intersections
39349Intersection of Two Arrays62.5%Easy2.369718253147033https://leetcode.com/problems/intersection-of-two-arrays
40721Accounts Merge48.8%Medium2.365752321622797https://leetcode.com/problems/accounts-merge
41133Clone Graph34.8%Medium2.3193152747996915https://leetcode.com/problems/clone-graph
4229Divide Two Integers16.4%Medium2.2326816570763848https://leetcode.com/problems/divide-two-integers
4388Merge Sorted Array39.4%Easy2.213966373450817https://leetcode.com/problems/merge-sorted-array
44896Monotonic Array57.9%Easy2.1852457458755925https://leetcode.com/problems/monotonic-array
45311Sparse Matrix Multiplication61.9%Medium2.157267013499234https://leetcode.com/problems/sparse-matrix-multiplication
4634Find First and Last Position of Element in Sorted Array36.2%Medium2.1199910717145767https://leetcode.com/problems/find-first-and-last-position-of-element-in-sorted-array
47270Closest Binary Search Tree Value48.5%Easy2.111207106216602https://leetcode.com/problems/closest-binary-search-tree-value
48236Lowest Common Ancestor of a Binary Tree45.7%Medium2.102577038080218https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-tree
49304Range Sum Query 2D - Immutable38.6%Medium2.090977201214256https://leetcode.com/problems/range-sum-query-2d-immutable
5098Validate Binary Search Tree27.8%Medium2.0891962855012602https://leetcode.com/problems/validate-binary-search-tree
51621Task Scheduler50.1%Medium2.042599452137005https://leetcode.com/problems/task-scheduler
52317Shortest Distance from All Buildings41.4%Hard2.01991943083028https://leetcode.com/problems/shortest-distance-from-all-buildings
53398Random Pick Index56.0%Medium2.008333871806795https://leetcode.com/problems/random-pick-index
5442Trapping Rain Water48.9%Hard1.9873336630842446https://leetcode.com/problems/trapping-rain-water
55157Read N Characters Given Read434.2%Easy1.985241648938099https://leetcode.com/problems/read-n-characters-given-read4
56139Word Break40.1%Medium1.8922941949982255https://leetcode.com/problems/word-break
57146LRU Cache33.2%Medium1.8699827439738443https://leetcode.com/problems/lru-cache
5810Regular Expression Matching26.8%Hard1.8647592081270254https://leetcode.com/problems/regular-expression-matching
5971Simplify Path32.6%Medium1.8423694701144728https://leetcode.com/problems/simplify-path
6043Multiply Strings33.9%Medium1.8392290485002738https://leetcode.com/problems/multiply-strings
61708Insert into a Sorted Circular Linked List31.6%Medium1.8368993052205314https://leetcode.com/problems/insert-into-a-sorted-circular-linked-list
62153Sum26.8%Medium1.8210457271059735https://leetcode.com/problems/3sum
6333Search in Rotated Sorted Array34.5%Medium1.820722356662543https://leetcode.com/problems/search-in-rotated-sorted-array
64958Check Completeness of a Binary Tree52.1%Medium1.783474417693948https://leetcode.com/problems/check-completeness-of-a-binary-tree
65938Range Sum of BST81.3%Easy1.7818897566437633https://leetcode.com/problems/range-sum-of-bst
66825Friends Of Appropriate Ages42.7%Medium1.7740301628140611https://leetcode.com/problems/friends-of-appropriate-ages
671428Leftmost Column with at Least a One46.8%Medium1.7410939458816417https://leetcode.com/problems/leftmost-column-with-at-least-a-one
68143Reorder List37.1%Medium1.7332983469419634https://leetcode.com/problems/reorder-list
69824Goat Latin63.4%Easy1.732127219683092https://leetcode.com/problems/goat-latin
70286Walls and Gates54.5%Medium1.6650077635889111https://leetcode.com/problems/walls-and-gates
71987Vertical Order Traversal of a Binary Tree36.6%Medium1.6510344027543389https://leetcode.com/problems/vertical-order-traversal-of-a-binary-tree
72121Best Time to Buy and Sell Stock50.5%Easy1.6506540247828296https://leetcode.com/problems/best-time-to-buy-and-sell-stock
73277Find the Celebrity41.8%Medium1.6067213396798519https://leetcode.com/problems/find-the-celebrity
74528Random Pick with Weight43.9%Medium1.573847508711663https://leetcode.com/problems/random-pick-with-weight
75380Insert Delete GetRandom O(1)47.5%Medium1.5587288098338494https://leetcode.com/problems/insert-delete-getrandom-o1
76161One Edit Distance32.3%Medium1.5461666704459118https://leetcode.com/problems/one-edit-distance
77339Nested List Weight Sum74.0%Easy1.5339303599259553https://leetcode.com/problems/nested-list-weight-sum
78767Reorganize String48.7%Medium1.4877315278489756https://leetcode.com/problems/reorganize-string
79350Intersection of Two Arrays II51.4%Easy1.4808978669832478https://leetcode.com/problems/intersection-of-two-arrays-ii
80227Basic Calculator II36.9%Medium1.4808670150064625https://leetcode.com/problems/basic-calculator-ii
81246Strobogrammatic Number45.0%Easy1.460594327130399https://leetcode.com/problems/strobogrammatic-number
8291Decode Ways24.7%Medium1.459985348070545https://leetcode.com/problems/decode-ways
83670Maximum Swap43.6%Medium1.4565677885079338https://leetcode.com/problems/maximum-swap
841Two Sum45.6%Easy1.4488825064262976https://leetcode.com/problems/two-sum
85162Find Peak Element43.3%Medium1.4410277421297353https://leetcode.com/problems/find-peak-element
86200Number of Islands46.8%Medium1.4234691396268788https://leetcode.com/problems/number-of-islands
87247Strobogrammatic Number II47.6%Medium1.4154036932554577https://leetcode.com/problems/strobogrammatic-number-ii
88249Group Shifted Strings55.1%Medium1.4075846503536702https://leetcode.com/problems/group-shifted-strings
89432All O`one Data Structure32.4%Hard1.389408935384036https://leetcode.com/problems/all-oone-data-structure
90138Copy List with Random Pointer36.4%Medium1.3877294433016032https://leetcode.com/problems/copy-list-with-random-pointer
91257Binary Tree Paths51.5%Easy1.3511913085572316https://leetcode.com/problems/binary-tree-paths
92498Diagonal Traverse48.2%Medium1.2592309745261798https://leetcode.com/problems/diagonal-traverse
93348Design Tic-Tac-Toe54.3%Medium1.238658362313826https://leetcode.com/problems/design-tic-tac-toe
941060Missing Element in Sorted Array54.5%Medium1.2015522948374056https://leetcode.com/problems/missing-element-in-sorted-array
95463Island Perimeter65.7%Easy1.1974645909616073https://leetcode.com/problems/island-perimeter
961197Minimum Knight Moves36.1%Medium1.1562032194143523https://leetcode.com/problems/minimum-knight-moves
97921Minimum Add to Make Parentheses Valid73.7%Medium1.1523660079764306https://leetcode.com/problems/minimum-add-to-make-parentheses-valid
98766Toeplitz Matrix65.1%Easy1.1255435578759945https://leetcode.com/problems/toeplitz-matrix
9920Valid Parentheses39.0%Easy1.1000699309983533https://leetcode.com/problems/valid-parentheses
100419Battleships in a Board70.0%Medium1.0742208355439504https://leetcode.com/problems/battleships-in-a-board
101109Convert Sorted List to Binary Search Tree47.7%Medium1.072828171512395https://leetcode.com/problems/convert-sorted-list-to-binary-search-tree
102863All Nodes Distance K in Binary Tree55.4%Medium1.0596708581592273https://leetcode.com/problems/all-nodes-distance-k-in-binary-tree
103658Find K Closest Elements40.9%Medium1.0461722557435686https://leetcode.com/problems/find-k-closest-elements
104536Construct Binary Tree from String48.3%Medium1.0281929964622412https://leetcode.com/problems/construct-binary-tree-from-string
105114Flatten Binary Tree to Linked List49.3%Medium1.019434258955927https://leetcode.com/problems/flatten-binary-tree-to-linked-list
10650Pow(x;n)30.3%Medium0.9999968664707609https://leetcode.com/problems/powx-n
107865Smallest Subtree with all the Deepest Nodes60.8%Medium0.9992659535205286https://leetcode.com/problems/smallest-subtree-with-all-the-deepest-nodes
108480Sliding Window Median37.2%Hard0.9861751440709843https://leetcode.com/problems/sliding-window-median
109283Move Zeroes57.8%Easy0.9799710505768641https://leetcode.com/problems/move-zeroes
110126Word Ladder II22.1%Hard0.9702767208990074https://leetcode.com/problems/word-ladder-ii
111329Longest Increasing Path in a Matrix43.4%Hard0.9678875215177066https://leetcode.com/problems/longest-increasing-path-in-a-matrix
1128String to Integer (atoi)15.4%Medium0.9542977106716032https://leetcode.com/problems/string-to-integer-atoi
1131123Lowest Common Ancestor of Deepest Leaves66.8%Medium0.9426391836226029https://leetcode.com/problems/lowest-common-ancestor-of-deepest-leaves
114674Longest Continuous Increasing Subsequence45.9%Easy0.937643856344724https://leetcode.com/problems/longest-continuous-increasing-subsequence
11532Longest Valid Parentheses28.4%Hard0.9348811561799546https://leetcode.com/problems/longest-valid-parentheses
1161004Max Consecutive Ones III59.1%Medium0.9227276214905304https://leetcode.com/problems/max-consecutive-ones-iii
117791Custom Sort String65.7%Medium0.9193484785821322https://leetcode.com/problems/custom-sort-string
118678Valid Parenthesis String31.0%Medium0.9043878930155473https://leetcode.com/problems/valid-parenthesis-string
119336Palindrome Pairs33.7%Hard0.8971409526507793https://leetcode.com/problems/palindrome-pairs
1203Longest Substring Without Repeating Characters30.4%Medium0.8953752760627052https://leetcode.com/problems/longest-substring-without-repeating-characters
121616Add Bold Tag in String43.1%Medium0.8724465334959766https://leetcode.com/problems/add-bold-tag-in-string
122647Palindromic Substrings60.6%Medium0.8682112403653768https://leetcode.com/problems/palindromic-substrings
123224Basic Calculator36.8%Hard0.8569364892249722https://leetcode.com/problems/basic-calculator
124494Target Sum46.3%Medium0.8526861460071543https://leetcode.com/problems/target-sum
12522Generate Parentheses62.7%Medium0.8495119409673674https://leetcode.com/problems/generate-parentheses
1261027Longest Arithmetic Sequence53.4%Medium0.832909122935104https://leetcode.com/problems/longest-arithmetic-sequence
1271026Maximum Difference Between Node and Ancestor66.0%Medium0.8326883967450455https://leetcode.com/problems/maximum-difference-between-node-and-ancestor
128341Flatten Nested List Iterator52.9%Medium0.8292610077755705https://leetcode.com/problems/flatten-nested-list-iterator
1291216Valid Palindrome III47.8%Hard0.8187244879431477https://leetcode.com/problems/valid-palindrome-iii
130452Minimum Number of Arrows to Burst Balloons49.6%Medium0.8171437319197754https://leetcode.com/problems/minimum-number-of-arrows-to-burst-balloons
131468Validate IP Address24.1%Medium0.8167611365271219https://leetcode.com/problems/validate-ip-address
132885Spiral Matrix III69.4%Medium0.7976598792954321https://leetcode.com/problems/spiral-matrix-iii
133378Kth Smallest Element in a Sorted Matrix54.3%Medium0.774853894374https://leetcode.com/problems/kth-smallest-element-in-a-sorted-matrix
134416Partition Equal Subset Sum43.7%Medium0.7672162050787574https://leetcode.com/problems/partition-equal-subset-sum
135489Robot Room Cleaner69.7%Hard0.7609230442143258https://leetcode.com/problems/robot-room-cleaner
13625Reverse Nodes in k-Group42.1%Hard0.7568915065003623https://leetcode.com/problems/reverse-nodes-in-k-group
13778Subsets62.0%Medium0.7567934361936809https://leetcode.com/problems/subsets
138449Serialize and Deserialize BST52.0%Medium0.7481106198504164https://leetcode.com/problems/serialize-and-deserialize-bst
139622Design Circular Queue43.8%Medium0.7481106198504164https://leetcode.com/problems/design-circular-queue
140567Permutation in String44.4%Medium0.736255715579399https://leetcode.com/problems/permutation-in-string
141266Palindrome Permutation61.9%Easy0.7234683742749072https://leetcode.com/problems/palindrome-permutation
142381Insert Delete GetRandom O(1) - Duplicates allowed34.1%Hard0.7223768188748837https://leetcode.com/problems/insert-delete-getrandom-o1-duplicates-allowed
143772Basic Calculator III41.3%Hard0.7157652691477178https://leetcode.com/problems/basic-calculator-iii
144408Valid Word Abbreviation30.6%Easy0.682218110027755https://leetcode.com/problems/valid-word-abbreviation
14557Insert Interval33.5%Hard0.6699349836634878https://leetcode.com/problems/insert-interval
146540Single Element in a Sorted Array57.9%Medium0.6681029057556921https://leetcode.com/problems/single-element-in-a-sorted-array
147163Missing Ranges24.3%Medium0.6673264809382026https://leetcode.com/problems/missing-ranges
148325Maximum Size Subarray Sum Equals k46.8%Medium0.6580558607486752https://leetcode.com/problems/maximum-size-subarray-sum-equals-k
149529Minesweeper59.1%Medium0.6503908125743563https://leetcode.com/problems/minesweeper
150839Similar String Groups38.6%Hard0.6425949013971141https://leetcode.com/problems/similar-string-groups
151490The Maze51.4%Medium0.6350863559329611https://leetcode.com/problems/the-maze
152568Maximum Vacation Days40.8%Hard0.633385446017691https://leetcode.com/problems/maximum-vacation-days
153166Fraction to Recurring Decimal21.6%Medium0.6206038478805173https://leetcode.com/problems/fraction-to-recurring-decimal
15493Restore IP Addresses35.6%Medium0.6115646985544299https://leetcode.com/problems/restore-ip-addresses
155207Course Schedule43.1%Medium0.6103117404763498https://leetcode.com/problems/course-schedule
156251Flatten 2D Vector45.7%Medium0.6100265562802061https://leetcode.com/problems/flatten-2d-vector
1571094Car Pooling56.7%Medium0.6042711750233518https://leetcode.com/problems/car-pooling
15853Maximum Subarray46.5%Easy0.6015398665839413https://leetcode.com/problems/maximum-subarray
1592Add Two Numbers33.9%Medium0.5977271417553114https://leetcode.com/problems/add-two-numbers
160939Minimum Area Rectangle51.8%Medium0.5793532707737441https://leetcode.com/problems/minimum-area-rectangle
161332Reconstruct Itinerary36.7%Medium0.5760996776571121https://leetcode.com/problems/reconstruct-itinerary
162319Bulb Switcher45.4%Medium0.5639354490799391https://leetcode.com/problems/bulb-switcher
163692Top K Frequent Words51.8%Medium0.5621453229350715https://leetcode.com/problems/top-k-frequent-words
164347Top K Frequent Elements61.2%Medium0.5611438666741244https://leetcode.com/problems/top-k-frequent-elements
165935Knight Dialer45.2%Medium0.5465437063680699https://leetcode.com/problems/knight-dialer
166127Word Ladder29.6%Medium0.5455963628062589https://leetcode.com/problems/word-ladder
167963Minimum Area Rectangle II50.9%Medium0.5446366736089481https://leetcode.com/problems/minimum-area-rectangle-ii
168477Total Hamming Distance50.4%Medium0.5168845792337272https://leetcode.com/problems/total-hamming-distance
169248Strobogrammatic Number III39.6%Hard0.5138062519041285https://leetcode.com/problems/strobogrammatic-number-iii
17092Reverse Linked List II38.8%Medium0.5133381879018739https://leetcode.com/problems/reverse-linked-list-ii
171394Decode String50.0%Medium0.5093485186229775https://leetcode.com/problems/decode-string
17275Sort Colors47.3%Medium0.5079686937722695https://leetcode.com/problems/sort-colors
173140Word Break II32.6%Hard0.5015389381977866https://leetcode.com/problems/word-break-ii
174117Populating Next Right Pointers in Each Node II39.1%Medium0.4973329437215165https://leetcode.com/problems/populating-next-right-pointers-in-each-node-ii
17513Roman to Integer55.7%Easy0.48610209879675464https://leetcode.com/problems/roman-to-integer
176405Convert a Number to Hexadecimal43.9%Easy0.4744855160464951https://leetcode.com/problems/convert-a-number-to-hexadecimal
177844Backspace String Compare46.4%Easy0.46741819242485527https://leetcode.com/problems/backspace-string-compare
178934Shortest Bridge48.2%Medium0.46228336275033https://leetcode.com/problems/shortest-bridge
179691Stickers to Spell Word42.9%Hard0.4602156228795727https://leetcode.com/problems/stickers-to-spell-word
1805Longest Palindromic Substring29.5%Medium0.46006363834709674https://leetcode.com/problems/longest-palindromic-substring
181358Rearrange String k Distance Apart34.9%Hard0.4583075894825443https://leetcode.com/problems/rearrange-string-k-distance-apart
1821213Intersection of Three Sorted Arrays78.9%Easy0.45778473187961194https://leetcode.com/problems/intersection-of-three-sorted-arrays
1831269Number 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
184428Serialize and Deserialize N-ary Tree59.4%Hard0.4508337131380154https://leetcode.com/problems/serialize-and-deserialize-n-ary-tree
185548Split Array with Equal Sum46.4%Medium0.448122872401898https://leetcode.com/problems/split-array-with-equal-sum
186977Squares of a Sorted Array72.1%Easy0.44558510189758965https://leetcode.com/problems/squares-of-a-sorted-array
18746Permutations63.5%Medium0.44390547933455826https://leetcode.com/problems/permutations
188387First Unique Character in a String53.4%Easy0.44127087243911367https://leetcode.com/problems/first-unique-character-in-a-string
189240Search a 2D Matrix II43.2%Medium0.438224237725094https://leetcode.com/problems/search-a-2d-matrix-ii
190695Max Area of Island62.7%Medium0.43140512911678014https://leetcode.com/problems/max-area-of-island
19117Letter Combinations of a Phone Number46.8%Medium0.42775086183255473https://leetcode.com/problems/letter-combinations-of-a-phone-number
192694Number of Distinct Islands56.0%Medium0.4274440148269396https://leetcode.com/problems/number-of-distinct-islands
1931233Remove Sub-Folders from the Filesystem59.5%Medium0.4243747624654565https://leetcode.com/problems/remove-sub-folders-from-the-filesystem
194239Sliding Window Maximum43.0%Hard0.4104750065235096https://leetcode.com/problems/sliding-window-maximum
195597Friend Requests I: Overall Acceptance Rate41.0%Easy0.39908695436741093https://leetcode.com/problems/friend-requests-i-overall-acceptance-rate
196364Nested List Weight Sum II62.8%Medium0.3968580334554196https://leetcode.com/problems/nested-list-weight-sum-ii
197742Closest Leaf in a Binary Tree43.6%Medium0.38378938262912404https://leetcode.com/problems/closest-leaf-in-a-binary-tree
198230Kth Smallest Element in a BST60.2%Medium0.37791604408658863https://leetcode.com/problems/kth-smallest-element-in-a-bst
199632Smallest Range Covering Elements from K Lists52.4%Hard0.37755631999108785https://leetcode.com/problems/smallest-range-covering-elements-from-k-lists
200875Koko Eating Bananas52.1%Medium0.37067899202274884https://leetcode.com/problems/koko-eating-bananas
201128Longest Consecutive Sequence45.1%Hard0.36849388991868803https://leetcode.com/problems/longest-consecutive-sequence
2021032Stream of Characters48.3%Hard0.35736199308977074https://leetcode.com/problems/stream-of-characters
20344Wildcard Matching24.7%Hard0.34881383996175425https://leetcode.com/problems/wildcard-matching
204116Populating Next Right Pointers in Each Node45.2%Medium0.34657253966731805https://leetcode.com/problems/populating-next-right-pointers-in-each-node
20539Combination Sum56.1%Medium0.34653485590252786https://leetcode.com/problems/combination-sum
20621Merge Two Sorted Lists53.5%Easy0.34463115505721625https://leetcode.com/problems/merge-two-sorted-lists
207855Exam Room43.1%Medium0.34442921752179523https://leetcode.com/problems/exam-room
208105Construct Binary Tree from Preorder and Inorder Traversal48.8%Medium0.3420203241032511https://leetcode.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal
209334Increasing Triplet Subsequence40.0%Medium0.33981980987317617https://leetcode.com/problems/increasing-triplet-subsequence
210102Binary Tree Level Order Traversal54.6%Medium0.3378514215595053https://leetcode.com/problems/binary-tree-level-order-traversal
211400Nth Digit31.7%Medium0.33647223662121295https://leetcode.com/problems/nth-digit
21273Set Matrix Zeroes43.1%Medium0.3336019272255533https://leetcode.com/problems/set-matrix-zeroes
213515Find Largest Value in Each Tree Row61.1%Medium0.32956374627740126https://leetcode.com/problems/find-largest-value-in-each-tree-row
214333Largest BST Subtree35.8%Medium0.32931497055013925https://leetcode.com/problems/largest-bst-subtree
215827Making A Large Island45.7%Hard0.32879599515977564https://leetcode.com/problems/making-a-large-island
216295Find Median from Data Stream44.3%Hard0.32347449067924283https://leetcode.com/problems/find-median-from-data-stream
217137Single Number II52.4%Medium0.32305590883561364https://leetcode.com/problems/single-number-ii
218549Binary Tree Longest Consecutive Sequence II47.0%Medium0.31383478526224007https://leetcode.com/problems/binary-tree-longest-consecutive-sequence-ii
2191242Web Crawler Multithreaded45.9%Medium0.30961714931803663https://leetcode.com/problems/web-crawler-multithreaded
220285Inorder Successor in BST40.4%Medium0.3084972403983375https://leetcode.com/problems/inorder-successor-in-bst
221346Moving Average from Data Stream70.9%Easy0.3081922191359908https://leetcode.com/problems/moving-average-from-data-stream
222614Second Degree Follower30.3%Medium0.3030501026800949https://leetcode.com/problems/second-degree-follower
223564Find the Closest Palindrome19.7%Hard0.3007541540191337https://leetcode.com/problems/find-the-closest-palindrome
2241245Tree Diameter60.1%Medium0.29849298855599654https://leetcode.com/problems/tree-diameter
225936Stamping The Sequence42.8%Hard0.2972515234679316https://leetcode.com/problems/stamping-the-sequence
22651N-Queens46.6%Hard0.28871459706597014https://leetcode.com/problems/n-queens
2271424Diagonal Traverse II42.4%Medium0.28406186115878557https://leetcode.com/problems/diagonal-traverse-ii
228111Minimum Depth of Binary Tree37.4%Easy0.2817695765670001https://leetcode.com/problems/minimum-depth-of-binary-tree
229430Flatten a Multilevel Doubly Linked List55.1%Medium0.2782260520687776https://leetcode.com/problems/flatten-a-multilevel-doubly-linked-list
230129Sum Root to Leaf Numbers49.1%Medium0.27802016154004405https://leetcode.com/problems/sum-root-to-leaf-numbers
231399Evaluate Division51.6%Medium0.27239954676797734https://leetcode.com/problems/evaluate-division
232214Shortest Palindrome29.8%Hard0.2723477084516743https://leetcode.com/problems/shortest-palindrome
23349Group Anagrams56.9%Medium0.2690483662746409https://leetcode.com/problems/group-anagrams
234300Longest Increasing Subsequence42.6%Medium0.25998614206252363https://leetcode.com/problems/longest-increasing-subsequence
235663Equal Tree Partition39.5%Medium0.2578291093020998https://leetcode.com/problems/equal-tree-partition
236609Find Duplicate File in System59.5%Medium0.25388017696233983https://leetcode.com/problems/find-duplicate-file-in-system
237206Reverse Linked List62.5%Easy0.24955592841391872https://leetcode.com/problems/reverse-linked-list
238703Kth Largest Element in a Stream49.7%Easy0.24952447488654275https://leetcode.com/problems/kth-largest-element-in-a-stream
239724Find Pivot Index44.0%Easy0.2487542034447554https://leetcode.com/problems/find-pivot-index
24054Spiral Matrix34.1%Medium0.2464878617937269https://leetcode.com/problems/spiral-matrix
24119Remove Nth Node From End of List35.2%Medium0.24535686887589467https://leetcode.com/problems/remove-nth-node-from-end-of-list
242208Implement Trie (Prefix Tree)49.4%Medium0.24427699389743987https://leetcode.com/problems/implement-trie-prefix-tree
243308Range Sum Query 2D - Mutable35.6%Hard0.24116205681688807https://leetcode.com/problems/range-sum-query-2d-mutable
244296Best Meeting Point57.5%Hard0.23670108287626285https://leetcode.com/problems/best-meeting-point
24526Remove Duplicates from Sorted Array45.1%Easy0.2297722482453755https://leetcode.com/problems/remove-duplicates-from-sorted-array
246291Word Pattern II43.4%Hard0.22825865198098017https://leetcode.com/problems/word-pattern-ii
247305Number of Islands II40.1%Hard0.22128423872402644https://leetcode.com/problems/number-of-islands-ii
248212Word Search II34.9%Hard0.22101415243595443https://leetcode.com/problems/word-search-ii
249393UTF-8 Validation37.5%Medium0.2166710368085923https://leetcode.com/problems/utf-8-validation
25040Combination Sum II48.2%Medium0.21560801183996https://leetcode.com/problems/combination-sum-ii
25179Word Search35.6%Medium0.21504688290625537https://leetcode.com/problems/word-search
25281Search in Rotated Sorted Array II33.0%Medium0.21357410029805904https://leetcode.com/problems/search-in-rotated-sorted-array-ii
25374Search a 2D Matrix36.5%Medium0.2107726489416756https://leetcode.com/problems/search-a-2d-matrix
2541053Previous Permutation With One Swap48.5%Medium0.20909179785855941https://leetcode.com/problems/previous-permutation-with-one-swap
255218The Skyline Problem34.6%Hard0.20884831112738325https://leetcode.com/problems/the-skyline-problem
2561008Construct Binary Search Tree from Preorder Traversal78.4%Medium0.2053974398608136https://leetcode.com/problems/construct-binary-search-tree-from-preorder-traversal
25737Sudoku Solver43.6%Hard0.20309089276282075https://leetcode.com/problems/sudoku-solver
258983Minimum Cost For Tickets60.5%Medium0.2028261131996316https://leetcode.com/problems/minimum-cost-for-tickets
259443String Compression41.3%Easy0.2021974133159511https://leetcode.com/problems/string-compression
2604Median of Two Sorted Arrays29.6%Hard0.19869709834201https://leetcode.com/problems/median-of-two-sorted-arrays
261352Data Stream as Disjoint Intervals47.3%Hard0.1980128865886302https://leetcode.com/problems/data-stream-as-disjoint-intervals
262637Average of Levels in Binary Tree63.1%Easy0.1972664368553499https://leetcode.com/problems/average-of-levels-in-binary-tree
263794Valid Tic-Tac-Toe State32.6%Medium0.19671029424605424https://leetcode.com/problems/valid-tic-tac-toe-state
264252Meeting Rooms54.6%Easy0.19259310711578434https://leetcode.com/problems/meeting-rooms
265272Closest Binary Search Tree Value II50.5%Hard0.1920777317393193https://leetcode.com/problems/closest-binary-search-tree-value-ii
266160Intersection of Two Linked Lists40.6%Easy0.18862763579294656https://leetcode.com/problems/intersection-of-two-linked-lists
267235Lowest Common Ancestor of a Binary Search Tree49.9%Easy0.18753347368046405https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-search-tree
268242Valid Anagram56.9%Easy0.18562894775162106https://leetcode.com/problems/valid-anagram
269852Peak Index in a Mountain Array71.6%Easy0.18496356625679328https://leetcode.com/problems/peak-index-in-a-mountain-array
270969Pancake Sorting67.5%Medium0.18336922582639836https://leetcode.com/problems/pancake-sorting
2711091Shortest Path in Binary Matrix38.2%Medium0.18312509239363786https://leetcode.com/problems/shortest-path-in-binary-matrix
272323Number of Connected Components in an Undirected Graph56.0%Medium0.18178978331691914https://leetcode.com/problems/number-of-connected-components-in-an-undirected-graph
273759Employee Free Time66.3%Hard0.1816986978513639https://leetcode.com/problems/employee-free-time
274388Longest Absolute File Path41.8%Medium0.18128582392042256https://leetcode.com/problems/longest-absolute-file-path
275445Add Two Numbers II54.5%Medium0.1810800917058897https://leetcode.com/problems/add-two-numbers-ii
276641Design Circular Deque52.7%Medium0.1769307081590782https://leetcode.com/problems/design-circular-deque
277556Next Greater Element III31.7%Medium0.1753110123077373https://leetcode.com/problems/next-greater-element-iii
27824Swap Nodes in Pairs50.4%Medium0.1729418749687828https://leetcode.com/problems/swap-nodes-in-pairs
279223Rectangle Area37.8%Medium0.172469260350943https://leetcode.com/problems/rectangle-area
280442Find All Duplicates in an Array67.8%Medium0.17219015650505717https://leetcode.com/problems/find-all-duplicates-in-an-array
281843Guess the Word46.1%Hard0.17062551703076334https://leetcode.com/problems/guess-the-word
282136Single Number65.5%Easy0.16883202978332956https://leetcode.com/problems/single-number
283148Sort List42.3%Medium0.16575313044672194https://leetcode.com/problems/sort-list
284280Wiggle Sort63.8%Medium0.16413412381144152https://leetcode.com/problems/wiggle-sort
285642Design Search Autocomplete System44.7%Hard0.16312782492496253https://leetcode.com/problems/design-search-autocomplete-system
286435Non-overlapping Intervals42.9%Medium0.16281358156492662https://leetcode.com/problems/non-overlapping-intervals
287503Next Greater Element II56.5%Medium0.15815434954605545https://leetcode.com/problems/next-greater-element-ii
288209Minimum Size Subarray Sum38.2%Medium0.1579457507958099https://leetcode.com/problems/minimum-size-subarray-sum
289189Rotate Array34.7%Easy0.1575195768933631https://leetcode.com/problems/rotate-array
290414Third Maximum Number30.5%Easy0.15407631103237035https://leetcode.com/problems/third-maximum-number
291505The Maze II47.7%Medium0.15388658369473163https://leetcode.com/problems/the-maze-ii
292122Best Time to Buy and Sell Stock II57.0%Easy0.1524210743225689https://leetcode.com/problems/best-time-to-buy-and-sell-stock-ii
293403Frog Jump39.7%Hard0.1519909531790461https://leetcode.com/problems/frog-jump
294676Implement Magic Dictionary54.5%Medium0.15104025741286586https://leetcode.com/problems/implement-magic-dictionary
29514Longest Common Prefix35.4%Easy0.15097420446868728https://leetcode.com/problems/longest-common-prefix
296602Friend Requests II: Who Has the Most Friends53.4%Medium0.14928324354899083https://leetcode.com/problems/friend-requests-ii-who-has-the-most-friends
297478Generate Random Point in a Circle38.5%Medium0.14897379164772453https://leetcode.com/problems/generate-random-point-in-a-circle
298360Sort Transformed Array48.8%Medium0.14624550032014502https://leetcode.com/problems/sort-transformed-array
299688Knight Probability in Chessboard48.9%Medium0.14465605390747982https://leetcode.com/problems/knight-probability-in-chessboard
300328Odd Even Linked List55.7%Medium0.14442996827561513https://leetcode.com/problems/odd-even-linked-list
301145Binary Tree Postorder Traversal55.0%Hard0.14214495289159543https://leetcode.com/problems/binary-tree-postorder-traversal
302298Binary Tree Longest Consecutive Sequence47.1%Medium0.14107859825990554https://leetcode.com/problems/binary-tree-longest-consecutive-sequence
303554Brick Wall50.0%Medium0.1384696742651052https://leetcode.com/problems/brick-wall
3041209Remove All Adjacent Duplicates in String II56.9%Medium0.13712574822724946https://leetcode.com/problems/remove-all-adjacent-duplicates-in-string-ii
305730Count Different Palindromic Subsequences41.8%Hard0.13133600206108695https://leetcode.com/problems/count-different-palindromic-subsequences
30662Unique Paths54.1%Medium0.1311257686834479https://leetcode.com/problems/unique-paths
307491Increasing Subsequences46.1%Medium0.12729023761403105https://leetcode.com/problems/increasing-subsequences
30811Container With Most Water50.8%Medium0.12204972242194584https://leetcode.com/problems/container-with-most-water
3091146Snapshot Array37.0%Medium0.12154546954921416https://leetcode.com/problems/snapshot-array
310446Arithmetic Slices II - Subsequence32.7%Hard0.12099331128663167https://leetcode.com/problems/arithmetic-slices-ii-subsequence
311228Summary Ranges39.5%Medium0.1207191114343526https://leetcode.com/problems/summary-ranges
31248Rotate Image56.7%Medium0.12019250461315692https://leetcode.com/problems/rotate-image
313848Shifting Letters44.6%Medium0.11918851726511835https://leetcode.com/problems/shifting-letters
3141439Find 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
315345Reverse Vowels of a String44.2%Easy0.11903069645453873https://leetcode.com/problems/reverse-vowels-of-a-string
316284Peeking Iterator45.7%Medium0.11901099827011974https://leetcode.com/problems/peeking-iterator
31755Jump Game34.6%Medium0.11856598966987188https://leetcode.com/problems/jump-game
318776Split BST55.8%Medium0.11641035184441127https://leetcode.com/problems/split-bst
3191275Find Winner on a Tic Tac Toe Game52.8%Easy0.11536465479210183https://leetcode.com/problems/find-winner-on-a-tic-tac-toe-game
32094Binary Tree Inorder Traversal63.3%Medium0.11421050106466335https://leetcode.com/problems/binary-tree-inorder-traversal
321496Next Greater Element I63.8%Easy0.112972665603486https://leetcode.com/problems/next-greater-element-i
3221047Remove All Adjacent Duplicates In String68.6%Easy0.11181352460393465https://leetcode.com/problems/remove-all-adjacent-duplicates-in-string
323655Print Binary Tree55.0%Medium0.11153609770197609https://leetcode.com/problems/print-binary-tree
324324Wiggle Sort II29.9%Medium0.11122563511022437https://leetcode.com/problems/wiggle-sort-ii
325382Linked List Random Node52.1%Medium0.11013564249600598https://leetcode.com/problems/linked-list-random-node
326153Find Minimum in Rotated Sorted Array45.1%Medium0.10780343710200306https://leetcode.com/problems/find-minimum-in-rotated-sorted-array
327889Construct Binary Tree from Preorder and Postorder Traversal66.2%Medium0.10711776476069794https://leetcode.com/problems/construct-binary-tree-from-preorder-and-postorder-traversal
328966Vowel Spellchecker47.2%Medium0.10676797542570607https://leetcode.com/problems/vowel-spellchecker
329593Valid Square43.1%Medium0.10635752471349488https://leetcode.com/problems/valid-square
330392Is Subsequence49.2%Easy0.1060222459926442https://leetcode.com/problems/is-subsequence
331547Friend Circles58.6%Medium0.10502210097355241https://leetcode.com/problems/friend-circles
332773Sliding Puzzle59.3%Hard0.10294796925244239https://leetcode.com/problems/sliding-puzzle
333192Word Frequency25.8%Medium0.10186917331721722https://leetcode.com/problems/word-frequency
3341411Number of Ways to Paint N × 3 Grid61.1%Hard0.10135249426028749https://leetcode.com/problems/number-of-ways-to-paint-n-3-grid
335373Find K Pairs with Smallest Sums36.7%Medium0.10116008943995318https://leetcode.com/problems/find-k-pairs-with-smallest-sums
336417Pacific Atlantic Water Flow41.1%Medium0.10008345855698253https://leetcode.com/problems/pacific-atlantic-water-flow
337862Shortest Subarray with Sum at Least K24.6%Hard0.09793753498670578https://leetcode.com/problems/shortest-subarray-with-sum-at-least-k
338752Open the Lock51.8%Medium0.09491410658218381https://leetcode.com/problems/open-the-lock
339716Max Stack42.6%Easy0.09362342046209744https://leetcode.com/problems/max-stack
340395Longest Substring with At Least K Repeating Characters41.4%Medium0.09358079943969791https://leetcode.com/problems/longest-substring-with-at-least-k-repeating-characters
3411062Longest Repeating Substring57.2%Medium0.09201889872025212https://leetcode.com/problems/longest-repeating-substring
3421077Project Employees III75.6%Medium0.0907652093142671https://leetcode.com/problems/project-employees-iii
3431132Reported Posts II34.4%Medium0.0903548750399561https://leetcode.com/problems/reported-posts-ii
344995Minimum Number of K Consecutive Bit Flips46.8%Hard0.08894748601649616https://leetcode.com/problems/minimum-number-of-k-consecutive-bit-flips
345918Maximum Sum Circular Subarray33.7%Medium0.08881573371064024https://leetcode.com/problems/maximum-sum-circular-subarray
346163Sum Closest46.0%Medium0.08850538159227012https://leetcode.com/problems/3sum-closest
347788Rotated Digits57.1%Easy0.08743429938967429https://leetcode.com/problems/rotated-digits
348981Time Based Key-Value Store53.1%Medium0.08621383525234454https://leetcode.com/problems/time-based-key-value-store
3491113Reported Posts64.1%Easy0.08552217343816201https://leetcode.com/problems/reported-posts
350916Word Subsets47.8%Medium0.08479653666007693https://leetcode.com/problems/word-subsets
351112Path Sum41.2%Easy0.08411629031776988https://leetcode.com/problems/path-sum
352151Reverse Words in a String21.9%Medium0.08300917461476963https://leetcode.com/problems/reverse-words-in-a-string
353550Game Play Analysis IV45.3%Medium0.08286311601350513https://leetcode.com/problems/game-play-analysis-iv
354101Symmetric Tree46.8%Easy0.08184524810424337https://leetcode.com/problems/symmetric-tree
355962Maximum Width Ramp45.4%Medium0.08184524810424337https://leetcode.com/problems/maximum-width-ramp
356884Uncommon Words from Two Sentences63.3%Easy0.07990051073053109https://leetcode.com/problems/uncommon-words-from-two-sentences
357250Count Univalue Subtrees52.0%Medium0.07975881838845024https://leetcode.com/problems/count-univalue-subtrees
35866Plus One43.0%Easy0.07852093407377625https://leetcode.com/problems/plus-one
3591003Check If Word Is Valid After Substitutions55.3%Medium0.07847161544149522https://leetcode.com/problems/check-if-word-is-valid-after-substitutions
3601254Number of Closed Islands60.5%Medium0.07796154146971186https://leetcode.com/problems/number-of-closed-islands
361210Course Schedule II40.7%Medium0.07762595476606639https://leetcode.com/problems/course-schedule-ii
36228Implement strStr()34.5%Easy0.07696835778992991https://leetcode.com/problems/implement-strstr
3631055Shortest Way to Form String56.9%Medium0.07681317776161672https://leetcode.com/problems/shortest-way-to-form-string
364778Swim in Rising Water53.1%Hard0.07651914983419623https://leetcode.com/problems/swim-in-rising-water
3657Reverse Integer25.8%Easy0.0757666422410048https://leetcode.com/problems/reverse-integer
366886Possible Bipartition44.2%Medium0.0751605712416521https://leetcode.com/problems/possible-bipartition
367639Decode Ways II26.6%Hard0.07424558998921052https://leetcode.com/problems/decode-ways-ii
368363Max Sum of Rectangle No Larger Than K37.3%Hard0.07410797215372188https://leetcode.com/problems/max-sum-of-rectangle-no-larger-than-k
369437Path Sum III47.2%Medium0.07349765782290693https://leetcode.com/problems/path-sum-iii
3701057Campus Bikes57.7%Medium0.07107786641655695https://leetcode.com/problems/campus-bikes
371723Candy Crush69.2%Medium0.06828590786613152https://leetcode.com/problems/candy-crush
372168Excel Sheet Column Title31.1%Easy0.0676504718923617https://leetcode.com/problems/excel-sheet-column-title
373338Counting Bits69.5%Medium0.06616169008990747https://leetcode.com/problems/counting-bits
374662Maximum Width of Binary Tree41.0%Medium0.06560589270959301https://leetcode.com/problems/maximum-width-of-binary-tree
375178Rank Scores45.8%Medium0.06551667145414991https://leetcode.com/problems/rank-scores
376191Number of 1 Bits49.8%Easy0.06532341835047967https://leetcode.com/problems/number-of-1-bits
3771142User Activity for the Past 30 Days II34.5%Easy0.06443452238546246https://leetcode.com/problems/user-activity-for-the-past-30-days-ii
3781108Defanging an IP Address87.5%Easy0.06413595621854226https://leetcode.com/problems/defanging-an-ip-address
379726Number of Atoms49.0%Hard0.06371581438610768https://leetcode.com/problems/number-of-atoms
380572Subtree of Another Tree44.1%Easy0.0636184974149243https://leetcode.com/problems/subtree-of-another-tree
38136Valid Sudoku48.7%Medium0.06350219850936348https://leetcode.com/problems/valid-sudoku
38268Text Justification27.7%Hard0.06116036187169583https://leetcode.com/problems/text-justification
383353Design Snake Game34.2%Medium0.06053284922884233https://leetcode.com/problems/design-snake-game
384159Longest Substring with At Most Two Distinct Characters49.4%Medium0.060138358738533404https://leetcode.com/problems/longest-substring-with-at-most-two-distinct-characters
38547Permutations II46.4%Medium0.05897935516253239https://leetcode.com/problems/permutations-ii
386516Longest Palindromic Subsequence53.2%Medium0.058432099871092734https://leetcode.com/problems/longest-palindromic-subsequence
3871305All Elements in Two Binary Search Trees76.1%Medium0.05819353408024827https://leetcode.com/problems/all-elements-in-two-binary-search-trees
388410Split Array Largest Sum44.5%Hard0.05715841383994861https://leetcode.com/problems/split-array-largest-sum
389312Burst Balloons51.8%Hard0.056547726798068784https://leetcode.com/problems/burst-balloons
39041First Missing Positive32.0%Hard0.056273635982108605https://leetcode.com/problems/first-missing-positive
39167924 Game46.4%Hard0.05341723749698583https://leetcode.com/problems/24-game
392303Range Sum Query - Immutable44.7%Easy0.05194286677525062https://leetcode.com/problems/range-sum-query-immutable
39399Recover Binary Search Tree39.7%Hard0.051264071283762605https://leetcode.com/problems/recover-binary-search-tree
394681Next Closest Time45.0%Medium0.05045206096038863https://leetcode.com/problems/next-closest-time
395792Number of Matching Subsequences47.4%Medium0.04976150955906385https://leetcode.com/problems/number-of-matching-subsequences
396181Employees Earning More Than Their Managers56.9%Easy0.04954573655142984https://leetcode.com/problems/employees-earning-more-than-their-managers
397307Range Sum Query - Mutable34.6%Medium0.04935211978972769https://leetcode.com/problems/range-sum-query-mutable
398407Trapping Rain Water II42.4%Hard0.04797082778602956https://leetcode.com/problems/trapping-rain-water-ii
3991019Next Greater Node In Linked List57.4%Medium0.04795804429616222https://leetcode.com/problems/next-greater-node-in-linked-list
4006ZigZag Conversion36.3%Medium0.04724990737071425https://leetcode.com/problems/zigzag-conversion
401698Partition to K Equal Sum Subsets45.0%Medium0.04685917114094188https://leetcode.com/problems/partition-to-k-equal-sum-subsets
402654Maximum Binary Tree79.9%Medium0.045786227004095396https://leetcode.com/problems/maximum-binary-tree
403176Second Highest Salary31.6%Easy0.045338680589061736https://leetcode.com/problems/second-highest-salary
40490Subsets II47.1%Medium0.044888321248134265https://leetcode.com/problems/subsets-ii
405123Best Time to Buy and Sell Stock III37.5%Hard0.04430403389889214https://leetcode.com/problems/best-time-to-buy-and-sell-stock-iii
406525Contiguous Array42.8%Medium0.04390949261556855https://leetcode.com/problems/contiguous-array
407509Fibonacci Number67.2%Easy0.04365218172593638https://leetcode.com/problems/fibonacci-number
4081498Number of Subsequences That Satisfy the Given Sum Condition36.7%Medium0.04334372921647208https://leetcode.com/problems/number-of-subsequences-that-satisfy-the-given-sum-condition
409821Shortest Distance to a Character66.9%Easy0.043110123653728516https://leetcode.com/problems/shortest-distance-to-a-character
410611Valid Triangle Number48.4%Medium0.04255961441879593https://leetcode.com/problems/valid-triangle-number
411669Trim a Binary Search Tree63.0%Easy0.04255961441879593https://leetcode.com/problems/trim-a-binary-search-tree
412787Cheapest Flights Within K Stops39.3%Medium0.04186657939278993https://leetcode.com/problems/cheapest-flights-within-k-stops
413450Delete Node in a BST43.1%Medium0.041233509462184105https://leetcode.com/problems/delete-node-in-a-bst
4141219Path with Maximum Gold65.1%Medium0.04111576039097048https://leetcode.com/problems/path-with-maximum-gold
415652Find Duplicate Subtrees50.2%Medium0.040573516447166516https://leetcode.com/problems/find-duplicate-subtrees
416686Repeated String Match32.3%Easy0.03984590854719967https://leetcode.com/problems/repeated-string-match
417406Queue Reconstruction by Height66.9%Medium0.03949613834265583https://leetcode.com/problems/queue-reconstruction-by-height
418344Reverse String68.5%Easy0.0393340697038369https://leetcode.com/problems/reverse-string
419706Design HashMap61.3%Easy0.039016652342451774https://leetcode.com/problems/design-hashmap
420872Leaf-Similar Trees64.5%Easy0.03899974309382511https://leetcode.com/problems/leaf-similar-trees
421184Sum33.7%Medium0.03880215185647971https://leetcode.com/problems/4sum
422241Different Ways to Add Parentheses55.2%Medium0.03880215185647971https://leetcode.com/problems/different-ways-to-add-parentheses
423402Remove K Digits28.4%Medium0.03755134565213245https://leetcode.com/problems/remove-k-digits
4241031Maximum Sum of Two Non-Overlapping Subarrays57.9%Medium0.03711000965123125https://leetcode.com/problems/maximum-sum-of-two-non-overlapping-subarrays
425646Maximum Length of Pair Chain51.9%Medium0.036870535808327706https://leetcode.com/problems/maximum-length-of-pair-chain
426628Maximum Product of Three Numbers47.1%Easy0.03681397312271631https://leetcode.com/problems/maximum-product-of-three-numbers
427376Wiggle Subsequence39.6%Medium0.03666771919188123https://leetcode.com/problems/wiggle-subsequence
428887Super Egg Drop27.1%Hard0.03660060864484636https://leetcode.com/problems/super-egg-drop
4299Palindrome Number48.4%Easy0.03659309116122965https://leetcode.com/problems/palindrome-number
430673Number of Longest Increasing Subsequence35.7%Medium0.036467121912812143https://leetcode.com/problems/number-of-longest-increasing-subsequence
431152Maximum Product Subarray31.7%Medium0.034438665054543384https://leetcode.com/problems/maximum-product-subarray
43263Unique Paths II34.6%Medium0.03440459729940371https://leetcode.com/problems/unique-paths-ii
433108Convert Sorted Array to Binary Search Tree57.9%Easy0.03421710570764629https://leetcode.com/problems/convert-sorted-array-to-binary-search-tree
434103Binary Tree Zigzag Level Order Traversal48.3%Medium0.03403976010989293https://leetcode.com/problems/binary-tree-zigzag-level-order-traversal
4351360Number of Days Between Two Dates48.8%Easy0.03401688527825427https://leetcode.com/problems/number-of-days-between-two-dates
436384Shuffle an Array52.8%Medium0.03399118781703353https://leetcode.com/problems/shuffle-an-array
4371287Element Appearing More Than 25% In Sorted Array60.2%Easy0.033033556829153404https://leetcode.com/problems/element-appearing-more-than-25-in-sorted-array
438315Count of Smaller Numbers After Self41.5%Hard0.03200842244384717https://leetcode.com/problems/count-of-smaller-numbers-after-self
439653Two Sum IV - Input is a BST55.5%Easy0.031726312677204306https://leetcode.com/problems/two-sum-iv-input-is-a-bst
440150Evaluate Reverse Polish Notation36.3%Medium0.031526253646773944https://leetcode.com/problems/evaluate-reverse-polish-notation
441371Sum of Two Integers50.7%Medium0.03137238814201745https://leetcode.com/problems/sum-of-two-integers
442222Count Complete Tree Nodes46.8%Medium0.031263400619043376https://leetcode.com/problems/count-complete-tree-nodes
443316Remove Duplicate Letters35.8%Hard0.030443751414723153https://leetcode.com/problems/remove-duplicate-letters
44470Climbing Stairs47.8%Easy0.03011156054328408https://leetcode.com/problems/climbing-stairs
445413Arithmetic Slices57.9%Medium0.028431197162004825https://leetcode.com/problems/arithmetic-slices
44677Combinations54.7%Medium0.028021758737593695https://leetcode.com/problems/combinations
447518Coin Change 250.2%Medium0.027969505010125056https://leetcode.com/problems/coin-change-2
448110Balanced Binary Tree43.5%Easy0.02781820547653065https://leetcode.com/problems/balanced-binary-tree
449472Concatenated Words43.7%Hard0.027664281472355556https://leetcode.com/problems/concatenated-words
450118Pascal's Triangle52.5%Easy0.02673062594465844https://leetcode.com/problems/pascals-triangle
4511379Find 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
452979Distribute Coins in Binary Tree68.9%Medium0.026196651946570663https://leetcode.com/problems/distribute-coins-in-binary-tree
45330Substring with Concatenation of All Words25.4%Hard0.02486144206532915https://leetcode.com/problems/substring-with-concatenation-of-all-words
454202Happy Number50.4%Easy0.02483442856330386https://leetcode.com/problems/happy-number
455104Maximum Depth of Binary Tree66.0%Easy0.024815169119723996https://leetcode.com/problems/maximum-depth-of-binary-tree
456605Can Place Flowers31.6%Easy0.02457126073050533https://leetcode.com/problems/can-place-flowers
457310Minimum Height Trees32.3%Medium0.02446605215440636https://leetcode.com/problems/minimum-height-trees
458714Best Time to Buy and Sell Stock with Transaction Fee54.7%Medium0.024258315059789946https://leetcode.com/problems/best-time-to-buy-and-sell-stock-with-transaction-fee
459739Daily Temperatures63.3%Medium0.022433642692117093https://leetcode.com/problems/daily-temperatures
46072Edit Distance44.8%Hard0.022400140173127806https://leetcode.com/problems/edit-distance
461221Maximal Square37.7%Medium0.022108490754203434https://leetcode.com/problems/maximal-square
462113Path Sum II46.7%Medium0.021882711249507664https://leetcode.com/problems/path-sum-ii
463287Find the Duplicate Number55.5%Medium0.021825992579766168https://leetcode.com/problems/find-the-duplicate-number
464905Sort Array By Parity74.1%Easy0.02148053951675942https://leetcode.com/problems/sort-array-by-parity
46545Jump Game II30.6%Hard0.021353124470568974https://leetcode.com/problems/jump-game-ii
4661137N-th Tribonacci Number55.9%Easy0.02072613051711693https://leetcode.com/problems/n-th-tribonacci-number
46760Permutation Sequence38.4%Hard0.020471543980187256https://leetcode.com/problems/permutation-sequence
468203Remove Linked List Elements38.6%Easy0.01971101627650491https://leetcode.com/problems/remove-linked-list-elements
469229Majority Element II35.6%Medium0.019057270410286146https://leetcode.com/problems/majority-element-ii
470290Word Pattern37.0%Easy0.01839978311884168https://leetcode.com/problems/word-pattern
47138Count and Say44.6%Easy0.01753063983505879https://leetcode.com/problems/count-and-say
472993Cousins in Binary Tree52.0%Easy0.017414458368636587https://leetcode.com/problems/cousins-in-binary-tree
4731266Minimum Time Visiting All Points79.6%Easy0.017354014693151613https://leetcode.com/problems/minimum-time-visiting-all-points
474289Game of Life54.5%Medium0.0173239499317743https://leetcode.com/problems/game-of-life
475337House Robber III50.6%Medium0.017182553319996886https://leetcode.com/problems/house-robber-iii
47695Unique Binary Search Trees II40.6%Medium0.016856699181010838https://leetcode.com/problems/unique-binary-search-trees-ii
477997Find the Town Judge50.1%Easy0.01677891712910938https://leetcode.com/problems/find-the-town-judge
478188Best Time to Buy and Sell Stock IV28.0%Hard0.01651565203072114https://leetcode.com/problems/best-time-to-buy-and-sell-stock-iv
4791021Remove Outermost Parentheses78.0%Easy0.016434223613379935https://leetcode.com/problems/remove-outermost-parentheses
4801304Find N Unique Integers Sum up to Zero76.3%Easy0.015892269319508656https://leetcode.com/problems/find-n-unique-integers-sum-up-to-zero
48159Spiral Matrix II53.9%Medium0.01579187969789165https://leetcode.com/problems/spiral-matrix-ii
482701Insert into a Binary Search Tree77.7%Medium0.015522236371561826https://leetcode.com/problems/insert-into-a-binary-search-tree
483832Flipping an Image76.2%Easy0.014652276786870392https://leetcode.com/problems/flipping-an-image
484179Largest Number28.8%Medium0.013865040137171665https://leetcode.com/problems/largest-number
48564Minimum Path Sum54.5%Medium0.013734383449598314https://leetcode.com/problems/minimum-path-sum
48685Maximal Rectangle37.7%Hard0.013333530869465187https://leetcode.com/problems/maximal-rectangle
487154Find Minimum in Rotated Sorted Array II41.6%Hard0.013222109274363887https://leetcode.com/problems/find-minimum-in-rotated-sorted-array-ii
488451Sort Characters By Frequency63.0%Medium0.013153757558740521https://leetcode.com/problems/sort-characters-by-frequency
489226Invert Binary Tree65.0%Easy0.01235091863400913https://leetcode.com/problems/invert-binary-tree
490172Factorial Trailing Zeroes37.8%Easy0.012326812480658571https://leetcode.com/problems/factorial-trailing-zeroes
491130Surrounded Regions28.1%Medium0.011965443385675322https://leetcode.com/problems/surrounded-regions
492205Isomorphic Strings39.8%Easy0.011544139746865315https://leetcode.com/problems/isomorphic-strings
49369Sqrt(x)33.9%Easy0.011443227222342794https://leetcode.com/problems/sqrtx
494733Flood Fill55.3%Easy0.011217167530924988https://leetcode.com/problems/flood-fill
495171Excel Sheet Column Number55.9%Easy0.011195191092491645https://leetcode.com/problems/excel-sheet-column-number
496234Palindrome Linked List39.3%Easy0.010171877938733932https://leetcode.com/problems/palindrome-linked-list
49761Rotate List30.0%Medium0.009925639799969955https://leetcode.com/problems/rotate-list
49896Unique Binary Search Trees52.9%Medium0.009242209964820877https://leetcode.com/problems/unique-binary-search-trees
499279Perfect Squares47.4%Medium0.009216655104924008https://leetcode.com/problems/perfect-squares
5001143Longest Common Subsequence58.4%Medium0.008835931134362285https://leetcode.com/problems/longest-common-subsequence
501100Same Tree53.4%Easy0.008767679087537476https://leetcode.com/problems/same-tree
50212Integer to Roman55.1%Medium0.008532474973720734https://leetcode.com/problems/integer-to-roman
503763Partition Labels76.1%Medium0.008385793376274025https://leetcode.com/problems/partition-labels
50484Largest Rectangle in Histogram35.2%Hard0.00833685528906183https://leetcode.com/problems/largest-rectangle-in-histogram
505260Single Number III64.3%Medium0.008090659020153698https://leetcode.com/problems/single-number-iii
506141Linked List Cycle41.1%Easy0.007843861028908454https://leetcode.com/problems/linked-list-cycle
507771Jewels and Stones86.4%Easy0.007284679819409419https://leetcode.com/problems/jewels-and-stones
508204Count Primes31.5%Easy0.007072165261362441https://leetcode.com/problems/count-primes
50983Remove Duplicates from Sorted List45.4%Easy0.006353261522609498https://leetcode.com/problems/remove-duplicates-from-sorted-list
5101528Shuffle String86.1%Easy0.006295047716793515https://leetcode.com/problems/shuffle-string
511167Two Sum II - Input array is sorted54.1%Easy0.005507380022589096https://leetcode.com/problems/two-sum-ii-input-array-is-sorted
512106Construct Binary Tree from Inorder and Postorder Traversal47.2%Medium0.005258250021550252https://leetcode.com/problems/construct-binary-tree-from-inorder-and-postorder-traversal
513237Delete Node in a Linked List63.8%Easy0.005144705881237697https://leetcode.com/problems/delete-node-in-a-linked-list
514268Missing Number51.7%Easy0.0048804391649084865https://leetcode.com/problems/missing-number
515155Min Stack44.5%Easy0.00474891074128171https://leetcode.com/problems/min-stack
516322Coin Change35.5%Medium0.004029826126500844https://leetcode.com/problems/coin-change
517217Contains Duplicate56.0%Easy0.0037979536727587773https://leetcode.com/problems/contains-duplicate
518309Best Time to Buy and Sell Stock with Cooldown47.4%Medium0.0028498166907604426https://leetcode.com/problems/best-time-to-buy-and-sell-stock-with-cooldown