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,105 +1,106 @@
1,Two Sum,45.6%,Easy,0.31908885342700277, https://leetcode.com/problems/two-sum
1168,Optimize Water Distribution in a Village,60.9%,Hard,0.24224370139848353, https://leetcode.com/problems/optimize-water-distribution-in-a-village
146,LRU Cache,33.2%,Medium,0.1653985493699643, https://leetcode.com/problems/lru-cache
384,Shuffle an Array,52.8%,Medium,0.08855339734144506, https://leetcode.com/problems/shuffle-an-array
274,H-Index,36.1%,Medium,0.07134562063669476, https://leetcode.com/problems/h-index
49,Group Anagrams,56.9%,Medium,0.07114500702306482, https://leetcode.com/problems/group-anagrams
205,Isomorphic Strings,39.8%,Easy,0.06695941113194995, https://leetcode.com/problems/isomorphic-strings
95,Unique Binary Search Trees II,40.6%,Medium,0.06306265634386511, https://leetcode.com/problems/unique-binary-search-trees-ii
46,Permutations,63.5%,Medium,0.06191532308097974, https://leetcode.com/problems/permutations
200,Number of Islands,46.8%,Medium,0.05455898425043439, https://leetcode.com/problems/number-of-islands
362,Design Hit Counter,63.7%,Medium,0.053905264836202435, https://leetcode.com/problems/design-hit-counter
162,Find Peak Element,43.3%,Medium,0.05335388873490833, https://leetcode.com/problems/find-peak-element
5,Longest Palindromic Substring,29.5%,Medium,0.05305439734187932, https://leetcode.com/problems/longest-palindromic-substring
21,Merge Two Sorted Lists,53.5%,Easy,0.05260218626700228, https://leetcode.com/problems/merge-two-sorted-lists
295,Find Median from Data Stream,44.3%,Hard,0.05187885241444921, https://leetcode.com/problems/find-median-from-data-stream
416,Partition Equal Subset Sum,43.7%,Medium,0.05076201393711222, https://leetcode.com/problems/partition-equal-subset-sum
518,Coin Change 2,50.2%,Medium,0.04656063549394753, https://leetcode.com/problems/coin-change-2
160,Intersection of Two Linked Lists,40.6%,Easy,0.04146148896528119, https://leetcode.com/problems/intersection-of-two-linked-lists
503,Next Greater Element II,56.5%,Medium,0.04029193172282132, https://leetcode.com/problems/next-greater-element-ii
2,Add Two Numbers,33.9%,Medium,0.03972401383463557, https://leetcode.com/problems/add-two-numbers
72,Edit Distance,44.8%,Hard,0.037749233217789446, https://leetcode.com/problems/edit-distance
23,Merge k Sorted Lists,40.2%,Hard,0.034354523502108394, https://leetcode.com/problems/merge-k-sorted-lists
238,Product of Array Except Self,60.1%,Medium,0.03331790689167717, https://leetcode.com/problems/product-of-array-except-self
567,Permutation in String,44.4%,Medium,0.03164821095078173, https://leetcode.com/problems/permutation-in-string
222,Count Complete Tree Nodes,46.8%,Medium,0.029882701600012697, https://leetcode.com/problems/count-complete-tree-nodes
131,Palindrome Partitioning,47.5%,Medium,0.029539397513905316, https://leetcode.com/problems/palindrome-partitioning
75,Sort Colors,47.3%,Medium,0.02953900967923939, https://leetcode.com/problems/sort-colors
13,Roman to Integer,55.7%,Easy,0.029095312409715624, https://leetcode.com/problems/roman-to-integer
316,Remove Duplicate Letters,35.8%,Hard,0.029071814821976905, https://leetcode.com/problems/remove-duplicate-letters
206,Reverse Linked List,62.5%,Easy,0.027001860879524588, https://leetcode.com/problems/reverse-linked-list
11,Container With Most Water,50.8%,Medium,0.026255883963365544, https://leetcode.com/problems/container-with-most-water
273,Integer to English Words,27.1%,Hard,0.025767242936146868, https://leetcode.com/problems/integer-to-english-words
22,Generate Parentheses,62.7%,Medium,0.025674032888177357, https://leetcode.com/problems/generate-parentheses
605,Can Place Flowers,31.6%,Easy,0.023502844454782748, https://leetcode.com/problems/can-place-flowers
138,Copy List with Random Pointer,36.4%,Medium,0.023379206277628954, https://leetcode.com/problems/copy-list-with-random-pointer
108,Convert Sorted Array to Binary Search Tree,57.9%,Easy,0.021134058283968957, https://leetcode.com/problems/convert-sorted-array-to-binary-search-tree
212,Word Search II,34.9%,Hard,0.021038644146708085, https://leetcode.com/problems/word-search-ii
60,Permutation Sequence,38.4%,Hard,0.019268418865877057, https://leetcode.com/problems/permutation-sequence
93,Restore IP Addresses,35.6%,Medium,0.01885958774468238, https://leetcode.com/problems/restore-ip-addresses
669,Trim a Binary Search Tree,63.0%,Easy,0.01838287060053348, https://leetcode.com/problems/trim-a-binary-search-tree
12,Integer to Roman,55.1%,Medium,0.018163970627671163, https://leetcode.com/problems/integer-to-roman
450,Delete Node in a BST,43.1%,Medium,0.017715255135256906, https://leetcode.com/problems/delete-node-in-a-bst
126,Word Ladder II,22.1%,Hard,0.017264131849759706, https://leetcode.com/problems/word-ladder-ii
283,Move Zeroes,57.8%,Easy,0.017117843516968597, https://leetcode.com/problems/move-zeroes
17,Letter Combinations of a Phone Number,46.8%,Medium,0.016740294672744443, https://leetcode.com/problems/letter-combinations-of-a-phone-number
168,Excel Sheet Column Title,31.1%,Easy,0.01664624371778361, https://leetcode.com/problems/excel-sheet-column-title
34,Find First and Last Position of Element in Sorted Array,36.2%,Medium,0.016217667425614986, https://leetcode.com/problems/find-first-and-last-position-of-element-in-sorted-array
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
7,Reverse Integer,25.8%,Easy,0.015930950253255746, https://leetcode.com/problems/reverse-integer
242,Valid Anagram,56.9%,Easy,0.015812168558991563, https://leetcode.com/problems/valid-anagram
225,Implement Stack using Queues,45.1%,Easy,0.015760767534495523, https://leetcode.com/problems/implement-stack-using-queues
771,Jewels and Stones,86.4%,Easy,0.015520228759096881, https://leetcode.com/problems/jewels-and-stones
334,Increasing Triplet Subsequence,40.0%,Medium,0.015444322427473612, https://leetcode.com/problems/increasing-triplet-subsequence
322,Coin Change,35.5%,Medium,0.01536423539952715, https://leetcode.com/problems/coin-change
204,Count Primes,31.5%,Easy,0.01514925454347171, https://leetcode.com/problems/count-primes
215,Kth Largest Element in an Array,55.4%,Medium,0.014861874883289309, https://leetcode.com/problems/kth-largest-element-in-an-array
141,Linked List Cycle,41.1%,Easy,0.013308023070176913, https://leetcode.com/problems/linked-list-cycle
347,Top K Frequent Elements,61.2%,Medium,0.013133123243576152, https://leetcode.com/problems/top-k-frequent-elements
557,Reverse Words in a String III,69.8%,Easy,0.01311494207782801, https://leetcode.com/problems/reverse-words-in-a-string-iii
15,3Sum,26.8%,Medium,0.012936791030719435, https://leetcode.com/problems/3sum
53,Maximum Subarray,46.5%,Easy,0.012896082985676302, https://leetcode.com/problems/maximum-subarray
973,K Closest Points to Origin,63.8%,Medium,0.012352613834765824, https://leetcode.com/problems/k-closest-points-to-origin
33,Search in Rotated Sorted Array,34.5%,Medium,0.012342978578758374, https://leetcode.com/problems/search-in-rotated-sorted-array
77,Combinations,54.7%,Medium,0.011908446770635425, https://leetcode.com/problems/combinations
445,Add Two Numbers II,54.5%,Medium,0.011785640248472312, https://leetcode.com/problems/add-two-numbers-ii
378,Kth Smallest Element in a Sorted Matrix,54.3%,Medium,0.011055944567589151, https://leetcode.com/problems/kth-smallest-element-in-a-sorted-matrix
232,Implement Queue using Stacks,49.6%,Easy,0.010770163342482653, https://leetcode.com/problems/implement-queue-using-stacks
207,Course Schedule,43.1%,Medium,0.010625837876226181, https://leetcode.com/problems/course-schedule
169,Majority Element,58.7%,Easy,0.01012609912610397, https://leetcode.com/problems/majority-element
746,Min Cost Climbing Stairs,50.3%,Easy,0.00942958425029653, https://leetcode.com/problems/min-cost-climbing-stairs
18,4Sum,33.7%,Medium,0.009345862418237686, https://leetcode.com/problems/4sum
42,Trapping Rain Water,48.9%,Hard,0.009245058144051103, https://leetcode.com/problems/trapping-rain-water
32,Longest Valid Parentheses,28.4%,Hard,0.008806750006418186, https://leetcode.com/problems/longest-valid-parentheses
20,Valid Parentheses,39.0%,Easy,0.008761898231759775, https://leetcode.com/problems/valid-parentheses
4,Median of Two Sorted Arrays,29.6%,Hard,0.00834419823769013, https://leetcode.com/problems/median-of-two-sorted-arrays
394,Decode String,50.0%,Medium,0.0077851697215559675, https://leetcode.com/problems/decode-string
175,Combine Two Tables,60.8%,Easy,0.007374664691267215, https://leetcode.com/problems/combine-two-tables
240,Search a 2D Matrix II,43.2%,Medium,0.007279377002901276, https://leetcode.com/problems/search-a-2d-matrix-ii
176,Second Highest Salary,31.6%,Easy,0.007097261870761636, https://leetcode.com/problems/second-highest-salary
1108,Defanging an IP Address,87.5%,Easy,0.0070151111959223245, https://leetcode.com/problems/defanging-an-ip-address
680,Valid Palindrome II,36.6%,Easy,0.0069674554638543594, https://leetcode.com/problems/valid-palindrome-ii
509,Fibonacci Number,67.2%,Easy,0.0068213088507380355, https://leetcode.com/problems/fibonacci-number
114,Flatten Binary Tree to Linked List,49.3%,Medium,0.00661815784247808, https://leetcode.com/problems/flatten-binary-tree-to-linked-list
448,Find All Numbers Disappeared in an Array,55.9%,Easy,0.006552029991300186, https://leetcode.com/problems/find-all-numbers-disappeared-in-an-array
9,Palindrome Number,48.4%,Easy,0.006530753927898854, https://leetcode.com/problems/palindrome-number
88,Merge Sorted Array,39.4%,Easy,0.006480904084083141, https://leetcode.com/problems/merge-sorted-array
104,Maximum Depth of Binary Tree,66.0%,Easy,0.006002018684998332, https://leetcode.com/problems/maximum-depth-of-binary-tree
3,Longest Substring Without Repeating Characters,30.4%,Medium,0.005927699633275225, https://leetcode.com/problems/longest-substring-without-repeating-characters
76,Minimum Window Substring,34.6%,Hard,0.005927699633275225, https://leetcode.com/problems/minimum-window-substring
78,Subsets,62.0%,Medium,0.005864474528481365, https://leetcode.com/problems/subsets
105,Construct Binary Tree from Preorder and Inorder Traversal,48.8%,Medium,0.005399581153465832, https://leetcode.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal
237,Delete Node in a Linked List,63.8%,Easy,0.004902571407932664, https://leetcode.com/problems/delete-node-in-a-linked-list
260,Single Number III,64.3%,Medium,0.004544085371366539, https://leetcode.com/problems/single-number-iii
236,Lowest Common Ancestor of a Binary Tree,45.7%,Medium,0.004507557778555423, https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-tree
560,Subarray Sum Equals K,43.9%,Medium,0.00407664649376343, https://leetcode.com/problems/subarray-sum-equals-k
387,First Unique Character in a String,53.4%,Easy,0.003992021269537453, https://leetcode.com/problems/first-unique-character-in-a-string
103,Binary Tree Zigzag Level Order Traversal,48.3%,Medium,0.0037942709938308134, https://leetcode.com/problems/binary-tree-zigzag-level-order-traversal
28,Implement strStr(),34.5%,Easy,0.0037760830292959675, https://leetcode.com/problems/implement-strstr
79,Word Search,35.6%,Medium,0.003688528772102895, https://leetcode.com/problems/word-search
102,Binary Tree Level Order Traversal,54.6%,Medium,0.0034812915925119536, https://leetcode.com/problems/binary-tree-level-order-traversal
56,Merge Intervals,39.3%,Medium,0.0033129067901687907, https://leetcode.com/problems/merge-intervals
122,Best Time to Buy and Sell Stock II,57.0%,Easy,0.0032333711784785267, https://leetcode.com/problems/best-time-to-buy-and-sell-stock-ii
98,Validate Binary Search Tree,27.8%,Medium,0.00280761046364743, https://leetcode.com/problems/validate-binary-search-tree
121,Best Time to Buy and Sell Stock,50.5%,Easy,0.0020383211296970956, https://leetcode.com/problems/best-time-to-buy-and-sell-stock
ID,Title,Acceptance,Difficulty,Frequency,Leetcode Question Link
1,Two Sum,45.6%,Easy,0.31908885342700277, https://leetcode.com/problems/two-sum
1168,Optimize Water Distribution in a Village,60.9%,Hard,0.24224370139848353, https://leetcode.com/problems/optimize-water-distribution-in-a-village
146,LRU Cache,33.2%,Medium,0.1653985493699643, https://leetcode.com/problems/lru-cache
384,Shuffle an Array,52.8%,Medium,0.08855339734144506, https://leetcode.com/problems/shuffle-an-array
274,H-Index,36.1%,Medium,0.07134562063669476, https://leetcode.com/problems/h-index
49,Group Anagrams,56.9%,Medium,0.07114500702306482, https://leetcode.com/problems/group-anagrams
205,Isomorphic Strings,39.8%,Easy,0.06695941113194995, https://leetcode.com/problems/isomorphic-strings
95,Unique Binary Search Trees II,40.6%,Medium,0.06306265634386511, https://leetcode.com/problems/unique-binary-search-trees-ii
46,Permutations,63.5%,Medium,0.06191532308097974, https://leetcode.com/problems/permutations
200,Number of Islands,46.8%,Medium,0.05455898425043439, https://leetcode.com/problems/number-of-islands
362,Design Hit Counter,63.7%,Medium,0.053905264836202435, https://leetcode.com/problems/design-hit-counter
162,Find Peak Element,43.3%,Medium,0.05335388873490833, https://leetcode.com/problems/find-peak-element
5,Longest Palindromic Substring,29.5%,Medium,0.05305439734187932, https://leetcode.com/problems/longest-palindromic-substring
21,Merge Two Sorted Lists,53.5%,Easy,0.05260218626700228, https://leetcode.com/problems/merge-two-sorted-lists
295,Find Median from Data Stream,44.3%,Hard,0.05187885241444921, https://leetcode.com/problems/find-median-from-data-stream
416,Partition Equal Subset Sum,43.7%,Medium,0.05076201393711222, https://leetcode.com/problems/partition-equal-subset-sum
518,Coin Change 2,50.2%,Medium,0.04656063549394753, https://leetcode.com/problems/coin-change-2
160,Intersection of Two Linked Lists,40.6%,Easy,0.04146148896528119, https://leetcode.com/problems/intersection-of-two-linked-lists
503,Next Greater Element II,56.5%,Medium,0.04029193172282132, https://leetcode.com/problems/next-greater-element-ii
2,Add Two Numbers,33.9%,Medium,0.03972401383463557, https://leetcode.com/problems/add-two-numbers
72,Edit Distance,44.8%,Hard,0.037749233217789446, https://leetcode.com/problems/edit-distance
23,Merge k Sorted Lists,40.2%,Hard,0.034354523502108394, https://leetcode.com/problems/merge-k-sorted-lists
238,Product of Array Except Self,60.1%,Medium,0.03331790689167717, https://leetcode.com/problems/product-of-array-except-self
567,Permutation in String,44.4%,Medium,0.03164821095078173, https://leetcode.com/problems/permutation-in-string
222,Count Complete Tree Nodes,46.8%,Medium,0.029882701600012697, https://leetcode.com/problems/count-complete-tree-nodes
131,Palindrome Partitioning,47.5%,Medium,0.029539397513905316, https://leetcode.com/problems/palindrome-partitioning
75,Sort Colors,47.3%,Medium,0.02953900967923939, https://leetcode.com/problems/sort-colors
13,Roman to Integer,55.7%,Easy,0.029095312409715624, https://leetcode.com/problems/roman-to-integer
316,Remove Duplicate Letters,35.8%,Hard,0.029071814821976905, https://leetcode.com/problems/remove-duplicate-letters
206,Reverse Linked List,62.5%,Easy,0.027001860879524588, https://leetcode.com/problems/reverse-linked-list
11,Container With Most Water,50.8%,Medium,0.026255883963365544, https://leetcode.com/problems/container-with-most-water
273,Integer to English Words,27.1%,Hard,0.025767242936146868, https://leetcode.com/problems/integer-to-english-words
22,Generate Parentheses,62.7%,Medium,0.025674032888177357, https://leetcode.com/problems/generate-parentheses
605,Can Place Flowers,31.6%,Easy,0.023502844454782748, https://leetcode.com/problems/can-place-flowers
138,Copy List with Random Pointer,36.4%,Medium,0.023379206277628954, https://leetcode.com/problems/copy-list-with-random-pointer
108,Convert Sorted Array to Binary Search Tree,57.9%,Easy,0.021134058283968957, https://leetcode.com/problems/convert-sorted-array-to-binary-search-tree
212,Word Search II,34.9%,Hard,0.021038644146708085, https://leetcode.com/problems/word-search-ii
60,Permutation Sequence,38.4%,Hard,0.019268418865877057, https://leetcode.com/problems/permutation-sequence
93,Restore IP Addresses,35.6%,Medium,0.01885958774468238, https://leetcode.com/problems/restore-ip-addresses
669,Trim a Binary Search Tree,63.0%,Easy,0.01838287060053348, https://leetcode.com/problems/trim-a-binary-search-tree
12,Integer to Roman,55.1%,Medium,0.018163970627671163, https://leetcode.com/problems/integer-to-roman
450,Delete Node in a BST,43.1%,Medium,0.017715255135256906, https://leetcode.com/problems/delete-node-in-a-bst
126,Word Ladder II,22.1%,Hard,0.017264131849759706, https://leetcode.com/problems/word-ladder-ii
283,Move Zeroes,57.8%,Easy,0.017117843516968597, https://leetcode.com/problems/move-zeroes
17,Letter Combinations of a Phone Number,46.8%,Medium,0.016740294672744443, https://leetcode.com/problems/letter-combinations-of-a-phone-number
168,Excel Sheet Column Title,31.1%,Easy,0.01664624371778361, https://leetcode.com/problems/excel-sheet-column-title
34,Find First and Last Position of Element in Sorted Array,36.2%,Medium,0.016217667425614986, https://leetcode.com/problems/find-first-and-last-position-of-element-in-sorted-array
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
7,Reverse Integer,25.8%,Easy,0.015930950253255746, https://leetcode.com/problems/reverse-integer
242,Valid Anagram,56.9%,Easy,0.015812168558991563, https://leetcode.com/problems/valid-anagram
225,Implement Stack using Queues,45.1%,Easy,0.015760767534495523, https://leetcode.com/problems/implement-stack-using-queues
771,Jewels and Stones,86.4%,Easy,0.015520228759096881, https://leetcode.com/problems/jewels-and-stones
334,Increasing Triplet Subsequence,40.0%,Medium,0.015444322427473612, https://leetcode.com/problems/increasing-triplet-subsequence
322,Coin Change,35.5%,Medium,0.01536423539952715, https://leetcode.com/problems/coin-change
204,Count Primes,31.5%,Easy,0.01514925454347171, https://leetcode.com/problems/count-primes
215,Kth Largest Element in an Array,55.4%,Medium,0.014861874883289309, https://leetcode.com/problems/kth-largest-element-in-an-array
141,Linked List Cycle,41.1%,Easy,0.013308023070176913, https://leetcode.com/problems/linked-list-cycle
347,Top K Frequent Elements,61.2%,Medium,0.013133123243576152, https://leetcode.com/problems/top-k-frequent-elements
557,Reverse Words in a String III,69.8%,Easy,0.01311494207782801, https://leetcode.com/problems/reverse-words-in-a-string-iii
15,3Sum,26.8%,Medium,0.012936791030719435, https://leetcode.com/problems/3sum
53,Maximum Subarray,46.5%,Easy,0.012896082985676302, https://leetcode.com/problems/maximum-subarray
973,K Closest Points to Origin,63.8%,Medium,0.012352613834765824, https://leetcode.com/problems/k-closest-points-to-origin
33,Search in Rotated Sorted Array,34.5%,Medium,0.012342978578758374, https://leetcode.com/problems/search-in-rotated-sorted-array
77,Combinations,54.7%,Medium,0.011908446770635425, https://leetcode.com/problems/combinations
445,Add Two Numbers II,54.5%,Medium,0.011785640248472312, https://leetcode.com/problems/add-two-numbers-ii
378,Kth Smallest Element in a Sorted Matrix,54.3%,Medium,0.011055944567589151, https://leetcode.com/problems/kth-smallest-element-in-a-sorted-matrix
232,Implement Queue using Stacks,49.6%,Easy,0.010770163342482653, https://leetcode.com/problems/implement-queue-using-stacks
207,Course Schedule,43.1%,Medium,0.010625837876226181, https://leetcode.com/problems/course-schedule
169,Majority Element,58.7%,Easy,0.01012609912610397, https://leetcode.com/problems/majority-element
746,Min Cost Climbing Stairs,50.3%,Easy,0.00942958425029653, https://leetcode.com/problems/min-cost-climbing-stairs
18,4Sum,33.7%,Medium,0.009345862418237686, https://leetcode.com/problems/4sum
42,Trapping Rain Water,48.9%,Hard,0.009245058144051103, https://leetcode.com/problems/trapping-rain-water
32,Longest Valid Parentheses,28.4%,Hard,0.008806750006418186, https://leetcode.com/problems/longest-valid-parentheses
20,Valid Parentheses,39.0%,Easy,0.008761898231759775, https://leetcode.com/problems/valid-parentheses
4,Median of Two Sorted Arrays,29.6%,Hard,0.00834419823769013, https://leetcode.com/problems/median-of-two-sorted-arrays
394,Decode String,50.0%,Medium,0.0077851697215559675, https://leetcode.com/problems/decode-string
175,Combine Two Tables,60.8%,Easy,0.007374664691267215, https://leetcode.com/problems/combine-two-tables
240,Search a 2D Matrix II,43.2%,Medium,0.007279377002901276, https://leetcode.com/problems/search-a-2d-matrix-ii
176,Second Highest Salary,31.6%,Easy,0.007097261870761636, https://leetcode.com/problems/second-highest-salary
1108,Defanging an IP Address,87.5%,Easy,0.0070151111959223245, https://leetcode.com/problems/defanging-an-ip-address
680,Valid Palindrome II,36.6%,Easy,0.0069674554638543594, https://leetcode.com/problems/valid-palindrome-ii
509,Fibonacci Number,67.2%,Easy,0.0068213088507380355, https://leetcode.com/problems/fibonacci-number
114,Flatten Binary Tree to Linked List,49.3%,Medium,0.00661815784247808, https://leetcode.com/problems/flatten-binary-tree-to-linked-list
448,Find All Numbers Disappeared in an Array,55.9%,Easy,0.006552029991300186, https://leetcode.com/problems/find-all-numbers-disappeared-in-an-array
9,Palindrome Number,48.4%,Easy,0.006530753927898854, https://leetcode.com/problems/palindrome-number
88,Merge Sorted Array,39.4%,Easy,0.006480904084083141, https://leetcode.com/problems/merge-sorted-array
104,Maximum Depth of Binary Tree,66.0%,Easy,0.006002018684998332, https://leetcode.com/problems/maximum-depth-of-binary-tree
3,Longest Substring Without Repeating Characters,30.4%,Medium,0.005927699633275225, https://leetcode.com/problems/longest-substring-without-repeating-characters
76,Minimum Window Substring,34.6%,Hard,0.005927699633275225, https://leetcode.com/problems/minimum-window-substring
78,Subsets,62.0%,Medium,0.005864474528481365, https://leetcode.com/problems/subsets
105,Construct Binary Tree from Preorder and Inorder Traversal,48.8%,Medium,0.005399581153465832, https://leetcode.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal
237,Delete Node in a Linked List,63.8%,Easy,0.004902571407932664, https://leetcode.com/problems/delete-node-in-a-linked-list
260,Single Number III,64.3%,Medium,0.004544085371366539, https://leetcode.com/problems/single-number-iii
236,Lowest Common Ancestor of a Binary Tree,45.7%,Medium,0.004507557778555423, https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-tree
560,Subarray Sum Equals K,43.9%,Medium,0.00407664649376343, https://leetcode.com/problems/subarray-sum-equals-k
387,First Unique Character in a String,53.4%,Easy,0.003992021269537453, https://leetcode.com/problems/first-unique-character-in-a-string
103,Binary Tree Zigzag Level Order Traversal,48.3%,Medium,0.0037942709938308134, https://leetcode.com/problems/binary-tree-zigzag-level-order-traversal
28,Implement strStr(),34.5%,Easy,0.0037760830292959675, https://leetcode.com/problems/implement-strstr
79,Word Search,35.6%,Medium,0.003688528772102895, https://leetcode.com/problems/word-search
102,Binary Tree Level Order Traversal,54.6%,Medium,0.0034812915925119536, https://leetcode.com/problems/binary-tree-level-order-traversal
56,Merge Intervals,39.3%,Medium,0.0033129067901687907, https://leetcode.com/problems/merge-intervals
122,Best Time to Buy and Sell Stock II,57.0%,Easy,0.0032333711784785267, https://leetcode.com/problems/best-time-to-buy-and-sell-stock-ii
98,Validate Binary Search Tree,27.8%,Medium,0.00280761046364743, https://leetcode.com/problems/validate-binary-search-tree
121,Best Time to Buy and Sell Stock,50.5%,Easy,0.0020383211296970956, https://leetcode.com/problems/best-time-to-buy-and-sell-stock
1 1 ID Two Sum Title 45.6% Acceptance Easy Difficulty 0.31908885342700277 Frequency https://leetcode.com/problems/two-sum Leetcode Question Link
2 1168 1 Optimize Water Distribution in a Village Two Sum 60.9% 45.6% Hard Easy 0.24224370139848353 0.31908885342700277 https://leetcode.com/problems/optimize-water-distribution-in-a-village https://leetcode.com/problems/two-sum
3 146 1168 LRU Cache Optimize Water Distribution in a Village 33.2% 60.9% Medium Hard 0.1653985493699643 0.24224370139848353 https://leetcode.com/problems/lru-cache https://leetcode.com/problems/optimize-water-distribution-in-a-village
4 384 146 Shuffle an Array LRU Cache 52.8% 33.2% Medium Medium 0.08855339734144506 0.1653985493699643 https://leetcode.com/problems/shuffle-an-array https://leetcode.com/problems/lru-cache
5 274 384 H-Index Shuffle an Array 36.1% 52.8% Medium Medium 0.07134562063669476 0.08855339734144506 https://leetcode.com/problems/h-index https://leetcode.com/problems/shuffle-an-array
6 49 274 Group Anagrams H-Index 56.9% 36.1% Medium Medium 0.07114500702306482 0.07134562063669476 https://leetcode.com/problems/group-anagrams https://leetcode.com/problems/h-index
7 205 49 Isomorphic Strings Group Anagrams 39.8% 56.9% Easy Medium 0.06695941113194995 0.07114500702306482 https://leetcode.com/problems/isomorphic-strings https://leetcode.com/problems/group-anagrams
8 95 205 Unique Binary Search Trees II Isomorphic Strings 40.6% 39.8% Medium Easy 0.06306265634386511 0.06695941113194995 https://leetcode.com/problems/unique-binary-search-trees-ii https://leetcode.com/problems/isomorphic-strings
9 46 95 Permutations Unique Binary Search Trees II 63.5% 40.6% Medium Medium 0.06191532308097974 0.06306265634386511 https://leetcode.com/problems/permutations https://leetcode.com/problems/unique-binary-search-trees-ii
10 200 46 Number of Islands Permutations 46.8% 63.5% Medium Medium 0.05455898425043439 0.06191532308097974 https://leetcode.com/problems/number-of-islands https://leetcode.com/problems/permutations
11 362 200 Design Hit Counter Number of Islands 63.7% 46.8% Medium Medium 0.053905264836202435 0.05455898425043439 https://leetcode.com/problems/design-hit-counter https://leetcode.com/problems/number-of-islands
12 162 362 Find Peak Element Design Hit Counter 43.3% 63.7% Medium Medium 0.05335388873490833 0.053905264836202435 https://leetcode.com/problems/find-peak-element https://leetcode.com/problems/design-hit-counter
13 5 162 Longest Palindromic Substring Find Peak Element 29.5% 43.3% Medium Medium 0.05305439734187932 0.05335388873490833 https://leetcode.com/problems/longest-palindromic-substring https://leetcode.com/problems/find-peak-element
14 21 5 Merge Two Sorted Lists Longest Palindromic Substring 53.5% 29.5% Easy Medium 0.05260218626700228 0.05305439734187932 https://leetcode.com/problems/merge-two-sorted-lists https://leetcode.com/problems/longest-palindromic-substring
15 295 21 Find Median from Data Stream Merge Two Sorted Lists 44.3% 53.5% Hard Easy 0.05187885241444921 0.05260218626700228 https://leetcode.com/problems/find-median-from-data-stream https://leetcode.com/problems/merge-two-sorted-lists
16 416 295 Partition Equal Subset Sum Find Median from Data Stream 43.7% 44.3% Medium Hard 0.05076201393711222 0.05187885241444921 https://leetcode.com/problems/partition-equal-subset-sum https://leetcode.com/problems/find-median-from-data-stream
17 518 416 Coin Change 2 Partition Equal Subset Sum 50.2% 43.7% Medium Medium 0.04656063549394753 0.05076201393711222 https://leetcode.com/problems/coin-change-2 https://leetcode.com/problems/partition-equal-subset-sum
18 160 518 Intersection of Two Linked Lists Coin Change 2 40.6% 50.2% Easy Medium 0.04146148896528119 0.04656063549394753 https://leetcode.com/problems/intersection-of-two-linked-lists https://leetcode.com/problems/coin-change-2
19 503 160 Next Greater Element II Intersection of Two Linked Lists 56.5% 40.6% Medium Easy 0.04029193172282132 0.04146148896528119 https://leetcode.com/problems/next-greater-element-ii https://leetcode.com/problems/intersection-of-two-linked-lists
20 2 503 Add Two Numbers Next Greater Element II 33.9% 56.5% Medium Medium 0.03972401383463557 0.04029193172282132 https://leetcode.com/problems/add-two-numbers https://leetcode.com/problems/next-greater-element-ii
21 72 2 Edit Distance Add Two Numbers 44.8% 33.9% Hard Medium 0.037749233217789446 0.03972401383463557 https://leetcode.com/problems/edit-distance https://leetcode.com/problems/add-two-numbers
22 23 72 Merge k Sorted Lists Edit Distance 40.2% 44.8% Hard Hard 0.034354523502108394 0.037749233217789446 https://leetcode.com/problems/merge-k-sorted-lists https://leetcode.com/problems/edit-distance
23 238 23 Product of Array Except Self Merge k Sorted Lists 60.1% 40.2% Medium Hard 0.03331790689167717 0.034354523502108394 https://leetcode.com/problems/product-of-array-except-self https://leetcode.com/problems/merge-k-sorted-lists
24 567 238 Permutation in String Product of Array Except Self 44.4% 60.1% Medium Medium 0.03164821095078173 0.03331790689167717 https://leetcode.com/problems/permutation-in-string https://leetcode.com/problems/product-of-array-except-self
25 222 567 Count Complete Tree Nodes Permutation in String 46.8% 44.4% Medium Medium 0.029882701600012697 0.03164821095078173 https://leetcode.com/problems/count-complete-tree-nodes https://leetcode.com/problems/permutation-in-string
26 131 222 Palindrome Partitioning Count Complete Tree Nodes 47.5% 46.8% Medium Medium 0.029539397513905316 0.029882701600012697 https://leetcode.com/problems/palindrome-partitioning https://leetcode.com/problems/count-complete-tree-nodes
27 75 131 Sort Colors Palindrome Partitioning 47.3% 47.5% Medium Medium 0.02953900967923939 0.029539397513905316 https://leetcode.com/problems/sort-colors https://leetcode.com/problems/palindrome-partitioning
28 13 75 Roman to Integer Sort Colors 55.7% 47.3% Easy Medium 0.029095312409715624 0.02953900967923939 https://leetcode.com/problems/roman-to-integer https://leetcode.com/problems/sort-colors
29 316 13 Remove Duplicate Letters Roman to Integer 35.8% 55.7% Hard Easy 0.029071814821976905 0.029095312409715624 https://leetcode.com/problems/remove-duplicate-letters https://leetcode.com/problems/roman-to-integer
30 206 316 Reverse Linked List Remove Duplicate Letters 62.5% 35.8% Easy Hard 0.027001860879524588 0.029071814821976905 https://leetcode.com/problems/reverse-linked-list https://leetcode.com/problems/remove-duplicate-letters
31 11 206 Container With Most Water Reverse Linked List 50.8% 62.5% Medium Easy 0.026255883963365544 0.027001860879524588 https://leetcode.com/problems/container-with-most-water https://leetcode.com/problems/reverse-linked-list
32 273 11 Integer to English Words Container With Most Water 27.1% 50.8% Hard Medium 0.025767242936146868 0.026255883963365544 https://leetcode.com/problems/integer-to-english-words https://leetcode.com/problems/container-with-most-water
33 22 273 Generate Parentheses Integer to English Words 62.7% 27.1% Medium Hard 0.025674032888177357 0.025767242936146868 https://leetcode.com/problems/generate-parentheses https://leetcode.com/problems/integer-to-english-words
34 605 22 Can Place Flowers Generate Parentheses 31.6% 62.7% Easy Medium 0.023502844454782748 0.025674032888177357 https://leetcode.com/problems/can-place-flowers https://leetcode.com/problems/generate-parentheses
35 138 605 Copy List with Random Pointer Can Place Flowers 36.4% 31.6% Medium Easy 0.023379206277628954 0.023502844454782748 https://leetcode.com/problems/copy-list-with-random-pointer https://leetcode.com/problems/can-place-flowers
36 108 138 Convert Sorted Array to Binary Search Tree Copy List with Random Pointer 57.9% 36.4% Easy Medium 0.021134058283968957 0.023379206277628954 https://leetcode.com/problems/convert-sorted-array-to-binary-search-tree https://leetcode.com/problems/copy-list-with-random-pointer
37 212 108 Word Search II Convert Sorted Array to Binary Search Tree 34.9% 57.9% Hard Easy 0.021038644146708085 0.021134058283968957 https://leetcode.com/problems/word-search-ii https://leetcode.com/problems/convert-sorted-array-to-binary-search-tree
38 60 212 Permutation Sequence Word Search II 38.4% 34.9% Hard Hard 0.019268418865877057 0.021038644146708085 https://leetcode.com/problems/permutation-sequence https://leetcode.com/problems/word-search-ii
39 93 60 Restore IP Addresses Permutation Sequence 35.6% 38.4% Medium Hard 0.01885958774468238 0.019268418865877057 https://leetcode.com/problems/restore-ip-addresses https://leetcode.com/problems/permutation-sequence
40 669 93 Trim a Binary Search Tree Restore IP Addresses 63.0% 35.6% Easy Medium 0.01838287060053348 0.01885958774468238 https://leetcode.com/problems/trim-a-binary-search-tree https://leetcode.com/problems/restore-ip-addresses
41 12 669 Integer to Roman Trim a Binary Search Tree 55.1% 63.0% Medium Easy 0.018163970627671163 0.01838287060053348 https://leetcode.com/problems/integer-to-roman https://leetcode.com/problems/trim-a-binary-search-tree
42 450 12 Delete Node in a BST Integer to Roman 43.1% 55.1% Medium Medium 0.017715255135256906 0.018163970627671163 https://leetcode.com/problems/delete-node-in-a-bst https://leetcode.com/problems/integer-to-roman
43 126 450 Word Ladder II Delete Node in a BST 22.1% 43.1% Hard Medium 0.017264131849759706 0.017715255135256906 https://leetcode.com/problems/word-ladder-ii https://leetcode.com/problems/delete-node-in-a-bst
44 283 126 Move Zeroes Word Ladder II 57.8% 22.1% Easy Hard 0.017117843516968597 0.017264131849759706 https://leetcode.com/problems/move-zeroes https://leetcode.com/problems/word-ladder-ii
45 17 283 Letter Combinations of a Phone Number Move Zeroes 46.8% 57.8% Medium Easy 0.016740294672744443 0.017117843516968597 https://leetcode.com/problems/letter-combinations-of-a-phone-number https://leetcode.com/problems/move-zeroes
46 168 17 Excel Sheet Column Title Letter Combinations of a Phone Number 31.1% 46.8% Easy Medium 0.01664624371778361 0.016740294672744443 https://leetcode.com/problems/excel-sheet-column-title https://leetcode.com/problems/letter-combinations-of-a-phone-number
47 34 168 Find First and Last Position of Element in Sorted Array Excel Sheet Column Title 36.2% 31.1% Medium Easy 0.016217667425614986 0.01664624371778361 https://leetcode.com/problems/find-first-and-last-position-of-element-in-sorted-array https://leetcode.com/problems/excel-sheet-column-title
48 863 34 All Nodes Distance K in Binary Tree Find First and Last Position of Element in Sorted Array 55.4% 36.2% Medium Medium 0.0161554402222852 0.016217667425614986 https://leetcode.com/problems/all-nodes-distance-k-in-binary-tree https://leetcode.com/problems/find-first-and-last-position-of-element-in-sorted-array
49 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
50 7 178 Reverse Integer Rank Scores 25.8% 45.8% Easy Medium 0.015930950253255746 0.01606460250380669 https://leetcode.com/problems/reverse-integer https://leetcode.com/problems/rank-scores
51 242 7 Valid Anagram Reverse Integer 56.9% 25.8% Easy Easy 0.015812168558991563 0.015930950253255746 https://leetcode.com/problems/valid-anagram https://leetcode.com/problems/reverse-integer
52 225 242 Implement Stack using Queues Valid Anagram 45.1% 56.9% Easy Easy 0.015760767534495523 0.015812168558991563 https://leetcode.com/problems/implement-stack-using-queues https://leetcode.com/problems/valid-anagram
53 771 225 Jewels and Stones Implement Stack using Queues 86.4% 45.1% Easy Easy 0.015520228759096881 0.015760767534495523 https://leetcode.com/problems/jewels-and-stones https://leetcode.com/problems/implement-stack-using-queues
54 334 771 Increasing Triplet Subsequence Jewels and Stones 40.0% 86.4% Medium Easy 0.015444322427473612 0.015520228759096881 https://leetcode.com/problems/increasing-triplet-subsequence https://leetcode.com/problems/jewels-and-stones
55 322 334 Coin Change Increasing Triplet Subsequence 35.5% 40.0% Medium Medium 0.01536423539952715 0.015444322427473612 https://leetcode.com/problems/coin-change https://leetcode.com/problems/increasing-triplet-subsequence
56 204 322 Count Primes Coin Change 31.5% 35.5% Easy Medium 0.01514925454347171 0.01536423539952715 https://leetcode.com/problems/count-primes https://leetcode.com/problems/coin-change
57 215 204 Kth Largest Element in an Array Count Primes 55.4% 31.5% Medium Easy 0.014861874883289309 0.01514925454347171 https://leetcode.com/problems/kth-largest-element-in-an-array https://leetcode.com/problems/count-primes
58 141 215 Linked List Cycle Kth Largest Element in an Array 41.1% 55.4% Easy Medium 0.013308023070176913 0.014861874883289309 https://leetcode.com/problems/linked-list-cycle https://leetcode.com/problems/kth-largest-element-in-an-array
59 347 141 Top K Frequent Elements Linked List Cycle 61.2% 41.1% Medium Easy 0.013133123243576152 0.013308023070176913 https://leetcode.com/problems/top-k-frequent-elements https://leetcode.com/problems/linked-list-cycle
60 557 347 Reverse Words in a String III Top K Frequent Elements 69.8% 61.2% Easy Medium 0.01311494207782801 0.013133123243576152 https://leetcode.com/problems/reverse-words-in-a-string-iii https://leetcode.com/problems/top-k-frequent-elements
61 15 557 3Sum Reverse Words in a String III 26.8% 69.8% Medium Easy 0.012936791030719435 0.01311494207782801 https://leetcode.com/problems/3sum https://leetcode.com/problems/reverse-words-in-a-string-iii
62 53 15 Maximum Subarray 3Sum 46.5% 26.8% Easy Medium 0.012896082985676302 0.012936791030719435 https://leetcode.com/problems/maximum-subarray https://leetcode.com/problems/3sum
63 973 53 K Closest Points to Origin Maximum Subarray 63.8% 46.5% Medium Easy 0.012352613834765824 0.012896082985676302 https://leetcode.com/problems/k-closest-points-to-origin https://leetcode.com/problems/maximum-subarray
64 33 973 Search in Rotated Sorted Array K Closest Points to Origin 34.5% 63.8% Medium Medium 0.012342978578758374 0.012352613834765824 https://leetcode.com/problems/search-in-rotated-sorted-array https://leetcode.com/problems/k-closest-points-to-origin
65 77 33 Combinations Search in Rotated Sorted Array 54.7% 34.5% Medium Medium 0.011908446770635425 0.012342978578758374 https://leetcode.com/problems/combinations https://leetcode.com/problems/search-in-rotated-sorted-array
66 445 77 Add Two Numbers II Combinations 54.5% 54.7% Medium Medium 0.011785640248472312 0.011908446770635425 https://leetcode.com/problems/add-two-numbers-ii https://leetcode.com/problems/combinations
67 378 445 Kth Smallest Element in a Sorted Matrix Add Two Numbers II 54.3% 54.5% Medium Medium 0.011055944567589151 0.011785640248472312 https://leetcode.com/problems/kth-smallest-element-in-a-sorted-matrix https://leetcode.com/problems/add-two-numbers-ii
68 232 378 Implement Queue using Stacks Kth Smallest Element in a Sorted Matrix 49.6% 54.3% Easy Medium 0.010770163342482653 0.011055944567589151 https://leetcode.com/problems/implement-queue-using-stacks https://leetcode.com/problems/kth-smallest-element-in-a-sorted-matrix
69 207 232 Course Schedule Implement Queue using Stacks 43.1% 49.6% Medium Easy 0.010625837876226181 0.010770163342482653 https://leetcode.com/problems/course-schedule https://leetcode.com/problems/implement-queue-using-stacks
70 169 207 Majority Element Course Schedule 58.7% 43.1% Easy Medium 0.01012609912610397 0.010625837876226181 https://leetcode.com/problems/majority-element https://leetcode.com/problems/course-schedule
71 746 169 Min Cost Climbing Stairs Majority Element 50.3% 58.7% Easy Easy 0.00942958425029653 0.01012609912610397 https://leetcode.com/problems/min-cost-climbing-stairs https://leetcode.com/problems/majority-element
72 18 746 4Sum Min Cost Climbing Stairs 33.7% 50.3% Medium Easy 0.009345862418237686 0.00942958425029653 https://leetcode.com/problems/4sum https://leetcode.com/problems/min-cost-climbing-stairs
73 42 18 Trapping Rain Water 4Sum 48.9% 33.7% Hard Medium 0.009245058144051103 0.009345862418237686 https://leetcode.com/problems/trapping-rain-water https://leetcode.com/problems/4sum
74 32 42 Longest Valid Parentheses Trapping Rain Water 28.4% 48.9% Hard Hard 0.008806750006418186 0.009245058144051103 https://leetcode.com/problems/longest-valid-parentheses https://leetcode.com/problems/trapping-rain-water
75 20 32 Valid Parentheses Longest Valid Parentheses 39.0% 28.4% Easy Hard 0.008761898231759775 0.008806750006418186 https://leetcode.com/problems/valid-parentheses https://leetcode.com/problems/longest-valid-parentheses
76 4 20 Median of Two Sorted Arrays Valid Parentheses 29.6% 39.0% Hard Easy 0.00834419823769013 0.008761898231759775 https://leetcode.com/problems/median-of-two-sorted-arrays https://leetcode.com/problems/valid-parentheses
77 394 4 Decode String Median of Two Sorted Arrays 50.0% 29.6% Medium Hard 0.0077851697215559675 0.00834419823769013 https://leetcode.com/problems/decode-string https://leetcode.com/problems/median-of-two-sorted-arrays
78 175 394 Combine Two Tables Decode String 60.8% 50.0% Easy Medium 0.007374664691267215 0.0077851697215559675 https://leetcode.com/problems/combine-two-tables https://leetcode.com/problems/decode-string
79 240 175 Search a 2D Matrix II Combine Two Tables 43.2% 60.8% Medium Easy 0.007279377002901276 0.007374664691267215 https://leetcode.com/problems/search-a-2d-matrix-ii https://leetcode.com/problems/combine-two-tables
80 176 240 Second Highest Salary Search a 2D Matrix II 31.6% 43.2% Easy Medium 0.007097261870761636 0.007279377002901276 https://leetcode.com/problems/second-highest-salary https://leetcode.com/problems/search-a-2d-matrix-ii
81 1108 176 Defanging an IP Address Second Highest Salary 87.5% 31.6% Easy Easy 0.0070151111959223245 0.007097261870761636 https://leetcode.com/problems/defanging-an-ip-address https://leetcode.com/problems/second-highest-salary
82 680 1108 Valid Palindrome II Defanging an IP Address 36.6% 87.5% Easy Easy 0.0069674554638543594 0.0070151111959223245 https://leetcode.com/problems/valid-palindrome-ii https://leetcode.com/problems/defanging-an-ip-address
83 509 680 Fibonacci Number Valid Palindrome II 67.2% 36.6% Easy Easy 0.0068213088507380355 0.0069674554638543594 https://leetcode.com/problems/fibonacci-number https://leetcode.com/problems/valid-palindrome-ii
84 114 509 Flatten Binary Tree to Linked List Fibonacci Number 49.3% 67.2% Medium Easy 0.00661815784247808 0.0068213088507380355 https://leetcode.com/problems/flatten-binary-tree-to-linked-list https://leetcode.com/problems/fibonacci-number
85 448 114 Find All Numbers Disappeared in an Array Flatten Binary Tree to Linked List 55.9% 49.3% Easy Medium 0.006552029991300186 0.00661815784247808 https://leetcode.com/problems/find-all-numbers-disappeared-in-an-array https://leetcode.com/problems/flatten-binary-tree-to-linked-list
86 9 448 Palindrome Number Find All Numbers Disappeared in an Array 48.4% 55.9% Easy Easy 0.006530753927898854 0.006552029991300186 https://leetcode.com/problems/palindrome-number https://leetcode.com/problems/find-all-numbers-disappeared-in-an-array
87 88 9 Merge Sorted Array Palindrome Number 39.4% 48.4% Easy Easy 0.006480904084083141 0.006530753927898854 https://leetcode.com/problems/merge-sorted-array https://leetcode.com/problems/palindrome-number
88 104 88 Maximum Depth of Binary Tree Merge Sorted Array 66.0% 39.4% Easy Easy 0.006002018684998332 0.006480904084083141 https://leetcode.com/problems/maximum-depth-of-binary-tree https://leetcode.com/problems/merge-sorted-array
89 3 104 Longest Substring Without Repeating Characters Maximum Depth of Binary Tree 30.4% 66.0% Medium Easy 0.005927699633275225 0.006002018684998332 https://leetcode.com/problems/longest-substring-without-repeating-characters https://leetcode.com/problems/maximum-depth-of-binary-tree
90 76 3 Minimum Window Substring Longest Substring Without Repeating Characters 34.6% 30.4% Hard Medium 0.005927699633275225 0.005927699633275225 https://leetcode.com/problems/minimum-window-substring https://leetcode.com/problems/longest-substring-without-repeating-characters
91 78 76 Subsets Minimum Window Substring 62.0% 34.6% Medium Hard 0.005864474528481365 0.005927699633275225 https://leetcode.com/problems/subsets https://leetcode.com/problems/minimum-window-substring
92 105 78 Construct Binary Tree from Preorder and Inorder Traversal Subsets 48.8% 62.0% Medium Medium 0.005399581153465832 0.005864474528481365 https://leetcode.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal https://leetcode.com/problems/subsets
93 237 105 Delete Node in a Linked List Construct Binary Tree from Preorder and Inorder Traversal 63.8% 48.8% Easy Medium 0.004902571407932664 0.005399581153465832 https://leetcode.com/problems/delete-node-in-a-linked-list https://leetcode.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal
94 260 237 Single Number III Delete Node in a Linked List 64.3% 63.8% Medium Easy 0.004544085371366539 0.004902571407932664 https://leetcode.com/problems/single-number-iii https://leetcode.com/problems/delete-node-in-a-linked-list
95 236 260 Lowest Common Ancestor of a Binary Tree Single Number III 45.7% 64.3% Medium Medium 0.004507557778555423 0.004544085371366539 https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-tree https://leetcode.com/problems/single-number-iii
96 560 236 Subarray Sum Equals K Lowest Common Ancestor of a Binary Tree 43.9% 45.7% Medium Medium 0.00407664649376343 0.004507557778555423 https://leetcode.com/problems/subarray-sum-equals-k https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-tree
97 387 560 First Unique Character in a String Subarray Sum Equals K 53.4% 43.9% Easy Medium 0.003992021269537453 0.00407664649376343 https://leetcode.com/problems/first-unique-character-in-a-string https://leetcode.com/problems/subarray-sum-equals-k
98 103 387 Binary Tree Zigzag Level Order Traversal First Unique Character in a String 48.3% 53.4% Medium Easy 0.0037942709938308134 0.003992021269537453 https://leetcode.com/problems/binary-tree-zigzag-level-order-traversal https://leetcode.com/problems/first-unique-character-in-a-string
99 28 103 Implement strStr() Binary Tree Zigzag Level Order Traversal 34.5% 48.3% Easy Medium 0.0037760830292959675 0.0037942709938308134 https://leetcode.com/problems/implement-strstr https://leetcode.com/problems/binary-tree-zigzag-level-order-traversal
100 79 28 Word Search Implement strStr() 35.6% 34.5% Medium Easy 0.003688528772102895 0.0037760830292959675 https://leetcode.com/problems/word-search https://leetcode.com/problems/implement-strstr
101 102 79 Binary Tree Level Order Traversal Word Search 54.6% 35.6% Medium Medium 0.0034812915925119536 0.003688528772102895 https://leetcode.com/problems/binary-tree-level-order-traversal https://leetcode.com/problems/word-search
102 56 102 Merge Intervals Binary Tree Level Order Traversal 39.3% 54.6% Medium Medium 0.0033129067901687907 0.0034812915925119536 https://leetcode.com/problems/merge-intervals https://leetcode.com/problems/binary-tree-level-order-traversal
103 122 56 Best Time to Buy and Sell Stock II Merge Intervals 57.0% 39.3% Easy Medium 0.0032333711784785267 0.0033129067901687907 https://leetcode.com/problems/best-time-to-buy-and-sell-stock-ii https://leetcode.com/problems/merge-intervals
104 98 122 Validate Binary Search Tree Best Time to Buy and Sell Stock II 27.8% 57.0% Medium Easy 0.00280761046364743 0.0032333711784785267 https://leetcode.com/problems/validate-binary-search-tree https://leetcode.com/problems/best-time-to-buy-and-sell-stock-ii
105 121 98 Best Time to Buy and Sell Stock Validate Binary Search Tree 50.5% 27.8% Easy Medium 0.0020383211296970956 0.00280761046364743 https://leetcode.com/problems/best-time-to-buy-and-sell-stock https://leetcode.com/problems/validate-binary-search-tree
106 121 Best Time to Buy and Sell Stock 50.5% Easy 0.0020383211296970956 https://leetcode.com/problems/best-time-to-buy-and-sell-stock