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,114 +1,115 @@
1,Two Sum,45.6%,Easy,1.0504031269795928, https://leetcode.com/problems/two-sum
146,LRU Cache,33.2%,Medium,0.926846943318982, https://leetcode.com/problems/lru-cache
479,Largest Palindrome Product,29.0%,Hard,0.8032907596583713, https://leetcode.com/problems/largest-palindrome-product
21,Merge Two Sorted Lists,53.5%,Easy,0.7853099973687983, https://leetcode.com/problems/merge-two-sorted-lists
4,Median of Two Sorted Arrays,29.6%,Hard,0.7610346403858894, https://leetcode.com/problems/median-of-two-sorted-arrays
2,Add Two Numbers,33.9%,Medium,0.6795404182689078, https://leetcode.com/problems/add-two-numbers
5,Longest Palindromic Substring,29.5%,Medium,0.6502013445328179, https://leetcode.com/problems/longest-palindromic-substring
13,Roman to Integer,55.7%,Easy,0.6096336377374073, https://leetcode.com/problems/roman-to-integer
384,Shuffle an Array,52.8%,Medium,0.4860774540767966, https://leetcode.com/problems/shuffle-an-array
387,First Unique Character in a String,53.4%,Easy,0.48550781578170077, https://leetcode.com/problems/first-unique-character-in-a-string
23,Merge k Sorted Lists,40.2%,Hard,0.44418781328302553, https://leetcode.com/problems/merge-k-sorted-lists
238,Product of Array Except Self,60.1%,Medium,0.40402106453593073, https://leetcode.com/problems/product-of-array-except-self
205,Isomorphic Strings,39.8%,Easy,0.3839990482132866, https://leetcode.com/problems/isomorphic-strings
295,Find Median from Data Stream,44.3%,Hard,0.34887033918684873, https://leetcode.com/problems/find-median-from-data-stream
3,Longest Substring Without Repeating Characters,30.4%,Medium,0.32244532172494345, https://leetcode.com/problems/longest-substring-without-repeating-characters
15,3Sum,26.8%,Medium,0.3218570242502425, https://leetcode.com/problems/3sum
206,Reverse Linked List,62.5%,Easy,0.32033584826897005, https://leetcode.com/problems/reverse-linked-list
139,Word Break,40.1%,Medium,0.2923270241489888, https://leetcode.com/problems/word-break
322,Coin Change,35.5%,Medium,0.2727167684165738, https://leetcode.com/problems/coin-change
75,Sort Colors,47.3%,Medium,0.26772773680232625, https://leetcode.com/problems/sort-colors
7,Reverse Integer,25.8%,Easy,0.2635507930508001, https://leetcode.com/problems/reverse-integer
12,Integer to Roman,55.1%,Medium,0.25718087109817106, https://leetcode.com/problems/integer-to-roman
1168,Optimize Water Distribution in a Village,60.9%,Hard,0.24664152258151367, https://leetcode.com/problems/optimize-water-distribution-in-a-village
200,Number of Islands,46.8%,Medium,0.2444449971304404, https://leetcode.com/problems/number-of-islands
175,Combine Two Tables,60.8%,Easy,0.23623293593199463, https://leetcode.com/problems/combine-two-tables
22,Generate Parentheses,62.7%,Medium,0.23610403534378016, https://leetcode.com/problems/generate-parentheses
20,Valid Parentheses,39.0%,Easy,0.23602975009962368, https://leetcode.com/problems/valid-parentheses
49,Group Anagrams,56.9%,Medium,0.23355795379592467, https://leetcode.com/problems/group-anagrams
95,Unique Binary Search Trees II,40.6%,Medium,0.23140873085083383, https://leetcode.com/problems/unique-binary-search-trees-ii
121,Best Time to Buy and Sell Stock,50.5%,Easy,0.220651159985368, https://leetcode.com/problems/best-time-to-buy-and-sell-stock
204,Count Primes,31.5%,Easy,0.21851958006712824, https://leetcode.com/problems/count-primes
212,Word Search II,34.9%,Hard,0.21207376585128412, https://leetcode.com/problems/word-search-ii
273,Integer to English Words,27.1%,Hard,0.21100521366984107, https://leetcode.com/problems/integer-to-english-words
53,Maximum Subarray,46.5%,Easy,0.20616834410216844, https://leetcode.com/problems/maximum-subarray
362,Design Hit Counter,63.7%,Medium,0.20011109835745294, https://leetcode.com/problems/design-hit-counter
236,Lowest Common Ancestor of a Binary Tree,45.7%,Medium,0.19997225664986382, https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-tree
240,Search a 2D Matrix II,43.2%,Medium,0.199673934851342, https://leetcode.com/problems/search-a-2d-matrix-ii
160,Intersection of Two Linked Lists,40.6%,Easy,0.18126267087820316, https://leetcode.com/problems/intersection-of-two-linked-lists
46,Permutations,63.5%,Medium,0.17865549703058456, https://leetcode.com/problems/permutations
316,Remove Duplicate Letters,35.8%,Hard,0.1692074260063661, https://leetcode.com/problems/remove-duplicate-letters
102,Binary Tree Level Order Traversal,54.6%,Medium,0.15775607939386688, https://leetcode.com/problems/binary-tree-level-order-traversal
297,Serialize and Deserialize Binary Tree,47.5%,Hard,0.15573832539420163, https://leetcode.com/problems/serialize-and-deserialize-binary-tree
669,Trim a Binary Search Tree,63.0%,Easy,0.15441568579144338, https://leetcode.com/problems/trim-a-binary-search-tree
141,Linked List Cycle,41.1%,Easy,0.15195931150111644, https://leetcode.com/problems/linked-list-cycle
56,Merge Intervals,39.3%,Medium,0.1506602748874898, https://leetcode.com/problems/merge-intervals
215,Kth Largest Element in an Array,55.4%,Medium,0.1468246397351854, https://leetcode.com/problems/kth-largest-element-in-an-array
283,Move Zeroes,57.8%,Easy,0.1444351280411623, https://leetcode.com/problems/move-zeroes
33,Search in Rotated Sorted Array,34.5%,Medium,0.1416197608332402, https://leetcode.com/problems/search-in-rotated-sorted-array
17,Letter Combinations of a Phone Number,46.8%,Medium,0.1414394798141693, https://leetcode.com/problems/letter-combinations-of-a-phone-number
77,Combinations,54.7%,Medium,0.13693231153364, https://leetcode.com/problems/combinations
9,Palindrome Number,48.4%,Easy,0.13338577922783287, https://leetcode.com/problems/palindrome-number
169,Majority Element,58.7%,Easy,0.12824491182968498, https://leetcode.com/problems/majority-element
274,H-Index,36.1%,Medium,0.12351840574112768, https://leetcode.com/problems/h-index
217,Contains Duplicate,56.0%,Easy,0.12305339234280654, https://leetcode.com/problems/contains-duplicate
42,Trapping Rain Water,48.9%,Hard,0.11766836333242314, https://leetcode.com/problems/trapping-rain-water
34,Find First and Last Position of Element in Sorted Array,36.2%,Medium,0.11657877743606745, https://leetcode.com/problems/find-first-and-last-position-of-element-in-sorted-array
162,Find Peak Element,43.3%,Medium,0.1162765141658937, https://leetcode.com/problems/find-peak-element
284,Peeking Iterator,45.7%,Medium,0.11490387370472609, https://leetcode.com/problems/peeking-iterator
138,Copy List with Random Pointer,36.4%,Medium,0.11310689844326921, https://leetcode.com/problems/copy-list-with-random-pointer
93,Restore IP Addresses,35.6%,Medium,0.11242734769506908, https://leetcode.com/problems/restore-ip-addresses
79,Word Search,35.6%,Medium,0.11213285077655567, https://leetcode.com/problems/word-search
18,4Sum,33.7%,Medium,0.10887545776527079, https://leetcode.com/problems/4sum
503,Next Greater Element II,56.5%,Medium,0.10814330069305735, https://leetcode.com/problems/next-greater-element-ii
450,Delete Node in a BST,43.1%,Medium,0.10589656498719952, https://leetcode.com/problems/delete-node-in-a-bst
108,Convert Sorted Array to Binary Search Tree,57.9%,Easy,0.10267368950715268, https://leetcode.com/problems/convert-sorted-array-to-binary-search-tree
347,Top K Frequent Elements,61.2%,Medium,0.10086304939869323, https://leetcode.com/problems/top-k-frequent-elements
168,Excel Sheet Column Title,31.1%,Easy,0.09976368239756728, https://leetcode.com/problems/excel-sheet-column-title
605,Can Place Flowers,31.6%,Easy,0.09086837628235879, https://leetcode.com/problems/can-place-flowers
11,Container With Most Water,50.8%,Medium,0.08564331184863502, https://leetcode.com/problems/container-with-most-water
72,Edit Distance,44.8%,Hard,0.08301606966836801, https://leetcode.com/problems/edit-distance
771,Jewels and Stones,86.4%,Easy,0.08172573752382946, https://leetcode.com/problems/jewels-and-stones
131,Palindrome Partitioning,47.5%,Medium,0.07999145847429394, https://leetcode.com/problems/palindrome-partitioning
104,Maximum Depth of Binary Tree,66.0%,Easy,0.07782775325625388, https://leetcode.com/problems/maximum-depth-of-binary-tree
242,Valid Anagram,56.9%,Easy,0.0775954021309241, https://leetcode.com/problems/valid-anagram
237,Delete Node in a Linked List,63.8%,Easy,0.0756951835991673, https://leetcode.com/problems/delete-node-in-a-linked-list
416,Partition Equal Subset Sum,43.7%,Medium,0.07230612961778679, https://leetcode.com/problems/partition-equal-subset-sum
518,Coin Change 2,50.2%,Medium,0.07182868392350407, https://leetcode.com/problems/coin-change-2
76,Minimum Window Substring,34.6%,Hard,0.0702999835499499, https://leetcode.com/problems/minimum-window-substring
88,Merge Sorted Array,39.4%,Easy,0.0697535511282702, https://leetcode.com/problems/merge-sorted-array
394,Decode String,50.0%,Medium,0.06797633310328935, https://leetcode.com/problems/decode-string
98,Validate Binary Search Tree,27.8%,Medium,0.06792860018956545, https://leetcode.com/problems/validate-binary-search-tree
126,Word Ladder II,22.1%,Hard,0.06733716983208086, https://leetcode.com/problems/word-ladder-ii
378,Kth Smallest Element in a Sorted Matrix,54.3%,Medium,0.0671753972751187, https://leetcode.com/problems/kth-smallest-element-in-a-sorted-matrix
105,Construct Binary Tree from Preorder and Inorder Traversal,48.8%,Medium,0.06421700221172061, https://leetcode.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal
225,Implement Stack using Queues,45.1%,Easy,0.06160531164682534, https://leetcode.com/problems/implement-stack-using-queues
334,Increasing Triplet Subsequence,40.0%,Medium,0.06039571028973993, https://leetcode.com/problems/increasing-triplet-subsequence
207,Course Schedule,43.1%,Medium,0.05653177507667831, https://leetcode.com/problems/course-schedule
567,Permutation in String,44.4%,Medium,0.055589162884756134, https://leetcode.com/problems/permutation-in-string
32,Longest Valid Parentheses,28.4%,Hard,0.053811130379891575, https://leetcode.com/problems/longest-valid-parentheses
445,Add Two Numbers II,54.5%,Medium,0.046331389773728096, https://leetcode.com/problems/add-two-numbers-ii
28,Implement strStr(),34.5%,Easy,0.045302625302384346, https://leetcode.com/problems/implement-strstr
122,Best Time to Buy and Sell Stock II,57.0%,Easy,0.03890614539325958, https://leetcode.com/problems/best-time-to-buy-and-sell-stock-ii
560,Subarray Sum Equals K,43.9%,Medium,0.03610500464211627, https://leetcode.com/problems/subarray-sum-equals-k
78,Subsets,62.0%,Medium,0.03610109392687382, https://leetcode.com/problems/subsets
222,Count Complete Tree Nodes,46.8%,Medium,0.029882701600012697, https://leetcode.com/problems/count-complete-tree-nodes
176,Second Highest Salary,31.6%,Easy,0.02809173486701511, https://leetcode.com/problems/second-highest-salary
680,Valid Palindrome II,36.6%,Easy,0.027583200191427217, https://leetcode.com/problems/valid-palindrome-ii
114,Flatten Binary Tree to Linked List,49.3%,Medium,0.026213820787528385, https://leetcode.com/problems/flatten-binary-tree-to-linked-list
448,Find All Numbers Disappeared in an Array,55.9%,Easy,0.025954417138050502, https://leetcode.com/problems/find-all-numbers-disappeared-in-an-array
232,Implement Queue using Stacks,49.6%,Easy,0.024071769412583627, https://leetcode.com/problems/implement-queue-using-stacks
973,K Closest Points to Origin,63.8%,Medium,0.021855807808645634, https://leetcode.com/problems/k-closest-points-to-origin
746,Min Cost Climbing Stairs,50.3%,Easy,0.021092884180567165, https://leetcode.com/problems/min-cost-climbing-stairs
60,Permutation Sequence,38.4%,Hard,0.019268418865877057, https://leetcode.com/problems/permutation-sequence
863,All Nodes Distance K in Binary Tree,55.4%,Medium,0.0161554402222852, https://leetcode.com/problems/all-nodes-distance-k-in-binary-tree
178,Rank Scores,45.8%,Medium,0.01606460250380669, https://leetcode.com/problems/rank-scores
1108,Defanging an IP Address,87.5%,Easy,0.015715357479628243, https://leetcode.com/problems/defanging-an-ip-address
509,Fibonacci Number,67.2%,Easy,0.015283027980177014, https://leetcode.com/problems/fibonacci-number
557,Reverse Words in a String III,69.8%,Easy,0.01311494207782801, https://leetcode.com/problems/reverse-words-in-a-string-iii
260,Single Number III,64.3%,Medium,0.012571824032760881, https://leetcode.com/problems/single-number-iii
103,Binary Tree Zigzag Level Order Traversal,48.3%,Medium,0.006735449584647053, https://leetcode.com/problems/binary-tree-zigzag-level-order-traversal
491,Increasing Subsequences,46.1%,Medium,0, https://leetcode.com/problems/increasing-subsequences
624,Maximum Distance in Arrays,38.9%,Easy,0, https://leetcode.com/problems/maximum-distance-in-arrays
693,Binary Number with Alternating Bits,59.4%,Easy,0, https://leetcode.com/problems/binary-number-with-alternating-bits
1030,Matrix Cells in Distance Order,65.6%,Easy,0, https://leetcode.com/problems/matrix-cells-in-distance-order
ID,Title,Acceptance,Difficulty,Frequency,Leetcode Question Link
1,Two Sum,45.6%,Easy,1.0504031269795928, https://leetcode.com/problems/two-sum
146,LRU Cache,33.2%,Medium,0.926846943318982, https://leetcode.com/problems/lru-cache
479,Largest Palindrome Product,29.0%,Hard,0.8032907596583713, https://leetcode.com/problems/largest-palindrome-product
21,Merge Two Sorted Lists,53.5%,Easy,0.7853099973687983, https://leetcode.com/problems/merge-two-sorted-lists
4,Median of Two Sorted Arrays,29.6%,Hard,0.7610346403858894, https://leetcode.com/problems/median-of-two-sorted-arrays
2,Add Two Numbers,33.9%,Medium,0.6795404182689078, https://leetcode.com/problems/add-two-numbers
5,Longest Palindromic Substring,29.5%,Medium,0.6502013445328179, https://leetcode.com/problems/longest-palindromic-substring
13,Roman to Integer,55.7%,Easy,0.6096336377374073, https://leetcode.com/problems/roman-to-integer
384,Shuffle an Array,52.8%,Medium,0.4860774540767966, https://leetcode.com/problems/shuffle-an-array
387,First Unique Character in a String,53.4%,Easy,0.48550781578170077, https://leetcode.com/problems/first-unique-character-in-a-string
23,Merge k Sorted Lists,40.2%,Hard,0.44418781328302553, https://leetcode.com/problems/merge-k-sorted-lists
238,Product of Array Except Self,60.1%,Medium,0.40402106453593073, https://leetcode.com/problems/product-of-array-except-self
205,Isomorphic Strings,39.8%,Easy,0.3839990482132866, https://leetcode.com/problems/isomorphic-strings
295,Find Median from Data Stream,44.3%,Hard,0.34887033918684873, https://leetcode.com/problems/find-median-from-data-stream
3,Longest Substring Without Repeating Characters,30.4%,Medium,0.32244532172494345, https://leetcode.com/problems/longest-substring-without-repeating-characters
15,3Sum,26.8%,Medium,0.3218570242502425, https://leetcode.com/problems/3sum
206,Reverse Linked List,62.5%,Easy,0.32033584826897005, https://leetcode.com/problems/reverse-linked-list
139,Word Break,40.1%,Medium,0.2923270241489888, https://leetcode.com/problems/word-break
322,Coin Change,35.5%,Medium,0.2727167684165738, https://leetcode.com/problems/coin-change
75,Sort Colors,47.3%,Medium,0.26772773680232625, https://leetcode.com/problems/sort-colors
7,Reverse Integer,25.8%,Easy,0.2635507930508001, https://leetcode.com/problems/reverse-integer
12,Integer to Roman,55.1%,Medium,0.25718087109817106, https://leetcode.com/problems/integer-to-roman
1168,Optimize Water Distribution in a Village,60.9%,Hard,0.24664152258151367, https://leetcode.com/problems/optimize-water-distribution-in-a-village
200,Number of Islands,46.8%,Medium,0.2444449971304404, https://leetcode.com/problems/number-of-islands
175,Combine Two Tables,60.8%,Easy,0.23623293593199463, https://leetcode.com/problems/combine-two-tables
22,Generate Parentheses,62.7%,Medium,0.23610403534378016, https://leetcode.com/problems/generate-parentheses
20,Valid Parentheses,39.0%,Easy,0.23602975009962368, https://leetcode.com/problems/valid-parentheses
49,Group Anagrams,56.9%,Medium,0.23355795379592467, https://leetcode.com/problems/group-anagrams
95,Unique Binary Search Trees II,40.6%,Medium,0.23140873085083383, https://leetcode.com/problems/unique-binary-search-trees-ii
121,Best Time to Buy and Sell Stock,50.5%,Easy,0.220651159985368, https://leetcode.com/problems/best-time-to-buy-and-sell-stock
204,Count Primes,31.5%,Easy,0.21851958006712824, https://leetcode.com/problems/count-primes
212,Word Search II,34.9%,Hard,0.21207376585128412, https://leetcode.com/problems/word-search-ii
273,Integer to English Words,27.1%,Hard,0.21100521366984107, https://leetcode.com/problems/integer-to-english-words
53,Maximum Subarray,46.5%,Easy,0.20616834410216844, https://leetcode.com/problems/maximum-subarray
362,Design Hit Counter,63.7%,Medium,0.20011109835745294, https://leetcode.com/problems/design-hit-counter
236,Lowest Common Ancestor of a Binary Tree,45.7%,Medium,0.19997225664986382, https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-tree
240,Search a 2D Matrix II,43.2%,Medium,0.199673934851342, https://leetcode.com/problems/search-a-2d-matrix-ii
160,Intersection of Two Linked Lists,40.6%,Easy,0.18126267087820316, https://leetcode.com/problems/intersection-of-two-linked-lists
46,Permutations,63.5%,Medium,0.17865549703058456, https://leetcode.com/problems/permutations
316,Remove Duplicate Letters,35.8%,Hard,0.1692074260063661, https://leetcode.com/problems/remove-duplicate-letters
102,Binary Tree Level Order Traversal,54.6%,Medium,0.15775607939386688, https://leetcode.com/problems/binary-tree-level-order-traversal
297,Serialize and Deserialize Binary Tree,47.5%,Hard,0.15573832539420163, https://leetcode.com/problems/serialize-and-deserialize-binary-tree
669,Trim a Binary Search Tree,63.0%,Easy,0.15441568579144338, https://leetcode.com/problems/trim-a-binary-search-tree
141,Linked List Cycle,41.1%,Easy,0.15195931150111644, https://leetcode.com/problems/linked-list-cycle
56,Merge Intervals,39.3%,Medium,0.1506602748874898, https://leetcode.com/problems/merge-intervals
215,Kth Largest Element in an Array,55.4%,Medium,0.1468246397351854, https://leetcode.com/problems/kth-largest-element-in-an-array
283,Move Zeroes,57.8%,Easy,0.1444351280411623, https://leetcode.com/problems/move-zeroes
33,Search in Rotated Sorted Array,34.5%,Medium,0.1416197608332402, https://leetcode.com/problems/search-in-rotated-sorted-array
17,Letter Combinations of a Phone Number,46.8%,Medium,0.1414394798141693, https://leetcode.com/problems/letter-combinations-of-a-phone-number
77,Combinations,54.7%,Medium,0.13693231153364, https://leetcode.com/problems/combinations
9,Palindrome Number,48.4%,Easy,0.13338577922783287, https://leetcode.com/problems/palindrome-number
169,Majority Element,58.7%,Easy,0.12824491182968498, https://leetcode.com/problems/majority-element
274,H-Index,36.1%,Medium,0.12351840574112768, https://leetcode.com/problems/h-index
217,Contains Duplicate,56.0%,Easy,0.12305339234280654, https://leetcode.com/problems/contains-duplicate
42,Trapping Rain Water,48.9%,Hard,0.11766836333242314, https://leetcode.com/problems/trapping-rain-water
34,Find First and Last Position of Element in Sorted Array,36.2%,Medium,0.11657877743606745, https://leetcode.com/problems/find-first-and-last-position-of-element-in-sorted-array
162,Find Peak Element,43.3%,Medium,0.1162765141658937, https://leetcode.com/problems/find-peak-element
284,Peeking Iterator,45.7%,Medium,0.11490387370472609, https://leetcode.com/problems/peeking-iterator
138,Copy List with Random Pointer,36.4%,Medium,0.11310689844326921, https://leetcode.com/problems/copy-list-with-random-pointer
93,Restore IP Addresses,35.6%,Medium,0.11242734769506908, https://leetcode.com/problems/restore-ip-addresses
79,Word Search,35.6%,Medium,0.11213285077655567, https://leetcode.com/problems/word-search
18,4Sum,33.7%,Medium,0.10887545776527079, https://leetcode.com/problems/4sum
503,Next Greater Element II,56.5%,Medium,0.10814330069305735, https://leetcode.com/problems/next-greater-element-ii
450,Delete Node in a BST,43.1%,Medium,0.10589656498719952, https://leetcode.com/problems/delete-node-in-a-bst
108,Convert Sorted Array to Binary Search Tree,57.9%,Easy,0.10267368950715268, https://leetcode.com/problems/convert-sorted-array-to-binary-search-tree
347,Top K Frequent Elements,61.2%,Medium,0.10086304939869323, https://leetcode.com/problems/top-k-frequent-elements
168,Excel Sheet Column Title,31.1%,Easy,0.09976368239756728, https://leetcode.com/problems/excel-sheet-column-title
605,Can Place Flowers,31.6%,Easy,0.09086837628235879, https://leetcode.com/problems/can-place-flowers
11,Container With Most Water,50.8%,Medium,0.08564331184863502, https://leetcode.com/problems/container-with-most-water
72,Edit Distance,44.8%,Hard,0.08301606966836801, https://leetcode.com/problems/edit-distance
771,Jewels and Stones,86.4%,Easy,0.08172573752382946, https://leetcode.com/problems/jewels-and-stones
131,Palindrome Partitioning,47.5%,Medium,0.07999145847429394, https://leetcode.com/problems/palindrome-partitioning
104,Maximum Depth of Binary Tree,66.0%,Easy,0.07782775325625388, https://leetcode.com/problems/maximum-depth-of-binary-tree
242,Valid Anagram,56.9%,Easy,0.0775954021309241, https://leetcode.com/problems/valid-anagram
237,Delete Node in a Linked List,63.8%,Easy,0.0756951835991673, https://leetcode.com/problems/delete-node-in-a-linked-list
416,Partition Equal Subset Sum,43.7%,Medium,0.07230612961778679, https://leetcode.com/problems/partition-equal-subset-sum
518,Coin Change 2,50.2%,Medium,0.07182868392350407, https://leetcode.com/problems/coin-change-2
76,Minimum Window Substring,34.6%,Hard,0.0702999835499499, https://leetcode.com/problems/minimum-window-substring
88,Merge Sorted Array,39.4%,Easy,0.0697535511282702, https://leetcode.com/problems/merge-sorted-array
394,Decode String,50.0%,Medium,0.06797633310328935, https://leetcode.com/problems/decode-string
98,Validate Binary Search Tree,27.8%,Medium,0.06792860018956545, https://leetcode.com/problems/validate-binary-search-tree
126,Word Ladder II,22.1%,Hard,0.06733716983208086, https://leetcode.com/problems/word-ladder-ii
378,Kth Smallest Element in a Sorted Matrix,54.3%,Medium,0.0671753972751187, https://leetcode.com/problems/kth-smallest-element-in-a-sorted-matrix
105,Construct Binary Tree from Preorder and Inorder Traversal,48.8%,Medium,0.06421700221172061, https://leetcode.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal
225,Implement Stack using Queues,45.1%,Easy,0.06160531164682534, https://leetcode.com/problems/implement-stack-using-queues
334,Increasing Triplet Subsequence,40.0%,Medium,0.06039571028973993, https://leetcode.com/problems/increasing-triplet-subsequence
207,Course Schedule,43.1%,Medium,0.05653177507667831, https://leetcode.com/problems/course-schedule
567,Permutation in String,44.4%,Medium,0.055589162884756134, https://leetcode.com/problems/permutation-in-string
32,Longest Valid Parentheses,28.4%,Hard,0.053811130379891575, https://leetcode.com/problems/longest-valid-parentheses
445,Add Two Numbers II,54.5%,Medium,0.046331389773728096, https://leetcode.com/problems/add-two-numbers-ii
28,Implement strStr(),34.5%,Easy,0.045302625302384346, https://leetcode.com/problems/implement-strstr
122,Best Time to Buy and Sell Stock II,57.0%,Easy,0.03890614539325958, https://leetcode.com/problems/best-time-to-buy-and-sell-stock-ii
560,Subarray Sum Equals K,43.9%,Medium,0.03610500464211627, https://leetcode.com/problems/subarray-sum-equals-k
78,Subsets,62.0%,Medium,0.03610109392687382, https://leetcode.com/problems/subsets
222,Count Complete Tree Nodes,46.8%,Medium,0.029882701600012697, https://leetcode.com/problems/count-complete-tree-nodes
176,Second Highest Salary,31.6%,Easy,0.02809173486701511, https://leetcode.com/problems/second-highest-salary
680,Valid Palindrome II,36.6%,Easy,0.027583200191427217, https://leetcode.com/problems/valid-palindrome-ii
114,Flatten Binary Tree to Linked List,49.3%,Medium,0.026213820787528385, https://leetcode.com/problems/flatten-binary-tree-to-linked-list
448,Find All Numbers Disappeared in an Array,55.9%,Easy,0.025954417138050502, https://leetcode.com/problems/find-all-numbers-disappeared-in-an-array
232,Implement Queue using Stacks,49.6%,Easy,0.024071769412583627, https://leetcode.com/problems/implement-queue-using-stacks
973,K Closest Points to Origin,63.8%,Medium,0.021855807808645634, https://leetcode.com/problems/k-closest-points-to-origin
746,Min Cost Climbing Stairs,50.3%,Easy,0.021092884180567165, https://leetcode.com/problems/min-cost-climbing-stairs
60,Permutation Sequence,38.4%,Hard,0.019268418865877057, https://leetcode.com/problems/permutation-sequence
863,All Nodes Distance K in Binary Tree,55.4%,Medium,0.0161554402222852, https://leetcode.com/problems/all-nodes-distance-k-in-binary-tree
178,Rank Scores,45.8%,Medium,0.01606460250380669, https://leetcode.com/problems/rank-scores
1108,Defanging an IP Address,87.5%,Easy,0.015715357479628243, https://leetcode.com/problems/defanging-an-ip-address
509,Fibonacci Number,67.2%,Easy,0.015283027980177014, https://leetcode.com/problems/fibonacci-number
557,Reverse Words in a String III,69.8%,Easy,0.01311494207782801, https://leetcode.com/problems/reverse-words-in-a-string-iii
260,Single Number III,64.3%,Medium,0.012571824032760881, https://leetcode.com/problems/single-number-iii
103,Binary Tree Zigzag Level Order Traversal,48.3%,Medium,0.006735449584647053, https://leetcode.com/problems/binary-tree-zigzag-level-order-traversal
491,Increasing Subsequences,46.1%,Medium,0, https://leetcode.com/problems/increasing-subsequences
624,Maximum Distance in Arrays,38.9%,Easy,0, https://leetcode.com/problems/maximum-distance-in-arrays
693,Binary Number with Alternating Bits,59.4%,Easy,0, https://leetcode.com/problems/binary-number-with-alternating-bits
1030,Matrix Cells in Distance Order,65.6%,Easy,0, https://leetcode.com/problems/matrix-cells-in-distance-order
1 1 ID Two Sum Title 45.6% Acceptance Easy Difficulty 1.0504031269795928 Frequency https://leetcode.com/problems/two-sum Leetcode Question Link
2 146 1 LRU Cache Two Sum 33.2% 45.6% Medium Easy 0.926846943318982 1.0504031269795928 https://leetcode.com/problems/lru-cache https://leetcode.com/problems/two-sum
3 479 146 Largest Palindrome Product LRU Cache 29.0% 33.2% Hard Medium 0.8032907596583713 0.926846943318982 https://leetcode.com/problems/largest-palindrome-product https://leetcode.com/problems/lru-cache
4 21 479 Merge Two Sorted Lists Largest Palindrome Product 53.5% 29.0% Easy Hard 0.7853099973687983 0.8032907596583713 https://leetcode.com/problems/merge-two-sorted-lists https://leetcode.com/problems/largest-palindrome-product
5 4 21 Median of Two Sorted Arrays Merge Two Sorted Lists 29.6% 53.5% Hard Easy 0.7610346403858894 0.7853099973687983 https://leetcode.com/problems/median-of-two-sorted-arrays https://leetcode.com/problems/merge-two-sorted-lists
6 2 4 Add Two Numbers Median of Two Sorted Arrays 33.9% 29.6% Medium Hard 0.6795404182689078 0.7610346403858894 https://leetcode.com/problems/add-two-numbers https://leetcode.com/problems/median-of-two-sorted-arrays
7 5 2 Longest Palindromic Substring Add Two Numbers 29.5% 33.9% Medium Medium 0.6502013445328179 0.6795404182689078 https://leetcode.com/problems/longest-palindromic-substring https://leetcode.com/problems/add-two-numbers
8 13 5 Roman to Integer Longest Palindromic Substring 55.7% 29.5% Easy Medium 0.6096336377374073 0.6502013445328179 https://leetcode.com/problems/roman-to-integer https://leetcode.com/problems/longest-palindromic-substring
9 384 13 Shuffle an Array Roman to Integer 52.8% 55.7% Medium Easy 0.4860774540767966 0.6096336377374073 https://leetcode.com/problems/shuffle-an-array https://leetcode.com/problems/roman-to-integer
10 387 384 First Unique Character in a String Shuffle an Array 53.4% 52.8% Easy Medium 0.48550781578170077 0.4860774540767966 https://leetcode.com/problems/first-unique-character-in-a-string https://leetcode.com/problems/shuffle-an-array
11 23 387 Merge k Sorted Lists First Unique Character in a String 40.2% 53.4% Hard Easy 0.44418781328302553 0.48550781578170077 https://leetcode.com/problems/merge-k-sorted-lists https://leetcode.com/problems/first-unique-character-in-a-string
12 238 23 Product of Array Except Self Merge k Sorted Lists 60.1% 40.2% Medium Hard 0.40402106453593073 0.44418781328302553 https://leetcode.com/problems/product-of-array-except-self https://leetcode.com/problems/merge-k-sorted-lists
13 205 238 Isomorphic Strings Product of Array Except Self 39.8% 60.1% Easy Medium 0.3839990482132866 0.40402106453593073 https://leetcode.com/problems/isomorphic-strings https://leetcode.com/problems/product-of-array-except-self
14 295 205 Find Median from Data Stream Isomorphic Strings 44.3% 39.8% Hard Easy 0.34887033918684873 0.3839990482132866 https://leetcode.com/problems/find-median-from-data-stream https://leetcode.com/problems/isomorphic-strings
15 3 295 Longest Substring Without Repeating Characters Find Median from Data Stream 30.4% 44.3% Medium Hard 0.32244532172494345 0.34887033918684873 https://leetcode.com/problems/longest-substring-without-repeating-characters https://leetcode.com/problems/find-median-from-data-stream
16 15 3 3Sum Longest Substring Without Repeating Characters 26.8% 30.4% Medium Medium 0.3218570242502425 0.32244532172494345 https://leetcode.com/problems/3sum https://leetcode.com/problems/longest-substring-without-repeating-characters
17 206 15 Reverse Linked List 3Sum 62.5% 26.8% Easy Medium 0.32033584826897005 0.3218570242502425 https://leetcode.com/problems/reverse-linked-list https://leetcode.com/problems/3sum
18 139 206 Word Break Reverse Linked List 40.1% 62.5% Medium Easy 0.2923270241489888 0.32033584826897005 https://leetcode.com/problems/word-break https://leetcode.com/problems/reverse-linked-list
19 322 139 Coin Change Word Break 35.5% 40.1% Medium Medium 0.2727167684165738 0.2923270241489888 https://leetcode.com/problems/coin-change https://leetcode.com/problems/word-break
20 75 322 Sort Colors Coin Change 47.3% 35.5% Medium Medium 0.26772773680232625 0.2727167684165738 https://leetcode.com/problems/sort-colors https://leetcode.com/problems/coin-change
21 7 75 Reverse Integer Sort Colors 25.8% 47.3% Easy Medium 0.2635507930508001 0.26772773680232625 https://leetcode.com/problems/reverse-integer https://leetcode.com/problems/sort-colors
22 12 7 Integer to Roman Reverse Integer 55.1% 25.8% Medium Easy 0.25718087109817106 0.2635507930508001 https://leetcode.com/problems/integer-to-roman https://leetcode.com/problems/reverse-integer
23 1168 12 Optimize Water Distribution in a Village Integer to Roman 60.9% 55.1% Hard Medium 0.24664152258151367 0.25718087109817106 https://leetcode.com/problems/optimize-water-distribution-in-a-village https://leetcode.com/problems/integer-to-roman
24 200 1168 Number of Islands Optimize Water Distribution in a Village 46.8% 60.9% Medium Hard 0.2444449971304404 0.24664152258151367 https://leetcode.com/problems/number-of-islands https://leetcode.com/problems/optimize-water-distribution-in-a-village
25 175 200 Combine Two Tables Number of Islands 60.8% 46.8% Easy Medium 0.23623293593199463 0.2444449971304404 https://leetcode.com/problems/combine-two-tables https://leetcode.com/problems/number-of-islands
26 22 175 Generate Parentheses Combine Two Tables 62.7% 60.8% Medium Easy 0.23610403534378016 0.23623293593199463 https://leetcode.com/problems/generate-parentheses https://leetcode.com/problems/combine-two-tables
27 20 22 Valid Parentheses Generate Parentheses 39.0% 62.7% Easy Medium 0.23602975009962368 0.23610403534378016 https://leetcode.com/problems/valid-parentheses https://leetcode.com/problems/generate-parentheses
28 49 20 Group Anagrams Valid Parentheses 56.9% 39.0% Medium Easy 0.23355795379592467 0.23602975009962368 https://leetcode.com/problems/group-anagrams https://leetcode.com/problems/valid-parentheses
29 95 49 Unique Binary Search Trees II Group Anagrams 40.6% 56.9% Medium Medium 0.23140873085083383 0.23355795379592467 https://leetcode.com/problems/unique-binary-search-trees-ii https://leetcode.com/problems/group-anagrams
30 121 95 Best Time to Buy and Sell Stock Unique Binary Search Trees II 50.5% 40.6% Easy Medium 0.220651159985368 0.23140873085083383 https://leetcode.com/problems/best-time-to-buy-and-sell-stock https://leetcode.com/problems/unique-binary-search-trees-ii
31 204 121 Count Primes Best Time to Buy and Sell Stock 31.5% 50.5% Easy Easy 0.21851958006712824 0.220651159985368 https://leetcode.com/problems/count-primes https://leetcode.com/problems/best-time-to-buy-and-sell-stock
32 212 204 Word Search II Count Primes 34.9% 31.5% Hard Easy 0.21207376585128412 0.21851958006712824 https://leetcode.com/problems/word-search-ii https://leetcode.com/problems/count-primes
33 273 212 Integer to English Words Word Search II 27.1% 34.9% Hard Hard 0.21100521366984107 0.21207376585128412 https://leetcode.com/problems/integer-to-english-words https://leetcode.com/problems/word-search-ii
34 53 273 Maximum Subarray Integer to English Words 46.5% 27.1% Easy Hard 0.20616834410216844 0.21100521366984107 https://leetcode.com/problems/maximum-subarray https://leetcode.com/problems/integer-to-english-words
35 362 53 Design Hit Counter Maximum Subarray 63.7% 46.5% Medium Easy 0.20011109835745294 0.20616834410216844 https://leetcode.com/problems/design-hit-counter https://leetcode.com/problems/maximum-subarray
36 236 362 Lowest Common Ancestor of a Binary Tree Design Hit Counter 45.7% 63.7% Medium Medium 0.19997225664986382 0.20011109835745294 https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-tree https://leetcode.com/problems/design-hit-counter
37 240 236 Search a 2D Matrix II Lowest Common Ancestor of a Binary Tree 43.2% 45.7% Medium Medium 0.199673934851342 0.19997225664986382 https://leetcode.com/problems/search-a-2d-matrix-ii https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-tree
38 160 240 Intersection of Two Linked Lists Search a 2D Matrix II 40.6% 43.2% Easy Medium 0.18126267087820316 0.199673934851342 https://leetcode.com/problems/intersection-of-two-linked-lists https://leetcode.com/problems/search-a-2d-matrix-ii
39 46 160 Permutations Intersection of Two Linked Lists 63.5% 40.6% Medium Easy 0.17865549703058456 0.18126267087820316 https://leetcode.com/problems/permutations https://leetcode.com/problems/intersection-of-two-linked-lists
40 316 46 Remove Duplicate Letters Permutations 35.8% 63.5% Hard Medium 0.1692074260063661 0.17865549703058456 https://leetcode.com/problems/remove-duplicate-letters https://leetcode.com/problems/permutations
41 102 316 Binary Tree Level Order Traversal Remove Duplicate Letters 54.6% 35.8% Medium Hard 0.15775607939386688 0.1692074260063661 https://leetcode.com/problems/binary-tree-level-order-traversal https://leetcode.com/problems/remove-duplicate-letters
42 297 102 Serialize and Deserialize Binary Tree Binary Tree Level Order Traversal 47.5% 54.6% Hard Medium 0.15573832539420163 0.15775607939386688 https://leetcode.com/problems/serialize-and-deserialize-binary-tree https://leetcode.com/problems/binary-tree-level-order-traversal
43 669 297 Trim a Binary Search Tree Serialize and Deserialize Binary Tree 63.0% 47.5% Easy Hard 0.15441568579144338 0.15573832539420163 https://leetcode.com/problems/trim-a-binary-search-tree https://leetcode.com/problems/serialize-and-deserialize-binary-tree
44 141 669 Linked List Cycle Trim a Binary Search Tree 41.1% 63.0% Easy Easy 0.15195931150111644 0.15441568579144338 https://leetcode.com/problems/linked-list-cycle https://leetcode.com/problems/trim-a-binary-search-tree
45 56 141 Merge Intervals Linked List Cycle 39.3% 41.1% Medium Easy 0.1506602748874898 0.15195931150111644 https://leetcode.com/problems/merge-intervals https://leetcode.com/problems/linked-list-cycle
46 215 56 Kth Largest Element in an Array Merge Intervals 55.4% 39.3% Medium Medium 0.1468246397351854 0.1506602748874898 https://leetcode.com/problems/kth-largest-element-in-an-array https://leetcode.com/problems/merge-intervals
47 283 215 Move Zeroes Kth Largest Element in an Array 57.8% 55.4% Easy Medium 0.1444351280411623 0.1468246397351854 https://leetcode.com/problems/move-zeroes https://leetcode.com/problems/kth-largest-element-in-an-array
48 33 283 Search in Rotated Sorted Array Move Zeroes 34.5% 57.8% Medium Easy 0.1416197608332402 0.1444351280411623 https://leetcode.com/problems/search-in-rotated-sorted-array https://leetcode.com/problems/move-zeroes
49 17 33 Letter Combinations of a Phone Number Search in Rotated Sorted Array 46.8% 34.5% Medium Medium 0.1414394798141693 0.1416197608332402 https://leetcode.com/problems/letter-combinations-of-a-phone-number https://leetcode.com/problems/search-in-rotated-sorted-array
50 77 17 Combinations Letter Combinations of a Phone Number 54.7% 46.8% Medium Medium 0.13693231153364 0.1414394798141693 https://leetcode.com/problems/combinations https://leetcode.com/problems/letter-combinations-of-a-phone-number
51 9 77 Palindrome Number Combinations 48.4% 54.7% Easy Medium 0.13338577922783287 0.13693231153364 https://leetcode.com/problems/palindrome-number https://leetcode.com/problems/combinations
52 169 9 Majority Element Palindrome Number 58.7% 48.4% Easy Easy 0.12824491182968498 0.13338577922783287 https://leetcode.com/problems/majority-element https://leetcode.com/problems/palindrome-number
53 274 169 H-Index Majority Element 36.1% 58.7% Medium Easy 0.12351840574112768 0.12824491182968498 https://leetcode.com/problems/h-index https://leetcode.com/problems/majority-element
54 217 274 Contains Duplicate H-Index 56.0% 36.1% Easy Medium 0.12305339234280654 0.12351840574112768 https://leetcode.com/problems/contains-duplicate https://leetcode.com/problems/h-index
55 42 217 Trapping Rain Water Contains Duplicate 48.9% 56.0% Hard Easy 0.11766836333242314 0.12305339234280654 https://leetcode.com/problems/trapping-rain-water https://leetcode.com/problems/contains-duplicate
56 34 42 Find First and Last Position of Element in Sorted Array Trapping Rain Water 36.2% 48.9% Medium Hard 0.11657877743606745 0.11766836333242314 https://leetcode.com/problems/find-first-and-last-position-of-element-in-sorted-array https://leetcode.com/problems/trapping-rain-water
57 162 34 Find Peak Element Find First and Last Position of Element in Sorted Array 43.3% 36.2% Medium Medium 0.1162765141658937 0.11657877743606745 https://leetcode.com/problems/find-peak-element https://leetcode.com/problems/find-first-and-last-position-of-element-in-sorted-array
58 284 162 Peeking Iterator Find Peak Element 45.7% 43.3% Medium Medium 0.11490387370472609 0.1162765141658937 https://leetcode.com/problems/peeking-iterator https://leetcode.com/problems/find-peak-element
59 138 284 Copy List with Random Pointer Peeking Iterator 36.4% 45.7% Medium Medium 0.11310689844326921 0.11490387370472609 https://leetcode.com/problems/copy-list-with-random-pointer https://leetcode.com/problems/peeking-iterator
60 93 138 Restore IP Addresses Copy List with Random Pointer 35.6% 36.4% Medium Medium 0.11242734769506908 0.11310689844326921 https://leetcode.com/problems/restore-ip-addresses https://leetcode.com/problems/copy-list-with-random-pointer
61 79 93 Word Search Restore IP Addresses 35.6% 35.6% Medium Medium 0.11213285077655567 0.11242734769506908 https://leetcode.com/problems/word-search https://leetcode.com/problems/restore-ip-addresses
62 18 79 4Sum Word Search 33.7% 35.6% Medium Medium 0.10887545776527079 0.11213285077655567 https://leetcode.com/problems/4sum https://leetcode.com/problems/word-search
63 503 18 Next Greater Element II 4Sum 56.5% 33.7% Medium Medium 0.10814330069305735 0.10887545776527079 https://leetcode.com/problems/next-greater-element-ii https://leetcode.com/problems/4sum
64 450 503 Delete Node in a BST Next Greater Element II 43.1% 56.5% Medium Medium 0.10589656498719952 0.10814330069305735 https://leetcode.com/problems/delete-node-in-a-bst https://leetcode.com/problems/next-greater-element-ii
65 108 450 Convert Sorted Array to Binary Search Tree Delete Node in a BST 57.9% 43.1% Easy Medium 0.10267368950715268 0.10589656498719952 https://leetcode.com/problems/convert-sorted-array-to-binary-search-tree https://leetcode.com/problems/delete-node-in-a-bst
66 347 108 Top K Frequent Elements Convert Sorted Array to Binary Search Tree 61.2% 57.9% Medium Easy 0.10086304939869323 0.10267368950715268 https://leetcode.com/problems/top-k-frequent-elements https://leetcode.com/problems/convert-sorted-array-to-binary-search-tree
67 168 347 Excel Sheet Column Title Top K Frequent Elements 31.1% 61.2% Easy Medium 0.09976368239756728 0.10086304939869323 https://leetcode.com/problems/excel-sheet-column-title https://leetcode.com/problems/top-k-frequent-elements
68 605 168 Can Place Flowers Excel Sheet Column Title 31.6% 31.1% Easy Easy 0.09086837628235879 0.09976368239756728 https://leetcode.com/problems/can-place-flowers https://leetcode.com/problems/excel-sheet-column-title
69 11 605 Container With Most Water Can Place Flowers 50.8% 31.6% Medium Easy 0.08564331184863502 0.09086837628235879 https://leetcode.com/problems/container-with-most-water https://leetcode.com/problems/can-place-flowers
70 72 11 Edit Distance Container With Most Water 44.8% 50.8% Hard Medium 0.08301606966836801 0.08564331184863502 https://leetcode.com/problems/edit-distance https://leetcode.com/problems/container-with-most-water
71 771 72 Jewels and Stones Edit Distance 86.4% 44.8% Easy Hard 0.08172573752382946 0.08301606966836801 https://leetcode.com/problems/jewels-and-stones https://leetcode.com/problems/edit-distance
72 131 771 Palindrome Partitioning Jewels and Stones 47.5% 86.4% Medium Easy 0.07999145847429394 0.08172573752382946 https://leetcode.com/problems/palindrome-partitioning https://leetcode.com/problems/jewels-and-stones
73 104 131 Maximum Depth of Binary Tree Palindrome Partitioning 66.0% 47.5% Easy Medium 0.07782775325625388 0.07999145847429394 https://leetcode.com/problems/maximum-depth-of-binary-tree https://leetcode.com/problems/palindrome-partitioning
74 242 104 Valid Anagram Maximum Depth of Binary Tree 56.9% 66.0% Easy Easy 0.0775954021309241 0.07782775325625388 https://leetcode.com/problems/valid-anagram https://leetcode.com/problems/maximum-depth-of-binary-tree
75 237 242 Delete Node in a Linked List Valid Anagram 63.8% 56.9% Easy Easy 0.0756951835991673 0.0775954021309241 https://leetcode.com/problems/delete-node-in-a-linked-list https://leetcode.com/problems/valid-anagram
76 416 237 Partition Equal Subset Sum Delete Node in a Linked List 43.7% 63.8% Medium Easy 0.07230612961778679 0.0756951835991673 https://leetcode.com/problems/partition-equal-subset-sum https://leetcode.com/problems/delete-node-in-a-linked-list
77 518 416 Coin Change 2 Partition Equal Subset Sum 50.2% 43.7% Medium Medium 0.07182868392350407 0.07230612961778679 https://leetcode.com/problems/coin-change-2 https://leetcode.com/problems/partition-equal-subset-sum
78 76 518 Minimum Window Substring Coin Change 2 34.6% 50.2% Hard Medium 0.0702999835499499 0.07182868392350407 https://leetcode.com/problems/minimum-window-substring https://leetcode.com/problems/coin-change-2
79 88 76 Merge Sorted Array Minimum Window Substring 39.4% 34.6% Easy Hard 0.0697535511282702 0.0702999835499499 https://leetcode.com/problems/merge-sorted-array https://leetcode.com/problems/minimum-window-substring
80 394 88 Decode String Merge Sorted Array 50.0% 39.4% Medium Easy 0.06797633310328935 0.0697535511282702 https://leetcode.com/problems/decode-string https://leetcode.com/problems/merge-sorted-array
81 98 394 Validate Binary Search Tree Decode String 27.8% 50.0% Medium Medium 0.06792860018956545 0.06797633310328935 https://leetcode.com/problems/validate-binary-search-tree https://leetcode.com/problems/decode-string
82 126 98 Word Ladder II Validate Binary Search Tree 22.1% 27.8% Hard Medium 0.06733716983208086 0.06792860018956545 https://leetcode.com/problems/word-ladder-ii https://leetcode.com/problems/validate-binary-search-tree
83 378 126 Kth Smallest Element in a Sorted Matrix Word Ladder II 54.3% 22.1% Medium Hard 0.0671753972751187 0.06733716983208086 https://leetcode.com/problems/kth-smallest-element-in-a-sorted-matrix https://leetcode.com/problems/word-ladder-ii
84 105 378 Construct Binary Tree from Preorder and Inorder Traversal Kth Smallest Element in a Sorted Matrix 48.8% 54.3% Medium Medium 0.06421700221172061 0.0671753972751187 https://leetcode.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal https://leetcode.com/problems/kth-smallest-element-in-a-sorted-matrix
85 225 105 Implement Stack using Queues Construct Binary Tree from Preorder and Inorder Traversal 45.1% 48.8% Easy Medium 0.06160531164682534 0.06421700221172061 https://leetcode.com/problems/implement-stack-using-queues https://leetcode.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal
86 334 225 Increasing Triplet Subsequence Implement Stack using Queues 40.0% 45.1% Medium Easy 0.06039571028973993 0.06160531164682534 https://leetcode.com/problems/increasing-triplet-subsequence https://leetcode.com/problems/implement-stack-using-queues
87 207 334 Course Schedule Increasing Triplet Subsequence 43.1% 40.0% Medium Medium 0.05653177507667831 0.06039571028973993 https://leetcode.com/problems/course-schedule https://leetcode.com/problems/increasing-triplet-subsequence
88 567 207 Permutation in String Course Schedule 44.4% 43.1% Medium Medium 0.055589162884756134 0.05653177507667831 https://leetcode.com/problems/permutation-in-string https://leetcode.com/problems/course-schedule
89 32 567 Longest Valid Parentheses Permutation in String 28.4% 44.4% Hard Medium 0.053811130379891575 0.055589162884756134 https://leetcode.com/problems/longest-valid-parentheses https://leetcode.com/problems/permutation-in-string
90 445 32 Add Two Numbers II Longest Valid Parentheses 54.5% 28.4% Medium Hard 0.046331389773728096 0.053811130379891575 https://leetcode.com/problems/add-two-numbers-ii https://leetcode.com/problems/longest-valid-parentheses
91 28 445 Implement strStr() Add Two Numbers II 34.5% 54.5% Easy Medium 0.045302625302384346 0.046331389773728096 https://leetcode.com/problems/implement-strstr https://leetcode.com/problems/add-two-numbers-ii
92 122 28 Best Time to Buy and Sell Stock II Implement strStr() 57.0% 34.5% Easy Easy 0.03890614539325958 0.045302625302384346 https://leetcode.com/problems/best-time-to-buy-and-sell-stock-ii https://leetcode.com/problems/implement-strstr
93 560 122 Subarray Sum Equals K Best Time to Buy and Sell Stock II 43.9% 57.0% Medium Easy 0.03610500464211627 0.03890614539325958 https://leetcode.com/problems/subarray-sum-equals-k https://leetcode.com/problems/best-time-to-buy-and-sell-stock-ii
94 78 560 Subsets Subarray Sum Equals K 62.0% 43.9% Medium Medium 0.03610109392687382 0.03610500464211627 https://leetcode.com/problems/subsets https://leetcode.com/problems/subarray-sum-equals-k
95 222 78 Count Complete Tree Nodes Subsets 46.8% 62.0% Medium Medium 0.029882701600012697 0.03610109392687382 https://leetcode.com/problems/count-complete-tree-nodes https://leetcode.com/problems/subsets
96 176 222 Second Highest Salary Count Complete Tree Nodes 31.6% 46.8% Easy Medium 0.02809173486701511 0.029882701600012697 https://leetcode.com/problems/second-highest-salary https://leetcode.com/problems/count-complete-tree-nodes
97 680 176 Valid Palindrome II Second Highest Salary 36.6% 31.6% Easy Easy 0.027583200191427217 0.02809173486701511 https://leetcode.com/problems/valid-palindrome-ii https://leetcode.com/problems/second-highest-salary
98 114 680 Flatten Binary Tree to Linked List Valid Palindrome II 49.3% 36.6% Medium Easy 0.026213820787528385 0.027583200191427217 https://leetcode.com/problems/flatten-binary-tree-to-linked-list https://leetcode.com/problems/valid-palindrome-ii
99 448 114 Find All Numbers Disappeared in an Array Flatten Binary Tree to Linked List 55.9% 49.3% Easy Medium 0.025954417138050502 0.026213820787528385 https://leetcode.com/problems/find-all-numbers-disappeared-in-an-array https://leetcode.com/problems/flatten-binary-tree-to-linked-list
100 232 448 Implement Queue using Stacks Find All Numbers Disappeared in an Array 49.6% 55.9% Easy Easy 0.024071769412583627 0.025954417138050502 https://leetcode.com/problems/implement-queue-using-stacks https://leetcode.com/problems/find-all-numbers-disappeared-in-an-array
101 973 232 K Closest Points to Origin Implement Queue using Stacks 63.8% 49.6% Medium Easy 0.021855807808645634 0.024071769412583627 https://leetcode.com/problems/k-closest-points-to-origin https://leetcode.com/problems/implement-queue-using-stacks
102 746 973 Min Cost Climbing Stairs K Closest Points to Origin 50.3% 63.8% Easy Medium 0.021092884180567165 0.021855807808645634 https://leetcode.com/problems/min-cost-climbing-stairs https://leetcode.com/problems/k-closest-points-to-origin
103 60 746 Permutation Sequence Min Cost Climbing Stairs 38.4% 50.3% Hard Easy 0.019268418865877057 0.021092884180567165 https://leetcode.com/problems/permutation-sequence https://leetcode.com/problems/min-cost-climbing-stairs
104 863 60 All Nodes Distance K in Binary Tree Permutation Sequence 55.4% 38.4% Medium Hard 0.0161554402222852 0.019268418865877057 https://leetcode.com/problems/all-nodes-distance-k-in-binary-tree https://leetcode.com/problems/permutation-sequence
105 178 863 Rank Scores All Nodes Distance K in Binary Tree 45.8% 55.4% Medium Medium 0.01606460250380669 0.0161554402222852 https://leetcode.com/problems/rank-scores https://leetcode.com/problems/all-nodes-distance-k-in-binary-tree
106 1108 178 Defanging an IP Address Rank Scores 87.5% 45.8% Easy Medium 0.015715357479628243 0.01606460250380669 https://leetcode.com/problems/defanging-an-ip-address https://leetcode.com/problems/rank-scores
107 509 1108 Fibonacci Number Defanging an IP Address 67.2% 87.5% Easy Easy 0.015283027980177014 0.015715357479628243 https://leetcode.com/problems/fibonacci-number https://leetcode.com/problems/defanging-an-ip-address
108 557 509 Reverse Words in a String III Fibonacci Number 69.8% 67.2% Easy Easy 0.01311494207782801 0.015283027980177014 https://leetcode.com/problems/reverse-words-in-a-string-iii https://leetcode.com/problems/fibonacci-number
109 260 557 Single Number III Reverse Words in a String III 64.3% 69.8% Medium Easy 0.012571824032760881 0.01311494207782801 https://leetcode.com/problems/single-number-iii https://leetcode.com/problems/reverse-words-in-a-string-iii
110 103 260 Binary Tree Zigzag Level Order Traversal Single Number III 48.3% 64.3% Medium Medium 0.006735449584647053 0.012571824032760881 https://leetcode.com/problems/binary-tree-zigzag-level-order-traversal https://leetcode.com/problems/single-number-iii
111 491 103 Increasing Subsequences Binary Tree Zigzag Level Order Traversal 46.1% 48.3% Medium Medium 0 0.006735449584647053 https://leetcode.com/problems/increasing-subsequences https://leetcode.com/problems/binary-tree-zigzag-level-order-traversal
112 624 491 Maximum Distance in Arrays Increasing Subsequences 38.9% 46.1% Easy Medium 0 0 https://leetcode.com/problems/maximum-distance-in-arrays https://leetcode.com/problems/increasing-subsequences
113 693 624 Binary Number with Alternating Bits Maximum Distance in Arrays 59.4% 38.9% Easy Easy 0 0 https://leetcode.com/problems/binary-number-with-alternating-bits https://leetcode.com/problems/maximum-distance-in-arrays
114 1030 693 Matrix Cells in Distance Order Binary Number with Alternating Bits 65.6% 59.4% Easy Easy 0 0 https://leetcode.com/problems/matrix-cells-in-distance-order https://leetcode.com/problems/binary-number-with-alternating-bits
115 1030 Matrix Cells in Distance Order 65.6% Easy 0 https://leetcode.com/problems/matrix-cells-in-distance-order