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

57 KiB

1IDTitleAcceptanceDifficultyFrequencyLeetcode Question Link
2138Copy List with Random Pointer36.4%Medium3.6989651187651815https://leetcode.com/problems/copy-list-with-random-pointer
31Two Sum45.6%Easy3.5958778464490746https://leetcode.com/problems/two-sum
4146LRU Cache33.2%Medium3.4927905741329677https://leetcode.com/problems/lru-cache
554Spiral Matrix34.1%Medium3.3897033018168607https://leetcode.com/problems/spiral-matrix
6273Integer to English Words27.1%Hard3.3683427542207363https://leetcode.com/problems/integer-to-english-words
7277Find the Celebrity41.8%Medium3.2652554819046293https://leetcode.com/problems/find-the-celebrity
8348Design Tic-Tac-Toe54.3%Medium3.1946430571909312https://leetcode.com/problems/design-tic-tac-toe
92Add Two Numbers33.9%Medium3.169227011144196https://leetcode.com/problems/add-two-numbers
1042Trapping Rain Water48.9%Hard3.066139738828089https://leetcode.com/problems/trapping-rain-water
11206Reverse Linked List62.5%Easy3.0259163333793904https://leetcode.com/problems/reverse-linked-list
125Longest Palindromic Substring29.5%Medium3.0113240473668283https://leetcode.com/problems/longest-palindromic-substring
138String to Integer (atoi)15.4%Medium2.9764877691901113https://leetcode.com/problems/string-to-integer-atoi
14200Number of Islands46.8%Medium2.9715009566629704https://leetcode.com/problems/number-of-islands
154Median of Two Sorted Arrays29.6%Hard2.8916084554209203https://leetcode.com/problems/median-of-two-sorted-arrays
16186Reverse Words in a String II43.3%Medium2.8809479839142873https://leetcode.com/problems/reverse-words-in-a-string-ii
1788Merge Sorted Array39.4%Easy2.8627089563250068https://leetcode.com/problems/merge-sorted-array
1821Merge Two Sorted Lists53.5%Easy2.862457260385365https://leetcode.com/problems/merge-two-sorted-lists
1917Letter Combinations of a Phone Number46.8%Medium2.8573648034706545https://leetcode.com/problems/letter-combinations-of-a-phone-number
20218The Skyline Problem34.6%Hard2.8027736985781786https://leetcode.com/problems/the-skyline-problem
21165Compare Version Numbers27.4%Medium2.7909478091274953https://leetcode.com/problems/compare-version-numbers
2225Reverse Nodes in k-Group42.1%Hard2.7613797410092618https://leetcode.com/problems/reverse-nodes-in-k-group
23240Search a 2D Matrix II43.2%Medium2.7345899073645548https://leetcode.com/problems/search-a-2d-matrix-ii
24253Meeting Rooms II45.7%Medium2.7284716366094606https://leetcode.com/problems/meeting-rooms-ii
2510Regular Expression Matching26.8%Hard2.7266995930211992https://leetcode.com/problems/regular-expression-matching
2653Maximum Subarray46.5%Easy2.711940371971745https://leetcode.com/problems/maximum-subarray
2733Search in Rotated Sorted Array34.5%Medium2.6857170372662447https://leetcode.com/problems/search-in-rotated-sorted-array
28297Serialize and Deserialize Binary Tree47.5%Hard2.5826297649501377https://leetcode.com/problems/serialize-and-deserialize-binary-tree
29236Lowest Common Ancestor of a Binary Tree45.7%Medium2.568849235431705https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-tree
30445Add Two Numbers II54.5%Medium2.529048190547753https://leetcode.com/problems/add-two-numbers-ii
31116Populating Next Right Pointers in Each Node45.2%Medium2.524874081924768https://leetcode.com/problems/populating-next-right-pointers-in-each-node
3223Merge k Sorted Lists40.2%Hard2.500573730617639https://leetcode.com/problems/merge-k-sorted-lists
3320Valid Parentheses39.0%Easy2.4687161355055203https://leetcode.com/problems/valid-parentheses
34402Remove K Digits28.4%Medium2.4166575492538938https://leetcode.com/problems/remove-k-digits
35557Reverse Words in a String III69.8%Easy2.336667524726581https://leetcode.com/problems/reverse-words-in-a-string-iii
36722Remove Comments34.6%Medium2.331903153750657https://leetcode.com/problems/remove-comments
3775Sort Colors47.3%Medium2.3276926686708626https://leetcode.com/problems/sort-colors
3824Swap Nodes in Pairs50.4%Medium2.327380452152487https://leetcode.com/problems/swap-nodes-in-pairs
39151Reverse Words in a String21.9%Medium2.3264780134045004https://leetcode.com/problems/reverse-words-in-a-string
40535Encode and Decode TinyURL79.9%Medium2.3039774779456117https://leetcode.com/problems/encode-and-decode-tinyurl
4148Rotate Image56.7%Medium2.303733858197919https://leetcode.com/problems/rotate-image
4298Validate Binary Search Tree27.8%Medium2.2943555684399337https://leetcode.com/problems/validate-binary-search-tree
43168Excel Sheet Column Title31.1%Easy2.2883104652014525https://leetcode.com/problems/excel-sheet-column-title
44105Construct Binary Tree from Preorder and Inorder Traversal48.8%Medium2.283021466343346https://leetcode.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal
45419Battleships in a Board70.0%Medium2.2726225948204313https://leetcode.com/problems/battleships-in-a-board
46223Rectangle Area37.8%Medium2.2593091095122237https://leetcode.com/problems/rectangle-area
47171Excel Sheet Column Number55.9%Easy2.252757238907828https://leetcode.com/problems/excel-sheet-column-number
48121Best Time to Buy and Sell Stock50.5%Easy2.2448336717447694https://leetcode.com/problems/best-time-to-buy-and-sell-stock
49224Basic Calculator36.8%Hard2.2034434298807333https://leetcode.com/problems/basic-calculator
501239Maximum Length of a Concatenated String with Unique Characters47.8%Medium2.194070311537135https://leetcode.com/problems/maximum-length-of-a-concatenated-string-with-unique-characters
5144Wildcard Matching24.7%Hard2.191381777704533https://leetcode.com/problems/wildcard-matching
52794Valid Tic-Tac-Toe State32.6%Medium2.1777117631126375https://leetcode.com/problems/valid-tic-tac-toe-state
53545Boundary of Binary Tree38.9%Medium2.1677790029375226https://leetcode.com/problems/boundary-of-binary-tree
54134Gas Station38.5%Medium2.142566589871282https://leetcode.com/problems/gas-station
5522Generate Parentheses62.7%Medium2.0785670335349034https://leetcode.com/problems/generate-parentheses
5673Set Matrix Zeroes43.1%Medium2.0775918912648https://leetcode.com/problems/set-matrix-zeroes
57428Serialize and Deserialize N-ary Tree59.4%Hard2.076668713601008https://leetcode.com/problems/serialize-and-deserialize-n-ary-tree
58443String Compression41.3%Easy2.0513907055271603https://leetcode.com/problems/string-compression
59450Delete Node in a BST43.1%Medium2.048205702566481https://leetcode.com/problems/delete-node-in-a-bst
6013Roman to Integer55.7%Easy2.01479997556304https://leetcode.com/problems/roman-to-integer
61235Lowest Common Ancestor of a Binary Search Tree49.9%Easy2.0107138401241684https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-search-tree
62103Binary Tree Zigzag Level Order Traversal48.3%Medium2.010536070419761https://leetcode.com/problems/binary-tree-zigzag-level-order-traversal
63212Word Search II34.9%Hard1.9371085874627856https://leetcode.com/problems/word-search-ii
64117Populating Next Right Pointers in Each Node II39.1%Medium1.9167709936539865https://leetcode.com/problems/populating-next-right-pointers-in-each-node-ii
65344Reverse String68.5%Easy1.8931494469290506https://leetcode.com/problems/reverse-string
66208Implement Trie (Prefix Tree)49.4%Medium1.8703411019596332https://leetcode.com/problems/implement-trie-prefix-tree
6743Multiply Strings33.9%Medium1.8392290485002738https://leetcode.com/problems/multiply-strings
68285Inorder Successor in BST40.4%Medium1.8053129785679367https://leetcode.com/problems/inorder-successor-in-bst
6949Group Anagrams56.9%Medium1.804619099717657https://leetcode.com/problems/group-anagrams
7071Simplify Path32.6%Medium1.7951689508806754https://leetcode.com/problems/simplify-path
7199Recover Binary Search Tree39.7%Hard1.7775344782967077https://leetcode.com/problems/recover-binary-search-tree
72153Sum26.8%Medium1.7686547532150265https://leetcode.com/problems/3sum
73141Linked List Cycle41.1%Easy1.7563603010788833https://leetcode.com/problems/linked-list-cycle
74232Implement Queue using Stacks49.6%Easy1.749421031222925https://leetcode.com/problems/implement-queue-using-stacks
7512Integer to Roman55.1%Medium1.746102779627118https://leetcode.com/problems/integer-to-roman
7637Sudoku Solver43.6%Hard1.7414976344471667https://leetcode.com/problems/sudoku-solver
7772Edit Distance44.8%Hard1.7323480343505713https://leetcode.com/problems/edit-distance
78295Find Median from Data Stream44.3%Hard1.7185203068596524https://leetcode.com/problems/find-median-from-data-stream
79160Intersection of Two Linked Lists40.6%Easy1.7175192044428398https://leetcode.com/problems/intersection-of-two-linked-lists
8036Valid Sudoku48.7%Medium1.7143211698041672https://leetcode.com/problems/valid-sudoku
813Longest Substring Without Repeating Characters30.4%Medium1.7119508013774896https://leetcode.com/problems/longest-substring-without-repeating-characters
82143Reorder List37.1%Medium1.6917986160352108https://leetcode.com/problems/reorder-list
8376Minimum Window Substring34.6%Hard1.684498704459816https://leetcode.com/problems/minimum-window-substring
8446Permutations63.5%Medium1.6727146787726128https://leetcode.com/problems/permutations
85102Binary Tree Level Order Traversal54.6%Medium1.651417093517297https://leetcode.com/problems/binary-tree-level-order-traversal
86155Min Stack44.5%Easy1.6375525909607844https://leetcode.com/problems/min-stack
8756Merge Intervals39.3%Medium1.6137424284012196https://leetcode.com/problems/merge-intervals
8851N-Queens46.6%Hard1.6036359898179926https://leetcode.com/problems/n-queens
89173Binary Search Tree Iterator56.6%Medium1.5975171846753242https://leetcode.com/problems/binary-search-tree-iterator
9093Restore IP Addresses35.6%Medium1.5917169493061911https://leetcode.com/problems/restore-ip-addresses
91636Exclusive Time of Functions51.9%Medium1.5833981368525032https://leetcode.com/problems/exclusive-time-of-functions
92706Design HashMap61.3%Easy1.5513741114793391https://leetcode.com/problems/design-hashmap
93238Product of Array Except Self60.1%Medium1.539762660750497https://leetcode.com/problems/product-of-array-except-self
94149Max Points on a Line16.9%Hard1.5309662969926052https://leetcode.com/problems/max-points-on-a-line
95139Word Break40.1%Medium1.5067078235450475https://leetcode.com/problems/word-break
9631Next Permutation32.6%Medium1.4952605643210366https://leetcode.com/problems/next-permutation
9761Rotate List30.0%Medium1.4847733982613056https://leetcode.com/problems/rotate-list
98836Rectangle Overlap48.6%Easy1.4453669442208494https://leetcode.com/problems/rectangle-overlap
99642Design Search Autocomplete System44.7%Hard1.4351899882719135https://leetcode.com/problems/design-search-autocomplete-system
100227Basic Calculator II36.9%Medium1.4336576098594838https://leetcode.com/problems/basic-calculator-ii
101127Word Ladder29.6%Medium1.4284947156102672https://leetcode.com/problems/word-ladder
102322Coin Change35.5%Medium1.4268982821969922https://leetcode.com/problems/coin-change
103564Find the Closest Palindrome19.7%Hard1.425008873300581https://leetcode.com/problems/find-the-closest-palindrome
10459Spiral Matrix II53.9%Medium1.4157990742225208https://leetcode.com/problems/spiral-matrix-ii
10574Search a 2D Matrix36.5%Medium1.396449102597548https://leetcode.com/problems/search-a-2d-matrix
106384Shuffle an Array52.8%Medium1.3892672714849832https://leetcode.com/problems/shuffle-an-array
107229Majority Element II35.6%Medium1.3878563920773275https://leetcode.com/problems/majority-element-ii
108153Find Minimum in Rotated Sorted Array45.1%Medium1.3737513023422454https://leetcode.com/problems/find-minimum-in-rotated-sorted-array
109174Dungeon Game32.3%Hard1.3665611251341205https://leetcode.com/problems/dungeon-game
11092Reverse Linked List II38.8%Medium1.3490528201879903https://leetcode.com/problems/reverse-linked-list-ii
111449Serialize and Deserialize BST52.0%Medium1.3213393231925648https://leetcode.com/problems/serialize-and-deserialize-bst
112179Largest Number28.8%Medium1.3181425718749433https://leetcode.com/problems/largest-number
113128Longest Consecutive Sequence45.1%Hard1.2886456910504667https://leetcode.com/problems/longest-consecutive-sequence
114234Palindrome Linked List39.3%Easy1.2857250051644113https://leetcode.com/problems/palindrome-linked-list
115239Sliding Window Maximum43.0%Hard1.2723945373280132https://leetcode.com/problems/sliding-window-maximum
116346Moving Average from Data Stream70.9%Easy1.2716814290610372https://leetcode.com/problems/moving-average-from-data-stream
117204Count Primes31.5%Easy1.2703504777562535https://leetcode.com/problems/count-primes
118468Validate IP Address24.1%Medium1.2627381135521876https://leetcode.com/problems/validate-ip-address
119135Candy31.6%Hard1.2375419744850127https://leetcode.com/problems/candy
120287Find the Duplicate Number55.5%Medium1.2333669019608022https://leetcode.com/problems/find-the-duplicate-number
121126Word Ladder II22.1%Hard1.2241491835619676https://leetcode.com/problems/word-ladder-ii
122133Clone Graph34.8%Medium1.212271607140631https://leetcode.com/problems/clone-graph
12367924 Game46.4%Hard1.1994357786013692https://leetcode.com/problems/24-game
124142Linked List Cycle II37.3%Medium1.179958785742859https://leetcode.com/problems/linked-list-cycle-ii
125328Odd Even Linked List55.7%Medium1.168614944926649https://leetcode.com/problems/odd-even-linked-list
126148Sort List42.3%Medium1.1657881739717664https://leetcode.com/problems/sort-list
127225Implement Stack using Queues45.1%Easy1.1607390767279342https://leetcode.com/problems/implement-stack-using-queues
128283Move Zeroes57.8%Easy1.1585213499895073https://leetcode.com/problems/move-zeroes
129124Binary Tree Maximum Path Sum34.3%Hard1.134390381747712https://leetcode.com/problems/binary-tree-maximum-path-sum
130591Tag Validator34.3%Hard1.133098464739279https://leetcode.com/problems/tag-validator
13141First Missing Positive32.0%Hard1.1262068083309473https://leetcode.com/problems/first-missing-positive
132268Missing Number51.7%Easy1.117112634548289https://leetcode.com/problems/missing-number
13394Binary Tree Inorder Traversal63.3%Medium1.1043650482569707https://leetcode.com/problems/binary-tree-inorder-traversal
13485Maximal Rectangle37.7%Hard1.075986889150131https://leetcode.com/problems/maximal-rectangle
135529Minesweeper59.1%Medium1.0687593255184287https://leetcode.com/problems/minesweeper
136252Meeting Rooms54.6%Easy1.0686699320530313https://leetcode.com/problems/meeting-rooms
137403Frog Jump39.7%Hard1.0638726563743854https://leetcode.com/problems/frog-jump
138215Kth Largest Element in an Array55.4%Medium1.0621118864485832https://leetcode.com/problems/kth-largest-element-in-an-array
139189Rotate Array34.7%Easy1.0531076560110935https://leetcode.com/problems/rotate-array
140490The Maze51.4%Medium1.0476840243995968https://leetcode.com/problems/the-maze
141457Circular Array Loop29.4%Medium1.0336744862315626https://leetcode.com/problems/circular-array-loop
142380Insert Delete GetRandom O(1)47.5%Medium1.029143465930734https://leetcode.com/problems/insert-delete-getrandom-o1
14384Largest Rectangle in Histogram35.2%Hard1.0152852763058668https://leetcode.com/problems/largest-rectangle-in-histogram
14419Remove Nth Node From End of List35.2%Medium0.9938393087142735https://leetcode.com/problems/remove-nth-node-from-end-of-list
145169Majority Element58.7%Easy0.96110239828995https://leetcode.com/problems/majority-element
14668Text Justification27.7%Hard0.9465228638244356https://leetcode.com/problems/text-justification
147695Max Area of Island62.7%Medium0.9340698215503037https://leetcode.com/problems/max-area-of-island
14879Word Search35.6%Medium0.9160907785292691https://leetcode.com/problems/word-search
149237Delete Node in a Linked List63.8%Easy0.9125441994897425https://leetcode.com/problems/delete-node-in-a-linked-list
15091Decode Ways24.7%Medium0.8912568458516014https://leetcode.com/problems/decode-ways
151152Maximum Product Subarray31.7%Medium0.890020140522056https://leetcode.com/problems/maximum-product-subarray
15232Longest Valid Parentheses28.4%Hard0.887976006706294https://leetcode.com/problems/longest-valid-parentheses
15311Container With Most Water50.8%Medium0.8838633903934879https://leetcode.com/problems/container-with-most-water
154289Game of Life54.5%Medium0.8818919263853663https://leetcode.com/problems/game-of-life
1551246Palindrome Removal46.0%Hard0.875792939010168https://leetcode.com/problems/palindrome-removal
15669Sqrt(x)33.9%Easy0.8723735857287784https://leetcode.com/problems/sqrtx
1577Reverse Integer25.8%Easy0.8578608494978868https://leetcode.com/problems/reverse-integer
15828Implement strStr()34.5%Easy0.8553648003461056https://leetcode.com/problems/implement-strstr
15989Gray Code49.1%Medium0.8553139353754396https://leetcode.com/problems/gray-code
160242Valid Anagram56.9%Easy0.8538771239510634https://leetcode.com/problems/valid-anagram
161702Search in a Sorted Array of Unknown Size66.9%Medium0.8458894094501456https://leetcode.com/problems/search-in-a-sorted-array-of-unknown-size
162460LFU Cache34.2%Hard0.8452742509276767https://leetcode.com/problems/lfu-cache
16338Count and Say44.6%Easy0.8451621282279073https://leetcode.com/problems/count-and-say
164772Basic Calculator III41.3%Hard0.8430873278508602https://leetcode.com/problems/basic-calculator-iii
1656514 Keys Keyboard52.5%Medium0.8425641237370047https://leetcode.com/problems/4-keys-keyboard
166340Longest Substring with At Most K Distinct Characters44.1%Hard0.840073826640526https://leetcode.com/problems/longest-substring-with-at-most-k-distinct-characters
167378Kth Smallest Element in a Sorted Matrix54.3%Medium0.8286514648404306https://leetcode.com/problems/kth-smallest-element-in-a-sorted-matrix
168269Alien Dictionary33.3%Hard0.8247147627623457https://leetcode.com/problems/alien-dictionary
1699Palindrome Number48.4%Easy0.8235694244095082https://leetcode.com/problems/palindrome-number
170622Design Circular Queue43.8%Medium0.8231587572738468https://leetcode.com/problems/design-circular-queue
17126Remove Duplicates from Sorted Array45.1%Easy0.8198157546148236https://leetcode.com/problems/remove-duplicates-from-sorted-array
172362Design Hit Counter63.7%Medium0.8152055540667307https://leetcode.com/problems/design-hit-counter
173140Word Break II32.6%Hard0.8122846793788384https://leetcode.com/problems/word-break-ii
174123Best Time to Buy and Sell Stock III37.5%Hard0.8103008499673461https://leetcode.com/problems/best-time-to-buy-and-sell-stock-iii
175669Trim a Binary Search Tree63.0%Easy0.805008260820865https://leetcode.com/problems/trim-a-binary-search-tree
176351Android Unlock Patterns48.4%Medium0.7857399673877702https://leetcode.com/problems/android-unlock-patterns
177110Balanced Binary Tree43.5%Easy0.7847320043954652https://leetcode.com/problems/balanced-binary-tree
178510Inorder Successor in BST II58.0%Medium0.7822749604559527https://leetcode.com/problems/inorder-successor-in-bst-ii
179470Implement Rand10() Using Rand7()46.3%Medium0.7717903078790584https://leetcode.com/problems/implement-rand10-using-rand7
18078Subsets62.0%Medium0.7567934361936809https://leetcode.com/problems/subsets
181887Super Egg Drop27.1%Hard0.7550319038990971https://leetcode.com/problems/super-egg-drop
182161One Edit Distance32.3%Medium0.7501260358569138https://leetcode.com/problems/one-edit-distance
18362Unique Paths54.1%Medium0.7480063652707217https://leetcode.com/problems/unique-paths
184394Decode String50.0%Medium0.7345102340934244https://leetcode.com/problems/decode-string
185191Number of 1 Bits49.8%Easy0.7324003471380575https://leetcode.com/problems/number-of-1-bits
186442Find All Duplicates in an Array67.8%Medium0.7226546728293853https://leetcode.com/problems/find-all-duplicates-in-an-array
187207Course Schedule43.1%Medium0.7160235932457453https://leetcode.com/problems/course-schedule
18839Combination Sum56.1%Medium0.7152569247320627https://leetcode.com/problems/combination-sum
189652Find Duplicate Subtrees50.2%Medium0.7105924664945938https://leetcode.com/problems/find-duplicate-subtrees
190560Subarray Sum Equals K43.9%Medium0.7082042605360416https://leetcode.com/problems/subarray-sum-equals-k
191125Valid Palindrome36.7%Easy0.7036117291497562https://leetcode.com/problems/valid-palindrome
19286Partition List41.5%Medium0.7022543510090344https://leetcode.com/problems/partition-list
193688Knight Probability in Chessboard48.9%Medium0.6794349186959634https://leetcode.com/problems/knight-probability-in-chessboard
19464Minimum Path Sum54.5%Medium0.6731263364629722https://leetcode.com/problems/minimum-path-sum
195379Design Phone Directory46.8%Medium0.6729444732424258https://leetcode.com/problems/design-phone-directory
19681Search in Rotated Sorted Array II33.0%Medium0.6690496289808848https://leetcode.com/problems/search-in-rotated-sorted-array-ii
197412Fizz Buzz62.3%Easy0.6683916389849122https://leetcode.com/problems/fizz-buzz
198417Pacific Atlantic Water Flow41.1%Medium0.666478933477784https://leetcode.com/problems/pacific-atlantic-water-flow
199114Flatten Binary Tree to Linked List49.3%Medium0.6498350640362595https://leetcode.com/problems/flatten-binary-tree-to-linked-list
20077Combinations54.7%Medium0.6484298604423074https://leetcode.com/problems/combinations
201150Evaluate Reverse Polish Notation36.3%Medium0.6476434251751189https://leetcode.com/problems/evaluate-reverse-polish-notation
20229Divide Two Integers16.4%Medium0.6411919721433796https://leetcode.com/problems/divide-two-integers
203300Longest Increasing Subsequence42.6%Medium0.6376640428342715https://leetcode.com/problems/longest-increasing-subsequence
204716Max Stack42.6%Easy0.6330336058902137https://leetcode.com/problems/max-stack
205387First Unique Character in a String53.4%Easy0.632243999450364https://leetcode.com/problems/first-unique-character-in-a-string
206647Palindromic Substrings60.6%Medium0.6134746779188923https://leetcode.com/problems/palindromic-substrings
207863All Nodes Distance K in Binary Tree55.4%Medium0.6086589499121026https://leetcode.com/problems/all-nodes-distance-k-in-binary-tree
208358Rearrange String k Distance Apart34.9%Hard0.6082477367734591https://leetcode.com/problems/rearrange-string-k-distance-apart
20982Remove Duplicates from Sorted List II36.8%Medium0.607321902630019https://leetcode.com/problems/remove-duplicates-from-sorted-list-ii
210733Flood Fill55.3%Easy0.5960870214781206https://leetcode.com/problems/flood-fill
211228Summary Ranges39.5%Medium0.5888553265052927https://leetcode.com/problems/summary-ranges
212759Employee Free Time66.3%Hard0.5861248448271091https://leetcode.com/problems/employee-free-time
213407Trapping Rain Water II42.4%Hard0.5801132920909243https://leetcode.com/problems/trapping-rain-water-ii
214230Kth Smallest Element in a BST60.2%Medium0.5704757662017736https://leetcode.com/problems/kth-smallest-element-in-a-bst
215281Zigzag Iterator58.4%Medium0.5665602602882338https://leetcode.com/problems/zigzag-iterator
216415Add Strings47.5%Easy0.566230787928643https://leetcode.com/problems/add-strings
217572Subtree of Another Tree44.1%Easy0.5649315643132164https://leetcode.com/problems/subtree-of-another-tree
218118Pascal's Triangle52.5%Easy0.5577273046973674https://leetcode.com/problems/pascals-triangle
219426Convert Binary Search Tree to Sorted Doubly Linked List59.1%Medium0.5547017731329936https://leetcode.com/problems/convert-binary-search-tree-to-sorted-doubly-linked-list
220655Print Binary Tree55.0%Medium0.5524260762711364https://leetcode.com/problems/print-binary-tree
22170Climbing Stairs47.8%Easy0.5484963397685039https://leetcode.com/problems/climbing-stairs
2221156Swap For Longest Repeated Character Substring49.0%Medium0.538996500732687https://leetcode.com/problems/swap-for-longest-repeated-character-substring
223286Walls and Gates54.5%Medium0.5372803513497615https://leetcode.com/problems/walls-and-gates
224518Coin Change 250.2%Medium0.535971655257865https://leetcode.com/problems/coin-change-2
225493Reverse Pairs25.2%Hard0.5334746755483791https://leetcode.com/problems/reverse-pairs
226543Diameter of Binary Tree48.4%Easy0.5327148984531092https://leetcode.com/problems/diameter-of-binary-tree
22783Remove Duplicates from Sorted List45.4%Easy0.5322016386647934https://leetcode.com/problems/remove-duplicates-from-sorted-list
22845Jump Game II30.6%Hard0.5265290156944407https://leetcode.com/problems/jump-game-ii
229199Binary Tree Right Side View54.1%Medium0.5244663152343737https://leetcode.com/problems/binary-tree-right-side-view
230304Range Sum Query 2D - Immutable38.6%Medium0.5226642021421153https://leetcode.com/problems/range-sum-query-2d-immutable
231267Palindrome Permutation II36.4%Medium0.5195071758508175https://leetcode.com/problems/palindrome-permutation-ii
232167Two Sum II - Input array is sorted54.1%Easy0.5117640208319821https://leetcode.com/problems/two-sum-ii-input-array-is-sorted
233767Reorganize String48.7%Medium0.5043791872596706https://leetcode.com/problems/reorganize-string
234432All O`one Data Structure32.4%Hard0.49573913073261056https://leetcode.com/problems/all-oone-data-structure
235516Longest Palindromic Subsequence53.2%Medium0.4919958213546186https://leetcode.com/problems/longest-palindromic-subsequence
236270Closest Binary Search Tree Value48.5%Easy0.48351300163526767https://leetcode.com/problems/closest-binary-search-tree-value
237101Symmetric Tree46.8%Easy0.4835048270478799https://leetcode.com/problems/symmetric-tree
238917Reverse Only Letters58.0%Easy0.4628926502431949https://leetcode.com/problems/reverse-only-letters
239556Next Greater Element III31.7%Medium0.4617360135694671https://leetcode.com/problems/next-greater-element-iii
2401044Longest Duplicate Substring31.9%Hard0.45665121561528643https://leetcode.com/problems/longest-duplicate-substring
241122Best Time to Buy and Sell Stock II57.0%Easy0.4497220566283928https://leetcode.com/problems/best-time-to-buy-and-sell-stock-ii
242333Largest BST Subtree35.8%Medium0.44572532239455054https://leetcode.com/problems/largest-bst-subtree
243108Convert Sorted Array to Binary Search Tree57.9%Easy0.4427274468005625https://leetcode.com/problems/convert-sorted-array-to-binary-search-tree
244935Knight Dialer45.2%Medium0.44264411134991843https://leetcode.com/problems/knight-dialer
245214Shortest Palindrome29.8%Hard0.4424536774775049https://leetcode.com/problems/shortest-palindrome
24655Jump Game34.6%Medium0.44156297053083593https://leetcode.com/problems/jump-game
247314Binary Tree Vertical Order Traversal45.3%Medium0.4380937008921841https://leetcode.com/problems/binary-tree-vertical-order-traversal
248280Wiggle Sort63.8%Medium0.4358425582560355https://leetcode.com/problems/wiggle-sort
249692Top K Frequent Words51.8%Medium0.43507396043031815https://leetcode.com/problems/top-k-frequent-words
250698Partition to K Equal Sum Subsets45.0%Medium0.42725858927476734https://leetcode.com/problems/partition-to-k-equal-sum-subsets
251266Palindrome Permutation61.9%Easy0.41882207294422785https://leetcode.com/problems/palindrome-permutation
252162Find Peak Element43.3%Medium0.41607906913719583https://leetcode.com/problems/find-peak-element
25330Substring with Concatenation of All Words25.4%Hard0.41194709630297865https://leetcode.com/problems/substring-with-concatenation-of-all-words
25450Pow(x;n)30.3%Medium0.4096992146874839https://leetcode.com/problems/powx-n
255448Find All Numbers Disappeared in an Array55.9%Easy0.4038568366529517https://leetcode.com/problems/find-all-numbers-disappeared-in-an-array
256112Path Sum41.2%Easy0.4021229967221487https://leetcode.com/problems/path-sum
257316Remove Duplicate Letters35.8%Hard0.40185220095239377https://leetcode.com/problems/remove-duplicate-letters
258413Arithmetic Slices57.9%Medium0.3794137261371684https://leetcode.com/problems/arithmetic-slices
259438Find All Anagrams in a String43.3%Medium0.3777487527652922https://leetcode.com/problems/find-all-anagrams-in-a-string
260729My Calendar I51.8%Medium0.3746934494414107https://leetcode.com/problems/my-calendar-i
261528Random Pick with Weight43.9%Medium0.37294088733187064https://leetcode.com/problems/random-pick-with-weight
262498Diagonal Traverse48.2%Medium0.36965808183913323https://leetcode.com/problems/diagonal-traverse
263172Factorial Trailing Zeroes37.8%Easy0.3691548840515713https://leetcode.com/problems/factorial-trailing-zeroes
264405Convert a Number to Hexadecimal43.9%Easy0.36886796401660715https://leetcode.com/problems/convert-a-number-to-hexadecimal
265958Check Completeness of a Binary Tree52.1%Medium0.368486104867077https://leetcode.com/problems/check-completeness-of-a-binary-tree
266159Longest Substring with At Most Two Distinct Characters49.4%Medium0.36517862980007215https://leetcode.com/problems/longest-substring-with-at-most-two-distinct-characters
267993Cousins in Binary Tree52.0%Easy0.36406958263507494https://leetcode.com/problems/cousins-in-binary-tree
26863Unique Paths II34.6%Medium0.35682807157091273https://leetcode.com/problems/unique-paths-ii
269332Reconstruct Itinerary36.7%Medium0.3499348287861282https://leetcode.com/problems/reconstruct-itinerary
2701185Day of the Week64.0%Easy0.34898886906784754https://leetcode.com/problems/day-of-the-week
271113Path Sum II46.7%Medium0.3474387140036706https://leetcode.com/problems/path-sum-ii
272166Fraction to Recurring Decimal21.6%Medium0.3451585018771733https://leetcode.com/problems/fraction-to-recurring-decimal
273397Integer Replacement32.9%Medium0.342522988151367https://leetcode.com/problems/integer-replacement
274805Split Array With Same Average26.4%Hard0.3416302106614813https://leetcode.com/problems/split-array-with-same-average
27514Longest Common Prefix35.4%Easy0.33820492794739787https://leetcode.com/problems/longest-common-prefix
2761236Web Crawler64.3%Medium0.33647223662121295https://leetcode.com/problems/web-crawler
277226Invert Binary Tree65.0%Easy0.33580132079597935https://leetcode.com/problems/invert-binary-tree
278431Encode N-ary Tree to Binary Tree70.8%Hard0.3308542443169896https://leetcode.com/problems/encode-n-ary-tree-to-binary-tree
279611Valid Triangle Number48.4%Medium0.33024168687057687https://leetcode.com/problems/valid-triangle-number
280727Minimum Window Subsequence41.8%Hard0.3290234126082223https://leetcode.com/problems/minimum-window-subsequence
2811062Longest Repeating Substring57.2%Medium0.32609152056665214https://leetcode.com/problems/longest-repeating-substring
282430Flatten a Multilevel Doubly Linked List55.1%Medium0.32335829449138764https://leetcode.com/problems/flatten-a-multilevel-doubly-linked-list
283136Single Number65.5%Easy0.32212410595951135https://leetcode.com/problems/single-number
284567Permutation in String44.4%Medium0.31954842197771616https://leetcode.com/problems/permutation-in-string
285994Rotting Oranges49.2%Medium0.31869742552695396https://leetcode.com/problems/rotting-oranges
28665Valid Number15.3%Hard0.3147685466373522https://leetcode.com/problems/valid-number
2871197Minimum Knight Moves36.1%Medium0.3142660340639637https://leetcode.com/problems/minimum-knight-moves
288106Construct Binary Tree from Inorder and Postorder Traversal47.2%Medium0.31197312481093953https://leetcode.com/problems/construct-binary-tree-from-inorder-and-postorder-traversal
289109Convert Sorted List to Binary Search Tree47.7%Medium0.3101549283038395https://leetcode.com/problems/convert-sorted-list-to-binary-search-tree
290383Ransom Note53.1%Easy0.3074846997479606https://leetcode.com/problems/ransom-note
291221Maximal Square37.7%Medium0.3057737602882765https://leetcode.com/problems/maximal-square
292147Insertion Sort List41.1%Medium0.30480732197724425https://leetcode.com/problems/insertion-sort-list
293909Snakes and Ladders38.4%Medium0.30024869505163937https://leetcode.com/problems/snakes-and-ladders
294724Find Pivot Index44.0%Easy0.29912265485367395https://leetcode.com/problems/find-pivot-index
29540Combination Sum II48.2%Medium0.2974989835662538https://leetcode.com/problems/combination-sum-ii
296828Count Unique Characters of All Substrings of a Given String45.2%Hard0.2972515234679316https://leetcode.com/problems/count-unique-characters-of-all-substrings-of-a-given-string
29795Unique Binary Search Trees II40.6%Medium0.2958298345782864https://leetcode.com/problems/unique-binary-search-trees-ii
2981375Bulb Switcher III62.6%Medium0.29173887314739533https://leetcode.com/problems/bulb-switcher-iii
299347Top K Frequent Elements61.2%Medium0.28857373546226267https://leetcode.com/problems/top-k-frequent-elements
300354Russian Doll Envelopes35.6%Hard0.2883782089226364https://leetcode.com/problems/russian-doll-envelopes
30197Interleaving String31.5%Hard0.28587071214283233https://leetcode.com/problems/interleaving-string
3021136Parallel Courses61.1%Hard0.2858421455297737https://leetcode.com/problems/parallel-courses
303708Insert into a Sorted Circular Linked List31.6%Medium0.28504006298894224https://leetcode.com/problems/insert-into-a-sorted-circular-linked-list
304681Next Closest Time45.0%Medium0.2802157173642045https://leetcode.com/problems/next-closest-time
305129Sum Root to Leaf Numbers49.1%Medium0.27802016154004405https://leetcode.com/problems/sum-root-to-leaf-numbers
306969Pancake Sorting67.5%Medium0.27343004974457946https://leetcode.com/problems/pancake-sorting
307540Single Element in a Sorted Array57.9%Medium0.270315853943239https://leetcode.com/problems/single-element-in-a-sorted-array
308202Happy Number50.4%Easy0.268522802513303https://leetcode.com/problems/happy-number
309349Intersection of Two Arrays62.5%Easy0.26807134960778223https://leetcode.com/problems/intersection-of-two-arrays
310198House Robber42.0%Easy0.2661579642572608https://leetcode.com/problems/house-robber
311694Number of Distinct Islands56.0%Medium0.26236426446749106https://leetcode.com/problems/number-of-distinct-islands
312184Sum33.7%Medium0.26175539010512316https://leetcode.com/problems/4sum
313683K Empty Slots35.6%Hard0.25708853309999324https://leetcode.com/problems/k-empty-slots
314315Count of Smaller Numbers After Self41.5%Hard0.2567607594720918https://leetcode.com/problems/count-of-smaller-numbers-after-self
315216Combination Sum III56.6%Medium0.24698514158015275https://leetcode.com/problems/combination-sum-iii
3166ZigZag Conversion36.3%Medium0.2458374437427011https://leetcode.com/problems/zigzag-conversion
317329Longest Increasing Path in a Matrix43.4%Hard0.24152335025129923https://leetcode.com/problems/longest-increasing-path-in-a-matrix
318308Range Sum Query 2D - Mutable35.6%Hard0.24116205681688807https://leetcode.com/problems/range-sum-query-2d-mutable
319120Triangle44.2%Medium0.23887525258068545https://leetcode.com/problems/triangle
32057Insert Interval33.5%Hard0.23697938397356041https://leetcode.com/problems/insert-interval
321416Partition Equal Subset Sum43.7%Medium0.23420537108328685https://leetcode.com/problems/partition-equal-subset-sum
322257Binary Tree Paths51.5%Easy0.23334105110860667https://leetcode.com/problems/binary-tree-paths
3231188Design Bounded Blocking Queue70.5%Medium0.23300728083654992https://leetcode.com/problems/design-bounded-blocking-queue
324243Shortest Word Distance61.0%Easy0.23122733458279973https://leetcode.com/problems/shortest-word-distance
325509Fibonacci Number67.2%Easy0.22873204718012582https://leetcode.com/problems/fibonacci-number
326768Max Chunks To Make Sorted II48.7%Hard0.22767870647960103https://leetcode.com/problems/max-chunks-to-make-sorted-ii
327104Maximum Depth of Binary Tree66.0%Easy0.2247057029374007https://leetcode.com/problems/maximum-depth-of-binary-tree
328701Insert into a Binary Search Tree77.7%Medium0.22337817376865485https://leetcode.com/problems/insert-into-a-binary-search-tree
329341Flatten Nested List Iterator52.9%Medium0.2209211036876481https://leetcode.com/problems/flatten-nested-list-iterator
330231Power of Two43.7%Easy0.2188289731364177https://leetcode.com/problems/power-of-two
331317Shortest Distance from All Buildings41.4%Hard0.21654542918153205https://leetcode.com/problems/shortest-distance-from-all-buildings
332523Continuous Subarray Sum24.6%Medium0.21568639520612767https://leetcode.com/problems/continuous-subarray-sum
333158Read N Characters Given Read4 II - Call multiple times33.8%Hard0.21421194491522716https://leetcode.com/problems/read-n-characters-given-read4-ii-call-multiple-times
334205Isomorphic Strings39.8%Easy0.21117085755971557https://leetcode.com/problems/isomorphic-strings
335107Binary Tree Level Order Traversal II53.5%Easy0.2086357266305724https://leetcode.com/problems/binary-tree-level-order-traversal-ii
3367171-bit and 2-bit Characters48.8%Easy0.20727941516730314https://leetcode.com/problems/1-bit-and-2-bit-characters
337290Word Pattern37.0%Easy0.20496634325524304https://leetcode.com/problems/word-pattern
338463Island Perimeter65.7%Easy0.20102047685235075https://leetcode.com/problems/island-perimeter
339568Maximum Vacation Days40.8%Hard0.19966567025192705https://leetcode.com/problems/maximum-vacation-days
340209Minimum Size Subarray Sum38.2%Medium0.1916428563693859https://leetcode.com/problems/minimum-size-subarray-sum
341210Course Schedule II40.7%Medium0.19114245113569317https://leetcode.com/problems/course-schedule-ii
342219Contains Duplicate II37.7%Easy0.18696862869341266https://leetcode.com/problems/contains-duplicate-ii
343299Bulls and Cows42.4%Easy0.1826623303532244https://leetcode.com/problems/bulls-and-cows
344187Repeated DNA Sequences38.9%Medium0.18218832116655082https://leetcode.com/problems/repeated-dna-sequences
345284Peeking Iterator45.7%Medium0.1802129634981955https://leetcode.com/problems/peeking-iterator
346547Friend Circles58.6%Medium0.17970355268064825https://leetcode.com/problems/friend-circles
347437Path Sum III47.2%Medium0.17834783920071107https://leetcode.com/problems/path-sum-iii
348773Sliding Puzzle59.3%Hard0.17627924233799203https://leetcode.com/problems/sliding-puzzle
349987Vertical Order Traversal of a Binary Tree36.6%Medium0.17117447745078015https://leetcode.com/problems/vertical-order-traversal-of-a-binary-tree
350843Guess the Word46.1%Hard0.17062551703076334https://leetcode.com/problems/guess-the-word
351367Valid Perfect Square41.7%Easy0.16978101623607908https://leetcode.com/problems/valid-perfect-square
352609Find Duplicate File in System59.5%Medium0.16971838464062922https://leetcode.com/problems/find-duplicate-file-in-system
353784Letter Case Permutation64.6%Medium0.16909907515089384https://leetcode.com/problems/letter-case-permutation
354325Maximum Size Subarray Sum Equals k46.8%Medium0.16882086957505205https://leetcode.com/problems/maximum-size-subarray-sum-equals-k
355680Valid Palindrome II36.6%Easy0.1679540228531573https://leetcode.com/problems/valid-palindrome-ii
356489Robot Room Cleaner69.7%Hard0.16758021585734428https://leetcode.com/problems/robot-room-cleaner
357399Evaluate Division51.6%Medium0.16222534433150315https://leetcode.com/problems/evaluate-division
358653Two Sum IV - Input is a BST55.5%Easy0.16169480776777312https://leetcode.com/problems/two-sum-iv-input-is-a-bst
359662Maximum Width of Binary Tree41.0%Medium0.16006134199074026https://leetcode.com/problems/maximum-width-of-binary-tree
360222Count Complete Tree Nodes46.8%Medium0.15947973572471308https://leetcode.com/problems/count-complete-tree-nodes
361721Accounts Merge48.8%Medium0.15836350116973763https://leetcode.com/problems/accounts-merge
362131Palindrome Partitioning47.5%Medium0.15829229898055353https://leetcode.com/problems/palindrome-partitioning
363271Encode and Decode Strings31.5%Medium0.15521621002929656https://leetcode.com/problems/encode-and-decode-strings
364373Find K Pairs with Smallest Sums36.7%Medium0.15386549516826https://leetcode.com/problems/find-k-pairs-with-smallest-sums
365979Distribute Coins in Binary Tree68.9%Medium0.15348688956060175https://leetcode.com/problems/distribute-coins-in-binary-tree
366632Smallest Range Covering Elements from K Lists52.4%Hard0.15283920422944758https://leetcode.com/problems/smallest-range-covering-elements-from-k-lists
367833Find And Replace in String50.4%Medium0.1506602748874898https://leetcode.com/problems/find-and-replace-in-string
368365Water and Jug Problem30.6%Medium0.14565275315686743https://leetcode.com/problems/water-and-jug-problem
3691381Design a Stack With Increment Operation74.7%Medium0.1453140980267603https://leetcode.com/problems/design-a-stack-with-increment-operation
370939Minimum Area Rectangle51.8%Medium0.14413390158378703https://leetcode.com/problems/minimum-area-rectangle
371163Sum Closest46.0%Medium0.14234512850929823https://leetcode.com/problems/3sum-closest
372769Max Chunks To Make Sorted54.8%Medium0.14019808398271194https://leetcode.com/problems/max-chunks-to-make-sorted
373176Second Highest Salary31.6%Easy0.1400039071301401https://leetcode.com/problems/second-highest-salary
374279Perfect Squares47.4%Medium0.13815033848081718https://leetcode.com/problems/perfect-squares
375282Expression Add Operators35.5%Hard0.13310419432681886https://leetcode.com/problems/expression-add-operators
3761143Longest Common Subsequence58.4%Medium0.13278227696210623https://leetcode.com/problems/longest-common-subsequence
377305Number of Islands II40.1%Hard0.1304306149462744https://leetcode.com/problems/number-of-islands-ii
378217Contains Duplicate56.0%Easy0.12838116664820678https://leetcode.com/problems/contains-duplicate
379707Design Linked List24.5%Medium0.12796988096337653https://leetcode.com/problems/design-linked-list
380612Shortest Distance in a Plane59.5%Medium0.1271551754852466https://leetcode.com/problems/shortest-distance-in-a-plane
381621Task Scheduler50.1%Medium0.12387972474581618https://leetcode.com/problems/task-scheduler
382704Binary Search52.1%Easy0.12265353454721256https://leetcode.com/problems/binary-search
383844Backspace String Compare46.4%Easy0.12201137176590456https://leetcode.com/problems/backspace-string-compare
3841114Print in Order65.7%Easy0.12136085700426744https://leetcode.com/problems/print-in-order
385323Number of Connected Components in an Undirected Graph56.0%Medium0.12008412526365206https://leetcode.com/problems/number-of-connected-components-in-an-undirected-graph
386525Contiguous Array42.8%Medium0.11750591219610916https://leetcode.com/problems/contiguous-array
387739Daily Temperatures63.3%Medium0.11646575243222568https://leetcode.com/problems/daily-temperatures
388515Find Largest Value in Each Tree Row61.1%Medium0.11375888535665801https://leetcode.com/problems/find-largest-value-in-each-tree-row
389671Second Minimum Node In a Binary Tree42.7%Easy0.11343592966337171https://leetcode.com/problems/second-minimum-node-in-a-binary-tree
390532K-diff Pairs in an Array31.6%Easy0.111723209445655https://leetcode.com/problems/k-diff-pairs-in-an-array
391973K Closest Points to Origin63.8%Medium0.11087510283099485https://leetcode.com/problems/k-closest-points-to-origin
3921008Construct Binary Search Tree from Preorder Traversal78.4%Medium0.11004936619718413https://leetcode.com/problems/construct-binary-search-tree-from-preorder-traversal
393213House Robber II36.5%Medium0.10850742141601913https://leetcode.com/problems/house-robber-ii
394852Peak Index in a Mountain Array71.6%Easy0.10821358464023274https://leetcode.com/problems/peak-index-in-a-mountain-array
395311Sparse Matrix Multiplication61.9%Medium0.10648348040245009https://leetcode.com/problems/sparse-matrix-multiplication
3961386Cinema Seat Allocation34.8%Medium0.10648348040245009https://leetcode.com/problems/cinema-seat-allocation
397406Queue Reconstruction by Height66.9%Medium0.10607646342422336https://leetcode.com/problems/queue-reconstruction-by-height
39834Find First and Last Position of Element in Sorted Array36.2%Medium0.10112681359490523https://leetcode.com/problems/find-first-and-last-position-of-element-in-sorted-array
399658Find K Closest Elements40.9%Medium0.0995648587647672https://leetcode.com/problems/find-k-closest-elements
40090Subsets II47.1%Medium0.09830555874512009https://leetcode.com/problems/subsets-ii
4011038Binary Search Tree to Greater Sum Tree80.8%Medium0.09811785595852335https://leetcode.com/problems/binary-search-tree-to-greater-sum-tree
402785Is Graph Bipartite?47.5%Medium0.09684982598991766https://leetcode.com/problems/is-graph-bipartite
403220Contains Duplicate III20.9%Medium0.09599691440839975https://leetcode.com/problems/contains-duplicate-iii
404895Maximum Frequency Stack60.6%Hard0.09490784626439754https://leetcode.com/problems/maximum-frequency-stack
405381Insert Delete GetRandom O(1) - Duplicates allowed34.1%Hard0.09106388892287375https://leetcode.com/problems/insert-delete-getrandom-o1-duplicates-allowed
4061324Print Words Vertically57.9%Medium0.09055957704572704https://leetcode.com/problems/print-words-vertically
407414Third Maximum Number30.5%Easy0.08956753807644377https://leetcode.com/problems/third-maximum-number
4081116Print Zero Even Odd56.0%Medium0.08934510033584994https://leetcode.com/problems/print-zero-even-odd
409907Sum of Subarray Minimums32.3%Medium0.08934510033584994https://leetcode.com/problems/sum-of-subarray-minimums
410819Most Common Word44.8%Easy0.0888376652987074https://leetcode.com/problems/most-common-word
411256Paint House52.1%Easy0.08650924290928251https://leetcode.com/problems/paint-house
41227Remove Element48.2%Easy0.08523043261863501https://leetcode.com/problems/remove-element
413703Kth Largest Element in a Stream49.7%Easy0.08385735299772534https://leetcode.com/problems/kth-largest-element-in-a-stream
414905Sort Array By Parity74.1%Easy0.08328510247304294https://leetcode.com/problems/sort-array-by-parity
415278First Bad Version35.7%Easy0.08295984140240989https://leetcode.com/problems/first-bad-version
416359Logger Rate Limiter70.8%Easy0.08167803101426718https://leetcode.com/problems/logger-rate-limiter
417643Maximum Average Subarray I41.5%Easy0.08105244450653293https://leetcode.com/problems/maximum-average-subarray-i
41896Unique Binary Search Trees52.9%Medium0.08025695513016742https://leetcode.com/problems/unique-binary-search-trees
41960Permutation Sequence38.4%Hard0.07948571541724253https://leetcode.com/problems/permutation-sequence
4201104Path In Zigzag Labelled Binary Tree72.0%Medium0.07786032177227234https://leetcode.com/problems/path-in-zigzag-labelled-binary-tree
421435Non-overlapping Intervals42.9%Medium0.07565042495900788https://leetcode.com/problems/non-overlapping-intervals
422480Sliding Window Median37.2%Hard0.0743529801177063https://leetcode.com/problems/sliding-window-median
4231079Letter Tile Possibilities75.4%Medium0.07350246199292652https://leetcode.com/problems/letter-tile-possibilities
424503Next Greater Element II56.5%Medium0.07339377143296942https://leetcode.com/problems/next-greater-element-ii
425144Binary Tree Preorder Traversal55.7%Medium0.0722495403534662https://leetcode.com/problems/binary-tree-preorder-traversal
426676Implement Magic Dictionary54.5%Medium0.06995858860691037https://leetcode.com/problems/implement-magic-dictionary
4271027Longest Arithmetic Sequence53.4%Medium0.06693948267510934https://leetcode.com/problems/longest-arithmetic-sequence
4281145Binary Tree Coloring Game51.2%Medium0.06592172080482424https://leetcode.com/problems/binary-tree-coloring-game
4291304Find N Unique Integers Sum up to Zero76.3%Easy0.06210765548004028https://leetcode.com/problems/find-n-unique-integers-sum-up-to-zero
430350Intersection of Two Arrays II51.4%Easy0.06202949919751832https://leetcode.com/problems/intersection-of-two-arrays-ii
431472Concatenated Words43.7%Hard0.06120196522807572https://leetcode.com/problems/concatenated-words
432796Rotate String49.6%Easy0.059778751425839334https://leetcode.com/problems/rotate-string
43347Permutations II46.4%Medium0.05897935516253239https://leetcode.com/problems/permutations-ii
434630Course Schedule III33.5%Hard0.058581901624802396https://leetcode.com/problems/course-schedule-iii
435111Minimum Depth of Binary Tree37.4%Easy0.05806209779650968https://leetcode.com/problems/minimum-depth-of-binary-tree
436100Same Tree53.4%Easy0.05782550765396603https://leetcode.com/problems/same-tree
437832Flipping an Image76.2%Easy0.057363394879920204https://leetcode.com/problems/flipping-an-image
438950Reveal Cards In Increasing Order74.6%Medium0.056592185311170023https://leetcode.com/problems/reveal-cards-in-increasing-order
439541Reverse String II48.4%Easy0.05615948403872344https://leetcode.com/problems/reverse-string-ii
440735Asteroid Collision41.0%Medium0.05479154882968245https://leetcode.com/problems/asteroid-collision
4411229Meeting Scheduler52.7%Medium0.053560323833736816https://leetcode.com/problems/meeting-scheduler
4421092Shortest Common Supersequence 51.6%Hard0.053488684950986194https://leetcode.com/problems/shortest-common-supersequence
443303Range Sum Query - Immutable44.7%Easy0.05194286677525062https://leetcode.com/problems/range-sum-query-immutable
444981Time Based Key-Value Store53.1%Medium0.049406315387071284https://leetcode.com/problems/time-based-key-value-store
44567Add Binary45.2%Easy0.049093096377302976https://leetcode.com/problems/add-binary
446459Repeated Substring Pattern42.2%Easy0.04752742385552696https://leetcode.com/problems/repeated-substring-pattern
447845Longest Mountain in Array37.2%Medium0.047458490406358134https://leetcode.com/problems/longest-mountain-in-array
448876Middle of the Linked List68.4%Easy0.046728740327781716https://leetcode.com/problems/middle-of-the-linked-list
449977Squares of a Sorted Array72.1%Easy0.046652914831048324https://leetcode.com/problems/squares-of-a-sorted-array
450670Maximum Swap43.6%Medium0.04630456804168632https://leetcode.com/problems/maximum-swap
451494Target Sum46.3%Medium0.04353244473664264https://leetcode.com/problems/target-sum
452938Range Sum of BST81.3%Easy0.043035900859132004https://leetcode.com/problems/range-sum-of-bst
4531004Max Consecutive Ones III59.1%Medium0.041252411938220004https://leetcode.com/problems/max-consecutive-ones-iii
454211Add and Search Word - Data structure design38.1%Medium0.04111576039097048https://leetcode.com/problems/add-and-search-word-data-structure-design
45535Search Insert Position42.6%Easy0.041064163611348584https://leetcode.com/problems/search-insert-position
456788Rotated Digits57.1%Easy0.03980625040041967https://leetcode.com/problems/rotated-digits
457872Leaf-Similar Trees64.5%Easy0.03899974309382511https://leetcode.com/problems/leaf-similar-trees
458884Uncommon Words from Two Sentences63.3%Easy0.036301626676214796https://leetcode.com/problems/uncommon-words-from-two-sentences
459934Shortest Bridge48.2%Medium0.03607244121670154https://leetcode.com/problems/shortest-bridge
4606502 Keys Keyboard49.2%Medium0.035910501305770864https://leetcode.com/problems/2-keys-keyboard
461929Unique Email Addresses67.4%Easy0.033748984736641036https://leetcode.com/problems/unique-email-addresses
462485Max Consecutive Ones54.6%Easy0.03276403666757628https://leetcode.com/problems/max-consecutive-ones
463258Add Digits57.6%Easy0.03259608198749547https://leetcode.com/problems/add-digits
464203Remove Linked List Elements38.6%Easy0.032376928724459735https://leetcode.com/problems/remove-linked-list-elements
4651091Shortest Path in Binary Matrix38.2%Medium0.03164821095078173https://leetcode.com/problems/shortest-path-in-binary-matrix
466867Transpose Matrix62.8%Easy0.031179454774354007https://leetcode.com/problems/transpose-matrix
467953Verifying an Alien Dictionary54.1%Easy0.03117337947619734https://leetcode.com/problems/verifying-an-alien-dictionary
468575Distribute Candies61.4%Easy0.030890487019338404https://leetcode.com/problems/distribute-candies
4691192Critical Connections in a Network48.6%Hard0.030183377823098576https://leetcode.com/problems/critical-connections-in-a-network
470452Minimum Number of Arrows to Burst Balloons49.6%Medium0.029478921626711667https://leetcode.com/problems/minimum-number-of-arrows-to-burst-balloons
471496Next Greater Element I63.8%Easy0.029462032730316202https://leetcode.com/problems/next-greater-element-i
472338Counting Bits69.5%Medium0.024325523767440974https://leetcode.com/problems/counting-bits
4731344Angle Between Hands of a Clock61.4%Medium0.023682900893022413https://leetcode.com/problems/angle-between-hands-of-a-clock
4741019Next Greater Node In Linked List57.4%Medium0.02159911180346178https://leetcode.com/problems/next-greater-node-in-linked-list
4751122Relative Sort Array67.7%Easy0.019685675071030327https://leetcode.com/problems/relative-sort-array
476674Longest Continuous Increasing Subsequence45.9%Easy0.01900294712561538https://leetcode.com/problems/longest-continuous-increasing-subsequence
4771155Number of Dice Rolls With Target Sum49.0%Medium0.018904154639152678https://leetcode.com/problems/number-of-dice-rolls-with-target-sum
478787Cheapest Flights Within K Stops39.3%Medium0.018824085245635554https://leetcode.com/problems/cheapest-flights-within-k-stops
479743Network Delay Time45.0%Medium0.012743084194281933https://leetcode.com/problems/network-delay-time
4801249Minimum Remove to Make Valid Parentheses62.5%Medium0.009195467093100304https://leetcode.com/problems/minimum-remove-to-make-valid-parentheses
4811470Shuffle the Array88.9%Easy0.004527967890154029https://leetcode.com/problems/shuffle-the-array
482513Find Bottom Left Tree Value61.5%Medium0https://leetcode.com/problems/find-bottom-left-tree-value
483631Design Excel Sum Formula31.6%Hard0https://leetcode.com/problems/design-excel-sum-formula
484654Maximum Binary Tree79.9%Medium0https://leetcode.com/problems/maximum-binary-tree
485672Bulb Switcher II50.9%Medium0https://leetcode.com/problems/bulb-switcher-ii
486871Minimum Number of Refueling Stops31.4%Hard0https://leetcode.com/problems/minimum-number-of-refueling-stops
487886Possible Bipartition44.2%Medium0https://leetcode.com/problems/possible-bipartition
488901Online Stock Span60.2%Medium0https://leetcode.com/problems/online-stock-span
489972Equal Rational Numbers41.6%Hard0https://leetcode.com/problems/equal-rational-numbers
4901006Clumsy Factorial53.3%Medium0https://leetcode.com/problems/clumsy-factorial
4911013Partition Array Into Three Parts With Equal Sum51.8%Easy0https://leetcode.com/problems/partition-array-into-three-parts-with-equal-sum
4921053Previous Permutation With One Swap48.5%Medium0https://leetcode.com/problems/previous-permutation-with-one-swap
4931198Find Smallest Common Element in All Rows74.9%Medium0https://leetcode.com/problems/find-smallest-common-element-in-all-rows
4941093Statistics from a Large Sample48.2%Medium0https://leetcode.com/problems/statistics-from-a-large-sample
4951273Delete Tree Nodes63.5%Medium0https://leetcode.com/problems/delete-tree-nodes
4961131Maximum of Absolute Value Expression53.0%Medium0https://leetcode.com/problems/maximum-of-absolute-value-expression
4971206Design Skiplist57.3%Hard0https://leetcode.com/problems/design-skiplist
4981285Find the Start and End Number of Continuous Ranges83.8%Medium0https://leetcode.com/problems/find-the-start-and-end-number-of-continuous-ranges
4991306Jump Game III60.4%Medium0https://leetcode.com/problems/jump-game-iii
5001318Minimum Flips to Make a OR b Equal to c62.8%Medium0https://leetcode.com/problems/minimum-flips-to-make-a-or-b-equal-to-c
5011339Maximum Product of Splitted Binary Tree37.2%Medium0https://leetcode.com/problems/maximum-product-of-splitted-binary-tree
5021371Find the Longest Substring Containing Vowels in Even Counts58.2%Medium0https://leetcode.com/problems/find-the-longest-substring-containing-vowels-in-even-counts
5031369Get the Second Most Recent Activity65.1%Hard0https://leetcode.com/problems/get-the-second-most-recent-activity
5041394Find Lucky Integer in an Array64.4%Easy0https://leetcode.com/problems/find-lucky-integer-in-an-array
5051415The k-th Lexicographical String of All Happy Strings of Length n70.4%Medium0https://leetcode.com/problems/the-k-th-lexicographical-string-of-all-happy-strings-of-length-n
5061417Reformat The String55.0%Easy0https://leetcode.com/problems/reformat-the-string
5071448Count Good Nodes in Binary Tree70.4%Medium0https://leetcode.com/problems/count-good-nodes-in-binary-tree
5081458Max Dot Product of Two Subsequences41.7%Hard0https://leetcode.com/problems/max-dot-product-of-two-subsequences
5091469Find All The Lonely Nodes81.4%Easy0https://leetcode.com/problems/find-all-the-lonely-nodes
5101510Stone Game IV50.3%Hard0https://leetcode.com/problems/stone-game-iv
5111474Delete N Nodes After M Nodes of a Linked List74.2%Easy0https://leetcode.com/problems/delete-n-nodes-after-m-nodes-of-a-linked-list
5121523Count Odd Numbers in an Interval Range55.8%Easy0https://leetcode.com/problems/count-odd-numbers-in-an-interval-range
5131518Water Bottles63.1%Easy0https://leetcode.com/problems/water-bottles
5141539Kth Missing Positive Number52.3%Easy0https://leetcode.com/problems/kth-missing-positive-number
5151528Shuffle String86.1%Easy0https://leetcode.com/problems/shuffle-string