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,146 +1,147 @@
1396,Design Underground System,64.7%,Medium,1.6336239764997664, https://leetcode.com/problems/design-underground-system
1274,Number of Ships in a Rectangle,66.3%,Hard,1.3841012723467938, https://leetcode.com/problems/number-of-ships-in-a-rectangle
1169,Invalid Transactions,31.2%,Medium,1.1345785681938212, https://leetcode.com/problems/invalid-transactions
1209,Remove All Adjacent Duplicates in String II,56.9%,Medium,0.9182875611040503, https://leetcode.com/problems/remove-all-adjacent-duplicates-in-string-ii
394,Decode String,50.0%,Medium,0.8695403064407496, https://leetcode.com/problems/decode-string
430,Flatten a Multilevel Doubly Linked List,55.1%,Medium,0.620017602287777, https://leetcode.com/problems/flatten-a-multilevel-doubly-linked-list
200,Number of Islands,46.8%,Medium,0.581027429947078, https://leetcode.com/problems/number-of-islands
253,Meeting Rooms II,45.7%,Medium,0.46127061637748534, https://leetcode.com/problems/meeting-rooms-ii
1472,Design Browser History,64.6%,Medium,0.41985384556026395, https://leetcode.com/problems/design-browser-history
146,LRU Cache,33.2%,Medium,0.4110212101491863, https://leetcode.com/problems/lru-cache
445,Add Two Numbers II,54.5%,Medium,0.3186792865497379, https://leetcode.com/problems/add-two-numbers-ii
987,Vertical Order Traversal of a Binary Tree,36.6%,Medium,0.30230623809780655, https://leetcode.com/problems/vertical-order-traversal-of-a-binary-tree
1029,Two City Scheduling,56.1%,Easy,0.23361485118150516, https://leetcode.com/problems/two-city-scheduling
98,Validate Binary Search Tree,27.8%,Medium,0.21414088449315205, https://leetcode.com/problems/validate-binary-search-tree
117,Populating Next Right Pointers in Each Node II,39.1%,Medium,0.20860539286818253, https://leetcode.com/problems/populating-next-right-pointers-in-each-node-ii
1244,Design A Leaderboard,60.7%,Medium,0.17763094743610072, https://leetcode.com/problems/design-a-leaderboard
387,First Unique Character in a String,53.4%,Easy,0.16314262087986708, https://leetcode.com/problems/first-unique-character-in-a-string
2,Add Two Numbers,33.9%,Medium,0.15615258592389064, https://leetcode.com/problems/add-two-numbers
723,Candy Crush,69.2%,Medium,0.1475667107409061, https://leetcode.com/problems/candy-crush
380,Insert Delete GetRandom O(1),47.5%,Medium,0.1466146891661091, https://leetcode.com/problems/insert-delete-getrandom-o1
384,Shuffle an Array,52.8%,Medium,0.12953764257899986, https://leetcode.com/problems/shuffle-an-array
42,Trapping Rain Water,48.9%,Hard,0.12389276378675394, https://leetcode.com/problems/trapping-rain-water
451,Sort Characters By Frequency,63.0%,Medium,0.11258362132121401, https://leetcode.com/problems/sort-characters-by-frequency
155,Min Stack,44.5%,Easy,0.11244000234885869, https://leetcode.com/problems/min-stack
1188,Design Bounded Blocking Queue,70.5%,Medium,0.11030454201470608, https://leetcode.com/problems/design-bounded-blocking-queue
924,Minimize Malware Spread,42.0%,Hard,0.10821358464023274, https://leetcode.com/problems/minimize-malware-spread
314,Binary Tree Vertical Order Traversal,45.3%,Medium,0.10758430200165091, https://leetcode.com/problems/binary-tree-vertical-order-traversal
658,Find K Closest Elements,40.9%,Medium,0.0995648587647672, https://leetcode.com/problems/find-k-closest-elements
611,Valid Triangle Number,48.4%,Medium,0.09333193979221914, https://leetcode.com/problems/valid-triangle-number
20,Valid Parentheses,39.0%,Easy,0.09286263438126167, https://leetcode.com/problems/valid-parentheses
991,Broken Calculator,45.6%,Medium,0.08515780834030685, https://leetcode.com/problems/broken-calculator
582,Kill Process,60.8%,Medium,0.08355588569097351, https://leetcode.com/problems/kill-process
56,Merge Intervals,39.3%,Medium,0.08339552430579078, https://leetcode.com/problems/merge-intervals
1297,Maximum Number of Occurrences of a Substring,47.3%,Medium,0.07770898432731625, https://leetcode.com/problems/maximum-number-of-occurrences-of-a-substring
1347,Minimum Number of Steps to Make Two Strings Anagram,74.7%,Medium,0.07742472477971579, https://leetcode.com/problems/minimum-number-of-steps-to-make-two-strings-anagram
214,Shortest Palindrome,29.8%,Hard,0.0753494372417868, https://leetcode.com/problems/shortest-palindrome
463,Island Perimeter,65.7%,Easy,0.06646080650226213, https://leetcode.com/problems/island-perimeter
1145,Binary Tree Coloring Game,51.2%,Medium,0.06592172080482424, https://leetcode.com/problems/binary-tree-coloring-game
242,Valid Anagram,56.9%,Easy,0.06447998055429512, https://leetcode.com/problems/valid-anagram
3,Longest Substring Without Repeating Characters,30.4%,Medium,0.06370380162663494, https://leetcode.com/problems/longest-substring-without-repeating-characters
353,Design Snake Game,34.2%,Medium,0.06053284922884233, https://leetcode.com/problems/design-snake-game
1,Two Sum,45.6%,Easy,0.057621231679235815, https://leetcode.com/problems/two-sum
128,Longest Consecutive Sequence,45.1%,Hard,0.05527490034186498, https://leetcode.com/problems/longest-consecutive-sequence
1054,Distant Barcodes,43.2%,Medium,0.054435206555017046, https://leetcode.com/problems/distant-barcodes
12,Integer to Roman,55.1%,Medium,0.05217122936969127, https://leetcode.com/problems/integer-to-roman
286,Walls and Gates,54.5%,Medium,0.05155780966485001, https://leetcode.com/problems/walls-and-gates
1312,Minimum Insertion Steps to Make a String Palindrome,58.1%,Hard,0.050261834780888255, https://leetcode.com/problems/minimum-insertion-steps-to-make-a-string-palindrome
10,Regular Expression Matching,26.8%,Hard,0.04409107726484965, https://leetcode.com/problems/regular-expression-matching
140,Word Break II,32.6%,Hard,0.04245795568707049, https://leetcode.com/problems/word-break-ii
1155,Number of Dice Rolls With Target Sum,49.0%,Medium,0.04204262329555109, https://leetcode.com/problems/number-of-dice-rolls-with-target-sum
33,Search in Rotated Sorted Array,34.5%,Medium,0.03886602267922457, https://leetcode.com/problems/search-in-rotated-sorted-array
797,All Paths From Source to Target,77.9%,Medium,0.03881156536434583, https://leetcode.com/problems/all-paths-from-source-to-target
138,Copy List with Random Pointer,36.4%,Medium,0.03807953223592622, https://leetcode.com/problems/copy-list-with-random-pointer
139,Word Break,40.1%,Medium,0.03451593709018879, https://leetcode.com/problems/word-break
53,Maximum Subarray,46.5%,Easy,0.03412208634661372, https://leetcode.com/problems/maximum-subarray
79,Word Search,35.6%,Medium,0.03318208821436187, https://leetcode.com/problems/word-search
694,Number of Distinct Islands,56.0%,Medium,0.03278982282299087, https://leetcode.com/problems/number-of-distinct-islands
1123,Lowest Common Ancestor of Deepest Leaves,66.8%,Medium,0.03147388037973136, https://leetcode.com/problems/lowest-common-ancestor-of-deepest-leaves
460,LFU Cache,34.2%,Hard,0.030962225603966897, https://leetcode.com/problems/lfu-cache
332,Reconstruct Itinerary,36.7%,Medium,0.030687713231237448, https://leetcode.com/problems/reconstruct-itinerary
85,Maximal Rectangle,37.7%,Hard,0.029754261081792705, https://leetcode.com/problems/maximal-rectangle
695,Max Area of Island,62.7%,Medium,0.028321590863246118, https://leetcode.com/problems/max-area-of-island
518,Coin Change 2,50.2%,Medium,0.027969505010125056, https://leetcode.com/problems/coin-change-2
121,Best Time to Buy and Sell Stock,50.5%,Easy,0.0257124040167447, https://leetcode.com/problems/best-time-to-buy-and-sell-stock
283,Move Zeroes,57.8%,Easy,0.025673520193393074, https://leetcode.com/problems/move-zeroes
90,Subsets II,47.1%,Medium,0.025497131933483772, https://leetcode.com/problems/subsets-ii
41,First Missing Positive,32.0%,Hard,0.02540222313806603, https://leetcode.com/problems/first-missing-positive
322,Coin Change,35.5%,Medium,0.024924029676386045, https://leetcode.com/problems/coin-change
30,Substring with Concatenation of All Words,25.4%,Hard,0.02486144206532915, https://leetcode.com/problems/substring-with-concatenation-of-all-words
752,Open the Lock,51.8%,Medium,0.024586364440127736, https://leetcode.com/problems/open-the-lock
395,Longest Substring with At Least K Repeating Characters,41.4%,Medium,0.024228925974379843, https://leetcode.com/problems/longest-substring-with-at-least-k-repeating-characters
348,Design Tic-Tac-Toe,54.3%,Medium,0.024214258120594613, https://leetcode.com/problems/design-tic-tac-toe
662,Maximum Width of Binary Tree,41.0%,Medium,0.024116924478312346, https://leetcode.com/problems/maximum-width-of-binary-tree
78,Subsets,62.0%,Medium,0.022827872206034577, https://leetcode.com/problems/subsets
102,Binary Tree Level Order Traversal,54.6%,Medium,0.02252956425342345, https://leetcode.com/problems/binary-tree-level-order-traversal
285,Inorder Successor in BST,40.4%,Medium,0.02233482010057984, https://leetcode.com/problems/inorder-successor-in-bst
105,Construct Binary Tree from Preorder and Inorder Traversal,48.8%,Medium,0.022325470299025416, https://leetcode.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal
221,Maximal Square,37.7%,Medium,0.022108490754203434, https://leetcode.com/problems/maximal-square
424,Longest Repeating Character Replacement,47.0%,Medium,0.020461071871340063, https://leetcode.com/problems/longest-repeating-character-replacement
5,Longest Palindromic Substring,29.5%,Medium,0.020329346568668867, https://leetcode.com/problems/longest-palindromic-substring
784,Letter Case Permutation,64.6%,Medium,0.02026411791905559, https://leetcode.com/problems/letter-case-permutation
69,Sqrt(x),33.9%,Easy,0.020253856904497686, https://leetcode.com/problems/sqrtx
15,3Sum,26.8%,Medium,0.019619157889188592, https://leetcode.com/problems/3sum
399,Evaluate Division,51.6%,Medium,0.019380451549662482, https://leetcode.com/problems/evaluate-division
721,Accounts Merge,48.8%,Medium,0.01888630262874805, https://leetcode.com/problems/accounts-merge
209,Minimum Size Subarray Sum,38.2%,Medium,0.018832948333092125, https://leetcode.com/problems/minimum-size-subarray-sum
88,Merge Sorted Array,39.4%,Easy,0.018667009593356397, https://leetcode.com/problems/merge-sorted-array
84,Largest Rectangle in Histogram,35.2%,Hard,0.01866112622166295, https://leetcode.com/problems/largest-rectangle-in-histogram
126,Word Ladder II,22.1%,Hard,0.017994187717865196, https://leetcode.com/problems/word-ladder-ii
292,Nim Game,54.9%,Easy,0.01796186592859277, https://leetcode.com/problems/nim-game
6,ZigZag Conversion,36.3%,Medium,0.01726827253226344, https://leetcode.com/problems/zigzag-conversion
402,Remove K Digits,28.4%,Medium,0.016863806052004816, https://leetcode.com/problems/remove-k-digits
692,Top K Frequent Words,51.8%,Medium,0.016832265743172113, https://leetcode.com/problems/top-k-frequent-words
188,Best Time to Buy and Sell Stock IV,28.0%,Hard,0.01651565203072114, https://leetcode.com/problems/best-time-to-buy-and-sell-stock-iv
116,Populating Next Right Pointers in Each Node,45.2%,Medium,0.016432723251567683, https://leetcode.com/problems/populating-next-right-pointers-in-each-node
23,Merge k Sorted Lists,40.2%,Hard,0.016108271385328228, https://leetcode.com/problems/merge-k-sorted-lists
4,Median of Two Sorted Arrays,29.6%,Hard,0.015510198481701449, https://leetcode.com/problems/median-of-two-sorted-arrays
315,Count of Smaller Numbers After Self,41.5%,Hard,0.014352596574956585, https://leetcode.com/problems/count-of-smaller-numbers-after-self
21,Merge Two Sorted Lists,53.5%,Easy,0.014012111332134735, https://leetcode.com/problems/merge-two-sorted-lists
404,Sum of Left Leaves,50.9%,Easy,0.013981353230340547, https://leetcode.com/problems/sum-of-left-leaves
724,Find Pivot Index,44.0%,Easy,0.013850636933899008, https://leetcode.com/problems/find-pivot-index
44,Wildcard Matching,24.7%,Hard,0.013703537497261858, https://leetcode.com/problems/wildcard-matching
101,Symmetric Tree,46.8%,Easy,0.013553786479814183, https://leetcode.com/problems/symmetric-tree
127,Word Ladder,29.6%,Medium,0.013403030127340374, https://leetcode.com/problems/word-ladder
347,Top K Frequent Elements,61.2%,Medium,0.01329217620893675, https://leetcode.com/problems/top-k-frequent-elements
152,Maximum Product Subarray,31.7%,Medium,0.012534983069696118, https://leetcode.com/problems/maximum-product-subarray
112,Path Sum,41.2%,Easy,0.012265076074932503, https://leetcode.com/problems/path-sum
273,Integer to English Words,27.1%,Hard,0.012081089250339716, https://leetcode.com/problems/integer-to-english-words
123,Best Time to Buy and Sell Stock III,37.5%,Hard,0.011261380272539033, https://leetcode.com/problems/best-time-to-buy-and-sell-stock-iii
338,Counting Bits,69.5%,Medium,0.01088446119842327, https://leetcode.com/problems/counting-bits
92,Reverse Linked List II,38.8%,Medium,0.010427623162259089, https://leetcode.com/problems/reverse-linked-list-ii
234,Palindrome Linked List,39.3%,Easy,0.010171877938733932, https://leetcode.com/problems/palindrome-linked-list
621,Task Scheduler,50.1%,Medium,0.009334412329990095, https://leetcode.com/problems/task-scheduler
1249,Minimum Remove to Make Valid Parentheses,62.5%,Medium,0.009195467093100304, https://leetcode.com/problems/minimum-remove-to-make-valid-parentheses
125,Valid Palindrome,36.7%,Easy,0.008933948641551634, https://leetcode.com/problems/valid-palindrome
49,Group Anagrams,56.9%,Medium,0.008538951314232168, https://leetcode.com/problems/group-anagrams
173,Binary Search Tree Iterator,56.6%,Medium,0.008489015324911316, https://leetcode.com/problems/binary-search-tree-iterator
153,Find Minimum in Rotated Sorted Array,45.1%,Medium,0.008430963288799368, https://leetcode.com/problems/find-minimum-in-rotated-sorted-array
239,Sliding Window Maximum,43.0%,Hard,0.007898935224534491, https://leetcode.com/problems/sliding-window-maximum
328,Odd Even Linked List,55.7%,Medium,0.00764383618585562, https://leetcode.com/problems/odd-even-linked-list
415,Add Strings,47.5%,Easy,0.007587289812159497, https://leetcode.com/problems/add-strings
122,Best Time to Buy and Sell Stock II,57.0%,Easy,0.007532046655581962, https://leetcode.com/problems/best-time-to-buy-and-sell-stock-ii
412,Fizz Buzz,62.3%,Easy,0.007165921026143679, https://leetcode.com/problems/fizz-buzz
110,Balanced Binary Tree,43.5%,Easy,0.007027435807456887, https://leetcode.com/problems/balanced-binary-tree
114,Flatten Binary Tree to Linked List,49.3%,Medium,0.006896579059060353, https://leetcode.com/problems/flatten-binary-tree-to-linked-list
448,Find All Numbers Disappeared in an Array,55.9%,Easy,0.006863444924982415, https://leetcode.com/problems/find-all-numbers-disappeared-in-an-array
54,Spiral Matrix,34.1%,Medium,0.0065941551175130245, https://leetcode.com/problems/spiral-matrix
136,Single Number,65.5%,Easy,0.006445166968713385, https://leetcode.com/problems/single-number
24,Swap Nodes in Pairs,50.4%,Medium,0.0062218275061505365, https://leetcode.com/problems/swap-nodes-in-pairs
64,Minimum Path Sum,54.5%,Medium,0.006127470152097104, https://leetcode.com/problems/minimum-path-sum
91,Decode Ways,24.7%,Medium,0.005968385368349129, https://leetcode.com/problems/decode-ways
199,Binary Tree Right Side View,54.1%,Medium,0.0056826406650506926, https://leetcode.com/problems/binary-tree-right-side-view
237,Delete Node in a Linked List,63.8%,Easy,0.005144705881237697, https://leetcode.com/problems/delete-node-in-a-linked-list
207,Course Schedule,43.1%,Medium,0.004964021114211758, https://leetcode.com/problems/course-schedule
62,Unique Paths,54.1%,Medium,0.004621080312067025, https://leetcode.com/problems/unique-paths
34,Find First and Last Position of Element in Sorted Array,36.2%,Medium,0.004247643638268045, https://leetcode.com/problems/find-first-and-last-position-of-element-in-sorted-array
8,String to Integer (atoi),15.4%,Medium,0.0037925521897059712, https://leetcode.com/problems/string-to-integer-atoi
13,Roman to Integer,55.7%,Easy,0.003428770717317083, https://leetcode.com/problems/roman-to-integer
14,Longest Common Prefix,35.4%,Easy,0.003320331762984143, https://leetcode.com/problems/longest-common-prefix
19,Remove Nth Node From End of List,35.2%,Medium,0.003076452203393495, https://leetcode.com/problems/remove-nth-node-from-end-of-list
1480,Running Sum of 1d Array,90.5%,Easy,0.0026196884456014947, https://leetcode.com/problems/running-sum-of-1d-array
258,Add Digits,57.6%,Easy,0.0020686809197766587, https://leetcode.com/problems/add-digits
26,Remove Duplicates from Sorted Array,45.1%,Easy,0.0019513153174351963, https://leetcode.com/problems/remove-duplicates-from-sorted-array
7,Reverse Integer,25.8%,Easy,0.0018612447790907708, https://leetcode.com/problems/reverse-integer
103,Binary Tree Zigzag Level Order Traversal,48.3%,Medium,0.0017084529846397953, https://leetcode.com/problems/binary-tree-zigzag-level-order-traversal
50,Pow(x;n),30.3%,Medium,0.0014016892647828818, https://leetcode.com/problems/powx-n
ID,Title,Acceptance,Difficulty,Frequency,Leetcode Question Link
1396,Design Underground System,64.7%,Medium,1.6336239764997664, https://leetcode.com/problems/design-underground-system
1274,Number of Ships in a Rectangle,66.3%,Hard,1.3841012723467938, https://leetcode.com/problems/number-of-ships-in-a-rectangle
1169,Invalid Transactions,31.2%,Medium,1.1345785681938212, https://leetcode.com/problems/invalid-transactions
1209,Remove All Adjacent Duplicates in String II,56.9%,Medium,0.9182875611040503, https://leetcode.com/problems/remove-all-adjacent-duplicates-in-string-ii
394,Decode String,50.0%,Medium,0.8695403064407496, https://leetcode.com/problems/decode-string
430,Flatten a Multilevel Doubly Linked List,55.1%,Medium,0.620017602287777, https://leetcode.com/problems/flatten-a-multilevel-doubly-linked-list
200,Number of Islands,46.8%,Medium,0.581027429947078, https://leetcode.com/problems/number-of-islands
253,Meeting Rooms II,45.7%,Medium,0.46127061637748534, https://leetcode.com/problems/meeting-rooms-ii
1472,Design Browser History,64.6%,Medium,0.41985384556026395, https://leetcode.com/problems/design-browser-history
146,LRU Cache,33.2%,Medium,0.4110212101491863, https://leetcode.com/problems/lru-cache
445,Add Two Numbers II,54.5%,Medium,0.3186792865497379, https://leetcode.com/problems/add-two-numbers-ii
987,Vertical Order Traversal of a Binary Tree,36.6%,Medium,0.30230623809780655, https://leetcode.com/problems/vertical-order-traversal-of-a-binary-tree
1029,Two City Scheduling,56.1%,Easy,0.23361485118150516, https://leetcode.com/problems/two-city-scheduling
98,Validate Binary Search Tree,27.8%,Medium,0.21414088449315205, https://leetcode.com/problems/validate-binary-search-tree
117,Populating Next Right Pointers in Each Node II,39.1%,Medium,0.20860539286818253, https://leetcode.com/problems/populating-next-right-pointers-in-each-node-ii
1244,Design A Leaderboard,60.7%,Medium,0.17763094743610072, https://leetcode.com/problems/design-a-leaderboard
387,First Unique Character in a String,53.4%,Easy,0.16314262087986708, https://leetcode.com/problems/first-unique-character-in-a-string
2,Add Two Numbers,33.9%,Medium,0.15615258592389064, https://leetcode.com/problems/add-two-numbers
723,Candy Crush,69.2%,Medium,0.1475667107409061, https://leetcode.com/problems/candy-crush
380,Insert Delete GetRandom O(1),47.5%,Medium,0.1466146891661091, https://leetcode.com/problems/insert-delete-getrandom-o1
384,Shuffle an Array,52.8%,Medium,0.12953764257899986, https://leetcode.com/problems/shuffle-an-array
42,Trapping Rain Water,48.9%,Hard,0.12389276378675394, https://leetcode.com/problems/trapping-rain-water
451,Sort Characters By Frequency,63.0%,Medium,0.11258362132121401, https://leetcode.com/problems/sort-characters-by-frequency
155,Min Stack,44.5%,Easy,0.11244000234885869, https://leetcode.com/problems/min-stack
1188,Design Bounded Blocking Queue,70.5%,Medium,0.11030454201470608, https://leetcode.com/problems/design-bounded-blocking-queue
924,Minimize Malware Spread,42.0%,Hard,0.10821358464023274, https://leetcode.com/problems/minimize-malware-spread
314,Binary Tree Vertical Order Traversal,45.3%,Medium,0.10758430200165091, https://leetcode.com/problems/binary-tree-vertical-order-traversal
658,Find K Closest Elements,40.9%,Medium,0.0995648587647672, https://leetcode.com/problems/find-k-closest-elements
611,Valid Triangle Number,48.4%,Medium,0.09333193979221914, https://leetcode.com/problems/valid-triangle-number
20,Valid Parentheses,39.0%,Easy,0.09286263438126167, https://leetcode.com/problems/valid-parentheses
991,Broken Calculator,45.6%,Medium,0.08515780834030685, https://leetcode.com/problems/broken-calculator
582,Kill Process,60.8%,Medium,0.08355588569097351, https://leetcode.com/problems/kill-process
56,Merge Intervals,39.3%,Medium,0.08339552430579078, https://leetcode.com/problems/merge-intervals
1297,Maximum Number of Occurrences of a Substring,47.3%,Medium,0.07770898432731625, https://leetcode.com/problems/maximum-number-of-occurrences-of-a-substring
1347,Minimum Number of Steps to Make Two Strings Anagram,74.7%,Medium,0.07742472477971579, https://leetcode.com/problems/minimum-number-of-steps-to-make-two-strings-anagram
214,Shortest Palindrome,29.8%,Hard,0.0753494372417868, https://leetcode.com/problems/shortest-palindrome
463,Island Perimeter,65.7%,Easy,0.06646080650226213, https://leetcode.com/problems/island-perimeter
1145,Binary Tree Coloring Game,51.2%,Medium,0.06592172080482424, https://leetcode.com/problems/binary-tree-coloring-game
242,Valid Anagram,56.9%,Easy,0.06447998055429512, https://leetcode.com/problems/valid-anagram
3,Longest Substring Without Repeating Characters,30.4%,Medium,0.06370380162663494, https://leetcode.com/problems/longest-substring-without-repeating-characters
353,Design Snake Game,34.2%,Medium,0.06053284922884233, https://leetcode.com/problems/design-snake-game
1,Two Sum,45.6%,Easy,0.057621231679235815, https://leetcode.com/problems/two-sum
128,Longest Consecutive Sequence,45.1%,Hard,0.05527490034186498, https://leetcode.com/problems/longest-consecutive-sequence
1054,Distant Barcodes,43.2%,Medium,0.054435206555017046, https://leetcode.com/problems/distant-barcodes
12,Integer to Roman,55.1%,Medium,0.05217122936969127, https://leetcode.com/problems/integer-to-roman
286,Walls and Gates,54.5%,Medium,0.05155780966485001, https://leetcode.com/problems/walls-and-gates
1312,Minimum Insertion Steps to Make a String Palindrome,58.1%,Hard,0.050261834780888255, https://leetcode.com/problems/minimum-insertion-steps-to-make-a-string-palindrome
10,Regular Expression Matching,26.8%,Hard,0.04409107726484965, https://leetcode.com/problems/regular-expression-matching
140,Word Break II,32.6%,Hard,0.04245795568707049, https://leetcode.com/problems/word-break-ii
1155,Number of Dice Rolls With Target Sum,49.0%,Medium,0.04204262329555109, https://leetcode.com/problems/number-of-dice-rolls-with-target-sum
33,Search in Rotated Sorted Array,34.5%,Medium,0.03886602267922457, https://leetcode.com/problems/search-in-rotated-sorted-array
797,All Paths From Source to Target,77.9%,Medium,0.03881156536434583, https://leetcode.com/problems/all-paths-from-source-to-target
138,Copy List with Random Pointer,36.4%,Medium,0.03807953223592622, https://leetcode.com/problems/copy-list-with-random-pointer
139,Word Break,40.1%,Medium,0.03451593709018879, https://leetcode.com/problems/word-break
53,Maximum Subarray,46.5%,Easy,0.03412208634661372, https://leetcode.com/problems/maximum-subarray
79,Word Search,35.6%,Medium,0.03318208821436187, https://leetcode.com/problems/word-search
694,Number of Distinct Islands,56.0%,Medium,0.03278982282299087, https://leetcode.com/problems/number-of-distinct-islands
1123,Lowest Common Ancestor of Deepest Leaves,66.8%,Medium,0.03147388037973136, https://leetcode.com/problems/lowest-common-ancestor-of-deepest-leaves
460,LFU Cache,34.2%,Hard,0.030962225603966897, https://leetcode.com/problems/lfu-cache
332,Reconstruct Itinerary,36.7%,Medium,0.030687713231237448, https://leetcode.com/problems/reconstruct-itinerary
85,Maximal Rectangle,37.7%,Hard,0.029754261081792705, https://leetcode.com/problems/maximal-rectangle
695,Max Area of Island,62.7%,Medium,0.028321590863246118, https://leetcode.com/problems/max-area-of-island
518,Coin Change 2,50.2%,Medium,0.027969505010125056, https://leetcode.com/problems/coin-change-2
121,Best Time to Buy and Sell Stock,50.5%,Easy,0.0257124040167447, https://leetcode.com/problems/best-time-to-buy-and-sell-stock
283,Move Zeroes,57.8%,Easy,0.025673520193393074, https://leetcode.com/problems/move-zeroes
90,Subsets II,47.1%,Medium,0.025497131933483772, https://leetcode.com/problems/subsets-ii
41,First Missing Positive,32.0%,Hard,0.02540222313806603, https://leetcode.com/problems/first-missing-positive
322,Coin Change,35.5%,Medium,0.024924029676386045, https://leetcode.com/problems/coin-change
30,Substring with Concatenation of All Words,25.4%,Hard,0.02486144206532915, https://leetcode.com/problems/substring-with-concatenation-of-all-words
752,Open the Lock,51.8%,Medium,0.024586364440127736, https://leetcode.com/problems/open-the-lock
395,Longest Substring with At Least K Repeating Characters,41.4%,Medium,0.024228925974379843, https://leetcode.com/problems/longest-substring-with-at-least-k-repeating-characters
348,Design Tic-Tac-Toe,54.3%,Medium,0.024214258120594613, https://leetcode.com/problems/design-tic-tac-toe
662,Maximum Width of Binary Tree,41.0%,Medium,0.024116924478312346, https://leetcode.com/problems/maximum-width-of-binary-tree
78,Subsets,62.0%,Medium,0.022827872206034577, https://leetcode.com/problems/subsets
102,Binary Tree Level Order Traversal,54.6%,Medium,0.02252956425342345, https://leetcode.com/problems/binary-tree-level-order-traversal
285,Inorder Successor in BST,40.4%,Medium,0.02233482010057984, https://leetcode.com/problems/inorder-successor-in-bst
105,Construct Binary Tree from Preorder and Inorder Traversal,48.8%,Medium,0.022325470299025416, https://leetcode.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal
221,Maximal Square,37.7%,Medium,0.022108490754203434, https://leetcode.com/problems/maximal-square
424,Longest Repeating Character Replacement,47.0%,Medium,0.020461071871340063, https://leetcode.com/problems/longest-repeating-character-replacement
5,Longest Palindromic Substring,29.5%,Medium,0.020329346568668867, https://leetcode.com/problems/longest-palindromic-substring
784,Letter Case Permutation,64.6%,Medium,0.02026411791905559, https://leetcode.com/problems/letter-case-permutation
69,Sqrt(x),33.9%,Easy,0.020253856904497686, https://leetcode.com/problems/sqrtx
15,3Sum,26.8%,Medium,0.019619157889188592, https://leetcode.com/problems/3sum
399,Evaluate Division,51.6%,Medium,0.019380451549662482, https://leetcode.com/problems/evaluate-division
721,Accounts Merge,48.8%,Medium,0.01888630262874805, https://leetcode.com/problems/accounts-merge
209,Minimum Size Subarray Sum,38.2%,Medium,0.018832948333092125, https://leetcode.com/problems/minimum-size-subarray-sum
88,Merge Sorted Array,39.4%,Easy,0.018667009593356397, https://leetcode.com/problems/merge-sorted-array
84,Largest Rectangle in Histogram,35.2%,Hard,0.01866112622166295, https://leetcode.com/problems/largest-rectangle-in-histogram
126,Word Ladder II,22.1%,Hard,0.017994187717865196, https://leetcode.com/problems/word-ladder-ii
292,Nim Game,54.9%,Easy,0.01796186592859277, https://leetcode.com/problems/nim-game
6,ZigZag Conversion,36.3%,Medium,0.01726827253226344, https://leetcode.com/problems/zigzag-conversion
402,Remove K Digits,28.4%,Medium,0.016863806052004816, https://leetcode.com/problems/remove-k-digits
692,Top K Frequent Words,51.8%,Medium,0.016832265743172113, https://leetcode.com/problems/top-k-frequent-words
188,Best Time to Buy and Sell Stock IV,28.0%,Hard,0.01651565203072114, https://leetcode.com/problems/best-time-to-buy-and-sell-stock-iv
116,Populating Next Right Pointers in Each Node,45.2%,Medium,0.016432723251567683, https://leetcode.com/problems/populating-next-right-pointers-in-each-node
23,Merge k Sorted Lists,40.2%,Hard,0.016108271385328228, https://leetcode.com/problems/merge-k-sorted-lists
4,Median of Two Sorted Arrays,29.6%,Hard,0.015510198481701449, https://leetcode.com/problems/median-of-two-sorted-arrays
315,Count of Smaller Numbers After Self,41.5%,Hard,0.014352596574956585, https://leetcode.com/problems/count-of-smaller-numbers-after-self
21,Merge Two Sorted Lists,53.5%,Easy,0.014012111332134735, https://leetcode.com/problems/merge-two-sorted-lists
404,Sum of Left Leaves,50.9%,Easy,0.013981353230340547, https://leetcode.com/problems/sum-of-left-leaves
724,Find Pivot Index,44.0%,Easy,0.013850636933899008, https://leetcode.com/problems/find-pivot-index
44,Wildcard Matching,24.7%,Hard,0.013703537497261858, https://leetcode.com/problems/wildcard-matching
101,Symmetric Tree,46.8%,Easy,0.013553786479814183, https://leetcode.com/problems/symmetric-tree
127,Word Ladder,29.6%,Medium,0.013403030127340374, https://leetcode.com/problems/word-ladder
347,Top K Frequent Elements,61.2%,Medium,0.01329217620893675, https://leetcode.com/problems/top-k-frequent-elements
152,Maximum Product Subarray,31.7%,Medium,0.012534983069696118, https://leetcode.com/problems/maximum-product-subarray
112,Path Sum,41.2%,Easy,0.012265076074932503, https://leetcode.com/problems/path-sum
273,Integer to English Words,27.1%,Hard,0.012081089250339716, https://leetcode.com/problems/integer-to-english-words
123,Best Time to Buy and Sell Stock III,37.5%,Hard,0.011261380272539033, https://leetcode.com/problems/best-time-to-buy-and-sell-stock-iii
338,Counting Bits,69.5%,Medium,0.01088446119842327, https://leetcode.com/problems/counting-bits
92,Reverse Linked List II,38.8%,Medium,0.010427623162259089, https://leetcode.com/problems/reverse-linked-list-ii
234,Palindrome Linked List,39.3%,Easy,0.010171877938733932, https://leetcode.com/problems/palindrome-linked-list
621,Task Scheduler,50.1%,Medium,0.009334412329990095, https://leetcode.com/problems/task-scheduler
1249,Minimum Remove to Make Valid Parentheses,62.5%,Medium,0.009195467093100304, https://leetcode.com/problems/minimum-remove-to-make-valid-parentheses
125,Valid Palindrome,36.7%,Easy,0.008933948641551634, https://leetcode.com/problems/valid-palindrome
49,Group Anagrams,56.9%,Medium,0.008538951314232168, https://leetcode.com/problems/group-anagrams
173,Binary Search Tree Iterator,56.6%,Medium,0.008489015324911316, https://leetcode.com/problems/binary-search-tree-iterator
153,Find Minimum in Rotated Sorted Array,45.1%,Medium,0.008430963288799368, https://leetcode.com/problems/find-minimum-in-rotated-sorted-array
239,Sliding Window Maximum,43.0%,Hard,0.007898935224534491, https://leetcode.com/problems/sliding-window-maximum
328,Odd Even Linked List,55.7%,Medium,0.00764383618585562, https://leetcode.com/problems/odd-even-linked-list
415,Add Strings,47.5%,Easy,0.007587289812159497, https://leetcode.com/problems/add-strings
122,Best Time to Buy and Sell Stock II,57.0%,Easy,0.007532046655581962, https://leetcode.com/problems/best-time-to-buy-and-sell-stock-ii
412,Fizz Buzz,62.3%,Easy,0.007165921026143679, https://leetcode.com/problems/fizz-buzz
110,Balanced Binary Tree,43.5%,Easy,0.007027435807456887, https://leetcode.com/problems/balanced-binary-tree
114,Flatten Binary Tree to Linked List,49.3%,Medium,0.006896579059060353, https://leetcode.com/problems/flatten-binary-tree-to-linked-list
448,Find All Numbers Disappeared in an Array,55.9%,Easy,0.006863444924982415, https://leetcode.com/problems/find-all-numbers-disappeared-in-an-array
54,Spiral Matrix,34.1%,Medium,0.0065941551175130245, https://leetcode.com/problems/spiral-matrix
136,Single Number,65.5%,Easy,0.006445166968713385, https://leetcode.com/problems/single-number
24,Swap Nodes in Pairs,50.4%,Medium,0.0062218275061505365, https://leetcode.com/problems/swap-nodes-in-pairs
64,Minimum Path Sum,54.5%,Medium,0.006127470152097104, https://leetcode.com/problems/minimum-path-sum
91,Decode Ways,24.7%,Medium,0.005968385368349129, https://leetcode.com/problems/decode-ways
199,Binary Tree Right Side View,54.1%,Medium,0.0056826406650506926, https://leetcode.com/problems/binary-tree-right-side-view
237,Delete Node in a Linked List,63.8%,Easy,0.005144705881237697, https://leetcode.com/problems/delete-node-in-a-linked-list
207,Course Schedule,43.1%,Medium,0.004964021114211758, https://leetcode.com/problems/course-schedule
62,Unique Paths,54.1%,Medium,0.004621080312067025, https://leetcode.com/problems/unique-paths
34,Find First and Last Position of Element in Sorted Array,36.2%,Medium,0.004247643638268045, https://leetcode.com/problems/find-first-and-last-position-of-element-in-sorted-array
8,String to Integer (atoi),15.4%,Medium,0.0037925521897059712, https://leetcode.com/problems/string-to-integer-atoi
13,Roman to Integer,55.7%,Easy,0.003428770717317083, https://leetcode.com/problems/roman-to-integer
14,Longest Common Prefix,35.4%,Easy,0.003320331762984143, https://leetcode.com/problems/longest-common-prefix
19,Remove Nth Node From End of List,35.2%,Medium,0.003076452203393495, https://leetcode.com/problems/remove-nth-node-from-end-of-list
1480,Running Sum of 1d Array,90.5%,Easy,0.0026196884456014947, https://leetcode.com/problems/running-sum-of-1d-array
258,Add Digits,57.6%,Easy,0.0020686809197766587, https://leetcode.com/problems/add-digits
26,Remove Duplicates from Sorted Array,45.1%,Easy,0.0019513153174351963, https://leetcode.com/problems/remove-duplicates-from-sorted-array
7,Reverse Integer,25.8%,Easy,0.0018612447790907708, https://leetcode.com/problems/reverse-integer
103,Binary Tree Zigzag Level Order Traversal,48.3%,Medium,0.0017084529846397953, https://leetcode.com/problems/binary-tree-zigzag-level-order-traversal
50,Pow(x;n),30.3%,Medium,0.0014016892647828818, https://leetcode.com/problems/powx-n
1 1396 ID Design Underground System Title 64.7% Acceptance Medium Difficulty 1.6336239764997664 Frequency https://leetcode.com/problems/design-underground-system Leetcode Question Link
2 1274 1396 Number of Ships in a Rectangle Design Underground System 66.3% 64.7% Hard Medium 1.3841012723467938 1.6336239764997664 https://leetcode.com/problems/number-of-ships-in-a-rectangle https://leetcode.com/problems/design-underground-system
3 1169 1274 Invalid Transactions Number of Ships in a Rectangle 31.2% 66.3% Medium Hard 1.1345785681938212 1.3841012723467938 https://leetcode.com/problems/invalid-transactions https://leetcode.com/problems/number-of-ships-in-a-rectangle
4 1209 1169 Remove All Adjacent Duplicates in String II Invalid Transactions 56.9% 31.2% Medium Medium 0.9182875611040503 1.1345785681938212 https://leetcode.com/problems/remove-all-adjacent-duplicates-in-string-ii https://leetcode.com/problems/invalid-transactions
5 394 1209 Decode String Remove All Adjacent Duplicates in String II 50.0% 56.9% Medium Medium 0.8695403064407496 0.9182875611040503 https://leetcode.com/problems/decode-string https://leetcode.com/problems/remove-all-adjacent-duplicates-in-string-ii
6 430 394 Flatten a Multilevel Doubly Linked List Decode String 55.1% 50.0% Medium Medium 0.620017602287777 0.8695403064407496 https://leetcode.com/problems/flatten-a-multilevel-doubly-linked-list https://leetcode.com/problems/decode-string
7 200 430 Number of Islands Flatten a Multilevel Doubly Linked List 46.8% 55.1% Medium Medium 0.581027429947078 0.620017602287777 https://leetcode.com/problems/number-of-islands https://leetcode.com/problems/flatten-a-multilevel-doubly-linked-list
8 253 200 Meeting Rooms II Number of Islands 45.7% 46.8% Medium Medium 0.46127061637748534 0.581027429947078 https://leetcode.com/problems/meeting-rooms-ii https://leetcode.com/problems/number-of-islands
9 1472 253 Design Browser History Meeting Rooms II 64.6% 45.7% Medium Medium 0.41985384556026395 0.46127061637748534 https://leetcode.com/problems/design-browser-history https://leetcode.com/problems/meeting-rooms-ii
10 146 1472 LRU Cache Design Browser History 33.2% 64.6% Medium Medium 0.4110212101491863 0.41985384556026395 https://leetcode.com/problems/lru-cache https://leetcode.com/problems/design-browser-history
11 445 146 Add Two Numbers II LRU Cache 54.5% 33.2% Medium Medium 0.3186792865497379 0.4110212101491863 https://leetcode.com/problems/add-two-numbers-ii https://leetcode.com/problems/lru-cache
12 987 445 Vertical Order Traversal of a Binary Tree Add Two Numbers II 36.6% 54.5% Medium Medium 0.30230623809780655 0.3186792865497379 https://leetcode.com/problems/vertical-order-traversal-of-a-binary-tree https://leetcode.com/problems/add-two-numbers-ii
13 1029 987 Two City Scheduling Vertical Order Traversal of a Binary Tree 56.1% 36.6% Easy Medium 0.23361485118150516 0.30230623809780655 https://leetcode.com/problems/two-city-scheduling https://leetcode.com/problems/vertical-order-traversal-of-a-binary-tree
14 98 1029 Validate Binary Search Tree Two City Scheduling 27.8% 56.1% Medium Easy 0.21414088449315205 0.23361485118150516 https://leetcode.com/problems/validate-binary-search-tree https://leetcode.com/problems/two-city-scheduling
15 117 98 Populating Next Right Pointers in Each Node II Validate Binary Search Tree 39.1% 27.8% Medium Medium 0.20860539286818253 0.21414088449315205 https://leetcode.com/problems/populating-next-right-pointers-in-each-node-ii https://leetcode.com/problems/validate-binary-search-tree
16 1244 117 Design A Leaderboard Populating Next Right Pointers in Each Node II 60.7% 39.1% Medium Medium 0.17763094743610072 0.20860539286818253 https://leetcode.com/problems/design-a-leaderboard https://leetcode.com/problems/populating-next-right-pointers-in-each-node-ii
17 387 1244 First Unique Character in a String Design A Leaderboard 53.4% 60.7% Easy Medium 0.16314262087986708 0.17763094743610072 https://leetcode.com/problems/first-unique-character-in-a-string https://leetcode.com/problems/design-a-leaderboard
18 2 387 Add Two Numbers First Unique Character in a String 33.9% 53.4% Medium Easy 0.15615258592389064 0.16314262087986708 https://leetcode.com/problems/add-two-numbers https://leetcode.com/problems/first-unique-character-in-a-string
19 723 2 Candy Crush Add Two Numbers 69.2% 33.9% Medium Medium 0.1475667107409061 0.15615258592389064 https://leetcode.com/problems/candy-crush https://leetcode.com/problems/add-two-numbers
20 380 723 Insert Delete GetRandom O(1) Candy Crush 47.5% 69.2% Medium Medium 0.1466146891661091 0.1475667107409061 https://leetcode.com/problems/insert-delete-getrandom-o1 https://leetcode.com/problems/candy-crush
21 384 380 Shuffle an Array Insert Delete GetRandom O(1) 52.8% 47.5% Medium Medium 0.12953764257899986 0.1466146891661091 https://leetcode.com/problems/shuffle-an-array https://leetcode.com/problems/insert-delete-getrandom-o1
22 42 384 Trapping Rain Water Shuffle an Array 48.9% 52.8% Hard Medium 0.12389276378675394 0.12953764257899986 https://leetcode.com/problems/trapping-rain-water https://leetcode.com/problems/shuffle-an-array
23 451 42 Sort Characters By Frequency Trapping Rain Water 63.0% 48.9% Medium Hard 0.11258362132121401 0.12389276378675394 https://leetcode.com/problems/sort-characters-by-frequency https://leetcode.com/problems/trapping-rain-water
24 155 451 Min Stack Sort Characters By Frequency 44.5% 63.0% Easy Medium 0.11244000234885869 0.11258362132121401 https://leetcode.com/problems/min-stack https://leetcode.com/problems/sort-characters-by-frequency
25 1188 155 Design Bounded Blocking Queue Min Stack 70.5% 44.5% Medium Easy 0.11030454201470608 0.11244000234885869 https://leetcode.com/problems/design-bounded-blocking-queue https://leetcode.com/problems/min-stack
26 924 1188 Minimize Malware Spread Design Bounded Blocking Queue 42.0% 70.5% Hard Medium 0.10821358464023274 0.11030454201470608 https://leetcode.com/problems/minimize-malware-spread https://leetcode.com/problems/design-bounded-blocking-queue
27 314 924 Binary Tree Vertical Order Traversal Minimize Malware Spread 45.3% 42.0% Medium Hard 0.10758430200165091 0.10821358464023274 https://leetcode.com/problems/binary-tree-vertical-order-traversal https://leetcode.com/problems/minimize-malware-spread
28 658 314 Find K Closest Elements Binary Tree Vertical Order Traversal 40.9% 45.3% Medium Medium 0.0995648587647672 0.10758430200165091 https://leetcode.com/problems/find-k-closest-elements https://leetcode.com/problems/binary-tree-vertical-order-traversal
29 611 658 Valid Triangle Number Find K Closest Elements 48.4% 40.9% Medium Medium 0.09333193979221914 0.0995648587647672 https://leetcode.com/problems/valid-triangle-number https://leetcode.com/problems/find-k-closest-elements
30 20 611 Valid Parentheses Valid Triangle Number 39.0% 48.4% Easy Medium 0.09286263438126167 0.09333193979221914 https://leetcode.com/problems/valid-parentheses https://leetcode.com/problems/valid-triangle-number
31 991 20 Broken Calculator Valid Parentheses 45.6% 39.0% Medium Easy 0.08515780834030685 0.09286263438126167 https://leetcode.com/problems/broken-calculator https://leetcode.com/problems/valid-parentheses
32 582 991 Kill Process Broken Calculator 60.8% 45.6% Medium Medium 0.08355588569097351 0.08515780834030685 https://leetcode.com/problems/kill-process https://leetcode.com/problems/broken-calculator
33 56 582 Merge Intervals Kill Process 39.3% 60.8% Medium Medium 0.08339552430579078 0.08355588569097351 https://leetcode.com/problems/merge-intervals https://leetcode.com/problems/kill-process
34 1297 56 Maximum Number of Occurrences of a Substring Merge Intervals 47.3% 39.3% Medium Medium 0.07770898432731625 0.08339552430579078 https://leetcode.com/problems/maximum-number-of-occurrences-of-a-substring https://leetcode.com/problems/merge-intervals
35 1347 1297 Minimum Number of Steps to Make Two Strings Anagram Maximum Number of Occurrences of a Substring 74.7% 47.3% Medium Medium 0.07742472477971579 0.07770898432731625 https://leetcode.com/problems/minimum-number-of-steps-to-make-two-strings-anagram https://leetcode.com/problems/maximum-number-of-occurrences-of-a-substring
36 214 1347 Shortest Palindrome Minimum Number of Steps to Make Two Strings Anagram 29.8% 74.7% Hard Medium 0.0753494372417868 0.07742472477971579 https://leetcode.com/problems/shortest-palindrome https://leetcode.com/problems/minimum-number-of-steps-to-make-two-strings-anagram
37 463 214 Island Perimeter Shortest Palindrome 65.7% 29.8% Easy Hard 0.06646080650226213 0.0753494372417868 https://leetcode.com/problems/island-perimeter https://leetcode.com/problems/shortest-palindrome
38 1145 463 Binary Tree Coloring Game Island Perimeter 51.2% 65.7% Medium Easy 0.06592172080482424 0.06646080650226213 https://leetcode.com/problems/binary-tree-coloring-game https://leetcode.com/problems/island-perimeter
39 242 1145 Valid Anagram Binary Tree Coloring Game 56.9% 51.2% Easy Medium 0.06447998055429512 0.06592172080482424 https://leetcode.com/problems/valid-anagram https://leetcode.com/problems/binary-tree-coloring-game
40 3 242 Longest Substring Without Repeating Characters Valid Anagram 30.4% 56.9% Medium Easy 0.06370380162663494 0.06447998055429512 https://leetcode.com/problems/longest-substring-without-repeating-characters https://leetcode.com/problems/valid-anagram
41 353 3 Design Snake Game Longest Substring Without Repeating Characters 34.2% 30.4% Medium Medium 0.06053284922884233 0.06370380162663494 https://leetcode.com/problems/design-snake-game https://leetcode.com/problems/longest-substring-without-repeating-characters
42 1 353 Two Sum Design Snake Game 45.6% 34.2% Easy Medium 0.057621231679235815 0.06053284922884233 https://leetcode.com/problems/two-sum https://leetcode.com/problems/design-snake-game
43 128 1 Longest Consecutive Sequence Two Sum 45.1% 45.6% Hard Easy 0.05527490034186498 0.057621231679235815 https://leetcode.com/problems/longest-consecutive-sequence https://leetcode.com/problems/two-sum
44 1054 128 Distant Barcodes Longest Consecutive Sequence 43.2% 45.1% Medium Hard 0.054435206555017046 0.05527490034186498 https://leetcode.com/problems/distant-barcodes https://leetcode.com/problems/longest-consecutive-sequence
45 12 1054 Integer to Roman Distant Barcodes 55.1% 43.2% Medium Medium 0.05217122936969127 0.054435206555017046 https://leetcode.com/problems/integer-to-roman https://leetcode.com/problems/distant-barcodes
46 286 12 Walls and Gates Integer to Roman 54.5% 55.1% Medium Medium 0.05155780966485001 0.05217122936969127 https://leetcode.com/problems/walls-and-gates https://leetcode.com/problems/integer-to-roman
47 1312 286 Minimum Insertion Steps to Make a String Palindrome Walls and Gates 58.1% 54.5% Hard Medium 0.050261834780888255 0.05155780966485001 https://leetcode.com/problems/minimum-insertion-steps-to-make-a-string-palindrome https://leetcode.com/problems/walls-and-gates
48 10 1312 Regular Expression Matching Minimum Insertion Steps to Make a String Palindrome 26.8% 58.1% Hard Hard 0.04409107726484965 0.050261834780888255 https://leetcode.com/problems/regular-expression-matching https://leetcode.com/problems/minimum-insertion-steps-to-make-a-string-palindrome
49 140 10 Word Break II Regular Expression Matching 32.6% 26.8% Hard Hard 0.04245795568707049 0.04409107726484965 https://leetcode.com/problems/word-break-ii https://leetcode.com/problems/regular-expression-matching
50 1155 140 Number of Dice Rolls With Target Sum Word Break II 49.0% 32.6% Medium Hard 0.04204262329555109 0.04245795568707049 https://leetcode.com/problems/number-of-dice-rolls-with-target-sum https://leetcode.com/problems/word-break-ii
51 33 1155 Search in Rotated Sorted Array Number of Dice Rolls With Target Sum 34.5% 49.0% Medium Medium 0.03886602267922457 0.04204262329555109 https://leetcode.com/problems/search-in-rotated-sorted-array https://leetcode.com/problems/number-of-dice-rolls-with-target-sum
52 797 33 All Paths From Source to Target Search in Rotated Sorted Array 77.9% 34.5% Medium Medium 0.03881156536434583 0.03886602267922457 https://leetcode.com/problems/all-paths-from-source-to-target https://leetcode.com/problems/search-in-rotated-sorted-array
53 138 797 Copy List with Random Pointer All Paths From Source to Target 36.4% 77.9% Medium Medium 0.03807953223592622 0.03881156536434583 https://leetcode.com/problems/copy-list-with-random-pointer https://leetcode.com/problems/all-paths-from-source-to-target
54 139 138 Word Break Copy List with Random Pointer 40.1% 36.4% Medium Medium 0.03451593709018879 0.03807953223592622 https://leetcode.com/problems/word-break https://leetcode.com/problems/copy-list-with-random-pointer
55 53 139 Maximum Subarray Word Break 46.5% 40.1% Easy Medium 0.03412208634661372 0.03451593709018879 https://leetcode.com/problems/maximum-subarray https://leetcode.com/problems/word-break
56 79 53 Word Search Maximum Subarray 35.6% 46.5% Medium Easy 0.03318208821436187 0.03412208634661372 https://leetcode.com/problems/word-search https://leetcode.com/problems/maximum-subarray
57 694 79 Number of Distinct Islands Word Search 56.0% 35.6% Medium Medium 0.03278982282299087 0.03318208821436187 https://leetcode.com/problems/number-of-distinct-islands https://leetcode.com/problems/word-search
58 1123 694 Lowest Common Ancestor of Deepest Leaves Number of Distinct Islands 66.8% 56.0% Medium Medium 0.03147388037973136 0.03278982282299087 https://leetcode.com/problems/lowest-common-ancestor-of-deepest-leaves https://leetcode.com/problems/number-of-distinct-islands
59 460 1123 LFU Cache Lowest Common Ancestor of Deepest Leaves 34.2% 66.8% Hard Medium 0.030962225603966897 0.03147388037973136 https://leetcode.com/problems/lfu-cache https://leetcode.com/problems/lowest-common-ancestor-of-deepest-leaves
60 332 460 Reconstruct Itinerary LFU Cache 36.7% 34.2% Medium Hard 0.030687713231237448 0.030962225603966897 https://leetcode.com/problems/reconstruct-itinerary https://leetcode.com/problems/lfu-cache
61 85 332 Maximal Rectangle Reconstruct Itinerary 37.7% 36.7% Hard Medium 0.029754261081792705 0.030687713231237448 https://leetcode.com/problems/maximal-rectangle https://leetcode.com/problems/reconstruct-itinerary
62 695 85 Max Area of Island Maximal Rectangle 62.7% 37.7% Medium Hard 0.028321590863246118 0.029754261081792705 https://leetcode.com/problems/max-area-of-island https://leetcode.com/problems/maximal-rectangle
63 518 695 Coin Change 2 Max Area of Island 50.2% 62.7% Medium Medium 0.027969505010125056 0.028321590863246118 https://leetcode.com/problems/coin-change-2 https://leetcode.com/problems/max-area-of-island
64 121 518 Best Time to Buy and Sell Stock Coin Change 2 50.5% 50.2% Easy Medium 0.0257124040167447 0.027969505010125056 https://leetcode.com/problems/best-time-to-buy-and-sell-stock https://leetcode.com/problems/coin-change-2
65 283 121 Move Zeroes Best Time to Buy and Sell Stock 57.8% 50.5% Easy Easy 0.025673520193393074 0.0257124040167447 https://leetcode.com/problems/move-zeroes https://leetcode.com/problems/best-time-to-buy-and-sell-stock
66 90 283 Subsets II Move Zeroes 47.1% 57.8% Medium Easy 0.025497131933483772 0.025673520193393074 https://leetcode.com/problems/subsets-ii https://leetcode.com/problems/move-zeroes
67 41 90 First Missing Positive Subsets II 32.0% 47.1% Hard Medium 0.02540222313806603 0.025497131933483772 https://leetcode.com/problems/first-missing-positive https://leetcode.com/problems/subsets-ii
68 322 41 Coin Change First Missing Positive 35.5% 32.0% Medium Hard 0.024924029676386045 0.02540222313806603 https://leetcode.com/problems/coin-change https://leetcode.com/problems/first-missing-positive
69 30 322 Substring with Concatenation of All Words Coin Change 25.4% 35.5% Hard Medium 0.02486144206532915 0.024924029676386045 https://leetcode.com/problems/substring-with-concatenation-of-all-words https://leetcode.com/problems/coin-change
70 752 30 Open the Lock Substring with Concatenation of All Words 51.8% 25.4% Medium Hard 0.024586364440127736 0.02486144206532915 https://leetcode.com/problems/open-the-lock https://leetcode.com/problems/substring-with-concatenation-of-all-words
71 395 752 Longest Substring with At Least K Repeating Characters Open the Lock 41.4% 51.8% Medium Medium 0.024228925974379843 0.024586364440127736 https://leetcode.com/problems/longest-substring-with-at-least-k-repeating-characters https://leetcode.com/problems/open-the-lock
72 348 395 Design Tic-Tac-Toe Longest Substring with At Least K Repeating Characters 54.3% 41.4% Medium Medium 0.024214258120594613 0.024228925974379843 https://leetcode.com/problems/design-tic-tac-toe https://leetcode.com/problems/longest-substring-with-at-least-k-repeating-characters
73 662 348 Maximum Width of Binary Tree Design Tic-Tac-Toe 41.0% 54.3% Medium Medium 0.024116924478312346 0.024214258120594613 https://leetcode.com/problems/maximum-width-of-binary-tree https://leetcode.com/problems/design-tic-tac-toe
74 78 662 Subsets Maximum Width of Binary Tree 62.0% 41.0% Medium Medium 0.022827872206034577 0.024116924478312346 https://leetcode.com/problems/subsets https://leetcode.com/problems/maximum-width-of-binary-tree
75 102 78 Binary Tree Level Order Traversal Subsets 54.6% 62.0% Medium Medium 0.02252956425342345 0.022827872206034577 https://leetcode.com/problems/binary-tree-level-order-traversal https://leetcode.com/problems/subsets
76 285 102 Inorder Successor in BST Binary Tree Level Order Traversal 40.4% 54.6% Medium Medium 0.02233482010057984 0.02252956425342345 https://leetcode.com/problems/inorder-successor-in-bst https://leetcode.com/problems/binary-tree-level-order-traversal
77 105 285 Construct Binary Tree from Preorder and Inorder Traversal Inorder Successor in BST 48.8% 40.4% Medium Medium 0.022325470299025416 0.02233482010057984 https://leetcode.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal https://leetcode.com/problems/inorder-successor-in-bst
78 221 105 Maximal Square Construct Binary Tree from Preorder and Inorder Traversal 37.7% 48.8% Medium Medium 0.022108490754203434 0.022325470299025416 https://leetcode.com/problems/maximal-square https://leetcode.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal
79 424 221 Longest Repeating Character Replacement Maximal Square 47.0% 37.7% Medium Medium 0.020461071871340063 0.022108490754203434 https://leetcode.com/problems/longest-repeating-character-replacement https://leetcode.com/problems/maximal-square
80 5 424 Longest Palindromic Substring Longest Repeating Character Replacement 29.5% 47.0% Medium Medium 0.020329346568668867 0.020461071871340063 https://leetcode.com/problems/longest-palindromic-substring https://leetcode.com/problems/longest-repeating-character-replacement
81 784 5 Letter Case Permutation Longest Palindromic Substring 64.6% 29.5% Medium Medium 0.02026411791905559 0.020329346568668867 https://leetcode.com/problems/letter-case-permutation https://leetcode.com/problems/longest-palindromic-substring
82 69 784 Sqrt(x) Letter Case Permutation 33.9% 64.6% Easy Medium 0.020253856904497686 0.02026411791905559 https://leetcode.com/problems/sqrtx https://leetcode.com/problems/letter-case-permutation
83 15 69 3Sum Sqrt(x) 26.8% 33.9% Medium Easy 0.019619157889188592 0.020253856904497686 https://leetcode.com/problems/3sum https://leetcode.com/problems/sqrtx
84 399 15 Evaluate Division 3Sum 51.6% 26.8% Medium Medium 0.019380451549662482 0.019619157889188592 https://leetcode.com/problems/evaluate-division https://leetcode.com/problems/3sum
85 721 399 Accounts Merge Evaluate Division 48.8% 51.6% Medium Medium 0.01888630262874805 0.019380451549662482 https://leetcode.com/problems/accounts-merge https://leetcode.com/problems/evaluate-division
86 209 721 Minimum Size Subarray Sum Accounts Merge 38.2% 48.8% Medium Medium 0.018832948333092125 0.01888630262874805 https://leetcode.com/problems/minimum-size-subarray-sum https://leetcode.com/problems/accounts-merge
87 88 209 Merge Sorted Array Minimum Size Subarray Sum 39.4% 38.2% Easy Medium 0.018667009593356397 0.018832948333092125 https://leetcode.com/problems/merge-sorted-array https://leetcode.com/problems/minimum-size-subarray-sum
88 84 88 Largest Rectangle in Histogram Merge Sorted Array 35.2% 39.4% Hard Easy 0.01866112622166295 0.018667009593356397 https://leetcode.com/problems/largest-rectangle-in-histogram https://leetcode.com/problems/merge-sorted-array
89 126 84 Word Ladder II Largest Rectangle in Histogram 22.1% 35.2% Hard Hard 0.017994187717865196 0.01866112622166295 https://leetcode.com/problems/word-ladder-ii https://leetcode.com/problems/largest-rectangle-in-histogram
90 292 126 Nim Game Word Ladder II 54.9% 22.1% Easy Hard 0.01796186592859277 0.017994187717865196 https://leetcode.com/problems/nim-game https://leetcode.com/problems/word-ladder-ii
91 6 292 ZigZag Conversion Nim Game 36.3% 54.9% Medium Easy 0.01726827253226344 0.01796186592859277 https://leetcode.com/problems/zigzag-conversion https://leetcode.com/problems/nim-game
92 402 6 Remove K Digits ZigZag Conversion 28.4% 36.3% Medium Medium 0.016863806052004816 0.01726827253226344 https://leetcode.com/problems/remove-k-digits https://leetcode.com/problems/zigzag-conversion
93 692 402 Top K Frequent Words Remove K Digits 51.8% 28.4% Medium Medium 0.016832265743172113 0.016863806052004816 https://leetcode.com/problems/top-k-frequent-words https://leetcode.com/problems/remove-k-digits
94 188 692 Best Time to Buy and Sell Stock IV Top K Frequent Words 28.0% 51.8% Hard Medium 0.01651565203072114 0.016832265743172113 https://leetcode.com/problems/best-time-to-buy-and-sell-stock-iv https://leetcode.com/problems/top-k-frequent-words
95 116 188 Populating Next Right Pointers in Each Node Best Time to Buy and Sell Stock IV 45.2% 28.0% Medium Hard 0.016432723251567683 0.01651565203072114 https://leetcode.com/problems/populating-next-right-pointers-in-each-node https://leetcode.com/problems/best-time-to-buy-and-sell-stock-iv
96 23 116 Merge k Sorted Lists Populating Next Right Pointers in Each Node 40.2% 45.2% Hard Medium 0.016108271385328228 0.016432723251567683 https://leetcode.com/problems/merge-k-sorted-lists https://leetcode.com/problems/populating-next-right-pointers-in-each-node
97 4 23 Median of Two Sorted Arrays Merge k Sorted Lists 29.6% 40.2% Hard Hard 0.015510198481701449 0.016108271385328228 https://leetcode.com/problems/median-of-two-sorted-arrays https://leetcode.com/problems/merge-k-sorted-lists
98 315 4 Count of Smaller Numbers After Self Median of Two Sorted Arrays 41.5% 29.6% Hard Hard 0.014352596574956585 0.015510198481701449 https://leetcode.com/problems/count-of-smaller-numbers-after-self https://leetcode.com/problems/median-of-two-sorted-arrays
99 21 315 Merge Two Sorted Lists Count of Smaller Numbers After Self 53.5% 41.5% Easy Hard 0.014012111332134735 0.014352596574956585 https://leetcode.com/problems/merge-two-sorted-lists https://leetcode.com/problems/count-of-smaller-numbers-after-self
100 404 21 Sum of Left Leaves Merge Two Sorted Lists 50.9% 53.5% Easy Easy 0.013981353230340547 0.014012111332134735 https://leetcode.com/problems/sum-of-left-leaves https://leetcode.com/problems/merge-two-sorted-lists
101 724 404 Find Pivot Index Sum of Left Leaves 44.0% 50.9% Easy Easy 0.013850636933899008 0.013981353230340547 https://leetcode.com/problems/find-pivot-index https://leetcode.com/problems/sum-of-left-leaves
102 44 724 Wildcard Matching Find Pivot Index 24.7% 44.0% Hard Easy 0.013703537497261858 0.013850636933899008 https://leetcode.com/problems/wildcard-matching https://leetcode.com/problems/find-pivot-index
103 101 44 Symmetric Tree Wildcard Matching 46.8% 24.7% Easy Hard 0.013553786479814183 0.013703537497261858 https://leetcode.com/problems/symmetric-tree https://leetcode.com/problems/wildcard-matching
104 127 101 Word Ladder Symmetric Tree 29.6% 46.8% Medium Easy 0.013403030127340374 0.013553786479814183 https://leetcode.com/problems/word-ladder https://leetcode.com/problems/symmetric-tree
105 347 127 Top K Frequent Elements Word Ladder 61.2% 29.6% Medium Medium 0.01329217620893675 0.013403030127340374 https://leetcode.com/problems/top-k-frequent-elements https://leetcode.com/problems/word-ladder
106 152 347 Maximum Product Subarray Top K Frequent Elements 31.7% 61.2% Medium Medium 0.012534983069696118 0.01329217620893675 https://leetcode.com/problems/maximum-product-subarray https://leetcode.com/problems/top-k-frequent-elements
107 112 152 Path Sum Maximum Product Subarray 41.2% 31.7% Easy Medium 0.012265076074932503 0.012534983069696118 https://leetcode.com/problems/path-sum https://leetcode.com/problems/maximum-product-subarray
108 273 112 Integer to English Words Path Sum 27.1% 41.2% Hard Easy 0.012081089250339716 0.012265076074932503 https://leetcode.com/problems/integer-to-english-words https://leetcode.com/problems/path-sum
109 123 273 Best Time to Buy and Sell Stock III Integer to English Words 37.5% 27.1% Hard Hard 0.011261380272539033 0.012081089250339716 https://leetcode.com/problems/best-time-to-buy-and-sell-stock-iii https://leetcode.com/problems/integer-to-english-words
110 338 123 Counting Bits Best Time to Buy and Sell Stock III 69.5% 37.5% Medium Hard 0.01088446119842327 0.011261380272539033 https://leetcode.com/problems/counting-bits https://leetcode.com/problems/best-time-to-buy-and-sell-stock-iii
111 92 338 Reverse Linked List II Counting Bits 38.8% 69.5% Medium Medium 0.010427623162259089 0.01088446119842327 https://leetcode.com/problems/reverse-linked-list-ii https://leetcode.com/problems/counting-bits
112 234 92 Palindrome Linked List Reverse Linked List II 39.3% 38.8% Easy Medium 0.010171877938733932 0.010427623162259089 https://leetcode.com/problems/palindrome-linked-list https://leetcode.com/problems/reverse-linked-list-ii
113 621 234 Task Scheduler Palindrome Linked List 50.1% 39.3% Medium Easy 0.009334412329990095 0.010171877938733932 https://leetcode.com/problems/task-scheduler https://leetcode.com/problems/palindrome-linked-list
114 1249 621 Minimum Remove to Make Valid Parentheses Task Scheduler 62.5% 50.1% Medium Medium 0.009195467093100304 0.009334412329990095 https://leetcode.com/problems/minimum-remove-to-make-valid-parentheses https://leetcode.com/problems/task-scheduler
115 125 1249 Valid Palindrome Minimum Remove to Make Valid Parentheses 36.7% 62.5% Easy Medium 0.008933948641551634 0.009195467093100304 https://leetcode.com/problems/valid-palindrome https://leetcode.com/problems/minimum-remove-to-make-valid-parentheses
116 49 125 Group Anagrams Valid Palindrome 56.9% 36.7% Medium Easy 0.008538951314232168 0.008933948641551634 https://leetcode.com/problems/group-anagrams https://leetcode.com/problems/valid-palindrome
117 173 49 Binary Search Tree Iterator Group Anagrams 56.6% 56.9% Medium Medium 0.008489015324911316 0.008538951314232168 https://leetcode.com/problems/binary-search-tree-iterator https://leetcode.com/problems/group-anagrams
118 153 173 Find Minimum in Rotated Sorted Array Binary Search Tree Iterator 45.1% 56.6% Medium Medium 0.008430963288799368 0.008489015324911316 https://leetcode.com/problems/find-minimum-in-rotated-sorted-array https://leetcode.com/problems/binary-search-tree-iterator
119 239 153 Sliding Window Maximum Find Minimum in Rotated Sorted Array 43.0% 45.1% Hard Medium 0.007898935224534491 0.008430963288799368 https://leetcode.com/problems/sliding-window-maximum https://leetcode.com/problems/find-minimum-in-rotated-sorted-array
120 328 239 Odd Even Linked List Sliding Window Maximum 55.7% 43.0% Medium Hard 0.00764383618585562 0.007898935224534491 https://leetcode.com/problems/odd-even-linked-list https://leetcode.com/problems/sliding-window-maximum
121 415 328 Add Strings Odd Even Linked List 47.5% 55.7% Easy Medium 0.007587289812159497 0.00764383618585562 https://leetcode.com/problems/add-strings https://leetcode.com/problems/odd-even-linked-list
122 122 415 Best Time to Buy and Sell Stock II Add Strings 57.0% 47.5% Easy Easy 0.007532046655581962 0.007587289812159497 https://leetcode.com/problems/best-time-to-buy-and-sell-stock-ii https://leetcode.com/problems/add-strings
123 412 122 Fizz Buzz Best Time to Buy and Sell Stock II 62.3% 57.0% Easy Easy 0.007165921026143679 0.007532046655581962 https://leetcode.com/problems/fizz-buzz https://leetcode.com/problems/best-time-to-buy-and-sell-stock-ii
124 110 412 Balanced Binary Tree Fizz Buzz 43.5% 62.3% Easy Easy 0.007027435807456887 0.007165921026143679 https://leetcode.com/problems/balanced-binary-tree https://leetcode.com/problems/fizz-buzz
125 114 110 Flatten Binary Tree to Linked List Balanced Binary Tree 49.3% 43.5% Medium Easy 0.006896579059060353 0.007027435807456887 https://leetcode.com/problems/flatten-binary-tree-to-linked-list https://leetcode.com/problems/balanced-binary-tree
126 448 114 Find All Numbers Disappeared in an Array Flatten Binary Tree to Linked List 55.9% 49.3% Easy Medium 0.006863444924982415 0.006896579059060353 https://leetcode.com/problems/find-all-numbers-disappeared-in-an-array https://leetcode.com/problems/flatten-binary-tree-to-linked-list
127 54 448 Spiral Matrix Find All Numbers Disappeared in an Array 34.1% 55.9% Medium Easy 0.0065941551175130245 0.006863444924982415 https://leetcode.com/problems/spiral-matrix https://leetcode.com/problems/find-all-numbers-disappeared-in-an-array
128 136 54 Single Number Spiral Matrix 65.5% 34.1% Easy Medium 0.006445166968713385 0.0065941551175130245 https://leetcode.com/problems/single-number https://leetcode.com/problems/spiral-matrix
129 24 136 Swap Nodes in Pairs Single Number 50.4% 65.5% Medium Easy 0.0062218275061505365 0.006445166968713385 https://leetcode.com/problems/swap-nodes-in-pairs https://leetcode.com/problems/single-number
130 64 24 Minimum Path Sum Swap Nodes in Pairs 54.5% 50.4% Medium Medium 0.006127470152097104 0.0062218275061505365 https://leetcode.com/problems/minimum-path-sum https://leetcode.com/problems/swap-nodes-in-pairs
131 91 64 Decode Ways Minimum Path Sum 24.7% 54.5% Medium Medium 0.005968385368349129 0.006127470152097104 https://leetcode.com/problems/decode-ways https://leetcode.com/problems/minimum-path-sum
132 199 91 Binary Tree Right Side View Decode Ways 54.1% 24.7% Medium Medium 0.0056826406650506926 0.005968385368349129 https://leetcode.com/problems/binary-tree-right-side-view https://leetcode.com/problems/decode-ways
133 237 199 Delete Node in a Linked List Binary Tree Right Side View 63.8% 54.1% Easy Medium 0.005144705881237697 0.0056826406650506926 https://leetcode.com/problems/delete-node-in-a-linked-list https://leetcode.com/problems/binary-tree-right-side-view
134 207 237 Course Schedule Delete Node in a Linked List 43.1% 63.8% Medium Easy 0.004964021114211758 0.005144705881237697 https://leetcode.com/problems/course-schedule https://leetcode.com/problems/delete-node-in-a-linked-list
135 62 207 Unique Paths Course Schedule 54.1% 43.1% Medium Medium 0.004621080312067025 0.004964021114211758 https://leetcode.com/problems/unique-paths https://leetcode.com/problems/course-schedule
136 34 62 Find First and Last Position of Element in Sorted Array Unique Paths 36.2% 54.1% Medium Medium 0.004247643638268045 0.004621080312067025 https://leetcode.com/problems/find-first-and-last-position-of-element-in-sorted-array https://leetcode.com/problems/unique-paths
137 8 34 String to Integer (atoi) Find First and Last Position of Element in Sorted Array 15.4% 36.2% Medium Medium 0.0037925521897059712 0.004247643638268045 https://leetcode.com/problems/string-to-integer-atoi https://leetcode.com/problems/find-first-and-last-position-of-element-in-sorted-array
138 13 8 Roman to Integer String to Integer (atoi) 55.7% 15.4% Easy Medium 0.003428770717317083 0.0037925521897059712 https://leetcode.com/problems/roman-to-integer https://leetcode.com/problems/string-to-integer-atoi
139 14 13 Longest Common Prefix Roman to Integer 35.4% 55.7% Easy Easy 0.003320331762984143 0.003428770717317083 https://leetcode.com/problems/longest-common-prefix https://leetcode.com/problems/roman-to-integer
140 19 14 Remove Nth Node From End of List Longest Common Prefix 35.2% 35.4% Medium Easy 0.003076452203393495 0.003320331762984143 https://leetcode.com/problems/remove-nth-node-from-end-of-list https://leetcode.com/problems/longest-common-prefix
141 1480 19 Running Sum of 1d Array Remove Nth Node From End of List 90.5% 35.2% Easy Medium 0.0026196884456014947 0.003076452203393495 https://leetcode.com/problems/running-sum-of-1d-array https://leetcode.com/problems/remove-nth-node-from-end-of-list
142 258 1480 Add Digits Running Sum of 1d Array 57.6% 90.5% Easy Easy 0.0020686809197766587 0.0026196884456014947 https://leetcode.com/problems/add-digits https://leetcode.com/problems/running-sum-of-1d-array
143 26 258 Remove Duplicates from Sorted Array Add Digits 45.1% 57.6% Easy Easy 0.0019513153174351963 0.0020686809197766587 https://leetcode.com/problems/remove-duplicates-from-sorted-array https://leetcode.com/problems/add-digits
144 7 26 Reverse Integer Remove Duplicates from Sorted Array 25.8% 45.1% Easy Easy 0.0018612447790907708 0.0019513153174351963 https://leetcode.com/problems/reverse-integer https://leetcode.com/problems/remove-duplicates-from-sorted-array
145 103 7 Binary Tree Zigzag Level Order Traversal Reverse Integer 48.3% 25.8% Medium Easy 0.0017084529846397953 0.0018612447790907708 https://leetcode.com/problems/binary-tree-zigzag-level-order-traversal https://leetcode.com/problems/reverse-integer
146 50 103 Pow(x;n) Binary Tree Zigzag Level Order Traversal 30.3% 48.3% Medium Medium 0.0014016892647828818 0.0017084529846397953 https://leetcode.com/problems/powx-n https://leetcode.com/problems/binary-tree-zigzag-level-order-traversal
147 50 Pow(x;n) 30.3% Medium 0.0014016892647828818 https://leetcode.com/problems/powx-n