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

34 KiB

1IDTitleAcceptanceDifficultyFrequencyLeetcode Question Link
2427Construct Quad Tree61.4%Medium3.2025777670666282https://leetcode.com/problems/construct-quad-tree
3291Word Pattern II43.4%Hard3.0090998629797148https://leetcode.com/problems/word-pattern-ii
4529Minesweeper59.1%Medium2.8156219588928013https://leetcode.com/problems/minesweeper
5305Number of Islands II40.1%Hard2.7873368509214487https://leetcode.com/problems/number-of-islands-ii
6741Cherry Pickup33.9%Hard2.728198259587133https://leetcode.com/problems/cherry-pickup
7757Set Intersection Size At Least Two40.1%Hard2.5347203555002196https://leetcode.com/problems/set-intersection-size-at-least-two
8332Reconstruct Itinerary36.7%Medium2.473063947812065https://leetcode.com/problems/reconstruct-itinerary
9341Flatten Nested List Iterator52.9%Medium2.4575427125463496https://leetcode.com/problems/flatten-nested-list-iterator
1068Text Justification27.7%Hard2.4560547921829063https://leetcode.com/problems/text-justification
11465Optimal Account Balancing46.9%Hard2.3937825793600807https://leetcode.com/problems/optimal-account-balancing
12146LRU Cache33.2%Medium2.2330774739793853https://leetcode.com/problems/lru-cache
13262Trips and Users32.7%Hard2.179117086708829https://leetcode.com/problems/trips-and-users
1456Merge Intervals39.3%Medium1.9856391826219157https://leetcode.com/problems/merge-intervals
15267Palindrome Permutation II36.4%Medium1.9644220544755755https://leetcode.com/problems/palindrome-permutation-ii
1636Valid Sudoku48.7%Medium1.96380460343855https://leetcode.com/problems/valid-sudoku
17655Print Binary Tree55.0%Medium1.9142294173827312https://leetcode.com/problems/print-binary-tree
18227Basic Calculator II36.9%Medium1.831507899537194https://leetcode.com/problems/basic-calculator-ii
1942Trapping Rain Water48.9%Hard1.8228811997291605https://leetcode.com/problems/trapping-rain-water
20200Number of Islands46.8%Medium1.809092583045218https://leetcode.com/problems/number-of-islands
21986Interval List Intersections67.3%Medium1.7189319563632988https://leetcode.com/problems/interval-list-intersections
22297Serialize and Deserialize Binary Tree47.5%Hard1.6607276556789818https://leetcode.com/problems/serialize-and-deserialize-binary-tree
23253Meeting Rooms II45.7%Medium1.6305479346444065https://leetcode.com/problems/meeting-rooms-ii
241Two Sum45.6%Easy1.6253762244734984https://leetcode.com/problems/two-sum
25428Serialize and Deserialize N-ary Tree59.4%Hard1.619513564422842https://leetcode.com/problems/serialize-and-deserialize-n-ary-tree
26380Insert Delete GetRandom O(1)47.5%Medium1.5587288098338494https://leetcode.com/problems/insert-delete-getrandom-o1
27773Sliding Puzzle59.3%Hard1.5000532464765486https://leetcode.com/problems/sliding-puzzle
28359Logger Rate Limiter70.8%Easy1.4642891467178614https://leetcode.com/problems/logger-rate-limiter
29772Basic Calculator III41.3%Hard1.324801306769502https://leetcode.com/problems/basic-calculator-iii
30166Fraction to Recurring Decimal21.6%Medium1.3061986410149267https://leetcode.com/problems/fraction-to-recurring-decimal
31780Reaching Points29.4%Hard1.277920355988899https://leetcode.com/problems/reaching-points
32239Sliding Window Maximum43.0%Hard1.2321602024355653https://leetcode.com/problems/sliding-window-maximum
33224Basic Calculator36.8%Hard1.204714054955524https://leetcode.com/problems/basic-calculator
3449Group Anagrams56.9%Medium1.190205287799969https://leetcode.com/problems/group-anagrams
3517Letter Combinations of a Phone Number46.8%Medium1.1735261038835452https://leetcode.com/problems/letter-combinations-of-a-phone-number
36212Word Search II34.9%Hard1.1712646007295122https://leetcode.com/problems/word-search-ii
37642Design Search Autocomplete System44.7%Hard1.1539027516811295https://leetcode.com/problems/design-search-autocomplete-system
38361Bomb Enemy46.0%Medium1.1535711729488671https://leetcode.com/problems/bomb-enemy
39139Word Break40.1%Medium1.1489605133291307https://leetcode.com/problems/word-break
40286Walls and Gates54.5%Medium1.1385638280265375https://leetcode.com/problems/walls-and-gates
41591Tag Validator34.3%Hard1.133098464739279https://leetcode.com/problems/tag-validator
42336Palindrome Pairs33.7%Hard1.1081703064742152https://leetcode.com/problems/palindrome-pairs
43636Exclusive Time of Functions51.9%Medium1.070608304685468https://leetcode.com/problems/exclusive-time-of-functions
44128Longest Consecutive Sequence45.1%Hard1.0687708064824162https://leetcode.com/problems/longest-consecutive-sequence
45381Insert Delete GetRandom O(1) - Duplicates allowed34.1%Hard1.0261327161577256https://leetcode.com/problems/insert-delete-getrandom-o1-duplicates-allowed
4634Find First and Last Position of Element in Sorted Array36.2%Medium1.025636061253605https://leetcode.com/problems/find-first-and-last-position-of-element-in-sorted-array
47365Water and Jug Problem30.6%Medium1.0087460326577822https://leetcode.com/problems/water-and-jug-problem
48269Alien Dictionary33.3%Hard0.991185435747213https://leetcode.com/problems/alien-dictionary
49254Factor Combinations46.7%Medium0.9907010014908804https://leetcode.com/problems/factor-combinations
50528Random Pick with Weight43.9%Medium0.9735653552899035https://leetcode.com/problems/random-pick-with-weight
51149Max Points on a Line16.9%Hard0.9593743180104668https://leetcode.com/problems/max-points-on-a-line
5210Regular Expression Matching26.8%Hard0.9228325761309415https://leetcode.com/problems/regular-expression-matching
5376Minimum Window Substring34.6%Hard0.9170093359386342https://leetcode.com/problems/minimum-window-substring
5467924 Game46.4%Hard0.8636247536746324https://leetcode.com/problems/24-game
55329Longest Increasing Path in a Matrix43.4%Hard0.8540205747820803https://leetcode.com/problems/longest-increasing-path-in-a-matrix
5699Recover Binary Search Tree39.7%Hard0.8394185237297231https://leetcode.com/problems/recover-binary-search-tree
57640Solve the Equation42.0%Medium0.8389208480491557https://leetcode.com/problems/solve-the-equation
581135Connecting Cities With Minimum Cost57.5%Medium0.8224378230678087https://leetcode.com/problems/connecting-cities-with-minimum-cost
5922Generate Parentheses62.7%Medium0.8167408078117945https://leetcode.com/problems/generate-parentheses
602Add Two Numbers33.9%Medium0.8029174283671102https://leetcode.com/problems/add-two-numbers
61173Binary Search Tree Iterator56.6%Medium0.8009344168671371https://leetcode.com/problems/binary-search-tree-iterator
6257Insert Interval33.5%Hard0.784728817691922https://leetcode.com/problems/insert-interval
63126Word Ladder II22.1%Hard0.7710576539985173https://leetcode.com/problems/word-ladder-ii
6432Longest Valid Parentheses28.4%Hard0.7455268411597167https://leetcode.com/problems/longest-valid-parentheses
65251Flatten 2D Vector45.7%Medium0.74087494933668https://leetcode.com/problems/flatten-2d-vector
66133Clone Graph34.8%Medium0.7325956832523879https://leetcode.com/problems/clone-graph
67535Encode and Decode TinyURL79.9%Medium0.7284232783609871https://leetcode.com/problems/encode-and-decode-tinyurl
68127Word Ladder29.6%Medium0.6998711506076138https://leetcode.com/problems/word-ladder
694Median of Two Sorted Arrays29.6%Hard0.6933425502977945https://leetcode.com/problems/median-of-two-sorted-arrays
70273Integer to English Words27.1%Hard0.6853686009593172https://leetcode.com/problems/integer-to-english-words
71244Shortest Word Distance II52.3%Medium0.6781843078832329https://leetcode.com/problems/shortest-word-distance-ii
72936Stamping The Sequence42.8%Hard0.6737290947028437https://leetcode.com/problems/stamping-the-sequence
73218The Skyline Problem34.6%Hard0.6570184564714399https://leetcode.com/problems/the-skyline-problem
7454Spiral Matrix34.1%Medium0.628586606031113https://leetcode.com/problems/spiral-matrix
7523Merge k Sorted Lists40.2%Hard0.5853931037905282https://leetcode.com/problems/merge-k-sorted-lists
76388Longest Absolute File Path41.8%Medium0.5850223231279691https://leetcode.com/problems/longest-absolute-file-path
7737Sudoku Solver43.6%Hard0.5747320517924429https://leetcode.com/problems/sudoku-solver
78153Sum26.8%Medium0.5615794220738226https://leetcode.com/problems/3sum
79208Implement Trie (Prefix Tree)49.4%Medium0.554408039893292https://leetcode.com/problems/implement-trie-prefix-tree
80658Find K Closest Elements40.9%Medium0.5351504766219078https://leetcode.com/problems/find-k-closest-elements
81158Read N Characters Given Read4 II - Call multiple times33.8%Hard0.5089658995317979https://leetcode.com/problems/read-n-characters-given-read4-ii-call-multiple-times
8220Valid Parentheses39.0%Easy0.4867693607438125https://leetcode.com/problems/valid-parentheses
83527Word Abbreviation54.3%Hard0.48285177172358457https://leetcode.com/problems/word-abbreviation
8491Decode Ways24.7%Medium0.46914273798301376https://leetcode.com/problems/decode-ways
853Longest Substring Without Repeating Characters30.4%Medium0.46498482873214675https://leetcode.com/problems/longest-substring-without-repeating-characters
8679Word Search35.6%Medium0.451219934510799https://leetcode.com/problems/word-search
87668Kth Smallest Number in Multiplication Table45.6%Hard0.4506902061131003https://leetcode.com/problems/kth-smallest-number-in-multiplication-table
8885Maximal Rectangle37.7%Hard0.4492357711634929https://leetcode.com/problems/maximal-rectangle
89353Design Snake Game34.2%Medium0.44572532239455054https://leetcode.com/problems/design-snake-game
90221Maximal Square37.7%Medium0.4439595076531865https://leetcode.com/problems/maximal-square
91207Course Schedule43.1%Medium0.43737967140902645https://leetcode.com/problems/course-schedule
92346Moving Average from Data Stream70.9%Easy0.43127299206403696https://leetcode.com/problems/moving-average-from-data-stream
931281Subtract the Product and Sum of Digits of an Integer85.2%Easy0.4301109053149923https://leetcode.com/problems/subtract-the-product-and-sum-of-digits-of-an-integer
94289Game of Life54.5%Medium0.42436217241512136https://leetcode.com/problems/game-of-life
95301Remove Invalid Parentheses43.3%Hard0.4217256289799447https://leetcode.com/problems/remove-invalid-parentheses
96362Design Hit Counter63.7%Medium0.41908233979999515https://leetcode.com/problems/design-hit-counter
97863All Nodes Distance K in Binary Tree55.4%Medium0.4169423860623174https://leetcode.com/problems/all-nodes-distance-k-in-binary-tree
9897Interleaving String31.5%Hard0.4167762826896874https://leetcode.com/problems/interleaving-string
99243Shortest Word Distance61.0%Easy0.41203384391389536https://leetcode.com/problems/shortest-word-distance
100130Surrounded Regions28.1%Medium0.41116654890890914https://leetcode.com/problems/surrounded-regions
101568Maximum Vacation Days40.8%Hard0.4036217896138752https://leetcode.com/problems/maximum-vacation-days
10253Maximum Subarray46.5%Easy0.3975151615275705https://leetcode.com/problems/maximum-subarray
10321Merge Two Sorted Lists53.5%Easy0.38844463176041194https://leetcode.com/problems/merge-two-sorted-lists
1041188Design Bounded Blocking Queue70.5%Medium0.3828597229337993https://leetcode.com/problems/design-bounded-blocking-queue
10539Combination Sum56.1%Medium0.38138852814402385https://leetcode.com/problems/combination-sum
106282Expression Add Operators35.5%Hard0.37930977098051977https://leetcode.com/problems/expression-add-operators
107279Perfect Squares47.4%Medium0.3741145782240884https://leetcode.com/problems/perfect-squares
108552Student Attendance Record II36.7%Hard0.37292635232139065https://leetcode.com/problems/student-attendance-record-ii
109759Employee Free Time66.3%Hard0.3704034385719028https://leetcode.com/problems/employee-free-time
110815Bus Routes42.5%Hard0.3449091275382815https://leetcode.com/problems/bus-routes
111805Split Array With Same Average26.4%Hard0.3416302106614813https://leetcode.com/problems/split-array-with-same-average
112895Maximum Frequency Stack60.6%Hard0.33520721431462625https://leetcode.com/problems/maximum-frequency-stack
113493Reverse Pairs25.2%Hard0.33395175639587793https://leetcode.com/problems/reverse-pairs
114399Evaluate Division51.6%Medium0.3338128467131867https://leetcode.com/problems/evaluate-division
115238Product of Array Except Self60.1%Medium0.332046078454996https://leetcode.com/problems/product-of-array-except-self
1165Longest Palindromic Substring29.5%Medium0.32616692072076214https://leetcode.com/problems/longest-palindromic-substring
117295Find Median from Data Stream44.3%Hard0.32347449067924283https://leetcode.com/problems/find-median-from-data-stream
11811Container With Most Water50.8%Medium0.3160977539241027https://leetcode.com/problems/container-with-most-water
11954201 Matrix39.8%Medium0.3127505293143989https://leetcode.com/problems/01-matrix
120315Count of Smaller Numbers After Self41.5%Hard0.30851522790511515https://leetcode.com/problems/count-of-smaller-numbers-after-self
121131Palindrome Partitioning47.5%Medium0.3001175559774547https://leetcode.com/problems/palindrome-partitioning
122311Sparse Matrix Multiplication61.9%Medium0.2957254800409785https://leetcode.com/problems/sparse-matrix-multiplication
12374Search a 2D Matrix36.5%Medium0.29107845681405486https://leetcode.com/problems/search-a-2d-matrix
12451N-Queens46.6%Hard0.28871459706597014https://leetcode.com/problems/n-queens
125161One Edit Distance32.3%Medium0.28698931177288023https://leetcode.com/problems/one-edit-distance
126121Best Time to Buy and Sell Stock50.5%Easy0.2868445347634817https://leetcode.com/problems/best-time-to-buy-and-sell-stock
127451Sort Characters By Frequency63.0%Medium0.285942725510602https://leetcode.com/problems/sort-characters-by-frequency
1281136Parallel Courses61.1%Hard0.2858421455297737https://leetcode.com/problems/parallel-courses
129699Falling Squares41.8%Hard0.2856138193877219https://leetcode.com/problems/falling-squares
130969Pancake Sorting67.5%Medium0.27343004974457946https://leetcode.com/problems/pancake-sorting
131348Design Tic-Tac-Toe54.3%Medium0.2625527836498761https://leetcode.com/problems/design-tic-tac-toe
132290Word Pattern37.0%Easy0.2601476821005732https://leetcode.com/problems/word-pattern
13333Search in Rotated Sorted Array34.5%Medium0.2561733762253273https://leetcode.com/problems/search-in-rotated-sorted-array
134432All O`one Data Structure32.4%Hard0.25091823176225275https://leetcode.com/problems/all-oone-data-structure
135977Squares of a Sorted Array72.1%Easy0.24816891888115009https://leetcode.com/problems/squares-of-a-sorted-array
13613Roman to Integer55.7%Easy0.24545840052279075https://leetcode.com/problems/roman-to-integer
137490The Maze51.4%Medium0.24202227192369596https://leetcode.com/problems/the-maze
138138Copy List with Random Pointer36.4%Medium0.2330001096609468https://leetcode.com/problems/copy-list-with-random-pointer
139652Find Duplicate Subtrees50.2%Medium0.23015822831359434https://leetcode.com/problems/find-duplicate-subtrees
14059Spiral Matrix II53.9%Medium0.22687712200146865https://leetcode.com/problems/spiral-matrix-ii
141420Strong Password Checker14.0%Hard0.22471711576164025https://leetcode.com/problems/strong-password-checker
142445Add Two Numbers II54.5%Medium0.22413561488763817https://leetcode.com/problems/add-two-numbers-ii
14346Permutations63.5%Medium0.21322871153926434https://leetcode.com/problems/permutations
14441First Missing Positive32.0%Hard0.20827230480570424https://leetcode.com/problems/first-missing-positive
14543Multiply Strings33.9%Medium0.20674898228580507https://leetcode.com/problems/multiply-strings
146934Shortest Bridge48.2%Medium0.20666322275821203https://leetcode.com/problems/shortest-bridge
147450Delete Node in a BST43.1%Medium0.2063522880195106https://leetcode.com/problems/delete-node-in-a-bst
148733Flood Fill55.3%Easy0.20573399741869788https://leetcode.com/problems/flood-fill
149954Array of Doubled Pairs35.6%Medium0.20294084399669032https://leetcode.com/problems/array-of-doubled-pairs
150140Word Break II32.6%Hard0.19849973124449666https://leetcode.com/problems/word-break-ii
15131Next Permutation32.6%Medium0.19579797845713617https://leetcode.com/problems/next-permutation
152767Reorganize String48.7%Medium0.1940772649823193https://leetcode.com/problems/reorganize-string
153283Move Zeroes57.8%Easy0.18960312780683863https://leetcode.com/problems/move-zeroes
154694Number of Distinct Islands56.0%Medium0.18924199963852842https://leetcode.com/problems/number-of-distinct-islands
155186Reverse Words in a String II43.3%Medium0.1887940712995721https://leetcode.com/problems/reverse-words-in-a-string-ii
156449Serialize and Deserialize BST52.0%Medium0.1860058460684763https://leetcode.com/problems/serialize-and-deserialize-bst
157438Find All Anagrams in a String43.3%Medium0.18564799141482685https://leetcode.com/problems/find-all-anagrams-in-a-string
158518Coin Change 250.2%Medium0.18373876827436816https://leetcode.com/problems/coin-change-2
159486Predict the Winner47.9%Medium0.17647417648741714https://leetcode.com/problems/predict-the-winner
160135Candy31.6%Hard0.17296269248039503https://leetcode.com/problems/candy
16124Swap Nodes in Pairs50.4%Medium0.1729418749687828https://leetcode.com/problems/swap-nodes-in-pairs
1621278Palindrome Partitioning III59.9%Hard0.17284281283941086https://leetcode.com/problems/palindrome-partitioning-iii
163567Permutation in String44.4%Medium0.16931057302189864https://leetcode.com/problems/permutation-in-string
164198House Robber42.0%Easy0.16929591377679865https://leetcode.com/problems/house-robber
16569Sqrt(x)33.9%Easy0.1690194941008683https://leetcode.com/problems/sqrtx
16675Sort Colors47.3%Medium0.1656671218888174https://leetcode.com/problems/sort-colors
167249Group Shifted Strings55.1%Medium0.16122347914767343https://leetcode.com/problems/group-shifted-strings
168211Add and Search Word - Data structure design38.1%Medium0.15519944762134272https://leetcode.com/problems/add-and-search-word-data-structure-design
169124Binary Tree Maximum Path Sum34.3%Hard0.15512094811323265https://leetcode.com/problems/binary-tree-maximum-path-sum
170979Distribute Coins in Binary Tree68.9%Medium0.15348688956060175https://leetcode.com/problems/distribute-coins-in-binary-tree
171722Remove Comments34.6%Medium0.1529693447814272https://leetcode.com/problems/remove-comments
172959Regions Cut By Slashes66.2%Medium0.1507867227152846https://leetcode.com/problems/regions-cut-by-slashes
173706Design HashMap61.3%Easy0.1476880076475794https://leetcode.com/problems/design-hashmap
174695Max Area of Island62.7%Medium0.1453113999428855https://leetcode.com/problems/max-area-of-island
17578Subsets62.0%Medium0.14504470601712524https://leetcode.com/problems/subsets
176210Course Schedule II40.7%Medium0.1438838393073597https://leetcode.com/problems/course-schedule-ii
177317Shortest Distance from All Buildings41.4%Hard0.14387423888417297https://leetcode.com/problems/shortest-distance-from-all-buildings
17840Combination Sum II48.2%Medium0.14322916392828683https://leetcode.com/problems/combination-sum-ii
179395Longest Substring with At Least K Repeating Characters41.4%Medium0.14261022668001652https://leetcode.com/problems/longest-substring-with-at-least-k-repeating-characters
180769Max Chunks To Make Sorted54.8%Medium0.14019808398271194https://leetcode.com/problems/max-chunks-to-make-sorted
181242Valid Anagram56.9%Easy0.13963976683590715https://leetcode.com/problems/valid-anagram
182855Exam Room43.1%Medium0.13804422079620546https://leetcode.com/problems/exam-room
183340Longest Substring with At Most K Distinct Characters44.1%Hard0.13652366061094043https://leetcode.com/problems/longest-substring-with-at-most-k-distinct-characters
184322Coin Change35.5%Medium0.13572462473832947https://leetcode.com/problems/coin-change
185255Verify Preorder Sequence in Binary Search Tree45.7%Medium0.1348842676899421https://leetcode.com/problems/verify-preorder-sequence-in-binary-search-tree
186981Time Based Key-Value Store53.1%Medium0.1316303182973487https://leetcode.com/problems/time-based-key-value-store
187118Pascal's Triangle52.5%Easy0.12852395589356347https://leetcode.com/problems/pascals-triangle
188968Binary Tree Cameras37.5%Hard0.12586422089000404https://leetcode.com/problems/binary-tree-cameras
189235Lowest Common Ancestor of a Binary Search Tree49.9%Easy0.12399764165657076https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-search-tree
190621Task Scheduler50.1%Medium0.12387972474581618https://leetcode.com/problems/task-scheduler
191206Reverse Linked List62.5%Easy0.12378418901663191https://leetcode.com/problems/reverse-linked-list
192430Flatten a Multilevel Doubly Linked List55.1%Medium0.12213316890521433https://leetcode.com/problems/flatten-a-multilevel-doubly-linked-list
193230Kth Smallest Element in a BST60.2%Medium0.1210793254708764https://leetcode.com/problems/kth-smallest-element-in-a-bst
194228Summary Ranges39.5%Medium0.1207191114343526https://leetcode.com/problems/summary-ranges
195647Palindromic Substrings60.6%Medium0.1205091763778271https://leetcode.com/problems/palindromic-substrings
196460LFU Cache34.2%Hard0.11848160362052347https://leetcode.com/problems/lfu-cache
1976ZigZag Conversion36.3%Medium0.11677183708486526https://leetcode.com/problems/zigzag-conversion
19872Edit Distance44.8%Hard0.11629970881467097https://leetcode.com/problems/edit-distance
19970Climbing Stairs47.8%Easy0.11536054266386848https://leetcode.com/problems/climbing-stairs
200163Sum Closest46.0%Medium0.11410404900826158https://leetcode.com/problems/3sum-closest
201229Majority Element II35.6%Medium0.11355198202632807https://leetcode.com/problems/majority-element-ii
202155Min Stack44.5%Easy0.11244000234885869https://leetcode.com/problems/min-stack
203889Construct Binary Tree from Preorder and Postorder Traversal66.2%Medium0.10711776476069794https://leetcode.com/problems/construct-binary-tree-from-preorder-and-postorder-traversal
204337House Robber III50.6%Medium0.10284435451079782https://leetcode.com/problems/house-robber-iii
205391Perfect Rectangle30.5%Hard0.10109611687136877https://leetcode.com/problems/perfect-rectangle
206101Symmetric Tree46.8%Easy0.09821350130564939https://leetcode.com/problems/symmetric-tree
207837New 21 Game34.6%Medium0.09646026618756222https://leetcode.com/problems/new-21-game
208752Open the Lock51.8%Medium0.09491410658218381https://leetcode.com/problems/open-the-lock
209827Making A Large Island45.7%Hard0.09287412500644375https://leetcode.com/problems/making-a-large-island
210826Most Profit Assigning Work38.5%Medium0.09287412500644375https://leetcode.com/problems/most-profit-assigning-work
211236Lowest Common Ancestor of a Binary Tree45.7%Medium0.0913825929084002https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-tree
212266Palindrome Permutation61.9%Easy0.091248671465145https://leetcode.com/problems/palindrome-permutation
21362Unique Paths54.1%Medium0.08965185882136445https://leetcode.com/problems/unique-paths
214918Maximum Sum Circular Subarray33.7%Medium0.08881573371064024https://leetcode.com/problems/maximum-sum-circular-subarray
215692Top K Frequent Words51.8%Medium0.08839354721658145https://leetcode.com/problems/top-k-frequent-words
2167Reverse Integer25.8%Easy0.08735674450872549https://leetcode.com/problems/reverse-integer
217150Evaluate Reverse Polish Notation36.3%Medium0.08523043261863501https://leetcode.com/problems/evaluate-reverse-polish-notation
218564Find the Closest Palindrome19.7%Hard0.0840831172105414https://leetcode.com/problems/find-the-closest-palindrome
219909Snakes and Ladders38.4%Medium0.08392620769993404https://leetcode.com/problems/snakes-and-ladders
220646Maximum Length of Pair Chain51.9%Medium0.08112554481236843https://leetcode.com/problems/maximum-length-of-pair-chain
221376Wiggle Subsequence39.6%Medium0.08068891125014274https://leetcode.com/problems/wiggle-subsequence
222122Best Time to Buy and Sell Stock II57.0%Easy0.08066286273217169https://leetcode.com/problems/best-time-to-buy-and-sell-stock-ii
223347Top K Frequent Elements61.2%Medium0.08031715021385247https://leetcode.com/problems/top-k-frequent-elements
22455Jump Game34.6%Medium0.07748307858552587https://leetcode.com/problems/jump-game
225215Kth Largest Element in an Array55.4%Medium0.07620046088541414https://leetcode.com/problems/kth-largest-element-in-an-array
226468Validate IP Address24.1%Medium0.07598590697792203https://leetcode.com/problems/validate-ip-address
227416Partition Equal Subset Sum43.7%Medium0.07558685936624726https://leetcode.com/problems/partition-equal-subset-sum
2288String to Integer (atoi)15.4%Medium0.07412832776627384https://leetcode.com/problems/string-to-integer-atoi
229437Path Sum III47.2%Medium0.07349765782290693https://leetcode.com/problems/path-sum-iii
230153Find Minimum in Rotated Sorted Array45.1%Medium0.07343579359779528https://leetcode.com/problems/find-minimum-in-rotated-sorted-array
23164Minimum Path Sum54.5%Medium0.07259220458870491https://leetcode.com/problems/minimum-path-sum
232378Kth Smallest Element in a Sorted Matrix54.3%Medium0.07059096970081927https://leetcode.com/problems/kth-smallest-element-in-a-sorted-matrix
233973K Closest Points to Origin63.8%Medium0.06852953312583007https://leetcode.com/problems/k-closest-points-to-origin
2341011Capacity To Ship Packages Within D Days58.1%Medium0.06649420875558125https://leetcode.com/problems/capacity-to-ship-packages-within-d-days
235277Find the Celebrity41.8%Medium0.06562120535847293https://leetcode.com/problems/find-the-celebrity
236298Binary Tree Longest Consecutive Sequence47.1%Medium0.065169635074581https://leetcode.com/problems/binary-tree-longest-consecutive-sequence
237334Increasing Triplet Subsequence40.0%Medium0.06274107505168265https://leetcode.com/problems/increasing-triplet-subsequence
238300Longest Increasing Subsequence42.6%Medium0.06265630749555627https://leetcode.com/problems/longest-increasing-subsequence
239189Rotate Array34.7%Easy0.06260600694223208https://leetcode.com/problems/rotate-array
2401171Remove Zero Sum Consecutive Nodes from Linked List41.4%Medium0.06025919151819684https://leetcode.com/problems/remove-zero-sum-consecutive-nodes-from-linked-list
24188Merge Sorted Array39.4%Easy0.059258174101133876https://leetcode.com/problems/merge-sorted-array
24247Permutations II46.4%Medium0.05897935516253239https://leetcode.com/problems/permutations-ii
243102Binary Tree Level Order Traversal54.6%Medium0.056692473087026664https://leetcode.com/problems/binary-tree-level-order-traversal
2441038Binary Search Tree to Greater Sum Tree80.8%Medium0.05637058926920947https://leetcode.com/problems/binary-search-tree-to-greater-sum-tree
245162Find Peak Element43.3%Medium0.05575061760504993https://leetcode.com/problems/find-peak-element
246983Minimum Cost For Tickets60.5%Medium0.05469163590186561https://leetcode.com/problems/minimum-cost-for-tickets
2471229Meeting Scheduler52.7%Medium0.053560323833736816https://leetcode.com/problems/meeting-scheduler
248829Consecutive Numbers Sum37.5%Hard0.05341723749698583https://leetcode.com/problems/consecutive-numbers-sum
249601Human Traffic of Stadium41.7%Hard0.05223119222544569https://leetcode.com/problems/human-traffic-of-stadium
250791Custom Sort String65.7%Medium0.05164658886216683https://leetcode.com/problems/custom-sort-string
251560Subarray Sum Equals K43.9%Medium0.0512021569656579https://leetcode.com/problems/subarray-sum-equals-k
252648Replace Words56.6%Medium0.051162052179868224https://leetcode.com/problems/replace-words
253740Delete and Earn48.6%Medium0.05109668266230467https://leetcode.com/problems/delete-and-earn
254344Reverse String68.5%Easy0.051072212148151434https://leetcode.com/problems/reverse-string
255681Next Closest Time45.0%Medium0.05045206096038863https://leetcode.com/problems/next-closest-time
256199Binary Tree Right Side View54.1%Medium0.05001737032794516https://leetcode.com/problems/binary-tree-right-side-view
257398Random Pick Index56.0%Medium0.04900272661044917https://leetcode.com/problems/random-pick-index
258547Friend Circles58.6%Medium0.04804286211474039https://leetcode.com/problems/friend-circles
2591019Next Greater Node In Linked List57.4%Medium0.04795804429616222https://leetcode.com/problems/next-greater-node-in-linked-list
2601385Find the Distance Value Between Two Arrays67.0%Easy0.04668292188270772https://leetcode.com/problems/find-the-distance-value-between-two-arrays
261670Maximum Swap43.6%Medium0.04630456804168632https://leetcode.com/problems/maximum-swap
26298Validate Binary Search Tree27.8%Medium0.046091107200267https://leetcode.com/problems/validate-binary-search-tree
26348Rotate Image56.7%Medium0.04495138786226632https://leetcode.com/problems/rotate-image
264232Implement Queue using Stacks49.6%Easy0.04423053722733957https://leetcode.com/problems/implement-queue-using-stacks
265338Counting Bits69.5%Medium0.0428445715346785https://leetcode.com/problems/counting-bits
266611Valid Triangle Number48.4%Medium0.04255961441879593https://leetcode.com/problems/valid-triangle-number
267114Flatten Binary Tree to Linked List49.3%Medium0.04234332805480797https://leetcode.com/problems/flatten-binary-tree-to-linked-list
268739Daily Temperatures63.3%Medium0.03954060923825168https://leetcode.com/problems/daily-temperatures
26966Plus One43.0%Easy0.039245846990968294https://leetcode.com/problems/plus-one
270992Subarrays with K Different Integers48.6%Hard0.03700699810869683https://leetcode.com/problems/subarrays-with-k-different-integers
271729My Calendar I51.8%Medium0.036433902246102004https://leetcode.com/problems/my-calendar-i
272125Valid Palindrome36.7%Easy0.035266657982323354https://leetcode.com/problems/valid-palindrome
273152Maximum Product Subarray31.7%Medium0.034438665054543384https://leetcode.com/problems/maximum-product-subarray
274177Nth Highest Salary31.4%Medium0.032054026290083464https://leetcode.com/problems/nth-highest-salary
2751146Snapshot Array37.0%Medium0.0317991816929387https://leetcode.com/problems/snapshot-array
2761091Shortest Path in Binary Matrix38.2%Medium0.03164821095078173https://leetcode.com/problems/shortest-path-in-binary-matrix
277339Nested List Weight Sum74.0%Easy0.02960986116720276https://leetcode.com/problems/nested-list-weight-sum
278671Second Minimum Node In a Binary Tree42.7%Easy0.02958795718549609https://leetcode.com/problems/second-minimum-node-in-a-binary-tree
279264Ugly Number II42.0%Medium0.025923110599373623https://leetcode.com/problems/ugly-number-ii
280104Maximum Depth of Binary Tree66.0%Easy0.024815169119723996https://leetcode.com/problems/maximum-depth-of-binary-tree
281426Convert Binary Search Tree to Sorted Doubly Linked List59.1%Medium0.024214258120594613https://leetcode.com/problems/convert-binary-search-tree-to-sorted-doubly-linked-list
282662Maximum Width of Binary Tree41.0%Medium0.024116924478312346https://leetcode.com/problems/maximum-width-of-binary-tree
283844Backspace String Compare46.4%Easy0.0235551325028849https://leetcode.com/problems/backspace-string-compare
28450Pow(x;n)30.3%Medium0.022194620516948222https://leetcode.com/problems/powx-n
285278First Bad Version35.7%Easy0.021394050366625766https://leetcode.com/problems/first-bad-version
28645Jump Game II30.6%Hard0.021353124470568974https://leetcode.com/problems/jump-game-ii
287350Intersection of Two Arrays II51.4%Easy0.020680587107206983https://leetcode.com/problems/intersection-of-two-arrays-ii
28826Remove Duplicates from Sorted Array45.1%Easy0.017426260234777304https://leetcode.com/problems/remove-duplicates-from-sorted-array
289299Bulls and Cows42.4%Easy0.016227536621756702https://leetcode.com/problems/bulls-and-cows
290516Longest Palindromic Subsequence53.2%Medium0.014931221774984842https://leetcode.com/problems/longest-palindromic-subsequence
291202Happy Number50.4%Easy0.014045174703047602https://leetcode.com/problems/happy-number
292581Shortest Unsorted Continuous Subarray31.1%Easy0.013342426083839913https://leetcode.com/problems/shortest-unsorted-continuous-subarray
293154Find Minimum in Rotated Sorted Array II41.6%Hard0.013222109274363887https://leetcode.com/problems/find-minimum-in-rotated-sorted-array-ii
294852Peak Index in a Mountain Array71.6%Easy0.012618463959211509https://leetcode.com/problems/peak-index-in-a-mountain-array
295941Valid Mountain Array33.2%Easy0.011139073683009305https://leetcode.com/problems/valid-mountain-array
29694Binary Tree Inorder Traversal63.3%Medium0.007533307577636257https://leetcode.com/problems/binary-tree-inorder-traversal
297145Binary Tree Postorder Traversal55.0%Hard0.00751459482064135https://leetcode.com/problems/binary-tree-postorder-traversal
298349Intersection of Two Arrays62.5%Easy0.00725034896230682https://leetcode.com/problems/intersection-of-two-arrays
299203Remove Linked List Elements38.6%Easy0.006479067005887776https://leetcode.com/problems/remove-linked-list-elements
300690Employee Importance57.3%Easy0https://leetcode.com/problems/employee-importance
301171Excel Sheet Column Number55.9%Easy0https://leetcode.com/problems/excel-sheet-column-number
302373Find K Pairs with Smallest Sums36.7%Medium0https://leetcode.com/problems/find-k-pairs-with-smallest-sums
303735Asteroid Collision41.0%Medium0https://leetcode.com/problems/asteroid-collision
304710Random Pick with Blacklist32.5%Hard0https://leetcode.com/problems/random-pick-with-blacklist
3051064Fixed Point66.5%Easy0https://leetcode.com/problems/fixed-point
3061039Minimum Score Triangulation of Polygon49.1%Medium0https://leetcode.com/problems/minimum-score-triangulation-of-polygon
3071334Find the City With the Smallest Number of Neighbors at a Threshold Distance44.5%Medium0https://leetcode.com/problems/find-the-city-with-the-smallest-number-of-neighbors-at-a-threshold-distance
3081400Construct K Palindrome Strings60.4%Medium0https://leetcode.com/problems/construct-k-palindrome-strings
3091462Course Schedule IV41.9%Medium0https://leetcode.com/problems/course-schedule-iv