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)

```
This commit is contained in:
Krishna Kumar Dey
2023-04-01 11:07:49 +05:30
committed by GitHub
parent 0aeadbd612
commit fb5f78b55e
534 changed files with 20291 additions and 19757 deletions

View File

@@ -1,241 +1,242 @@
1239,Maximum Length of a Concatenated String with Unique Characters,47.8%,Medium,0.6657761816190897, https://leetcode.com/problems/maximum-length-of-a-concatenated-string-with-unique-characters
1246,Palindrome Removal,46.0%,Hard,0.5941286921253983, https://leetcode.com/problems/palindrome-removal
273,Integer to English Words,27.1%,Hard,0.5224812026317068, https://leetcode.com/problems/integer-to-english-words
428,Serialize and Deserialize N-ary Tree,59.4%,Hard,0.4508337131380154, https://leetcode.com/problems/serialize-and-deserialize-n-ary-tree
146,LRU Cache,33.2%,Medium,0.37918622364432397, https://leetcode.com/problems/lru-cache
1156,Swap For Longest Repeated Character Substring,49.0%,Medium,0.3764775712349121, https://leetcode.com/problems/swap-for-longest-repeated-character-substring
54,Spiral Matrix,34.1%,Medium,0.35306273805914157, https://leetcode.com/problems/spiral-matrix
212,Word Search II,34.9%,Hard,0.3492519632676119, https://leetcode.com/problems/word-search-ii
1236,Web Crawler,64.3%,Medium,0.33647223662121295, https://leetcode.com/problems/web-crawler
545,Boundary of Binary Tree,38.9%,Medium,0.32365154819215153, https://leetcode.com/problems/boundary-of-binary-tree
828,Count Unique Characters of All Substrings of a Given String,45.2%,Hard,0.2972515234679316, https://leetcode.com/problems/count-unique-characters-of-all-substrings-of-a-given-string
200,Number of Islands,46.8%,Medium,0.23204607197311616, https://leetcode.com/problems/number-of-islands
340,Longest Substring with At Most K Distinct Characters,44.1%,Hard,0.2311568687093931, https://leetcode.com/problems/longest-substring-with-at-most-k-distinct-characters
25,Reverse Nodes in k-Group,42.1%,Hard,0.22841574636360815, https://leetcode.com/problems/reverse-nodes-in-k-group
218,The Skyline Problem,34.6%,Hard,0.20884831112738325, https://leetcode.com/problems/the-skyline-problem
348,Design Tic-Tac-Toe,54.3%,Medium,0.19933290262049122, https://leetcode.com/problems/design-tic-tac-toe
468,Validate IP Address,24.1%,Medium,0.19827548473619627, https://leetcode.com/problems/validate-ip-address
1375,Bulb Switcher III,62.6%,Medium,0.19622624370172712, https://leetcode.com/problems/bulb-switcher-iii
23,Merge k Sorted Lists,40.2%,Hard,0.18142464262604538, https://leetcode.com/problems/merge-k-sorted-lists
138,Copy List with Random Pointer,36.4%,Medium,0.17215255068496113, https://leetcode.com/problems/copy-list-with-random-pointer
179,Largest Number,28.8%,Medium,0.15788342025694224, https://leetcode.com/problems/largest-number
450,Delete Node in a BST,43.1%,Medium,0.15561959910053247, https://leetcode.com/problems/delete-node-in-a-bst
124,Binary Tree Maximum Path Sum,34.3%,Hard,0.15512094811323265, https://leetcode.com/problems/binary-tree-maximum-path-sum
767,Reorganize String,48.7%,Medium,0.15185314866152042, https://leetcode.com/problems/reorganize-string
1,Two Sum,45.6%,Easy,0.14920101860781756, https://leetcode.com/problems/two-sum
41,First Missing Positive,32.0%,Hard,0.14910731703527175, https://leetcode.com/problems/first-missing-positive
74,Search a 2D Matrix,36.5%,Medium,0.13990475142949543, https://leetcode.com/problems/search-a-2d-matrix
99,Recover Binary Search Tree,39.7%,Hard,0.1363765523041528, https://leetcode.com/problems/recover-binary-search-tree
42,Trapping Rain Water,48.9%,Hard,0.12389276378675394, https://leetcode.com/problems/trapping-rain-water
46,Permutations,63.5%,Medium,0.12027982804941116, https://leetcode.com/problems/permutations
93,Restore IP Addresses,35.6%,Medium,0.11756123239496619, https://leetcode.com/problems/restore-ip-addresses
116,Populating Next Right Pointers in Each Node,45.2%,Medium,0.1113806498369338, https://leetcode.com/problems/populating-next-right-pointers-in-each-node
1188,Design Bounded Blocking Queue,70.5%,Medium,0.11030454201470608, https://leetcode.com/problems/design-bounded-blocking-queue
37,Sudoku Solver,43.6%,Hard,0.1087554815281622, https://leetcode.com/problems/sudoku-solver
445,Add Two Numbers II,54.5%,Medium,0.10585667046830217, https://leetcode.com/problems/add-two-numbers-ii
773,Sliding Puzzle,59.3%,Hard,0.10294796925244239, https://leetcode.com/problems/sliding-puzzle
232,Implement Queue using Stacks,49.6%,Easy,0.09690200534777553, https://leetcode.com/problems/implement-queue-using-stacks
716,Max Stack,42.6%,Easy,0.09362342046209744, https://leetcode.com/problems/max-stack
4,Median of Two Sorted Arrays,29.6%,Hard,0.09321199094445486, https://leetcode.com/problems/median-of-two-sorted-arrays
510,Inorder Successor in BST II,58.0%,Medium,0.09244453252200126, https://leetcode.com/problems/inorder-successor-in-bst-ii
155,Min Stack,44.5%,Easy,0.09202674518071384, https://leetcode.com/problems/min-stack
127,Word Ladder,29.6%,Medium,0.09162341383415479, https://leetcode.com/problems/word-ladder
1116,Print Zero Even Odd,56.0%,Medium,0.08934510033584994, https://leetcode.com/problems/print-zero-even-odd
240,Search a 2D Matrix II,43.2%,Medium,0.08914990697180455, https://leetcode.com/problems/search-a-2d-matrix-ii
358,Rearrange String k Distance Apart,34.9%,Hard,0.08894748601649616, https://leetcode.com/problems/rearrange-string-k-distance-apart
102,Binary Tree Level Order Traversal,54.6%,Medium,0.0872240169150957, https://leetcode.com/problems/binary-tree-level-order-traversal
622,Design Circular Queue,43.8%,Medium,0.08696405427235052, https://leetcode.com/problems/design-circular-queue
105,Construct Binary Tree from Preorder and Inorder Traversal,48.8%,Medium,0.08645856912332787, https://leetcode.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal
297,Serialize and Deserialize Binary Tree,47.5%,Hard,0.0834242216674795, https://leetcode.com/problems/serialize-and-deserialize-binary-tree
134,Gas Station,38.5%,Medium,0.08169138321871633, https://leetcode.com/problems/gas-station
636,Exclusive Time of Functions,51.9%,Medium,0.08155306616046964, https://leetcode.com/problems/exclusive-time-of-functions
89,Gray Code,49.1%,Medium,0.08112554481236843, https://leetcode.com/problems/gray-code
85,Maximal Rectangle,37.7%,Hard,0.0805588367172521, https://leetcode.com/problems/maximal-rectangle
695,Max Area of Island,62.7%,Medium,0.07677187782851674, https://leetcode.com/problems/max-area-of-island
1079,Letter Tile Possibilities,75.4%,Medium,0.07350246199292652, https://leetcode.com/problems/letter-tile-possibilities
98,Validate Binary Search Tree,27.8%,Medium,0.07111326337575957, https://leetcode.com/problems/validate-binary-search-tree
133,Clone Graph,34.8%,Medium,0.07095173597228444, https://leetcode.com/problems/clone-graph
126,Word Ladder II,22.1%,Hard,0.07011193038456472, https://leetcode.com/problems/word-ladder-ii
432,All O`one Data Structure,32.4%,Hard,0.06887402901251127, https://leetcode.com/problems/all-oone-data-structure
460,LFU Cache,34.2%,Hard,0.06836374280939023, https://leetcode.com/problems/lfu-cache
706,Design HashMap,61.3%,Easy,0.0683442674369718, https://leetcode.com/problems/design-hashmap
277,Find the Celebrity,41.8%,Medium,0.06562120535847293, https://leetcode.com/problems/find-the-celebrity
419,Battleships in a Board,70.0%,Medium,0.06557337705569365, https://leetcode.com/problems/battleships-in-a-board
702,Search in a Sorted Array of Unknown Size,66.9%,Medium,0.06361444899419297, https://leetcode.com/problems/search-in-a-sorted-array-of-unknown-size
1044,Longest Duplicate Substring,31.9%,Hard,0.062325463197828765, https://leetcode.com/problems/longest-duplicate-substring
380,Insert Delete GetRandom O(1),47.5%,Medium,0.05985510621029109, https://leetcode.com/problems/insert-delete-getrandom-o1
75,Sort Colors,47.3%,Medium,0.05950522970614658, https://leetcode.com/problems/sort-colors
49,Group Anagrams,56.9%,Medium,0.059194347436734636, https://leetcode.com/problems/group-anagrams
207,Course Schedule,43.1%,Medium,0.05917457139647936, https://leetcode.com/problems/course-schedule
8,String to Integer (atoi),15.4%,Medium,0.0590196151944673, https://leetcode.com/problems/string-to-integer-atoi
630,Course Schedule III,33.5%,Hard,0.058581901624802396, https://leetcode.com/problems/course-schedule-iii
457,Circular Array Loop,29.4%,Medium,0.058155920157074034, https://leetcode.com/problems/circular-array-loop
950,Reveal Cards In Increasing Order,74.6%,Medium,0.056592185311170023, https://leetcode.com/problems/reveal-cards-in-increasing-order
236,Lowest Common Ancestor of a Binary Tree,45.7%,Medium,0.05627201992757647, https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-tree
315,Count of Smaller Numbers After Self,41.5%,Hard,0.05621430690495994, https://leetcode.com/problems/count-of-smaller-numbers-after-self
43,Multiply Strings,33.9%,Medium,0.05583052804728052, https://leetcode.com/problems/multiply-strings
149,Max Points on a Line,16.9%,Hard,0.0550597771830274, https://leetcode.com/problems/max-points-on-a-line
295,Find Median from Data Stream,44.3%,Hard,0.05495888428075748, https://leetcode.com/problems/find-median-from-data-stream
24,Swap Nodes in Pairs,50.4%,Medium,0.05465011300438079, https://leetcode.com/problems/swap-nodes-in-pairs
443,String Compression,41.3%,Easy,0.05450940566837169, https://leetcode.com/problems/string-compression
56,Merge Intervals,39.3%,Medium,0.054167920212564245, https://leetcode.com/problems/merge-intervals
1229,Meeting Scheduler,52.7%,Medium,0.053560323833736816, https://leetcode.com/problems/meeting-scheduler
679,24 Game,46.4%,Hard,0.05341723749698583, https://leetcode.com/problems/24-game
186,Reverse Words in a String II,43.3%,Medium,0.05064373281875492, https://leetcode.com/problems/reverse-words-in-a-string-ii
681,Next Closest Time,45.0%,Medium,0.05045206096038863, https://leetcode.com/problems/next-closest-time
129,Sum Root to Leaf Numbers,49.1%,Medium,0.050010420574661374, https://leetcode.com/problems/sum-root-to-leaf-numbers
253,Meeting Rooms II,45.7%,Medium,0.04945628059066218, https://leetcode.com/problems/meeting-rooms-ii
759,Employee Free Time,66.3%,Hard,0.04861224405509378, https://leetcode.com/problems/employee-free-time
845,Longest Mountain in Array,37.2%,Medium,0.047458490406358134, https://leetcode.com/problems/longest-mountain-in-array
556,Next Greater Element III,31.7%,Medium,0.04679216150675895, https://leetcode.com/problems/next-greater-element-iii
224,Basic Calculator,36.8%,Hard,0.046568165477211425, https://leetcode.com/problems/basic-calculator
69,Sqrt(x),33.9%,Easy,0.045007596057435977, https://leetcode.com/problems/sqrtx
36,Valid Sudoku,48.7%,Medium,0.04452302288876419, https://leetcode.com/problems/valid-sudoku
10,Regular Expression Matching,26.8%,Hard,0.04409107726484965, https://leetcode.com/problems/regular-expression-matching
148,Sort List,42.3%,Medium,0.04408427313201935, https://leetcode.com/problems/sort-list
171,Excel Sheet Column Number,55.9%,Easy,0.04404785815605299, https://leetcode.com/problems/excel-sheet-column-number
160,Intersection of Two Linked Lists,40.6%,Easy,0.043270781043381126, https://leetcode.com/problems/intersection-of-two-linked-lists
53,Maximum Subarray,46.5%,Easy,0.04299340685592046, https://leetcode.com/problems/maximum-subarray
727,Minimum Window Subsequence,41.8%,Hard,0.04237922296886145, https://leetcode.com/problems/minimum-window-subsequence
844,Backspace String Compare,46.4%,Easy,0.041499730906752734, https://leetcode.com/problems/backspace-string-compare
907,Sum of Subarray Minimums,32.3%,Medium,0.04069737616380998, https://leetcode.com/problems/sum-of-subarray-minimums
722,Remove Comments,34.6%,Medium,0.04049136135473691, https://leetcode.com/problems/remove-comments
346,Moving Average from Data Stream,70.9%,Easy,0.03932354620391436, https://leetcode.com/problems/moving-average-from-data-stream
17,Letter Combinations of a Phone Number,46.8%,Medium,0.03893646375009422, https://leetcode.com/problems/letter-combinations-of-a-phone-number
33,Search in Rotated Sorted Array,34.5%,Medium,0.03886602267922457, https://leetcode.com/problems/search-in-rotated-sorted-array
168,Excel Sheet Column Title,31.1%,Easy,0.03861483612777958, https://leetcode.com/problems/excel-sheet-column-title
1381,Design a Stack With Increment Operation,74.7%,Medium,0.038355612390321446, https://leetcode.com/problems/design-a-stack-with-increment-operation
317,Shortest Distance from All Buildings,41.4%,Hard,0.03795522000043556, https://leetcode.com/problems/shortest-distance-from-all-buildings
206,Reverse Linked List,62.5%,Easy,0.03679633286058156, https://leetcode.com/problems/reverse-linked-list
934,Shortest Bridge,48.2%,Medium,0.03607244121670154, https://leetcode.com/problems/shortest-bridge
208,Implement Trie (Prefix Tree),49.4%,Medium,0.03593469952792866, https://leetcode.com/problems/implement-trie-prefix-tree
128,Longest Consecutive Sequence,45.1%,Hard,0.035726058864721646, https://leetcode.com/problems/longest-consecutive-sequence
189,Rotate Array,34.7%,Easy,0.03569682997206547, https://leetcode.com/problems/rotate-array
21,Merge Two Sorted Lists,53.5%,Easy,0.03548634253021285, https://leetcode.com/problems/merge-two-sorted-lists
1304,Find N Unique Integers Sum up to Zero,76.3%,Easy,0.035408891906255915, https://leetcode.com/problems/find-n-unique-integers-sum-up-to-zero
59,Spiral Matrix II,53.9%,Medium,0.0351873674509732, https://leetcode.com/problems/spiral-matrix-ii
238,Product of Array Except Self,60.1%,Medium,0.03482987258052727, https://leetcode.com/problems/product-of-array-except-self
103,Binary Tree Zigzag Level Order Traversal,48.3%,Medium,0.03403976010989293, https://leetcode.com/problems/binary-tree-zigzag-level-order-traversal
567,Permutation in String,44.4%,Medium,0.033324075731591886, https://leetcode.com/problems/permutation-in-string
79,Word Search,35.6%,Medium,0.03318208821436187, https://leetcode.com/problems/word-search
528,Random Pick with Weight,43.9%,Medium,0.03306693626657339, https://leetcode.com/problems/random-pick-with-weight
239,Sliding Window Maximum,43.0%,Hard,0.031228142547585713, https://leetcode.com/problems/sliding-window-maximum
703,Kth Largest Element in a Stream,49.7%,Easy,0.031004894819414507, https://leetcode.com/problems/kth-largest-element-in-a-stream
38,Count and Say,44.6%,Easy,0.030956234663467107, https://leetcode.com/problems/count-and-say
557,Reverse Words in a String III,69.8%,Easy,0.03063547953861342, https://leetcode.com/problems/reverse-words-in-a-string-iii
44,Wildcard Matching,24.7%,Hard,0.030573033362282363, https://leetcode.com/problems/wildcard-matching
680,Valid Palindrome II,36.6%,Easy,0.028841220390439494, https://leetcode.com/problems/valid-palindrome-ii
269,Alien Dictionary,33.3%,Hard,0.02841997399127492, https://leetcode.com/problems/alien-dictionary
77,Combinations,54.7%,Medium,0.028021758737593695, https://leetcode.com/problems/combinations
20,Valid Parentheses,39.0%,Easy,0.02782373445001039, https://leetcode.com/problems/valid-parentheses
227,Basic Calculator II,36.9%,Medium,0.027685557859864054, https://leetcode.com/problems/basic-calculator-ii
5,Longest Palindromic Substring,29.5%,Medium,0.02757010450426751, https://leetcode.com/problems/longest-palindromic-substring
159,Longest Substring with At Most Two Distinct Characters,49.4%,Medium,0.02717558537896476, https://leetcode.com/problems/longest-substring-with-at-most-two-distinct-characters
22,Generate Parentheses,62.7%,Medium,0.026949997964496694, https://leetcode.com/problems/generate-parentheses
2,Add Two Numbers,33.9%,Medium,0.02668158945866115, https://leetcode.com/problems/add-two-numbers
417,Pacific Atlantic Water Flow,41.1%,Medium,0.025975486403260657, https://leetcode.com/problems/pacific-atlantic-water-flow
987,Vertical Order Traversal of a Binary Tree,36.6%,Medium,0.025915645579833068, https://leetcode.com/problems/vertical-order-traversal-of-a-binary-tree
205,Isomorphic Strings,39.8%,Easy,0.025789394882914186, https://leetcode.com/problems/isomorphic-strings
362,Design Hit Counter,63.7%,Medium,0.025382073271417165, https://leetcode.com/problems/design-hit-counter
151,Reverse Words in a String,21.9%,Medium,0.024321004216273485, https://leetcode.com/problems/reverse-words-in-a-string
426,Convert Binary Search Tree to Sorted Doubly Linked List,59.1%,Medium,0.024214258120594613, https://leetcode.com/problems/convert-binary-search-tree-to-sorted-doubly-linked-list
140,Word Break II,32.6%,Hard,0.024104005752813337, https://leetcode.com/problems/word-break-ii
31,Next Permutation,32.6%,Medium,0.023747034562878154, https://leetcode.com/problems/next-permutation
252,Meeting Rooms,54.6%,Easy,0.02332467256640893, https://leetcode.com/problems/meeting-rooms
39,Combination Sum,56.1%,Medium,0.02267028230338623, https://leetcode.com/problems/combination-sum
449,Serialize and Deserialize BST,52.0%,Medium,0.02246023667974994, https://leetcode.com/problems/serialize-and-deserialize-bst
285,Inorder Successor in BST,40.4%,Medium,0.02233482010057984, https://leetcode.com/problems/inorder-successor-in-bst
113,Path Sum II,46.7%,Medium,0.021882711249507664, https://leetcode.com/problems/path-sum-ii
287,Find the Duplicate Number,55.5%,Medium,0.021825992579766168, https://leetcode.com/problems/find-the-duplicate-number
45,Jump Game II,30.6%,Hard,0.021353124470568974, https://leetcode.com/problems/jump-game-ii
621,Task Scheduler,50.1%,Medium,0.020881218065250198, https://leetcode.com/problems/task-scheduler
48,Rotate Image,56.7%,Medium,0.020228249775471566, https://leetcode.com/problems/rotate-image
166,Fraction to Recurring Decimal,21.6%,Medium,0.02015181543730795, https://leetcode.com/problems/fraction-to-recurring-decimal
399,Evaluate Division,51.6%,Medium,0.019380451549662482, https://leetcode.com/problems/evaluate-division
540,Single Element in a Sorted Array,57.9%,Medium,0.0192128868599912, https://leetcode.com/problems/single-element-in-a-sorted-array
173,Binary Search Tree Iterator,56.6%,Medium,0.01899993824490396, https://leetcode.com/problems/binary-search-tree-iterator
121,Best Time to Buy and Sell Stock,50.5%,Easy,0.018954919107260947, https://leetcode.com/problems/best-time-to-buy-and-sell-stock
532,K-diff Pairs in an Array,31.6%,Easy,0.018735911057469818, https://leetcode.com/problems/k-diff-pairs-in-an-array
169,Majority Element,58.7%,Easy,0.018694317054881164, https://leetcode.com/problems/majority-element
88,Merge Sorted Array,39.4%,Easy,0.018667009593356397, https://leetcode.com/problems/merge-sorted-array
394,Decode String,50.0%,Medium,0.0182820448374491, https://leetcode.com/problems/decode-string
234,Palindrome Linked List,39.3%,Easy,0.01801241989645556, https://leetcode.com/problems/palindrome-linked-list
872,Leaf-Similar Trees,64.5%,Easy,0.01752125418714782, https://leetcode.com/problems/leaf-similar-trees
993,Cousins in Binary Tree,52.0%,Easy,0.017414458368636587, https://leetcode.com/problems/cousins-in-binary-tree
994,Rotting Oranges,49.2%,Medium,0.017087941897195622, https://leetcode.com/problems/rotting-oranges
210,Course Schedule II,40.7%,Medium,0.01704828902223426, https://leetcode.com/problems/course-schedule-ii
34,Find First and Last Position of Element in Sorted Array,36.2%,Medium,0.01688338088311469, https://leetcode.com/problems/find-first-and-last-position-of-element-in-sorted-array
225,Implement Stack using Queues,45.1%,Easy,0.01644097863345757, https://leetcode.com/problems/implement-stack-using-queues
51,N-Queens,46.6%,Hard,0.016393809775676407, https://leetcode.com/problems/n-queens
299,Bulls and Cows,42.4%,Easy,0.016227536621756702, https://leetcode.com/problems/bulls-and-cows
110,Balanced Binary Tree,43.5%,Easy,0.015742847432510365, https://leetcode.com/problems/balanced-binary-tree
701,Insert into a Binary Search Tree,77.7%,Medium,0.015522236371561826, https://leetcode.com/problems/insert-into-a-binary-search-tree
139,Word Break,40.1%,Medium,0.015487677691351377, https://leetcode.com/problems/word-break
707,Design Linked List,24.5%,Medium,0.015054857167065819, https://leetcode.com/problems/design-linked-list
516,Longest Palindromic Subsequence,53.2%,Medium,0.014931221774984842, https://leetcode.com/problems/longest-palindromic-subsequence
832,Flipping an Image,76.2%,Easy,0.014652276786870392, https://leetcode.com/problems/flipping-an-image
653,Two Sum IV - Input is a BST,55.5%,Easy,0.014224990931347289, https://leetcode.com/problems/two-sum-iv-input-is-a-bst
3,Longest Substring Without Repeating Characters,30.4%,Medium,0.01391434345649413, https://leetcode.com/problems/longest-substring-without-repeating-characters
131,Palindrome Partitioning,47.5%,Medium,0.013903595538577326, https://leetcode.com/problems/palindrome-partitioning
141,Linked List Cycle,41.1%,Easy,0.01390238743679306, https://leetcode.com/problems/linked-list-cycle
724,Find Pivot Index,44.0%,Easy,0.013850636933899008, https://leetcode.com/problems/find-pivot-index
332,Reconstruct Itinerary,36.7%,Medium,0.013755375068485329, https://leetcode.com/problems/reconstruct-itinerary
15,3Sum,26.8%,Medium,0.013665148419080968, https://leetcode.com/problems/3sum
13,Roman to Integer,55.7%,Easy,0.013645103403569418, https://leetcode.com/problems/roman-to-integer
329,Longest Increasing Path in a Matrix,43.4%,Hard,0.013400535537482126, https://leetcode.com/problems/longest-increasing-path-in-a-matrix
91,Decode Ways,24.7%,Medium,0.013379120336324091, https://leetcode.com/problems/decode-ways
94,Binary Tree Inorder Traversal,63.3%,Medium,0.013353561806134713, https://leetcode.com/problems/binary-tree-inorder-traversal
199,Binary Tree Right Side View,54.1%,Medium,0.01274082919906162, https://leetcode.com/problems/binary-tree-right-side-view
518,Coin Change 2,50.2%,Medium,0.012527567532662891, https://leetcode.com/problems/coin-change-2
437,Path Sum III,47.2%,Medium,0.012128711446614806, https://leetcode.com/problems/path-sum-iii
543,Diameter of Binary Tree,48.4%,Easy,0.011898606798495848, https://leetcode.com/problems/diameter-of-binary-tree
442,Find All Duplicates in an Array,67.8%,Medium,0.011675555865241341, https://leetcode.com/problems/find-all-duplicates-in-an-array
378,Kth Smallest Element in a Sorted Matrix,54.3%,Medium,0.011634802567699611, https://leetcode.com/problems/kth-smallest-element-in-a-sorted-matrix
117,Populating Next Right Pointers in Each Node II,39.1%,Medium,0.011389644764357807, https://leetcode.com/problems/populating-next-right-pointers-in-each-node-ii
733,Flood Fill,55.3%,Easy,0.011217167530924988, https://leetcode.com/problems/flood-fill
268,Missing Number,51.7%,Easy,0.010947682628191997, https://leetcode.com/problems/missing-number
92,Reverse Linked List II,38.8%,Medium,0.010427623162259089, https://leetcode.com/problems/reverse-linked-list-ii
647,Palindromic Substrings,60.6%,Medium,0.010400509768078022, https://leetcode.com/problems/palindromic-substrings
61,Rotate List,30.0%,Medium,0.009925639799969955, https://leetcode.com/problems/rotate-list
18,4Sum,33.7%,Medium,0.00984259914419414, https://leetcode.com/problems/4sum
560,Subarray Sum Equals K,43.9%,Medium,0.009603146783199741, https://leetcode.com/problems/subarray-sum-equals-k
387,First Unique Character in a String,53.4%,Easy,0.009392680199054166, https://leetcode.com/problems/first-unique-character-in-a-string
1249,Minimum Remove to Make Valid Parentheses,62.5%,Medium,0.009195467093100304, https://leetcode.com/problems/minimum-remove-to-make-valid-parentheses
32,Longest Valid Parentheses,28.4%,Hard,0.009111680351255843, https://leetcode.com/problems/longest-valid-parentheses
322,Coin Change,35.5%,Medium,0.00904437880665999, https://leetcode.com/problems/coin-change
28,Implement strStr(),34.5%,Easy,0.008850485542574548, https://leetcode.com/problems/implement-strstr
63,Unique Paths II,34.6%,Medium,0.008712753874961187, https://leetcode.com/problems/unique-paths-ii
198,House Robber,42.0%,Easy,0.008434914115059812, https://leetcode.com/problems/house-robber
209,Minimum Size Subarray Sum,38.2%,Medium,0.00841401682484616, https://leetcode.com/problems/minimum-size-subarray-sum
235,Lowest Common Ancestor of a Binary Search Tree,49.9%,Easy,0.00821697310228087, https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-search-tree
438,Find All Anagrams in a String,43.3%,Medium,0.008126822460497498, https://leetcode.com/problems/find-all-anagrams-in-a-string
26,Remove Duplicates from Sorted Array,45.1%,Easy,0.007782518973063169, https://leetcode.com/problems/remove-duplicates-from-sorted-array
328,Odd Even Linked List,55.7%,Medium,0.00764383618585562, https://leetcode.com/problems/odd-even-linked-list
876,Middle of the Linked List,68.4%,Easy,0.007624893975696915, https://leetcode.com/problems/middle-of-the-linked-list
415,Add Strings,47.5%,Easy,0.007587289812159497, https://leetcode.com/problems/add-strings
692,Top K Frequent Words,51.8%,Medium,0.007516006820935329, https://leetcode.com/problems/top-k-frequent-words
509,Fibonacci Number,67.2%,Easy,0.007113670403855555, https://leetcode.com/problems/fibonacci-number
204,Count Primes,31.5%,Easy,0.007072165261362441, https://leetcode.com/problems/count-primes
73,Set Matrix Zeroes,43.1%,Medium,0.0070151111959223245, https://leetcode.com/problems/set-matrix-zeroes
19,Remove Nth Node From End of List,35.2%,Medium,0.0069087555063702365, https://leetcode.com/problems/remove-nth-node-from-end-of-list
283,Move Zeroes,57.8%,Easy,0.006480437425856766, https://leetcode.com/problems/move-zeroes
83,Remove Duplicates from Sorted List,45.4%,Easy,0.006353261522609498, https://leetcode.com/problems/remove-duplicates-from-sorted-list
144,Binary Tree Preorder Traversal,55.7%,Medium,0.0060975798681185, https://leetcode.com/problems/binary-tree-preorder-traversal
108,Convert Sorted Array to Binary Search Tree,57.9%,Easy,0.005554027051374908, https://leetcode.com/problems/convert-sorted-array-to-binary-search-tree
226,Invert Binary Tree,65.0%,Easy,0.005508138409792252, https://leetcode.com/problems/invert-binary-tree
300,Longest Increasing Subsequence,42.6%,Medium,0.005264555460003242, https://leetcode.com/problems/longest-increasing-subsequence
55,Jump Game,34.6%,Medium,0.005022612266291382, https://leetcode.com/problems/jump-game
62,Unique Paths,54.1%,Medium,0.004621080312067025, https://leetcode.com/problems/unique-paths
1470,Shuffle the Array,88.9%,Easy,0.004527967890154029, https://leetcode.com/problems/shuffle-the-array
7,Reverse Integer,25.8%,Easy,0.00418293972984512, https://leetcode.com/problems/reverse-integer
242,Valid Anagram,56.9%,Easy,0.004154123743115972, https://leetcode.com/problems/valid-anagram
215,Kth Largest Element in an Array,55.4%,Medium,0.003902443976931749, https://leetcode.com/problems/kth-largest-element-in-an-array
977,Squares of a Sorted Array,72.1%,Easy,0.003891055492966611, https://leetcode.com/problems/squares-of-a-sorted-array
153,Find Minimum in Rotated Sorted Array,45.1%,Medium,0.0037558729598054378, https://leetcode.com/problems/find-minimum-in-rotated-sorted-array
101,Symmetric Tree,46.8%,Easy,0.0034057078469827435, https://leetcode.com/problems/symmetric-tree
122,Best Time to Buy and Sell Stock II,57.0%,Easy,0.0033545821461532107, https://leetcode.com/problems/best-time-to-buy-and-sell-stock-ii
50,Pow(x;n),30.3%,Medium,0.0031510424503886844, https://leetcode.com/problems/powx-n
136,Single Number,65.5%,Easy,0.002869648285357666, https://leetcode.com/problems/single-number
104,Maximum Depth of Binary Tree,66.0%,Easy,0.002787846801433134, https://leetcode.com/problems/maximum-depth-of-binary-tree
106,Construct Binary Tree from Inorder and Postorder Traversal,47.2%,Medium,0.00234041415121758, https://leetcode.com/problems/construct-binary-tree-from-inorder-and-postorder-traversal
70,Climbing Stairs,47.8%,Easy,0.0015084665529624085, https://leetcode.com/problems/climbing-stairs
ID,Title,Acceptance,Difficulty,Frequency,Leetcode Question Link
1239,Maximum Length of a Concatenated String with Unique Characters,47.8%,Medium,0.6657761816190897, https://leetcode.com/problems/maximum-length-of-a-concatenated-string-with-unique-characters
1246,Palindrome Removal,46.0%,Hard,0.5941286921253983, https://leetcode.com/problems/palindrome-removal
273,Integer to English Words,27.1%,Hard,0.5224812026317068, https://leetcode.com/problems/integer-to-english-words
428,Serialize and Deserialize N-ary Tree,59.4%,Hard,0.4508337131380154, https://leetcode.com/problems/serialize-and-deserialize-n-ary-tree
146,LRU Cache,33.2%,Medium,0.37918622364432397, https://leetcode.com/problems/lru-cache
1156,Swap For Longest Repeated Character Substring,49.0%,Medium,0.3764775712349121, https://leetcode.com/problems/swap-for-longest-repeated-character-substring
54,Spiral Matrix,34.1%,Medium,0.35306273805914157, https://leetcode.com/problems/spiral-matrix
212,Word Search II,34.9%,Hard,0.3492519632676119, https://leetcode.com/problems/word-search-ii
1236,Web Crawler,64.3%,Medium,0.33647223662121295, https://leetcode.com/problems/web-crawler
545,Boundary of Binary Tree,38.9%,Medium,0.32365154819215153, https://leetcode.com/problems/boundary-of-binary-tree
828,Count Unique Characters of All Substrings of a Given String,45.2%,Hard,0.2972515234679316, https://leetcode.com/problems/count-unique-characters-of-all-substrings-of-a-given-string
200,Number of Islands,46.8%,Medium,0.23204607197311616, https://leetcode.com/problems/number-of-islands
340,Longest Substring with At Most K Distinct Characters,44.1%,Hard,0.2311568687093931, https://leetcode.com/problems/longest-substring-with-at-most-k-distinct-characters
25,Reverse Nodes in k-Group,42.1%,Hard,0.22841574636360815, https://leetcode.com/problems/reverse-nodes-in-k-group
218,The Skyline Problem,34.6%,Hard,0.20884831112738325, https://leetcode.com/problems/the-skyline-problem
348,Design Tic-Tac-Toe,54.3%,Medium,0.19933290262049122, https://leetcode.com/problems/design-tic-tac-toe
468,Validate IP Address,24.1%,Medium,0.19827548473619627, https://leetcode.com/problems/validate-ip-address
1375,Bulb Switcher III,62.6%,Medium,0.19622624370172712, https://leetcode.com/problems/bulb-switcher-iii
23,Merge k Sorted Lists,40.2%,Hard,0.18142464262604538, https://leetcode.com/problems/merge-k-sorted-lists
138,Copy List with Random Pointer,36.4%,Medium,0.17215255068496113, https://leetcode.com/problems/copy-list-with-random-pointer
179,Largest Number,28.8%,Medium,0.15788342025694224, https://leetcode.com/problems/largest-number
450,Delete Node in a BST,43.1%,Medium,0.15561959910053247, https://leetcode.com/problems/delete-node-in-a-bst
124,Binary Tree Maximum Path Sum,34.3%,Hard,0.15512094811323265, https://leetcode.com/problems/binary-tree-maximum-path-sum
767,Reorganize String,48.7%,Medium,0.15185314866152042, https://leetcode.com/problems/reorganize-string
1,Two Sum,45.6%,Easy,0.14920101860781756, https://leetcode.com/problems/two-sum
41,First Missing Positive,32.0%,Hard,0.14910731703527175, https://leetcode.com/problems/first-missing-positive
74,Search a 2D Matrix,36.5%,Medium,0.13990475142949543, https://leetcode.com/problems/search-a-2d-matrix
99,Recover Binary Search Tree,39.7%,Hard,0.1363765523041528, https://leetcode.com/problems/recover-binary-search-tree
42,Trapping Rain Water,48.9%,Hard,0.12389276378675394, https://leetcode.com/problems/trapping-rain-water
46,Permutations,63.5%,Medium,0.12027982804941116, https://leetcode.com/problems/permutations
93,Restore IP Addresses,35.6%,Medium,0.11756123239496619, https://leetcode.com/problems/restore-ip-addresses
116,Populating Next Right Pointers in Each Node,45.2%,Medium,0.1113806498369338, https://leetcode.com/problems/populating-next-right-pointers-in-each-node
1188,Design Bounded Blocking Queue,70.5%,Medium,0.11030454201470608, https://leetcode.com/problems/design-bounded-blocking-queue
37,Sudoku Solver,43.6%,Hard,0.1087554815281622, https://leetcode.com/problems/sudoku-solver
445,Add Two Numbers II,54.5%,Medium,0.10585667046830217, https://leetcode.com/problems/add-two-numbers-ii
773,Sliding Puzzle,59.3%,Hard,0.10294796925244239, https://leetcode.com/problems/sliding-puzzle
232,Implement Queue using Stacks,49.6%,Easy,0.09690200534777553, https://leetcode.com/problems/implement-queue-using-stacks
716,Max Stack,42.6%,Easy,0.09362342046209744, https://leetcode.com/problems/max-stack
4,Median of Two Sorted Arrays,29.6%,Hard,0.09321199094445486, https://leetcode.com/problems/median-of-two-sorted-arrays
510,Inorder Successor in BST II,58.0%,Medium,0.09244453252200126, https://leetcode.com/problems/inorder-successor-in-bst-ii
155,Min Stack,44.5%,Easy,0.09202674518071384, https://leetcode.com/problems/min-stack
127,Word Ladder,29.6%,Medium,0.09162341383415479, https://leetcode.com/problems/word-ladder
1116,Print Zero Even Odd,56.0%,Medium,0.08934510033584994, https://leetcode.com/problems/print-zero-even-odd
240,Search a 2D Matrix II,43.2%,Medium,0.08914990697180455, https://leetcode.com/problems/search-a-2d-matrix-ii
358,Rearrange String k Distance Apart,34.9%,Hard,0.08894748601649616, https://leetcode.com/problems/rearrange-string-k-distance-apart
102,Binary Tree Level Order Traversal,54.6%,Medium,0.0872240169150957, https://leetcode.com/problems/binary-tree-level-order-traversal
622,Design Circular Queue,43.8%,Medium,0.08696405427235052, https://leetcode.com/problems/design-circular-queue
105,Construct Binary Tree from Preorder and Inorder Traversal,48.8%,Medium,0.08645856912332787, https://leetcode.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal
297,Serialize and Deserialize Binary Tree,47.5%,Hard,0.0834242216674795, https://leetcode.com/problems/serialize-and-deserialize-binary-tree
134,Gas Station,38.5%,Medium,0.08169138321871633, https://leetcode.com/problems/gas-station
636,Exclusive Time of Functions,51.9%,Medium,0.08155306616046964, https://leetcode.com/problems/exclusive-time-of-functions
89,Gray Code,49.1%,Medium,0.08112554481236843, https://leetcode.com/problems/gray-code
85,Maximal Rectangle,37.7%,Hard,0.0805588367172521, https://leetcode.com/problems/maximal-rectangle
695,Max Area of Island,62.7%,Medium,0.07677187782851674, https://leetcode.com/problems/max-area-of-island
1079,Letter Tile Possibilities,75.4%,Medium,0.07350246199292652, https://leetcode.com/problems/letter-tile-possibilities
98,Validate Binary Search Tree,27.8%,Medium,0.07111326337575957, https://leetcode.com/problems/validate-binary-search-tree
133,Clone Graph,34.8%,Medium,0.07095173597228444, https://leetcode.com/problems/clone-graph
126,Word Ladder II,22.1%,Hard,0.07011193038456472, https://leetcode.com/problems/word-ladder-ii
432,All O`one Data Structure,32.4%,Hard,0.06887402901251127, https://leetcode.com/problems/all-oone-data-structure
460,LFU Cache,34.2%,Hard,0.06836374280939023, https://leetcode.com/problems/lfu-cache
706,Design HashMap,61.3%,Easy,0.0683442674369718, https://leetcode.com/problems/design-hashmap
277,Find the Celebrity,41.8%,Medium,0.06562120535847293, https://leetcode.com/problems/find-the-celebrity
419,Battleships in a Board,70.0%,Medium,0.06557337705569365, https://leetcode.com/problems/battleships-in-a-board
702,Search in a Sorted Array of Unknown Size,66.9%,Medium,0.06361444899419297, https://leetcode.com/problems/search-in-a-sorted-array-of-unknown-size
1044,Longest Duplicate Substring,31.9%,Hard,0.062325463197828765, https://leetcode.com/problems/longest-duplicate-substring
380,Insert Delete GetRandom O(1),47.5%,Medium,0.05985510621029109, https://leetcode.com/problems/insert-delete-getrandom-o1
75,Sort Colors,47.3%,Medium,0.05950522970614658, https://leetcode.com/problems/sort-colors
49,Group Anagrams,56.9%,Medium,0.059194347436734636, https://leetcode.com/problems/group-anagrams
207,Course Schedule,43.1%,Medium,0.05917457139647936, https://leetcode.com/problems/course-schedule
8,String to Integer (atoi),15.4%,Medium,0.0590196151944673, https://leetcode.com/problems/string-to-integer-atoi
630,Course Schedule III,33.5%,Hard,0.058581901624802396, https://leetcode.com/problems/course-schedule-iii
457,Circular Array Loop,29.4%,Medium,0.058155920157074034, https://leetcode.com/problems/circular-array-loop
950,Reveal Cards In Increasing Order,74.6%,Medium,0.056592185311170023, https://leetcode.com/problems/reveal-cards-in-increasing-order
236,Lowest Common Ancestor of a Binary Tree,45.7%,Medium,0.05627201992757647, https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-tree
315,Count of Smaller Numbers After Self,41.5%,Hard,0.05621430690495994, https://leetcode.com/problems/count-of-smaller-numbers-after-self
43,Multiply Strings,33.9%,Medium,0.05583052804728052, https://leetcode.com/problems/multiply-strings
149,Max Points on a Line,16.9%,Hard,0.0550597771830274, https://leetcode.com/problems/max-points-on-a-line
295,Find Median from Data Stream,44.3%,Hard,0.05495888428075748, https://leetcode.com/problems/find-median-from-data-stream
24,Swap Nodes in Pairs,50.4%,Medium,0.05465011300438079, https://leetcode.com/problems/swap-nodes-in-pairs
443,String Compression,41.3%,Easy,0.05450940566837169, https://leetcode.com/problems/string-compression
56,Merge Intervals,39.3%,Medium,0.054167920212564245, https://leetcode.com/problems/merge-intervals
1229,Meeting Scheduler,52.7%,Medium,0.053560323833736816, https://leetcode.com/problems/meeting-scheduler
679,24 Game,46.4%,Hard,0.05341723749698583, https://leetcode.com/problems/24-game
186,Reverse Words in a String II,43.3%,Medium,0.05064373281875492, https://leetcode.com/problems/reverse-words-in-a-string-ii
681,Next Closest Time,45.0%,Medium,0.05045206096038863, https://leetcode.com/problems/next-closest-time
129,Sum Root to Leaf Numbers,49.1%,Medium,0.050010420574661374, https://leetcode.com/problems/sum-root-to-leaf-numbers
253,Meeting Rooms II,45.7%,Medium,0.04945628059066218, https://leetcode.com/problems/meeting-rooms-ii
759,Employee Free Time,66.3%,Hard,0.04861224405509378, https://leetcode.com/problems/employee-free-time
845,Longest Mountain in Array,37.2%,Medium,0.047458490406358134, https://leetcode.com/problems/longest-mountain-in-array
556,Next Greater Element III,31.7%,Medium,0.04679216150675895, https://leetcode.com/problems/next-greater-element-iii
224,Basic Calculator,36.8%,Hard,0.046568165477211425, https://leetcode.com/problems/basic-calculator
69,Sqrt(x),33.9%,Easy,0.045007596057435977, https://leetcode.com/problems/sqrtx
36,Valid Sudoku,48.7%,Medium,0.04452302288876419, https://leetcode.com/problems/valid-sudoku
10,Regular Expression Matching,26.8%,Hard,0.04409107726484965, https://leetcode.com/problems/regular-expression-matching
148,Sort List,42.3%,Medium,0.04408427313201935, https://leetcode.com/problems/sort-list
171,Excel Sheet Column Number,55.9%,Easy,0.04404785815605299, https://leetcode.com/problems/excel-sheet-column-number
160,Intersection of Two Linked Lists,40.6%,Easy,0.043270781043381126, https://leetcode.com/problems/intersection-of-two-linked-lists
53,Maximum Subarray,46.5%,Easy,0.04299340685592046, https://leetcode.com/problems/maximum-subarray
727,Minimum Window Subsequence,41.8%,Hard,0.04237922296886145, https://leetcode.com/problems/minimum-window-subsequence
844,Backspace String Compare,46.4%,Easy,0.041499730906752734, https://leetcode.com/problems/backspace-string-compare
907,Sum of Subarray Minimums,32.3%,Medium,0.04069737616380998, https://leetcode.com/problems/sum-of-subarray-minimums
722,Remove Comments,34.6%,Medium,0.04049136135473691, https://leetcode.com/problems/remove-comments
346,Moving Average from Data Stream,70.9%,Easy,0.03932354620391436, https://leetcode.com/problems/moving-average-from-data-stream
17,Letter Combinations of a Phone Number,46.8%,Medium,0.03893646375009422, https://leetcode.com/problems/letter-combinations-of-a-phone-number
33,Search in Rotated Sorted Array,34.5%,Medium,0.03886602267922457, https://leetcode.com/problems/search-in-rotated-sorted-array
168,Excel Sheet Column Title,31.1%,Easy,0.03861483612777958, https://leetcode.com/problems/excel-sheet-column-title
1381,Design a Stack With Increment Operation,74.7%,Medium,0.038355612390321446, https://leetcode.com/problems/design-a-stack-with-increment-operation
317,Shortest Distance from All Buildings,41.4%,Hard,0.03795522000043556, https://leetcode.com/problems/shortest-distance-from-all-buildings
206,Reverse Linked List,62.5%,Easy,0.03679633286058156, https://leetcode.com/problems/reverse-linked-list
934,Shortest Bridge,48.2%,Medium,0.03607244121670154, https://leetcode.com/problems/shortest-bridge
208,Implement Trie (Prefix Tree),49.4%,Medium,0.03593469952792866, https://leetcode.com/problems/implement-trie-prefix-tree
128,Longest Consecutive Sequence,45.1%,Hard,0.035726058864721646, https://leetcode.com/problems/longest-consecutive-sequence
189,Rotate Array,34.7%,Easy,0.03569682997206547, https://leetcode.com/problems/rotate-array
21,Merge Two Sorted Lists,53.5%,Easy,0.03548634253021285, https://leetcode.com/problems/merge-two-sorted-lists
1304,Find N Unique Integers Sum up to Zero,76.3%,Easy,0.035408891906255915, https://leetcode.com/problems/find-n-unique-integers-sum-up-to-zero
59,Spiral Matrix II,53.9%,Medium,0.0351873674509732, https://leetcode.com/problems/spiral-matrix-ii
238,Product of Array Except Self,60.1%,Medium,0.03482987258052727, https://leetcode.com/problems/product-of-array-except-self
103,Binary Tree Zigzag Level Order Traversal,48.3%,Medium,0.03403976010989293, https://leetcode.com/problems/binary-tree-zigzag-level-order-traversal
567,Permutation in String,44.4%,Medium,0.033324075731591886, https://leetcode.com/problems/permutation-in-string
79,Word Search,35.6%,Medium,0.03318208821436187, https://leetcode.com/problems/word-search
528,Random Pick with Weight,43.9%,Medium,0.03306693626657339, https://leetcode.com/problems/random-pick-with-weight
239,Sliding Window Maximum,43.0%,Hard,0.031228142547585713, https://leetcode.com/problems/sliding-window-maximum
703,Kth Largest Element in a Stream,49.7%,Easy,0.031004894819414507, https://leetcode.com/problems/kth-largest-element-in-a-stream
38,Count and Say,44.6%,Easy,0.030956234663467107, https://leetcode.com/problems/count-and-say
557,Reverse Words in a String III,69.8%,Easy,0.03063547953861342, https://leetcode.com/problems/reverse-words-in-a-string-iii
44,Wildcard Matching,24.7%,Hard,0.030573033362282363, https://leetcode.com/problems/wildcard-matching
680,Valid Palindrome II,36.6%,Easy,0.028841220390439494, https://leetcode.com/problems/valid-palindrome-ii
269,Alien Dictionary,33.3%,Hard,0.02841997399127492, https://leetcode.com/problems/alien-dictionary
77,Combinations,54.7%,Medium,0.028021758737593695, https://leetcode.com/problems/combinations
20,Valid Parentheses,39.0%,Easy,0.02782373445001039, https://leetcode.com/problems/valid-parentheses
227,Basic Calculator II,36.9%,Medium,0.027685557859864054, https://leetcode.com/problems/basic-calculator-ii
5,Longest Palindromic Substring,29.5%,Medium,0.02757010450426751, https://leetcode.com/problems/longest-palindromic-substring
159,Longest Substring with At Most Two Distinct Characters,49.4%,Medium,0.02717558537896476, https://leetcode.com/problems/longest-substring-with-at-most-two-distinct-characters
22,Generate Parentheses,62.7%,Medium,0.026949997964496694, https://leetcode.com/problems/generate-parentheses
2,Add Two Numbers,33.9%,Medium,0.02668158945866115, https://leetcode.com/problems/add-two-numbers
417,Pacific Atlantic Water Flow,41.1%,Medium,0.025975486403260657, https://leetcode.com/problems/pacific-atlantic-water-flow
987,Vertical Order Traversal of a Binary Tree,36.6%,Medium,0.025915645579833068, https://leetcode.com/problems/vertical-order-traversal-of-a-binary-tree
205,Isomorphic Strings,39.8%,Easy,0.025789394882914186, https://leetcode.com/problems/isomorphic-strings
362,Design Hit Counter,63.7%,Medium,0.025382073271417165, https://leetcode.com/problems/design-hit-counter
151,Reverse Words in a String,21.9%,Medium,0.024321004216273485, https://leetcode.com/problems/reverse-words-in-a-string
426,Convert Binary Search Tree to Sorted Doubly Linked List,59.1%,Medium,0.024214258120594613, https://leetcode.com/problems/convert-binary-search-tree-to-sorted-doubly-linked-list
140,Word Break II,32.6%,Hard,0.024104005752813337, https://leetcode.com/problems/word-break-ii
31,Next Permutation,32.6%,Medium,0.023747034562878154, https://leetcode.com/problems/next-permutation
252,Meeting Rooms,54.6%,Easy,0.02332467256640893, https://leetcode.com/problems/meeting-rooms
39,Combination Sum,56.1%,Medium,0.02267028230338623, https://leetcode.com/problems/combination-sum
449,Serialize and Deserialize BST,52.0%,Medium,0.02246023667974994, https://leetcode.com/problems/serialize-and-deserialize-bst
285,Inorder Successor in BST,40.4%,Medium,0.02233482010057984, https://leetcode.com/problems/inorder-successor-in-bst
113,Path Sum II,46.7%,Medium,0.021882711249507664, https://leetcode.com/problems/path-sum-ii
287,Find the Duplicate Number,55.5%,Medium,0.021825992579766168, https://leetcode.com/problems/find-the-duplicate-number
45,Jump Game II,30.6%,Hard,0.021353124470568974, https://leetcode.com/problems/jump-game-ii
621,Task Scheduler,50.1%,Medium,0.020881218065250198, https://leetcode.com/problems/task-scheduler
48,Rotate Image,56.7%,Medium,0.020228249775471566, https://leetcode.com/problems/rotate-image
166,Fraction to Recurring Decimal,21.6%,Medium,0.02015181543730795, https://leetcode.com/problems/fraction-to-recurring-decimal
399,Evaluate Division,51.6%,Medium,0.019380451549662482, https://leetcode.com/problems/evaluate-division
540,Single Element in a Sorted Array,57.9%,Medium,0.0192128868599912, https://leetcode.com/problems/single-element-in-a-sorted-array
173,Binary Search Tree Iterator,56.6%,Medium,0.01899993824490396, https://leetcode.com/problems/binary-search-tree-iterator
121,Best Time to Buy and Sell Stock,50.5%,Easy,0.018954919107260947, https://leetcode.com/problems/best-time-to-buy-and-sell-stock
532,K-diff Pairs in an Array,31.6%,Easy,0.018735911057469818, https://leetcode.com/problems/k-diff-pairs-in-an-array
169,Majority Element,58.7%,Easy,0.018694317054881164, https://leetcode.com/problems/majority-element
88,Merge Sorted Array,39.4%,Easy,0.018667009593356397, https://leetcode.com/problems/merge-sorted-array
394,Decode String,50.0%,Medium,0.0182820448374491, https://leetcode.com/problems/decode-string
234,Palindrome Linked List,39.3%,Easy,0.01801241989645556, https://leetcode.com/problems/palindrome-linked-list
872,Leaf-Similar Trees,64.5%,Easy,0.01752125418714782, https://leetcode.com/problems/leaf-similar-trees
993,Cousins in Binary Tree,52.0%,Easy,0.017414458368636587, https://leetcode.com/problems/cousins-in-binary-tree
994,Rotting Oranges,49.2%,Medium,0.017087941897195622, https://leetcode.com/problems/rotting-oranges
210,Course Schedule II,40.7%,Medium,0.01704828902223426, https://leetcode.com/problems/course-schedule-ii
34,Find First and Last Position of Element in Sorted Array,36.2%,Medium,0.01688338088311469, https://leetcode.com/problems/find-first-and-last-position-of-element-in-sorted-array
225,Implement Stack using Queues,45.1%,Easy,0.01644097863345757, https://leetcode.com/problems/implement-stack-using-queues
51,N-Queens,46.6%,Hard,0.016393809775676407, https://leetcode.com/problems/n-queens
299,Bulls and Cows,42.4%,Easy,0.016227536621756702, https://leetcode.com/problems/bulls-and-cows
110,Balanced Binary Tree,43.5%,Easy,0.015742847432510365, https://leetcode.com/problems/balanced-binary-tree
701,Insert into a Binary Search Tree,77.7%,Medium,0.015522236371561826, https://leetcode.com/problems/insert-into-a-binary-search-tree
139,Word Break,40.1%,Medium,0.015487677691351377, https://leetcode.com/problems/word-break
707,Design Linked List,24.5%,Medium,0.015054857167065819, https://leetcode.com/problems/design-linked-list
516,Longest Palindromic Subsequence,53.2%,Medium,0.014931221774984842, https://leetcode.com/problems/longest-palindromic-subsequence
832,Flipping an Image,76.2%,Easy,0.014652276786870392, https://leetcode.com/problems/flipping-an-image
653,Two Sum IV - Input is a BST,55.5%,Easy,0.014224990931347289, https://leetcode.com/problems/two-sum-iv-input-is-a-bst
3,Longest Substring Without Repeating Characters,30.4%,Medium,0.01391434345649413, https://leetcode.com/problems/longest-substring-without-repeating-characters
131,Palindrome Partitioning,47.5%,Medium,0.013903595538577326, https://leetcode.com/problems/palindrome-partitioning
141,Linked List Cycle,41.1%,Easy,0.01390238743679306, https://leetcode.com/problems/linked-list-cycle
724,Find Pivot Index,44.0%,Easy,0.013850636933899008, https://leetcode.com/problems/find-pivot-index
332,Reconstruct Itinerary,36.7%,Medium,0.013755375068485329, https://leetcode.com/problems/reconstruct-itinerary
15,3Sum,26.8%,Medium,0.013665148419080968, https://leetcode.com/problems/3sum
13,Roman to Integer,55.7%,Easy,0.013645103403569418, https://leetcode.com/problems/roman-to-integer
329,Longest Increasing Path in a Matrix,43.4%,Hard,0.013400535537482126, https://leetcode.com/problems/longest-increasing-path-in-a-matrix
91,Decode Ways,24.7%,Medium,0.013379120336324091, https://leetcode.com/problems/decode-ways
94,Binary Tree Inorder Traversal,63.3%,Medium,0.013353561806134713, https://leetcode.com/problems/binary-tree-inorder-traversal
199,Binary Tree Right Side View,54.1%,Medium,0.01274082919906162, https://leetcode.com/problems/binary-tree-right-side-view
518,Coin Change 2,50.2%,Medium,0.012527567532662891, https://leetcode.com/problems/coin-change-2
437,Path Sum III,47.2%,Medium,0.012128711446614806, https://leetcode.com/problems/path-sum-iii
543,Diameter of Binary Tree,48.4%,Easy,0.011898606798495848, https://leetcode.com/problems/diameter-of-binary-tree
442,Find All Duplicates in an Array,67.8%,Medium,0.011675555865241341, https://leetcode.com/problems/find-all-duplicates-in-an-array
378,Kth Smallest Element in a Sorted Matrix,54.3%,Medium,0.011634802567699611, https://leetcode.com/problems/kth-smallest-element-in-a-sorted-matrix
117,Populating Next Right Pointers in Each Node II,39.1%,Medium,0.011389644764357807, https://leetcode.com/problems/populating-next-right-pointers-in-each-node-ii
733,Flood Fill,55.3%,Easy,0.011217167530924988, https://leetcode.com/problems/flood-fill
268,Missing Number,51.7%,Easy,0.010947682628191997, https://leetcode.com/problems/missing-number
92,Reverse Linked List II,38.8%,Medium,0.010427623162259089, https://leetcode.com/problems/reverse-linked-list-ii
647,Palindromic Substrings,60.6%,Medium,0.010400509768078022, https://leetcode.com/problems/palindromic-substrings
61,Rotate List,30.0%,Medium,0.009925639799969955, https://leetcode.com/problems/rotate-list
18,4Sum,33.7%,Medium,0.00984259914419414, https://leetcode.com/problems/4sum
560,Subarray Sum Equals K,43.9%,Medium,0.009603146783199741, https://leetcode.com/problems/subarray-sum-equals-k
387,First Unique Character in a String,53.4%,Easy,0.009392680199054166, https://leetcode.com/problems/first-unique-character-in-a-string
1249,Minimum Remove to Make Valid Parentheses,62.5%,Medium,0.009195467093100304, https://leetcode.com/problems/minimum-remove-to-make-valid-parentheses
32,Longest Valid Parentheses,28.4%,Hard,0.009111680351255843, https://leetcode.com/problems/longest-valid-parentheses
322,Coin Change,35.5%,Medium,0.00904437880665999, https://leetcode.com/problems/coin-change
28,Implement strStr(),34.5%,Easy,0.008850485542574548, https://leetcode.com/problems/implement-strstr
63,Unique Paths II,34.6%,Medium,0.008712753874961187, https://leetcode.com/problems/unique-paths-ii
198,House Robber,42.0%,Easy,0.008434914115059812, https://leetcode.com/problems/house-robber
209,Minimum Size Subarray Sum,38.2%,Medium,0.00841401682484616, https://leetcode.com/problems/minimum-size-subarray-sum
235,Lowest Common Ancestor of a Binary Search Tree,49.9%,Easy,0.00821697310228087, https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-search-tree
438,Find All Anagrams in a String,43.3%,Medium,0.008126822460497498, https://leetcode.com/problems/find-all-anagrams-in-a-string
26,Remove Duplicates from Sorted Array,45.1%,Easy,0.007782518973063169, https://leetcode.com/problems/remove-duplicates-from-sorted-array
328,Odd Even Linked List,55.7%,Medium,0.00764383618585562, https://leetcode.com/problems/odd-even-linked-list
876,Middle of the Linked List,68.4%,Easy,0.007624893975696915, https://leetcode.com/problems/middle-of-the-linked-list
415,Add Strings,47.5%,Easy,0.007587289812159497, https://leetcode.com/problems/add-strings
692,Top K Frequent Words,51.8%,Medium,0.007516006820935329, https://leetcode.com/problems/top-k-frequent-words
509,Fibonacci Number,67.2%,Easy,0.007113670403855555, https://leetcode.com/problems/fibonacci-number
204,Count Primes,31.5%,Easy,0.007072165261362441, https://leetcode.com/problems/count-primes
73,Set Matrix Zeroes,43.1%,Medium,0.0070151111959223245, https://leetcode.com/problems/set-matrix-zeroes
19,Remove Nth Node From End of List,35.2%,Medium,0.0069087555063702365, https://leetcode.com/problems/remove-nth-node-from-end-of-list
283,Move Zeroes,57.8%,Easy,0.006480437425856766, https://leetcode.com/problems/move-zeroes
83,Remove Duplicates from Sorted List,45.4%,Easy,0.006353261522609498, https://leetcode.com/problems/remove-duplicates-from-sorted-list
144,Binary Tree Preorder Traversal,55.7%,Medium,0.0060975798681185, https://leetcode.com/problems/binary-tree-preorder-traversal
108,Convert Sorted Array to Binary Search Tree,57.9%,Easy,0.005554027051374908, https://leetcode.com/problems/convert-sorted-array-to-binary-search-tree
226,Invert Binary Tree,65.0%,Easy,0.005508138409792252, https://leetcode.com/problems/invert-binary-tree
300,Longest Increasing Subsequence,42.6%,Medium,0.005264555460003242, https://leetcode.com/problems/longest-increasing-subsequence
55,Jump Game,34.6%,Medium,0.005022612266291382, https://leetcode.com/problems/jump-game
62,Unique Paths,54.1%,Medium,0.004621080312067025, https://leetcode.com/problems/unique-paths
1470,Shuffle the Array,88.9%,Easy,0.004527967890154029, https://leetcode.com/problems/shuffle-the-array
7,Reverse Integer,25.8%,Easy,0.00418293972984512, https://leetcode.com/problems/reverse-integer
242,Valid Anagram,56.9%,Easy,0.004154123743115972, https://leetcode.com/problems/valid-anagram
215,Kth Largest Element in an Array,55.4%,Medium,0.003902443976931749, https://leetcode.com/problems/kth-largest-element-in-an-array
977,Squares of a Sorted Array,72.1%,Easy,0.003891055492966611, https://leetcode.com/problems/squares-of-a-sorted-array
153,Find Minimum in Rotated Sorted Array,45.1%,Medium,0.0037558729598054378, https://leetcode.com/problems/find-minimum-in-rotated-sorted-array
101,Symmetric Tree,46.8%,Easy,0.0034057078469827435, https://leetcode.com/problems/symmetric-tree
122,Best Time to Buy and Sell Stock II,57.0%,Easy,0.0033545821461532107, https://leetcode.com/problems/best-time-to-buy-and-sell-stock-ii
50,Pow(x;n),30.3%,Medium,0.0031510424503886844, https://leetcode.com/problems/powx-n
136,Single Number,65.5%,Easy,0.002869648285357666, https://leetcode.com/problems/single-number
104,Maximum Depth of Binary Tree,66.0%,Easy,0.002787846801433134, https://leetcode.com/problems/maximum-depth-of-binary-tree
106,Construct Binary Tree from Inorder and Postorder Traversal,47.2%,Medium,0.00234041415121758, https://leetcode.com/problems/construct-binary-tree-from-inorder-and-postorder-traversal
70,Climbing Stairs,47.8%,Easy,0.0015084665529624085, https://leetcode.com/problems/climbing-stairs
1 1239 ID Maximum Length of a Concatenated String with Unique Characters Title 47.8% Acceptance Medium Difficulty 0.6657761816190897 Frequency https://leetcode.com/problems/maximum-length-of-a-concatenated-string-with-unique-characters Leetcode Question Link
2 1246 1239 Palindrome Removal Maximum Length of a Concatenated String with Unique Characters 46.0% 47.8% Hard Medium 0.5941286921253983 0.6657761816190897 https://leetcode.com/problems/palindrome-removal https://leetcode.com/problems/maximum-length-of-a-concatenated-string-with-unique-characters
3 273 1246 Integer to English Words Palindrome Removal 27.1% 46.0% Hard Hard 0.5224812026317068 0.5941286921253983 https://leetcode.com/problems/integer-to-english-words https://leetcode.com/problems/palindrome-removal
4 428 273 Serialize and Deserialize N-ary Tree Integer to English Words 59.4% 27.1% Hard Hard 0.4508337131380154 0.5224812026317068 https://leetcode.com/problems/serialize-and-deserialize-n-ary-tree https://leetcode.com/problems/integer-to-english-words
5 146 428 LRU Cache Serialize and Deserialize N-ary Tree 33.2% 59.4% Medium Hard 0.37918622364432397 0.4508337131380154 https://leetcode.com/problems/lru-cache https://leetcode.com/problems/serialize-and-deserialize-n-ary-tree
6 1156 146 Swap For Longest Repeated Character Substring LRU Cache 49.0% 33.2% Medium Medium 0.3764775712349121 0.37918622364432397 https://leetcode.com/problems/swap-for-longest-repeated-character-substring https://leetcode.com/problems/lru-cache
7 54 1156 Spiral Matrix Swap For Longest Repeated Character Substring 34.1% 49.0% Medium Medium 0.35306273805914157 0.3764775712349121 https://leetcode.com/problems/spiral-matrix https://leetcode.com/problems/swap-for-longest-repeated-character-substring
8 212 54 Word Search II Spiral Matrix 34.9% 34.1% Hard Medium 0.3492519632676119 0.35306273805914157 https://leetcode.com/problems/word-search-ii https://leetcode.com/problems/spiral-matrix
9 1236 212 Web Crawler Word Search II 64.3% 34.9% Medium Hard 0.33647223662121295 0.3492519632676119 https://leetcode.com/problems/web-crawler https://leetcode.com/problems/word-search-ii
10 545 1236 Boundary of Binary Tree Web Crawler 38.9% 64.3% Medium Medium 0.32365154819215153 0.33647223662121295 https://leetcode.com/problems/boundary-of-binary-tree https://leetcode.com/problems/web-crawler
11 828 545 Count Unique Characters of All Substrings of a Given String Boundary of Binary Tree 45.2% 38.9% Hard Medium 0.2972515234679316 0.32365154819215153 https://leetcode.com/problems/count-unique-characters-of-all-substrings-of-a-given-string https://leetcode.com/problems/boundary-of-binary-tree
12 200 828 Number of Islands Count Unique Characters of All Substrings of a Given String 46.8% 45.2% Medium Hard 0.23204607197311616 0.2972515234679316 https://leetcode.com/problems/number-of-islands https://leetcode.com/problems/count-unique-characters-of-all-substrings-of-a-given-string
13 340 200 Longest Substring with At Most K Distinct Characters Number of Islands 44.1% 46.8% Hard Medium 0.2311568687093931 0.23204607197311616 https://leetcode.com/problems/longest-substring-with-at-most-k-distinct-characters https://leetcode.com/problems/number-of-islands
14 25 340 Reverse Nodes in k-Group Longest Substring with At Most K Distinct Characters 42.1% 44.1% Hard Hard 0.22841574636360815 0.2311568687093931 https://leetcode.com/problems/reverse-nodes-in-k-group https://leetcode.com/problems/longest-substring-with-at-most-k-distinct-characters
15 218 25 The Skyline Problem Reverse Nodes in k-Group 34.6% 42.1% Hard Hard 0.20884831112738325 0.22841574636360815 https://leetcode.com/problems/the-skyline-problem https://leetcode.com/problems/reverse-nodes-in-k-group
16 348 218 Design Tic-Tac-Toe The Skyline Problem 54.3% 34.6% Medium Hard 0.19933290262049122 0.20884831112738325 https://leetcode.com/problems/design-tic-tac-toe https://leetcode.com/problems/the-skyline-problem
17 468 348 Validate IP Address Design Tic-Tac-Toe 24.1% 54.3% Medium Medium 0.19827548473619627 0.19933290262049122 https://leetcode.com/problems/validate-ip-address https://leetcode.com/problems/design-tic-tac-toe
18 1375 468 Bulb Switcher III Validate IP Address 62.6% 24.1% Medium Medium 0.19622624370172712 0.19827548473619627 https://leetcode.com/problems/bulb-switcher-iii https://leetcode.com/problems/validate-ip-address
19 23 1375 Merge k Sorted Lists Bulb Switcher III 40.2% 62.6% Hard Medium 0.18142464262604538 0.19622624370172712 https://leetcode.com/problems/merge-k-sorted-lists https://leetcode.com/problems/bulb-switcher-iii
20 138 23 Copy List with Random Pointer Merge k Sorted Lists 36.4% 40.2% Medium Hard 0.17215255068496113 0.18142464262604538 https://leetcode.com/problems/copy-list-with-random-pointer https://leetcode.com/problems/merge-k-sorted-lists
21 179 138 Largest Number Copy List with Random Pointer 28.8% 36.4% Medium Medium 0.15788342025694224 0.17215255068496113 https://leetcode.com/problems/largest-number https://leetcode.com/problems/copy-list-with-random-pointer
22 450 179 Delete Node in a BST Largest Number 43.1% 28.8% Medium Medium 0.15561959910053247 0.15788342025694224 https://leetcode.com/problems/delete-node-in-a-bst https://leetcode.com/problems/largest-number
23 124 450 Binary Tree Maximum Path Sum Delete Node in a BST 34.3% 43.1% Hard Medium 0.15512094811323265 0.15561959910053247 https://leetcode.com/problems/binary-tree-maximum-path-sum https://leetcode.com/problems/delete-node-in-a-bst
24 767 124 Reorganize String Binary Tree Maximum Path Sum 48.7% 34.3% Medium Hard 0.15185314866152042 0.15512094811323265 https://leetcode.com/problems/reorganize-string https://leetcode.com/problems/binary-tree-maximum-path-sum
25 1 767 Two Sum Reorganize String 45.6% 48.7% Easy Medium 0.14920101860781756 0.15185314866152042 https://leetcode.com/problems/two-sum https://leetcode.com/problems/reorganize-string
26 41 1 First Missing Positive Two Sum 32.0% 45.6% Hard Easy 0.14910731703527175 0.14920101860781756 https://leetcode.com/problems/first-missing-positive https://leetcode.com/problems/two-sum
27 74 41 Search a 2D Matrix First Missing Positive 36.5% 32.0% Medium Hard 0.13990475142949543 0.14910731703527175 https://leetcode.com/problems/search-a-2d-matrix https://leetcode.com/problems/first-missing-positive
28 99 74 Recover Binary Search Tree Search a 2D Matrix 39.7% 36.5% Hard Medium 0.1363765523041528 0.13990475142949543 https://leetcode.com/problems/recover-binary-search-tree https://leetcode.com/problems/search-a-2d-matrix
29 42 99 Trapping Rain Water Recover Binary Search Tree 48.9% 39.7% Hard Hard 0.12389276378675394 0.1363765523041528 https://leetcode.com/problems/trapping-rain-water https://leetcode.com/problems/recover-binary-search-tree
30 46 42 Permutations Trapping Rain Water 63.5% 48.9% Medium Hard 0.12027982804941116 0.12389276378675394 https://leetcode.com/problems/permutations https://leetcode.com/problems/trapping-rain-water
31 93 46 Restore IP Addresses Permutations 35.6% 63.5% Medium Medium 0.11756123239496619 0.12027982804941116 https://leetcode.com/problems/restore-ip-addresses https://leetcode.com/problems/permutations
32 116 93 Populating Next Right Pointers in Each Node Restore IP Addresses 45.2% 35.6% Medium Medium 0.1113806498369338 0.11756123239496619 https://leetcode.com/problems/populating-next-right-pointers-in-each-node https://leetcode.com/problems/restore-ip-addresses
33 1188 116 Design Bounded Blocking Queue Populating Next Right Pointers in Each Node 70.5% 45.2% Medium Medium 0.11030454201470608 0.1113806498369338 https://leetcode.com/problems/design-bounded-blocking-queue https://leetcode.com/problems/populating-next-right-pointers-in-each-node
34 37 1188 Sudoku Solver Design Bounded Blocking Queue 43.6% 70.5% Hard Medium 0.1087554815281622 0.11030454201470608 https://leetcode.com/problems/sudoku-solver https://leetcode.com/problems/design-bounded-blocking-queue
35 445 37 Add Two Numbers II Sudoku Solver 54.5% 43.6% Medium Hard 0.10585667046830217 0.1087554815281622 https://leetcode.com/problems/add-two-numbers-ii https://leetcode.com/problems/sudoku-solver
36 773 445 Sliding Puzzle Add Two Numbers II 59.3% 54.5% Hard Medium 0.10294796925244239 0.10585667046830217 https://leetcode.com/problems/sliding-puzzle https://leetcode.com/problems/add-two-numbers-ii
37 232 773 Implement Queue using Stacks Sliding Puzzle 49.6% 59.3% Easy Hard 0.09690200534777553 0.10294796925244239 https://leetcode.com/problems/implement-queue-using-stacks https://leetcode.com/problems/sliding-puzzle
38 716 232 Max Stack Implement Queue using Stacks 42.6% 49.6% Easy Easy 0.09362342046209744 0.09690200534777553 https://leetcode.com/problems/max-stack https://leetcode.com/problems/implement-queue-using-stacks
39 4 716 Median of Two Sorted Arrays Max Stack 29.6% 42.6% Hard Easy 0.09321199094445486 0.09362342046209744 https://leetcode.com/problems/median-of-two-sorted-arrays https://leetcode.com/problems/max-stack
40 510 4 Inorder Successor in BST II Median of Two Sorted Arrays 58.0% 29.6% Medium Hard 0.09244453252200126 0.09321199094445486 https://leetcode.com/problems/inorder-successor-in-bst-ii https://leetcode.com/problems/median-of-two-sorted-arrays
41 155 510 Min Stack Inorder Successor in BST II 44.5% 58.0% Easy Medium 0.09202674518071384 0.09244453252200126 https://leetcode.com/problems/min-stack https://leetcode.com/problems/inorder-successor-in-bst-ii
42 127 155 Word Ladder Min Stack 29.6% 44.5% Medium Easy 0.09162341383415479 0.09202674518071384 https://leetcode.com/problems/word-ladder https://leetcode.com/problems/min-stack
43 1116 127 Print Zero Even Odd Word Ladder 56.0% 29.6% Medium Medium 0.08934510033584994 0.09162341383415479 https://leetcode.com/problems/print-zero-even-odd https://leetcode.com/problems/word-ladder
44 240 1116 Search a 2D Matrix II Print Zero Even Odd 43.2% 56.0% Medium Medium 0.08914990697180455 0.08934510033584994 https://leetcode.com/problems/search-a-2d-matrix-ii https://leetcode.com/problems/print-zero-even-odd
45 358 240 Rearrange String k Distance Apart Search a 2D Matrix II 34.9% 43.2% Hard Medium 0.08894748601649616 0.08914990697180455 https://leetcode.com/problems/rearrange-string-k-distance-apart https://leetcode.com/problems/search-a-2d-matrix-ii
46 102 358 Binary Tree Level Order Traversal Rearrange String k Distance Apart 54.6% 34.9% Medium Hard 0.0872240169150957 0.08894748601649616 https://leetcode.com/problems/binary-tree-level-order-traversal https://leetcode.com/problems/rearrange-string-k-distance-apart
47 622 102 Design Circular Queue Binary Tree Level Order Traversal 43.8% 54.6% Medium Medium 0.08696405427235052 0.0872240169150957 https://leetcode.com/problems/design-circular-queue https://leetcode.com/problems/binary-tree-level-order-traversal
48 105 622 Construct Binary Tree from Preorder and Inorder Traversal Design Circular Queue 48.8% 43.8% Medium Medium 0.08645856912332787 0.08696405427235052 https://leetcode.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal https://leetcode.com/problems/design-circular-queue
49 297 105 Serialize and Deserialize Binary Tree Construct Binary Tree from Preorder and Inorder Traversal 47.5% 48.8% Hard Medium 0.0834242216674795 0.08645856912332787 https://leetcode.com/problems/serialize-and-deserialize-binary-tree https://leetcode.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal
50 134 297 Gas Station Serialize and Deserialize Binary Tree 38.5% 47.5% Medium Hard 0.08169138321871633 0.0834242216674795 https://leetcode.com/problems/gas-station https://leetcode.com/problems/serialize-and-deserialize-binary-tree
51 636 134 Exclusive Time of Functions Gas Station 51.9% 38.5% Medium Medium 0.08155306616046964 0.08169138321871633 https://leetcode.com/problems/exclusive-time-of-functions https://leetcode.com/problems/gas-station
52 89 636 Gray Code Exclusive Time of Functions 49.1% 51.9% Medium Medium 0.08112554481236843 0.08155306616046964 https://leetcode.com/problems/gray-code https://leetcode.com/problems/exclusive-time-of-functions
53 85 89 Maximal Rectangle Gray Code 37.7% 49.1% Hard Medium 0.0805588367172521 0.08112554481236843 https://leetcode.com/problems/maximal-rectangle https://leetcode.com/problems/gray-code
54 695 85 Max Area of Island Maximal Rectangle 62.7% 37.7% Medium Hard 0.07677187782851674 0.0805588367172521 https://leetcode.com/problems/max-area-of-island https://leetcode.com/problems/maximal-rectangle
55 1079 695 Letter Tile Possibilities Max Area of Island 75.4% 62.7% Medium Medium 0.07350246199292652 0.07677187782851674 https://leetcode.com/problems/letter-tile-possibilities https://leetcode.com/problems/max-area-of-island
56 98 1079 Validate Binary Search Tree Letter Tile Possibilities 27.8% 75.4% Medium Medium 0.07111326337575957 0.07350246199292652 https://leetcode.com/problems/validate-binary-search-tree https://leetcode.com/problems/letter-tile-possibilities
57 133 98 Clone Graph Validate Binary Search Tree 34.8% 27.8% Medium Medium 0.07095173597228444 0.07111326337575957 https://leetcode.com/problems/clone-graph https://leetcode.com/problems/validate-binary-search-tree
58 126 133 Word Ladder II Clone Graph 22.1% 34.8% Hard Medium 0.07011193038456472 0.07095173597228444 https://leetcode.com/problems/word-ladder-ii https://leetcode.com/problems/clone-graph
59 432 126 All O`one Data Structure Word Ladder II 32.4% 22.1% Hard Hard 0.06887402901251127 0.07011193038456472 https://leetcode.com/problems/all-oone-data-structure https://leetcode.com/problems/word-ladder-ii
60 460 432 LFU Cache All O`one Data Structure 34.2% 32.4% Hard Hard 0.06836374280939023 0.06887402901251127 https://leetcode.com/problems/lfu-cache https://leetcode.com/problems/all-oone-data-structure
61 706 460 Design HashMap LFU Cache 61.3% 34.2% Easy Hard 0.0683442674369718 0.06836374280939023 https://leetcode.com/problems/design-hashmap https://leetcode.com/problems/lfu-cache
62 277 706 Find the Celebrity Design HashMap 41.8% 61.3% Medium Easy 0.06562120535847293 0.0683442674369718 https://leetcode.com/problems/find-the-celebrity https://leetcode.com/problems/design-hashmap
63 419 277 Battleships in a Board Find the Celebrity 70.0% 41.8% Medium Medium 0.06557337705569365 0.06562120535847293 https://leetcode.com/problems/battleships-in-a-board https://leetcode.com/problems/find-the-celebrity
64 702 419 Search in a Sorted Array of Unknown Size Battleships in a Board 66.9% 70.0% Medium Medium 0.06361444899419297 0.06557337705569365 https://leetcode.com/problems/search-in-a-sorted-array-of-unknown-size https://leetcode.com/problems/battleships-in-a-board
65 1044 702 Longest Duplicate Substring Search in a Sorted Array of Unknown Size 31.9% 66.9% Hard Medium 0.062325463197828765 0.06361444899419297 https://leetcode.com/problems/longest-duplicate-substring https://leetcode.com/problems/search-in-a-sorted-array-of-unknown-size
66 380 1044 Insert Delete GetRandom O(1) Longest Duplicate Substring 47.5% 31.9% Medium Hard 0.05985510621029109 0.062325463197828765 https://leetcode.com/problems/insert-delete-getrandom-o1 https://leetcode.com/problems/longest-duplicate-substring
67 75 380 Sort Colors Insert Delete GetRandom O(1) 47.3% 47.5% Medium Medium 0.05950522970614658 0.05985510621029109 https://leetcode.com/problems/sort-colors https://leetcode.com/problems/insert-delete-getrandom-o1
68 49 75 Group Anagrams Sort Colors 56.9% 47.3% Medium Medium 0.059194347436734636 0.05950522970614658 https://leetcode.com/problems/group-anagrams https://leetcode.com/problems/sort-colors
69 207 49 Course Schedule Group Anagrams 43.1% 56.9% Medium Medium 0.05917457139647936 0.059194347436734636 https://leetcode.com/problems/course-schedule https://leetcode.com/problems/group-anagrams
70 8 207 String to Integer (atoi) Course Schedule 15.4% 43.1% Medium Medium 0.0590196151944673 0.05917457139647936 https://leetcode.com/problems/string-to-integer-atoi https://leetcode.com/problems/course-schedule
71 630 8 Course Schedule III String to Integer (atoi) 33.5% 15.4% Hard Medium 0.058581901624802396 0.0590196151944673 https://leetcode.com/problems/course-schedule-iii https://leetcode.com/problems/string-to-integer-atoi
72 457 630 Circular Array Loop Course Schedule III 29.4% 33.5% Medium Hard 0.058155920157074034 0.058581901624802396 https://leetcode.com/problems/circular-array-loop https://leetcode.com/problems/course-schedule-iii
73 950 457 Reveal Cards In Increasing Order Circular Array Loop 74.6% 29.4% Medium Medium 0.056592185311170023 0.058155920157074034 https://leetcode.com/problems/reveal-cards-in-increasing-order https://leetcode.com/problems/circular-array-loop
74 236 950 Lowest Common Ancestor of a Binary Tree Reveal Cards In Increasing Order 45.7% 74.6% Medium Medium 0.05627201992757647 0.056592185311170023 https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-tree https://leetcode.com/problems/reveal-cards-in-increasing-order
75 315 236 Count of Smaller Numbers After Self Lowest Common Ancestor of a Binary Tree 41.5% 45.7% Hard Medium 0.05621430690495994 0.05627201992757647 https://leetcode.com/problems/count-of-smaller-numbers-after-self https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-tree
76 43 315 Multiply Strings Count of Smaller Numbers After Self 33.9% 41.5% Medium Hard 0.05583052804728052 0.05621430690495994 https://leetcode.com/problems/multiply-strings https://leetcode.com/problems/count-of-smaller-numbers-after-self
77 149 43 Max Points on a Line Multiply Strings 16.9% 33.9% Hard Medium 0.0550597771830274 0.05583052804728052 https://leetcode.com/problems/max-points-on-a-line https://leetcode.com/problems/multiply-strings
78 295 149 Find Median from Data Stream Max Points on a Line 44.3% 16.9% Hard Hard 0.05495888428075748 0.0550597771830274 https://leetcode.com/problems/find-median-from-data-stream https://leetcode.com/problems/max-points-on-a-line
79 24 295 Swap Nodes in Pairs Find Median from Data Stream 50.4% 44.3% Medium Hard 0.05465011300438079 0.05495888428075748 https://leetcode.com/problems/swap-nodes-in-pairs https://leetcode.com/problems/find-median-from-data-stream
80 443 24 String Compression Swap Nodes in Pairs 41.3% 50.4% Easy Medium 0.05450940566837169 0.05465011300438079 https://leetcode.com/problems/string-compression https://leetcode.com/problems/swap-nodes-in-pairs
81 56 443 Merge Intervals String Compression 39.3% 41.3% Medium Easy 0.054167920212564245 0.05450940566837169 https://leetcode.com/problems/merge-intervals https://leetcode.com/problems/string-compression
82 1229 56 Meeting Scheduler Merge Intervals 52.7% 39.3% Medium Medium 0.053560323833736816 0.054167920212564245 https://leetcode.com/problems/meeting-scheduler https://leetcode.com/problems/merge-intervals
83 679 1229 24 Game Meeting Scheduler 46.4% 52.7% Hard Medium 0.05341723749698583 0.053560323833736816 https://leetcode.com/problems/24-game https://leetcode.com/problems/meeting-scheduler
84 186 679 Reverse Words in a String II 24 Game 43.3% 46.4% Medium Hard 0.05064373281875492 0.05341723749698583 https://leetcode.com/problems/reverse-words-in-a-string-ii https://leetcode.com/problems/24-game
85 681 186 Next Closest Time Reverse Words in a String II 45.0% 43.3% Medium Medium 0.05045206096038863 0.05064373281875492 https://leetcode.com/problems/next-closest-time https://leetcode.com/problems/reverse-words-in-a-string-ii
86 129 681 Sum Root to Leaf Numbers Next Closest Time 49.1% 45.0% Medium Medium 0.050010420574661374 0.05045206096038863 https://leetcode.com/problems/sum-root-to-leaf-numbers https://leetcode.com/problems/next-closest-time
87 253 129 Meeting Rooms II Sum Root to Leaf Numbers 45.7% 49.1% Medium Medium 0.04945628059066218 0.050010420574661374 https://leetcode.com/problems/meeting-rooms-ii https://leetcode.com/problems/sum-root-to-leaf-numbers
88 759 253 Employee Free Time Meeting Rooms II 66.3% 45.7% Hard Medium 0.04861224405509378 0.04945628059066218 https://leetcode.com/problems/employee-free-time https://leetcode.com/problems/meeting-rooms-ii
89 845 759 Longest Mountain in Array Employee Free Time 37.2% 66.3% Medium Hard 0.047458490406358134 0.04861224405509378 https://leetcode.com/problems/longest-mountain-in-array https://leetcode.com/problems/employee-free-time
90 556 845 Next Greater Element III Longest Mountain in Array 31.7% 37.2% Medium Medium 0.04679216150675895 0.047458490406358134 https://leetcode.com/problems/next-greater-element-iii https://leetcode.com/problems/longest-mountain-in-array
91 224 556 Basic Calculator Next Greater Element III 36.8% 31.7% Hard Medium 0.046568165477211425 0.04679216150675895 https://leetcode.com/problems/basic-calculator https://leetcode.com/problems/next-greater-element-iii
92 69 224 Sqrt(x) Basic Calculator 33.9% 36.8% Easy Hard 0.045007596057435977 0.046568165477211425 https://leetcode.com/problems/sqrtx https://leetcode.com/problems/basic-calculator
93 36 69 Valid Sudoku Sqrt(x) 48.7% 33.9% Medium Easy 0.04452302288876419 0.045007596057435977 https://leetcode.com/problems/valid-sudoku https://leetcode.com/problems/sqrtx
94 10 36 Regular Expression Matching Valid Sudoku 26.8% 48.7% Hard Medium 0.04409107726484965 0.04452302288876419 https://leetcode.com/problems/regular-expression-matching https://leetcode.com/problems/valid-sudoku
95 148 10 Sort List Regular Expression Matching 42.3% 26.8% Medium Hard 0.04408427313201935 0.04409107726484965 https://leetcode.com/problems/sort-list https://leetcode.com/problems/regular-expression-matching
96 171 148 Excel Sheet Column Number Sort List 55.9% 42.3% Easy Medium 0.04404785815605299 0.04408427313201935 https://leetcode.com/problems/excel-sheet-column-number https://leetcode.com/problems/sort-list
97 160 171 Intersection of Two Linked Lists Excel Sheet Column Number 40.6% 55.9% Easy Easy 0.043270781043381126 0.04404785815605299 https://leetcode.com/problems/intersection-of-two-linked-lists https://leetcode.com/problems/excel-sheet-column-number
98 53 160 Maximum Subarray Intersection of Two Linked Lists 46.5% 40.6% Easy Easy 0.04299340685592046 0.043270781043381126 https://leetcode.com/problems/maximum-subarray https://leetcode.com/problems/intersection-of-two-linked-lists
99 727 53 Minimum Window Subsequence Maximum Subarray 41.8% 46.5% Hard Easy 0.04237922296886145 0.04299340685592046 https://leetcode.com/problems/minimum-window-subsequence https://leetcode.com/problems/maximum-subarray
100 844 727 Backspace String Compare Minimum Window Subsequence 46.4% 41.8% Easy Hard 0.041499730906752734 0.04237922296886145 https://leetcode.com/problems/backspace-string-compare https://leetcode.com/problems/minimum-window-subsequence
101 907 844 Sum of Subarray Minimums Backspace String Compare 32.3% 46.4% Medium Easy 0.04069737616380998 0.041499730906752734 https://leetcode.com/problems/sum-of-subarray-minimums https://leetcode.com/problems/backspace-string-compare
102 722 907 Remove Comments Sum of Subarray Minimums 34.6% 32.3% Medium Medium 0.04049136135473691 0.04069737616380998 https://leetcode.com/problems/remove-comments https://leetcode.com/problems/sum-of-subarray-minimums
103 346 722 Moving Average from Data Stream Remove Comments 70.9% 34.6% Easy Medium 0.03932354620391436 0.04049136135473691 https://leetcode.com/problems/moving-average-from-data-stream https://leetcode.com/problems/remove-comments
104 17 346 Letter Combinations of a Phone Number Moving Average from Data Stream 46.8% 70.9% Medium Easy 0.03893646375009422 0.03932354620391436 https://leetcode.com/problems/letter-combinations-of-a-phone-number https://leetcode.com/problems/moving-average-from-data-stream
105 33 17 Search in Rotated Sorted Array Letter Combinations of a Phone Number 34.5% 46.8% Medium Medium 0.03886602267922457 0.03893646375009422 https://leetcode.com/problems/search-in-rotated-sorted-array https://leetcode.com/problems/letter-combinations-of-a-phone-number
106 168 33 Excel Sheet Column Title Search in Rotated Sorted Array 31.1% 34.5% Easy Medium 0.03861483612777958 0.03886602267922457 https://leetcode.com/problems/excel-sheet-column-title https://leetcode.com/problems/search-in-rotated-sorted-array
107 1381 168 Design a Stack With Increment Operation Excel Sheet Column Title 74.7% 31.1% Medium Easy 0.038355612390321446 0.03861483612777958 https://leetcode.com/problems/design-a-stack-with-increment-operation https://leetcode.com/problems/excel-sheet-column-title
108 317 1381 Shortest Distance from All Buildings Design a Stack With Increment Operation 41.4% 74.7% Hard Medium 0.03795522000043556 0.038355612390321446 https://leetcode.com/problems/shortest-distance-from-all-buildings https://leetcode.com/problems/design-a-stack-with-increment-operation
109 206 317 Reverse Linked List Shortest Distance from All Buildings 62.5% 41.4% Easy Hard 0.03679633286058156 0.03795522000043556 https://leetcode.com/problems/reverse-linked-list https://leetcode.com/problems/shortest-distance-from-all-buildings
110 934 206 Shortest Bridge Reverse Linked List 48.2% 62.5% Medium Easy 0.03607244121670154 0.03679633286058156 https://leetcode.com/problems/shortest-bridge https://leetcode.com/problems/reverse-linked-list
111 208 934 Implement Trie (Prefix Tree) Shortest Bridge 49.4% 48.2% Medium Medium 0.03593469952792866 0.03607244121670154 https://leetcode.com/problems/implement-trie-prefix-tree https://leetcode.com/problems/shortest-bridge
112 128 208 Longest Consecutive Sequence Implement Trie (Prefix Tree) 45.1% 49.4% Hard Medium 0.035726058864721646 0.03593469952792866 https://leetcode.com/problems/longest-consecutive-sequence https://leetcode.com/problems/implement-trie-prefix-tree
113 189 128 Rotate Array Longest Consecutive Sequence 34.7% 45.1% Easy Hard 0.03569682997206547 0.035726058864721646 https://leetcode.com/problems/rotate-array https://leetcode.com/problems/longest-consecutive-sequence
114 21 189 Merge Two Sorted Lists Rotate Array 53.5% 34.7% Easy Easy 0.03548634253021285 0.03569682997206547 https://leetcode.com/problems/merge-two-sorted-lists https://leetcode.com/problems/rotate-array
115 1304 21 Find N Unique Integers Sum up to Zero Merge Two Sorted Lists 76.3% 53.5% Easy Easy 0.035408891906255915 0.03548634253021285 https://leetcode.com/problems/find-n-unique-integers-sum-up-to-zero https://leetcode.com/problems/merge-two-sorted-lists
116 59 1304 Spiral Matrix II Find N Unique Integers Sum up to Zero 53.9% 76.3% Medium Easy 0.0351873674509732 0.035408891906255915 https://leetcode.com/problems/spiral-matrix-ii https://leetcode.com/problems/find-n-unique-integers-sum-up-to-zero
117 238 59 Product of Array Except Self Spiral Matrix II 60.1% 53.9% Medium Medium 0.03482987258052727 0.0351873674509732 https://leetcode.com/problems/product-of-array-except-self https://leetcode.com/problems/spiral-matrix-ii
118 103 238 Binary Tree Zigzag Level Order Traversal Product of Array Except Self 48.3% 60.1% Medium Medium 0.03403976010989293 0.03482987258052727 https://leetcode.com/problems/binary-tree-zigzag-level-order-traversal https://leetcode.com/problems/product-of-array-except-self
119 567 103 Permutation in String Binary Tree Zigzag Level Order Traversal 44.4% 48.3% Medium Medium 0.033324075731591886 0.03403976010989293 https://leetcode.com/problems/permutation-in-string https://leetcode.com/problems/binary-tree-zigzag-level-order-traversal
120 79 567 Word Search Permutation in String 35.6% 44.4% Medium Medium 0.03318208821436187 0.033324075731591886 https://leetcode.com/problems/word-search https://leetcode.com/problems/permutation-in-string
121 528 79 Random Pick with Weight Word Search 43.9% 35.6% Medium Medium 0.03306693626657339 0.03318208821436187 https://leetcode.com/problems/random-pick-with-weight https://leetcode.com/problems/word-search
122 239 528 Sliding Window Maximum Random Pick with Weight 43.0% 43.9% Hard Medium 0.031228142547585713 0.03306693626657339 https://leetcode.com/problems/sliding-window-maximum https://leetcode.com/problems/random-pick-with-weight
123 703 239 Kth Largest Element in a Stream Sliding Window Maximum 49.7% 43.0% Easy Hard 0.031004894819414507 0.031228142547585713 https://leetcode.com/problems/kth-largest-element-in-a-stream https://leetcode.com/problems/sliding-window-maximum
124 38 703 Count and Say Kth Largest Element in a Stream 44.6% 49.7% Easy Easy 0.030956234663467107 0.031004894819414507 https://leetcode.com/problems/count-and-say https://leetcode.com/problems/kth-largest-element-in-a-stream
125 557 38 Reverse Words in a String III Count and Say 69.8% 44.6% Easy Easy 0.03063547953861342 0.030956234663467107 https://leetcode.com/problems/reverse-words-in-a-string-iii https://leetcode.com/problems/count-and-say
126 44 557 Wildcard Matching Reverse Words in a String III 24.7% 69.8% Hard Easy 0.030573033362282363 0.03063547953861342 https://leetcode.com/problems/wildcard-matching https://leetcode.com/problems/reverse-words-in-a-string-iii
127 680 44 Valid Palindrome II Wildcard Matching 36.6% 24.7% Easy Hard 0.028841220390439494 0.030573033362282363 https://leetcode.com/problems/valid-palindrome-ii https://leetcode.com/problems/wildcard-matching
128 269 680 Alien Dictionary Valid Palindrome II 33.3% 36.6% Hard Easy 0.02841997399127492 0.028841220390439494 https://leetcode.com/problems/alien-dictionary https://leetcode.com/problems/valid-palindrome-ii
129 77 269 Combinations Alien Dictionary 54.7% 33.3% Medium Hard 0.028021758737593695 0.02841997399127492 https://leetcode.com/problems/combinations https://leetcode.com/problems/alien-dictionary
130 20 77 Valid Parentheses Combinations 39.0% 54.7% Easy Medium 0.02782373445001039 0.028021758737593695 https://leetcode.com/problems/valid-parentheses https://leetcode.com/problems/combinations
131 227 20 Basic Calculator II Valid Parentheses 36.9% 39.0% Medium Easy 0.027685557859864054 0.02782373445001039 https://leetcode.com/problems/basic-calculator-ii https://leetcode.com/problems/valid-parentheses
132 5 227 Longest Palindromic Substring Basic Calculator II 29.5% 36.9% Medium Medium 0.02757010450426751 0.027685557859864054 https://leetcode.com/problems/longest-palindromic-substring https://leetcode.com/problems/basic-calculator-ii
133 159 5 Longest Substring with At Most Two Distinct Characters Longest Palindromic Substring 49.4% 29.5% Medium Medium 0.02717558537896476 0.02757010450426751 https://leetcode.com/problems/longest-substring-with-at-most-two-distinct-characters https://leetcode.com/problems/longest-palindromic-substring
134 22 159 Generate Parentheses Longest Substring with At Most Two Distinct Characters 62.7% 49.4% Medium Medium 0.026949997964496694 0.02717558537896476 https://leetcode.com/problems/generate-parentheses https://leetcode.com/problems/longest-substring-with-at-most-two-distinct-characters
135 2 22 Add Two Numbers Generate Parentheses 33.9% 62.7% Medium Medium 0.02668158945866115 0.026949997964496694 https://leetcode.com/problems/add-two-numbers https://leetcode.com/problems/generate-parentheses
136 417 2 Pacific Atlantic Water Flow Add Two Numbers 41.1% 33.9% Medium Medium 0.025975486403260657 0.02668158945866115 https://leetcode.com/problems/pacific-atlantic-water-flow https://leetcode.com/problems/add-two-numbers
137 987 417 Vertical Order Traversal of a Binary Tree Pacific Atlantic Water Flow 36.6% 41.1% Medium Medium 0.025915645579833068 0.025975486403260657 https://leetcode.com/problems/vertical-order-traversal-of-a-binary-tree https://leetcode.com/problems/pacific-atlantic-water-flow
138 205 987 Isomorphic Strings Vertical Order Traversal of a Binary Tree 39.8% 36.6% Easy Medium 0.025789394882914186 0.025915645579833068 https://leetcode.com/problems/isomorphic-strings https://leetcode.com/problems/vertical-order-traversal-of-a-binary-tree
139 362 205 Design Hit Counter Isomorphic Strings 63.7% 39.8% Medium Easy 0.025382073271417165 0.025789394882914186 https://leetcode.com/problems/design-hit-counter https://leetcode.com/problems/isomorphic-strings
140 151 362 Reverse Words in a String Design Hit Counter 21.9% 63.7% Medium Medium 0.024321004216273485 0.025382073271417165 https://leetcode.com/problems/reverse-words-in-a-string https://leetcode.com/problems/design-hit-counter
141 426 151 Convert Binary Search Tree to Sorted Doubly Linked List Reverse Words in a String 59.1% 21.9% Medium Medium 0.024214258120594613 0.024321004216273485 https://leetcode.com/problems/convert-binary-search-tree-to-sorted-doubly-linked-list https://leetcode.com/problems/reverse-words-in-a-string
142 140 426 Word Break II Convert Binary Search Tree to Sorted Doubly Linked List 32.6% 59.1% Hard Medium 0.024104005752813337 0.024214258120594613 https://leetcode.com/problems/word-break-ii https://leetcode.com/problems/convert-binary-search-tree-to-sorted-doubly-linked-list
143 31 140 Next Permutation Word Break II 32.6% 32.6% Medium Hard 0.023747034562878154 0.024104005752813337 https://leetcode.com/problems/next-permutation https://leetcode.com/problems/word-break-ii
144 252 31 Meeting Rooms Next Permutation 54.6% 32.6% Easy Medium 0.02332467256640893 0.023747034562878154 https://leetcode.com/problems/meeting-rooms https://leetcode.com/problems/next-permutation
145 39 252 Combination Sum Meeting Rooms 56.1% 54.6% Medium Easy 0.02267028230338623 0.02332467256640893 https://leetcode.com/problems/combination-sum https://leetcode.com/problems/meeting-rooms
146 449 39 Serialize and Deserialize BST Combination Sum 52.0% 56.1% Medium Medium 0.02246023667974994 0.02267028230338623 https://leetcode.com/problems/serialize-and-deserialize-bst https://leetcode.com/problems/combination-sum
147 285 449 Inorder Successor in BST Serialize and Deserialize BST 40.4% 52.0% Medium Medium 0.02233482010057984 0.02246023667974994 https://leetcode.com/problems/inorder-successor-in-bst https://leetcode.com/problems/serialize-and-deserialize-bst
148 113 285 Path Sum II Inorder Successor in BST 46.7% 40.4% Medium Medium 0.021882711249507664 0.02233482010057984 https://leetcode.com/problems/path-sum-ii https://leetcode.com/problems/inorder-successor-in-bst
149 287 113 Find the Duplicate Number Path Sum II 55.5% 46.7% Medium Medium 0.021825992579766168 0.021882711249507664 https://leetcode.com/problems/find-the-duplicate-number https://leetcode.com/problems/path-sum-ii
150 45 287 Jump Game II Find the Duplicate Number 30.6% 55.5% Hard Medium 0.021353124470568974 0.021825992579766168 https://leetcode.com/problems/jump-game-ii https://leetcode.com/problems/find-the-duplicate-number
151 621 45 Task Scheduler Jump Game II 50.1% 30.6% Medium Hard 0.020881218065250198 0.021353124470568974 https://leetcode.com/problems/task-scheduler https://leetcode.com/problems/jump-game-ii
152 48 621 Rotate Image Task Scheduler 56.7% 50.1% Medium Medium 0.020228249775471566 0.020881218065250198 https://leetcode.com/problems/rotate-image https://leetcode.com/problems/task-scheduler
153 166 48 Fraction to Recurring Decimal Rotate Image 21.6% 56.7% Medium Medium 0.02015181543730795 0.020228249775471566 https://leetcode.com/problems/fraction-to-recurring-decimal https://leetcode.com/problems/rotate-image
154 399 166 Evaluate Division Fraction to Recurring Decimal 51.6% 21.6% Medium Medium 0.019380451549662482 0.02015181543730795 https://leetcode.com/problems/evaluate-division https://leetcode.com/problems/fraction-to-recurring-decimal
155 540 399 Single Element in a Sorted Array Evaluate Division 57.9% 51.6% Medium Medium 0.0192128868599912 0.019380451549662482 https://leetcode.com/problems/single-element-in-a-sorted-array https://leetcode.com/problems/evaluate-division
156 173 540 Binary Search Tree Iterator Single Element in a Sorted Array 56.6% 57.9% Medium Medium 0.01899993824490396 0.0192128868599912 https://leetcode.com/problems/binary-search-tree-iterator https://leetcode.com/problems/single-element-in-a-sorted-array
157 121 173 Best Time to Buy and Sell Stock Binary Search Tree Iterator 50.5% 56.6% Easy Medium 0.018954919107260947 0.01899993824490396 https://leetcode.com/problems/best-time-to-buy-and-sell-stock https://leetcode.com/problems/binary-search-tree-iterator
158 532 121 K-diff Pairs in an Array Best Time to Buy and Sell Stock 31.6% 50.5% Easy Easy 0.018735911057469818 0.018954919107260947 https://leetcode.com/problems/k-diff-pairs-in-an-array https://leetcode.com/problems/best-time-to-buy-and-sell-stock
159 169 532 Majority Element K-diff Pairs in an Array 58.7% 31.6% Easy Easy 0.018694317054881164 0.018735911057469818 https://leetcode.com/problems/majority-element https://leetcode.com/problems/k-diff-pairs-in-an-array
160 88 169 Merge Sorted Array Majority Element 39.4% 58.7% Easy Easy 0.018667009593356397 0.018694317054881164 https://leetcode.com/problems/merge-sorted-array https://leetcode.com/problems/majority-element
161 394 88 Decode String Merge Sorted Array 50.0% 39.4% Medium Easy 0.0182820448374491 0.018667009593356397 https://leetcode.com/problems/decode-string https://leetcode.com/problems/merge-sorted-array
162 234 394 Palindrome Linked List Decode String 39.3% 50.0% Easy Medium 0.01801241989645556 0.0182820448374491 https://leetcode.com/problems/palindrome-linked-list https://leetcode.com/problems/decode-string
163 872 234 Leaf-Similar Trees Palindrome Linked List 64.5% 39.3% Easy Easy 0.01752125418714782 0.01801241989645556 https://leetcode.com/problems/leaf-similar-trees https://leetcode.com/problems/palindrome-linked-list
164 993 872 Cousins in Binary Tree Leaf-Similar Trees 52.0% 64.5% Easy Easy 0.017414458368636587 0.01752125418714782 https://leetcode.com/problems/cousins-in-binary-tree https://leetcode.com/problems/leaf-similar-trees
165 994 993 Rotting Oranges Cousins in Binary Tree 49.2% 52.0% Medium Easy 0.017087941897195622 0.017414458368636587 https://leetcode.com/problems/rotting-oranges https://leetcode.com/problems/cousins-in-binary-tree
166 210 994 Course Schedule II Rotting Oranges 40.7% 49.2% Medium Medium 0.01704828902223426 0.017087941897195622 https://leetcode.com/problems/course-schedule-ii https://leetcode.com/problems/rotting-oranges
167 34 210 Find First and Last Position of Element in Sorted Array Course Schedule II 36.2% 40.7% Medium Medium 0.01688338088311469 0.01704828902223426 https://leetcode.com/problems/find-first-and-last-position-of-element-in-sorted-array https://leetcode.com/problems/course-schedule-ii
168 225 34 Implement Stack using Queues Find First and Last Position of Element in Sorted Array 45.1% 36.2% Easy Medium 0.01644097863345757 0.01688338088311469 https://leetcode.com/problems/implement-stack-using-queues https://leetcode.com/problems/find-first-and-last-position-of-element-in-sorted-array
169 51 225 N-Queens Implement Stack using Queues 46.6% 45.1% Hard Easy 0.016393809775676407 0.01644097863345757 https://leetcode.com/problems/n-queens https://leetcode.com/problems/implement-stack-using-queues
170 299 51 Bulls and Cows N-Queens 42.4% 46.6% Easy Hard 0.016227536621756702 0.016393809775676407 https://leetcode.com/problems/bulls-and-cows https://leetcode.com/problems/n-queens
171 110 299 Balanced Binary Tree Bulls and Cows 43.5% 42.4% Easy Easy 0.015742847432510365 0.016227536621756702 https://leetcode.com/problems/balanced-binary-tree https://leetcode.com/problems/bulls-and-cows
172 701 110 Insert into a Binary Search Tree Balanced Binary Tree 77.7% 43.5% Medium Easy 0.015522236371561826 0.015742847432510365 https://leetcode.com/problems/insert-into-a-binary-search-tree https://leetcode.com/problems/balanced-binary-tree
173 139 701 Word Break Insert into a Binary Search Tree 40.1% 77.7% Medium Medium 0.015487677691351377 0.015522236371561826 https://leetcode.com/problems/word-break https://leetcode.com/problems/insert-into-a-binary-search-tree
174 707 139 Design Linked List Word Break 24.5% 40.1% Medium Medium 0.015054857167065819 0.015487677691351377 https://leetcode.com/problems/design-linked-list https://leetcode.com/problems/word-break
175 516 707 Longest Palindromic Subsequence Design Linked List 53.2% 24.5% Medium Medium 0.014931221774984842 0.015054857167065819 https://leetcode.com/problems/longest-palindromic-subsequence https://leetcode.com/problems/design-linked-list
176 832 516 Flipping an Image Longest Palindromic Subsequence 76.2% 53.2% Easy Medium 0.014652276786870392 0.014931221774984842 https://leetcode.com/problems/flipping-an-image https://leetcode.com/problems/longest-palindromic-subsequence
177 653 832 Two Sum IV - Input is a BST Flipping an Image 55.5% 76.2% Easy Easy 0.014224990931347289 0.014652276786870392 https://leetcode.com/problems/two-sum-iv-input-is-a-bst https://leetcode.com/problems/flipping-an-image
178 3 653 Longest Substring Without Repeating Characters Two Sum IV - Input is a BST 30.4% 55.5% Medium Easy 0.01391434345649413 0.014224990931347289 https://leetcode.com/problems/longest-substring-without-repeating-characters https://leetcode.com/problems/two-sum-iv-input-is-a-bst
179 131 3 Palindrome Partitioning Longest Substring Without Repeating Characters 47.5% 30.4% Medium Medium 0.013903595538577326 0.01391434345649413 https://leetcode.com/problems/palindrome-partitioning https://leetcode.com/problems/longest-substring-without-repeating-characters
180 141 131 Linked List Cycle Palindrome Partitioning 41.1% 47.5% Easy Medium 0.01390238743679306 0.013903595538577326 https://leetcode.com/problems/linked-list-cycle https://leetcode.com/problems/palindrome-partitioning
181 724 141 Find Pivot Index Linked List Cycle 44.0% 41.1% Easy Easy 0.013850636933899008 0.01390238743679306 https://leetcode.com/problems/find-pivot-index https://leetcode.com/problems/linked-list-cycle
182 332 724 Reconstruct Itinerary Find Pivot Index 36.7% 44.0% Medium Easy 0.013755375068485329 0.013850636933899008 https://leetcode.com/problems/reconstruct-itinerary https://leetcode.com/problems/find-pivot-index
183 15 332 3Sum Reconstruct Itinerary 26.8% 36.7% Medium Medium 0.013665148419080968 0.013755375068485329 https://leetcode.com/problems/3sum https://leetcode.com/problems/reconstruct-itinerary
184 13 15 Roman to Integer 3Sum 55.7% 26.8% Easy Medium 0.013645103403569418 0.013665148419080968 https://leetcode.com/problems/roman-to-integer https://leetcode.com/problems/3sum
185 329 13 Longest Increasing Path in a Matrix Roman to Integer 43.4% 55.7% Hard Easy 0.013400535537482126 0.013645103403569418 https://leetcode.com/problems/longest-increasing-path-in-a-matrix https://leetcode.com/problems/roman-to-integer
186 91 329 Decode Ways Longest Increasing Path in a Matrix 24.7% 43.4% Medium Hard 0.013379120336324091 0.013400535537482126 https://leetcode.com/problems/decode-ways https://leetcode.com/problems/longest-increasing-path-in-a-matrix
187 94 91 Binary Tree Inorder Traversal Decode Ways 63.3% 24.7% Medium Medium 0.013353561806134713 0.013379120336324091 https://leetcode.com/problems/binary-tree-inorder-traversal https://leetcode.com/problems/decode-ways
188 199 94 Binary Tree Right Side View Binary Tree Inorder Traversal 54.1% 63.3% Medium Medium 0.01274082919906162 0.013353561806134713 https://leetcode.com/problems/binary-tree-right-side-view https://leetcode.com/problems/binary-tree-inorder-traversal
189 518 199 Coin Change 2 Binary Tree Right Side View 50.2% 54.1% Medium Medium 0.012527567532662891 0.01274082919906162 https://leetcode.com/problems/coin-change-2 https://leetcode.com/problems/binary-tree-right-side-view
190 437 518 Path Sum III Coin Change 2 47.2% 50.2% Medium Medium 0.012128711446614806 0.012527567532662891 https://leetcode.com/problems/path-sum-iii https://leetcode.com/problems/coin-change-2
191 543 437 Diameter of Binary Tree Path Sum III 48.4% 47.2% Easy Medium 0.011898606798495848 0.012128711446614806 https://leetcode.com/problems/diameter-of-binary-tree https://leetcode.com/problems/path-sum-iii
192 442 543 Find All Duplicates in an Array Diameter of Binary Tree 67.8% 48.4% Medium Easy 0.011675555865241341 0.011898606798495848 https://leetcode.com/problems/find-all-duplicates-in-an-array https://leetcode.com/problems/diameter-of-binary-tree
193 378 442 Kth Smallest Element in a Sorted Matrix Find All Duplicates in an Array 54.3% 67.8% Medium Medium 0.011634802567699611 0.011675555865241341 https://leetcode.com/problems/kth-smallest-element-in-a-sorted-matrix https://leetcode.com/problems/find-all-duplicates-in-an-array
194 117 378 Populating Next Right Pointers in Each Node II Kth Smallest Element in a Sorted Matrix 39.1% 54.3% Medium Medium 0.011389644764357807 0.011634802567699611 https://leetcode.com/problems/populating-next-right-pointers-in-each-node-ii https://leetcode.com/problems/kth-smallest-element-in-a-sorted-matrix
195 733 117 Flood Fill Populating Next Right Pointers in Each Node II 55.3% 39.1% Easy Medium 0.011217167530924988 0.011389644764357807 https://leetcode.com/problems/flood-fill https://leetcode.com/problems/populating-next-right-pointers-in-each-node-ii
196 268 733 Missing Number Flood Fill 51.7% 55.3% Easy Easy 0.010947682628191997 0.011217167530924988 https://leetcode.com/problems/missing-number https://leetcode.com/problems/flood-fill
197 92 268 Reverse Linked List II Missing Number 38.8% 51.7% Medium Easy 0.010427623162259089 0.010947682628191997 https://leetcode.com/problems/reverse-linked-list-ii https://leetcode.com/problems/missing-number
198 647 92 Palindromic Substrings Reverse Linked List II 60.6% 38.8% Medium Medium 0.010400509768078022 0.010427623162259089 https://leetcode.com/problems/palindromic-substrings https://leetcode.com/problems/reverse-linked-list-ii
199 61 647 Rotate List Palindromic Substrings 30.0% 60.6% Medium Medium 0.009925639799969955 0.010400509768078022 https://leetcode.com/problems/rotate-list https://leetcode.com/problems/palindromic-substrings
200 18 61 4Sum Rotate List 33.7% 30.0% Medium Medium 0.00984259914419414 0.009925639799969955 https://leetcode.com/problems/4sum https://leetcode.com/problems/rotate-list
201 560 18 Subarray Sum Equals K 4Sum 43.9% 33.7% Medium Medium 0.009603146783199741 0.00984259914419414 https://leetcode.com/problems/subarray-sum-equals-k https://leetcode.com/problems/4sum
202 387 560 First Unique Character in a String Subarray Sum Equals K 53.4% 43.9% Easy Medium 0.009392680199054166 0.009603146783199741 https://leetcode.com/problems/first-unique-character-in-a-string https://leetcode.com/problems/subarray-sum-equals-k
203 1249 387 Minimum Remove to Make Valid Parentheses First Unique Character in a String 62.5% 53.4% Medium Easy 0.009195467093100304 0.009392680199054166 https://leetcode.com/problems/minimum-remove-to-make-valid-parentheses https://leetcode.com/problems/first-unique-character-in-a-string
204 32 1249 Longest Valid Parentheses Minimum Remove to Make Valid Parentheses 28.4% 62.5% Hard Medium 0.009111680351255843 0.009195467093100304 https://leetcode.com/problems/longest-valid-parentheses https://leetcode.com/problems/minimum-remove-to-make-valid-parentheses
205 322 32 Coin Change Longest Valid Parentheses 35.5% 28.4% Medium Hard 0.00904437880665999 0.009111680351255843 https://leetcode.com/problems/coin-change https://leetcode.com/problems/longest-valid-parentheses
206 28 322 Implement strStr() Coin Change 34.5% 35.5% Easy Medium 0.008850485542574548 0.00904437880665999 https://leetcode.com/problems/implement-strstr https://leetcode.com/problems/coin-change
207 63 28 Unique Paths II Implement strStr() 34.6% 34.5% Medium Easy 0.008712753874961187 0.008850485542574548 https://leetcode.com/problems/unique-paths-ii https://leetcode.com/problems/implement-strstr
208 198 63 House Robber Unique Paths II 42.0% 34.6% Easy Medium 0.008434914115059812 0.008712753874961187 https://leetcode.com/problems/house-robber https://leetcode.com/problems/unique-paths-ii
209 209 198 Minimum Size Subarray Sum House Robber 38.2% 42.0% Medium Easy 0.00841401682484616 0.008434914115059812 https://leetcode.com/problems/minimum-size-subarray-sum https://leetcode.com/problems/house-robber
210 235 209 Lowest Common Ancestor of a Binary Search Tree Minimum Size Subarray Sum 49.9% 38.2% Easy Medium 0.00821697310228087 0.00841401682484616 https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-search-tree https://leetcode.com/problems/minimum-size-subarray-sum
211 438 235 Find All Anagrams in a String Lowest Common Ancestor of a Binary Search Tree 43.3% 49.9% Medium Easy 0.008126822460497498 0.00821697310228087 https://leetcode.com/problems/find-all-anagrams-in-a-string https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-search-tree
212 26 438 Remove Duplicates from Sorted Array Find All Anagrams in a String 45.1% 43.3% Easy Medium 0.007782518973063169 0.008126822460497498 https://leetcode.com/problems/remove-duplicates-from-sorted-array https://leetcode.com/problems/find-all-anagrams-in-a-string
213 328 26 Odd Even Linked List Remove Duplicates from Sorted Array 55.7% 45.1% Medium Easy 0.00764383618585562 0.007782518973063169 https://leetcode.com/problems/odd-even-linked-list https://leetcode.com/problems/remove-duplicates-from-sorted-array
214 876 328 Middle of the Linked List Odd Even Linked List 68.4% 55.7% Easy Medium 0.007624893975696915 0.00764383618585562 https://leetcode.com/problems/middle-of-the-linked-list https://leetcode.com/problems/odd-even-linked-list
215 415 876 Add Strings Middle of the Linked List 47.5% 68.4% Easy Easy 0.007587289812159497 0.007624893975696915 https://leetcode.com/problems/add-strings https://leetcode.com/problems/middle-of-the-linked-list
216 692 415 Top K Frequent Words Add Strings 51.8% 47.5% Medium Easy 0.007516006820935329 0.007587289812159497 https://leetcode.com/problems/top-k-frequent-words https://leetcode.com/problems/add-strings
217 509 692 Fibonacci Number Top K Frequent Words 67.2% 51.8% Easy Medium 0.007113670403855555 0.007516006820935329 https://leetcode.com/problems/fibonacci-number https://leetcode.com/problems/top-k-frequent-words
218 204 509 Count Primes Fibonacci Number 31.5% 67.2% Easy Easy 0.007072165261362441 0.007113670403855555 https://leetcode.com/problems/count-primes https://leetcode.com/problems/fibonacci-number
219 73 204 Set Matrix Zeroes Count Primes 43.1% 31.5% Medium Easy 0.0070151111959223245 0.007072165261362441 https://leetcode.com/problems/set-matrix-zeroes https://leetcode.com/problems/count-primes
220 19 73 Remove Nth Node From End of List Set Matrix Zeroes 35.2% 43.1% Medium Medium 0.0069087555063702365 0.0070151111959223245 https://leetcode.com/problems/remove-nth-node-from-end-of-list https://leetcode.com/problems/set-matrix-zeroes
221 283 19 Move Zeroes Remove Nth Node From End of List 57.8% 35.2% Easy Medium 0.006480437425856766 0.0069087555063702365 https://leetcode.com/problems/move-zeroes https://leetcode.com/problems/remove-nth-node-from-end-of-list
222 83 283 Remove Duplicates from Sorted List Move Zeroes 45.4% 57.8% Easy Easy 0.006353261522609498 0.006480437425856766 https://leetcode.com/problems/remove-duplicates-from-sorted-list https://leetcode.com/problems/move-zeroes
223 144 83 Binary Tree Preorder Traversal Remove Duplicates from Sorted List 55.7% 45.4% Medium Easy 0.0060975798681185 0.006353261522609498 https://leetcode.com/problems/binary-tree-preorder-traversal https://leetcode.com/problems/remove-duplicates-from-sorted-list
224 108 144 Convert Sorted Array to Binary Search Tree Binary Tree Preorder Traversal 57.9% 55.7% Easy Medium 0.005554027051374908 0.0060975798681185 https://leetcode.com/problems/convert-sorted-array-to-binary-search-tree https://leetcode.com/problems/binary-tree-preorder-traversal
225 226 108 Invert Binary Tree Convert Sorted Array to Binary Search Tree 65.0% 57.9% Easy Easy 0.005508138409792252 0.005554027051374908 https://leetcode.com/problems/invert-binary-tree https://leetcode.com/problems/convert-sorted-array-to-binary-search-tree
226 300 226 Longest Increasing Subsequence Invert Binary Tree 42.6% 65.0% Medium Easy 0.005264555460003242 0.005508138409792252 https://leetcode.com/problems/longest-increasing-subsequence https://leetcode.com/problems/invert-binary-tree
227 55 300 Jump Game Longest Increasing Subsequence 34.6% 42.6% Medium Medium 0.005022612266291382 0.005264555460003242 https://leetcode.com/problems/jump-game https://leetcode.com/problems/longest-increasing-subsequence
228 62 55 Unique Paths Jump Game 54.1% 34.6% Medium Medium 0.004621080312067025 0.005022612266291382 https://leetcode.com/problems/unique-paths https://leetcode.com/problems/jump-game
229 1470 62 Shuffle the Array Unique Paths 88.9% 54.1% Easy Medium 0.004527967890154029 0.004621080312067025 https://leetcode.com/problems/shuffle-the-array https://leetcode.com/problems/unique-paths
230 7 1470 Reverse Integer Shuffle the Array 25.8% 88.9% Easy Easy 0.00418293972984512 0.004527967890154029 https://leetcode.com/problems/reverse-integer https://leetcode.com/problems/shuffle-the-array
231 242 7 Valid Anagram Reverse Integer 56.9% 25.8% Easy Easy 0.004154123743115972 0.00418293972984512 https://leetcode.com/problems/valid-anagram https://leetcode.com/problems/reverse-integer
232 215 242 Kth Largest Element in an Array Valid Anagram 55.4% 56.9% Medium Easy 0.003902443976931749 0.004154123743115972 https://leetcode.com/problems/kth-largest-element-in-an-array https://leetcode.com/problems/valid-anagram
233 977 215 Squares of a Sorted Array Kth Largest Element in an Array 72.1% 55.4% Easy Medium 0.003891055492966611 0.003902443976931749 https://leetcode.com/problems/squares-of-a-sorted-array https://leetcode.com/problems/kth-largest-element-in-an-array
234 153 977 Find Minimum in Rotated Sorted Array Squares of a Sorted Array 45.1% 72.1% Medium Easy 0.0037558729598054378 0.003891055492966611 https://leetcode.com/problems/find-minimum-in-rotated-sorted-array https://leetcode.com/problems/squares-of-a-sorted-array
235 101 153 Symmetric Tree Find Minimum in Rotated Sorted Array 46.8% 45.1% Easy Medium 0.0034057078469827435 0.0037558729598054378 https://leetcode.com/problems/symmetric-tree https://leetcode.com/problems/find-minimum-in-rotated-sorted-array
236 122 101 Best Time to Buy and Sell Stock II Symmetric Tree 57.0% 46.8% Easy Easy 0.0033545821461532107 0.0034057078469827435 https://leetcode.com/problems/best-time-to-buy-and-sell-stock-ii https://leetcode.com/problems/symmetric-tree
237 50 122 Pow(x;n) Best Time to Buy and Sell Stock II 30.3% 57.0% Medium Easy 0.0031510424503886844 0.0033545821461532107 https://leetcode.com/problems/powx-n https://leetcode.com/problems/best-time-to-buy-and-sell-stock-ii
238 136 50 Single Number Pow(x;n) 65.5% 30.3% Easy Medium 0.002869648285357666 0.0031510424503886844 https://leetcode.com/problems/single-number https://leetcode.com/problems/powx-n
239 104 136 Maximum Depth of Binary Tree Single Number 66.0% 65.5% Easy Easy 0.002787846801433134 0.002869648285357666 https://leetcode.com/problems/maximum-depth-of-binary-tree https://leetcode.com/problems/single-number
240 106 104 Construct Binary Tree from Inorder and Postorder Traversal Maximum Depth of Binary Tree 47.2% 66.0% Medium Easy 0.00234041415121758 0.002787846801433134 https://leetcode.com/problems/construct-binary-tree-from-inorder-and-postorder-traversal https://leetcode.com/problems/maximum-depth-of-binary-tree
241 70 106 Climbing Stairs Construct Binary Tree from Inorder and Postorder Traversal 47.8% 47.2% Easy Medium 0.0015084665529624085 0.00234041415121758 https://leetcode.com/problems/climbing-stairs https://leetcode.com/problems/construct-binary-tree-from-inorder-and-postorder-traversal
242 70 Climbing Stairs 47.8% Easy 0.0015084665529624085 https://leetcode.com/problems/climbing-stairs