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,68 +1,69 @@
1290,Convert Binary Number in a Linked List to Integer,80.4%,Easy,0.1661053170661279, https://leetcode.com/problems/convert-binary-number-in-a-linked-list-to-integer
3,Longest Substring Without Repeating Characters,30.4%,Medium,0.14469274653374686, https://leetcode.com/problems/longest-substring-without-repeating-characters
394,Decode String,50.0%,Medium,0.1232801760013658, https://leetcode.com/problems/decode-string
56,Merge Intervals,39.3%,Medium,0.11799561042069451, https://leetcode.com/problems/merge-intervals
247,Strobogrammatic Number II,47.6%,Medium,0.1040197878075301, https://leetcode.com/problems/strobogrammatic-number-ii
1235,Maximum Profit in Job Scheduling,44.0%,Hard,0.08907963005368878, https://leetcode.com/problems/maximum-profit-in-job-scheduling
1,Two Sum,45.6%,Easy,0.08664530282302181, https://leetcode.com/problems/two-sum
909,Snakes and Ladders,38.4%,Medium,0.08392620769993404, https://leetcode.com/problems/snakes-and-ladders
198,House Robber,42.0%,Easy,0.07346911266426392, https://leetcode.com/problems/house-robber
246,Strobogrammatic Number,45.0%,Easy,0.07180116605580686, https://leetcode.com/problems/strobogrammatic-number
146,LRU Cache,33.2%,Medium,0.07118067822062889, https://leetcode.com/problems/lru-cache
5,Longest Palindromic Substring,29.5%,Medium,0.0667502613531191, https://leetcode.com/problems/longest-palindromic-substring
53,Maximum Subarray,46.5%,Easy,0.052816160704876255, https://leetcode.com/problems/maximum-subarray
206,Reverse Linked List,62.5%,Easy,0.046346967254127305, https://leetcode.com/problems/reverse-linked-list
48,Rotate Image,56.7%,Medium,0.04495138786226632, https://leetcode.com/problems/rotate-image
25,Reverse Nodes in k-Group,42.1%,Hard,0.040236757867738004, https://leetcode.com/problems/reverse-nodes-in-k-group
241,Different Ways to Add Parentheses,55.2%,Medium,0.03880215185647971, https://leetcode.com/problems/different-ways-to-add-parentheses
905,Sort Array By Parity,74.1%,Easy,0.03787434929243582, https://leetcode.com/problems/sort-array-by-parity
628,Maximum Product of Three Numbers,47.1%,Easy,0.03681397312271631, https://leetcode.com/problems/maximum-product-of-three-numbers
91,Decode Ways,24.7%,Medium,0.03673102791879485, https://leetcode.com/problems/decode-ways
20,Valid Parentheses,39.0%,Easy,0.03618871742239114, https://leetcode.com/problems/valid-parentheses
468,Validate IP Address,24.1%,Medium,0.0344861760711693, https://leetcode.com/problems/validate-ip-address
2,Add Two Numbers,33.9%,Medium,0.033650830145699084, https://leetcode.com/problems/add-two-numbers
102,Binary Tree Level Order Traversal,54.6%,Medium,0.03228400889291332, https://leetcode.com/problems/binary-tree-level-order-traversal
88,Merge Sorted Array,39.4%,Easy,0.02677137871391415, https://leetcode.com/problems/merge-sorted-array
54,Spiral Matrix,34.1%,Medium,0.02611966966892215, https://leetcode.com/problems/spiral-matrix
143,Reorder List,37.1%,Medium,0.025870945598649286, https://leetcode.com/problems/reorder-list
605,Can Place Flowers,31.6%,Easy,0.02457126073050533, https://leetcode.com/problems/can-place-flowers
33,Search in Rotated Sorted Array,34.5%,Medium,0.0200182839715896, https://leetcode.com/problems/search-in-rotated-sorted-array
450,Delete Node in a BST,43.1%,Medium,0.018536211907915243, https://leetcode.com/problems/delete-node-in-a-bst
235,Lowest Common Ancestor of a Binary Search Tree,49.9%,Easy,0.018394142155974434, https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-search-tree
253,Meeting Rooms II,45.7%,Medium,0.018087309810579388, https://leetcode.com/problems/meeting-rooms-ii
200,Number of Islands,46.8%,Medium,0.017925481766054456, https://leetcode.com/problems/number-of-islands
191,Number of 1 Bits,49.8%,Easy,0.01673523624045844, https://leetcode.com/problems/number-of-1-bits
189,Rotate Array,34.7%,Easy,0.016022774188122292, https://leetcode.com/problems/rotate-array
384,Shuffle an Array,52.8%,Medium,0.015250009609723824, https://leetcode.com/problems/shuffle-an-array
8,String to Integer (atoi),15.4%,Medium,0.015084664273571906, https://leetcode.com/problems/string-to-integer-atoi
21,Merge Two Sorted Lists,53.5%,Easy,0.014012111332134735, https://leetcode.com/problems/merge-two-sorted-lists
144,Binary Tree Preorder Traversal,55.7%,Medium,0.013667638728663807, https://leetcode.com/problems/binary-tree-preorder-traversal
344,Reverse String,68.5%,Easy,0.013014662307854044, https://leetcode.com/problems/reverse-string
445,Add Two Numbers II,54.5%,Medium,0.01233061245747872, https://leetcode.com/problems/add-two-numbers-ii
234,Palindrome Linked List,39.3%,Easy,0.010171877938733932, https://leetcode.com/problems/palindrome-linked-list
739,Daily Temperatures,63.3%,Medium,0.010032690121814417, https://leetcode.com/problems/daily-temperatures
212,Word Search II,34.9%,Hard,0.009845021678804893, https://leetcode.com/problems/word-search-ii
22,Generate Parentheses,62.7%,Medium,0.009785877810632554, https://leetcode.com/problems/generate-parentheses
279,Perfect Squares,47.4%,Medium,0.009216655104924008, https://leetcode.com/problems/perfect-squares
125,Valid Palindrome,36.7%,Easy,0.008933948641551634, https://leetcode.com/problems/valid-palindrome
49,Group Anagrams,56.9%,Medium,0.008538951314232168, https://leetcode.com/problems/group-anagrams
173,Binary Search Tree Iterator,56.6%,Medium,0.008489015324911316, https://leetcode.com/problems/binary-search-tree-iterator
876,Middle of the Linked List,68.4%,Easy,0.007624893975696915, https://leetcode.com/problems/middle-of-the-linked-list
14,Longest Common Prefix,35.4%,Easy,0.00745530292090591, https://leetcode.com/problems/longest-common-prefix
412,Fizz Buzz,62.3%,Easy,0.007165921026143679, https://leetcode.com/problems/fizz-buzz
110,Balanced Binary Tree,43.5%,Easy,0.007027435807456887, https://leetcode.com/problems/balanced-binary-tree
151,Reverse Words in a String,21.9%,Medium,0.0061359296669270605, https://leetcode.com/problems/reverse-words-in-a-string
108,Convert Sorted Array to Binary Search Tree,57.9%,Easy,0.005554027051374908, https://leetcode.com/problems/convert-sorted-array-to-binary-search-tree
237,Delete Node in a Linked List,63.8%,Easy,0.005144705881237697, https://leetcode.com/problems/delete-node-in-a-linked-list
207,Course Schedule,43.1%,Medium,0.004964021114211758, https://leetcode.com/problems/course-schedule
160,Intersection of Two Linked Lists,40.6%,Easy,0.004901369939720486, https://leetcode.com/problems/intersection-of-two-linked-lists
17,Letter Combinations of a Phone Number,46.8%,Medium,0.0044018999217624675, https://leetcode.com/problems/letter-combinations-of-a-phone-number
46,Permutations,63.5%,Medium,0.004216302230139218, https://leetcode.com/problems/permutations
7,Reverse Integer,25.8%,Easy,0.00418293972984512, https://leetcode.com/problems/reverse-integer
242,Valid Anagram,56.9%,Easy,0.004154123743115972, https://leetcode.com/problems/valid-anagram
23,Merge k Sorted Lists,40.2%,Hard,0.004051459000748015, https://leetcode.com/problems/merge-k-sorted-lists
141,Linked List Cycle,41.1%,Easy,0.0034937584669245472, https://leetcode.com/problems/linked-list-cycle
19,Remove Nth Node From End of List,35.2%,Medium,0.003076452203393495, https://leetcode.com/problems/remove-nth-node-from-end-of-list
15,3Sum,26.8%,Medium,0.0021990113314367685, https://leetcode.com/problems/3sum
121,Best Time to Buy and Sell Stock,50.5%,Easy,0.0021239321954525975, https://leetcode.com/problems/best-time-to-buy-and-sell-stock
26,Remove Duplicates from Sorted Array,45.1%,Easy,0.0019513153174351963, https://leetcode.com/problems/remove-duplicates-from-sorted-array
ID,Title,Acceptance,Difficulty,Frequency,Leetcode Question Link
1290,Convert Binary Number in a Linked List to Integer,80.4%,Easy,0.1661053170661279, https://leetcode.com/problems/convert-binary-number-in-a-linked-list-to-integer
3,Longest Substring Without Repeating Characters,30.4%,Medium,0.14469274653374686, https://leetcode.com/problems/longest-substring-without-repeating-characters
394,Decode String,50.0%,Medium,0.1232801760013658, https://leetcode.com/problems/decode-string
56,Merge Intervals,39.3%,Medium,0.11799561042069451, https://leetcode.com/problems/merge-intervals
247,Strobogrammatic Number II,47.6%,Medium,0.1040197878075301, https://leetcode.com/problems/strobogrammatic-number-ii
1235,Maximum Profit in Job Scheduling,44.0%,Hard,0.08907963005368878, https://leetcode.com/problems/maximum-profit-in-job-scheduling
1,Two Sum,45.6%,Easy,0.08664530282302181, https://leetcode.com/problems/two-sum
909,Snakes and Ladders,38.4%,Medium,0.08392620769993404, https://leetcode.com/problems/snakes-and-ladders
198,House Robber,42.0%,Easy,0.07346911266426392, https://leetcode.com/problems/house-robber
246,Strobogrammatic Number,45.0%,Easy,0.07180116605580686, https://leetcode.com/problems/strobogrammatic-number
146,LRU Cache,33.2%,Medium,0.07118067822062889, https://leetcode.com/problems/lru-cache
5,Longest Palindromic Substring,29.5%,Medium,0.0667502613531191, https://leetcode.com/problems/longest-palindromic-substring
53,Maximum Subarray,46.5%,Easy,0.052816160704876255, https://leetcode.com/problems/maximum-subarray
206,Reverse Linked List,62.5%,Easy,0.046346967254127305, https://leetcode.com/problems/reverse-linked-list
48,Rotate Image,56.7%,Medium,0.04495138786226632, https://leetcode.com/problems/rotate-image
25,Reverse Nodes in k-Group,42.1%,Hard,0.040236757867738004, https://leetcode.com/problems/reverse-nodes-in-k-group
241,Different Ways to Add Parentheses,55.2%,Medium,0.03880215185647971, https://leetcode.com/problems/different-ways-to-add-parentheses
905,Sort Array By Parity,74.1%,Easy,0.03787434929243582, https://leetcode.com/problems/sort-array-by-parity
628,Maximum Product of Three Numbers,47.1%,Easy,0.03681397312271631, https://leetcode.com/problems/maximum-product-of-three-numbers
91,Decode Ways,24.7%,Medium,0.03673102791879485, https://leetcode.com/problems/decode-ways
20,Valid Parentheses,39.0%,Easy,0.03618871742239114, https://leetcode.com/problems/valid-parentheses
468,Validate IP Address,24.1%,Medium,0.0344861760711693, https://leetcode.com/problems/validate-ip-address
2,Add Two Numbers,33.9%,Medium,0.033650830145699084, https://leetcode.com/problems/add-two-numbers
102,Binary Tree Level Order Traversal,54.6%,Medium,0.03228400889291332, https://leetcode.com/problems/binary-tree-level-order-traversal
88,Merge Sorted Array,39.4%,Easy,0.02677137871391415, https://leetcode.com/problems/merge-sorted-array
54,Spiral Matrix,34.1%,Medium,0.02611966966892215, https://leetcode.com/problems/spiral-matrix
143,Reorder List,37.1%,Medium,0.025870945598649286, https://leetcode.com/problems/reorder-list
605,Can Place Flowers,31.6%,Easy,0.02457126073050533, https://leetcode.com/problems/can-place-flowers
33,Search in Rotated Sorted Array,34.5%,Medium,0.0200182839715896, https://leetcode.com/problems/search-in-rotated-sorted-array
450,Delete Node in a BST,43.1%,Medium,0.018536211907915243, https://leetcode.com/problems/delete-node-in-a-bst
235,Lowest Common Ancestor of a Binary Search Tree,49.9%,Easy,0.018394142155974434, https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-search-tree
253,Meeting Rooms II,45.7%,Medium,0.018087309810579388, https://leetcode.com/problems/meeting-rooms-ii
200,Number of Islands,46.8%,Medium,0.017925481766054456, https://leetcode.com/problems/number-of-islands
191,Number of 1 Bits,49.8%,Easy,0.01673523624045844, https://leetcode.com/problems/number-of-1-bits
189,Rotate Array,34.7%,Easy,0.016022774188122292, https://leetcode.com/problems/rotate-array
384,Shuffle an Array,52.8%,Medium,0.015250009609723824, https://leetcode.com/problems/shuffle-an-array
8,String to Integer (atoi),15.4%,Medium,0.015084664273571906, https://leetcode.com/problems/string-to-integer-atoi
21,Merge Two Sorted Lists,53.5%,Easy,0.014012111332134735, https://leetcode.com/problems/merge-two-sorted-lists
144,Binary Tree Preorder Traversal,55.7%,Medium,0.013667638728663807, https://leetcode.com/problems/binary-tree-preorder-traversal
344,Reverse String,68.5%,Easy,0.013014662307854044, https://leetcode.com/problems/reverse-string
445,Add Two Numbers II,54.5%,Medium,0.01233061245747872, https://leetcode.com/problems/add-two-numbers-ii
234,Palindrome Linked List,39.3%,Easy,0.010171877938733932, https://leetcode.com/problems/palindrome-linked-list
739,Daily Temperatures,63.3%,Medium,0.010032690121814417, https://leetcode.com/problems/daily-temperatures
212,Word Search II,34.9%,Hard,0.009845021678804893, https://leetcode.com/problems/word-search-ii
22,Generate Parentheses,62.7%,Medium,0.009785877810632554, https://leetcode.com/problems/generate-parentheses
279,Perfect Squares,47.4%,Medium,0.009216655104924008, https://leetcode.com/problems/perfect-squares
125,Valid Palindrome,36.7%,Easy,0.008933948641551634, https://leetcode.com/problems/valid-palindrome
49,Group Anagrams,56.9%,Medium,0.008538951314232168, https://leetcode.com/problems/group-anagrams
173,Binary Search Tree Iterator,56.6%,Medium,0.008489015324911316, https://leetcode.com/problems/binary-search-tree-iterator
876,Middle of the Linked List,68.4%,Easy,0.007624893975696915, https://leetcode.com/problems/middle-of-the-linked-list
14,Longest Common Prefix,35.4%,Easy,0.00745530292090591, https://leetcode.com/problems/longest-common-prefix
412,Fizz Buzz,62.3%,Easy,0.007165921026143679, https://leetcode.com/problems/fizz-buzz
110,Balanced Binary Tree,43.5%,Easy,0.007027435807456887, https://leetcode.com/problems/balanced-binary-tree
151,Reverse Words in a String,21.9%,Medium,0.0061359296669270605, https://leetcode.com/problems/reverse-words-in-a-string
108,Convert Sorted Array to Binary Search Tree,57.9%,Easy,0.005554027051374908, https://leetcode.com/problems/convert-sorted-array-to-binary-search-tree
237,Delete Node in a Linked List,63.8%,Easy,0.005144705881237697, https://leetcode.com/problems/delete-node-in-a-linked-list
207,Course Schedule,43.1%,Medium,0.004964021114211758, https://leetcode.com/problems/course-schedule
160,Intersection of Two Linked Lists,40.6%,Easy,0.004901369939720486, https://leetcode.com/problems/intersection-of-two-linked-lists
17,Letter Combinations of a Phone Number,46.8%,Medium,0.0044018999217624675, https://leetcode.com/problems/letter-combinations-of-a-phone-number
46,Permutations,63.5%,Medium,0.004216302230139218, https://leetcode.com/problems/permutations
7,Reverse Integer,25.8%,Easy,0.00418293972984512, https://leetcode.com/problems/reverse-integer
242,Valid Anagram,56.9%,Easy,0.004154123743115972, https://leetcode.com/problems/valid-anagram
23,Merge k Sorted Lists,40.2%,Hard,0.004051459000748015, https://leetcode.com/problems/merge-k-sorted-lists
141,Linked List Cycle,41.1%,Easy,0.0034937584669245472, https://leetcode.com/problems/linked-list-cycle
19,Remove Nth Node From End of List,35.2%,Medium,0.003076452203393495, https://leetcode.com/problems/remove-nth-node-from-end-of-list
15,3Sum,26.8%,Medium,0.0021990113314367685, https://leetcode.com/problems/3sum
121,Best Time to Buy and Sell Stock,50.5%,Easy,0.0021239321954525975, https://leetcode.com/problems/best-time-to-buy-and-sell-stock
26,Remove Duplicates from Sorted Array,45.1%,Easy,0.0019513153174351963, https://leetcode.com/problems/remove-duplicates-from-sorted-array
1 1290 ID Convert Binary Number in a Linked List to Integer Title 80.4% Acceptance Easy Difficulty 0.1661053170661279 Frequency https://leetcode.com/problems/convert-binary-number-in-a-linked-list-to-integer Leetcode Question Link
2 3 1290 Longest Substring Without Repeating Characters Convert Binary Number in a Linked List to Integer 30.4% 80.4% Medium Easy 0.14469274653374686 0.1661053170661279 https://leetcode.com/problems/longest-substring-without-repeating-characters https://leetcode.com/problems/convert-binary-number-in-a-linked-list-to-integer
3 394 3 Decode String Longest Substring Without Repeating Characters 50.0% 30.4% Medium Medium 0.1232801760013658 0.14469274653374686 https://leetcode.com/problems/decode-string https://leetcode.com/problems/longest-substring-without-repeating-characters
4 56 394 Merge Intervals Decode String 39.3% 50.0% Medium Medium 0.11799561042069451 0.1232801760013658 https://leetcode.com/problems/merge-intervals https://leetcode.com/problems/decode-string
5 247 56 Strobogrammatic Number II Merge Intervals 47.6% 39.3% Medium Medium 0.1040197878075301 0.11799561042069451 https://leetcode.com/problems/strobogrammatic-number-ii https://leetcode.com/problems/merge-intervals
6 1235 247 Maximum Profit in Job Scheduling Strobogrammatic Number II 44.0% 47.6% Hard Medium 0.08907963005368878 0.1040197878075301 https://leetcode.com/problems/maximum-profit-in-job-scheduling https://leetcode.com/problems/strobogrammatic-number-ii
7 1 1235 Two Sum Maximum Profit in Job Scheduling 45.6% 44.0% Easy Hard 0.08664530282302181 0.08907963005368878 https://leetcode.com/problems/two-sum https://leetcode.com/problems/maximum-profit-in-job-scheduling
8 909 1 Snakes and Ladders Two Sum 38.4% 45.6% Medium Easy 0.08392620769993404 0.08664530282302181 https://leetcode.com/problems/snakes-and-ladders https://leetcode.com/problems/two-sum
9 198 909 House Robber Snakes and Ladders 42.0% 38.4% Easy Medium 0.07346911266426392 0.08392620769993404 https://leetcode.com/problems/house-robber https://leetcode.com/problems/snakes-and-ladders
10 246 198 Strobogrammatic Number House Robber 45.0% 42.0% Easy Easy 0.07180116605580686 0.07346911266426392 https://leetcode.com/problems/strobogrammatic-number https://leetcode.com/problems/house-robber
11 146 246 LRU Cache Strobogrammatic Number 33.2% 45.0% Medium Easy 0.07118067822062889 0.07180116605580686 https://leetcode.com/problems/lru-cache https://leetcode.com/problems/strobogrammatic-number
12 5 146 Longest Palindromic Substring LRU Cache 29.5% 33.2% Medium Medium 0.0667502613531191 0.07118067822062889 https://leetcode.com/problems/longest-palindromic-substring https://leetcode.com/problems/lru-cache
13 53 5 Maximum Subarray Longest Palindromic Substring 46.5% 29.5% Easy Medium 0.052816160704876255 0.0667502613531191 https://leetcode.com/problems/maximum-subarray https://leetcode.com/problems/longest-palindromic-substring
14 206 53 Reverse Linked List Maximum Subarray 62.5% 46.5% Easy Easy 0.046346967254127305 0.052816160704876255 https://leetcode.com/problems/reverse-linked-list https://leetcode.com/problems/maximum-subarray
15 48 206 Rotate Image Reverse Linked List 56.7% 62.5% Medium Easy 0.04495138786226632 0.046346967254127305 https://leetcode.com/problems/rotate-image https://leetcode.com/problems/reverse-linked-list
16 25 48 Reverse Nodes in k-Group Rotate Image 42.1% 56.7% Hard Medium 0.040236757867738004 0.04495138786226632 https://leetcode.com/problems/reverse-nodes-in-k-group https://leetcode.com/problems/rotate-image
17 241 25 Different Ways to Add Parentheses Reverse Nodes in k-Group 55.2% 42.1% Medium Hard 0.03880215185647971 0.040236757867738004 https://leetcode.com/problems/different-ways-to-add-parentheses https://leetcode.com/problems/reverse-nodes-in-k-group
18 905 241 Sort Array By Parity Different Ways to Add Parentheses 74.1% 55.2% Easy Medium 0.03787434929243582 0.03880215185647971 https://leetcode.com/problems/sort-array-by-parity https://leetcode.com/problems/different-ways-to-add-parentheses
19 628 905 Maximum Product of Three Numbers Sort Array By Parity 47.1% 74.1% Easy Easy 0.03681397312271631 0.03787434929243582 https://leetcode.com/problems/maximum-product-of-three-numbers https://leetcode.com/problems/sort-array-by-parity
20 91 628 Decode Ways Maximum Product of Three Numbers 24.7% 47.1% Medium Easy 0.03673102791879485 0.03681397312271631 https://leetcode.com/problems/decode-ways https://leetcode.com/problems/maximum-product-of-three-numbers
21 20 91 Valid Parentheses Decode Ways 39.0% 24.7% Easy Medium 0.03618871742239114 0.03673102791879485 https://leetcode.com/problems/valid-parentheses https://leetcode.com/problems/decode-ways
22 468 20 Validate IP Address Valid Parentheses 24.1% 39.0% Medium Easy 0.0344861760711693 0.03618871742239114 https://leetcode.com/problems/validate-ip-address https://leetcode.com/problems/valid-parentheses
23 2 468 Add Two Numbers Validate IP Address 33.9% 24.1% Medium Medium 0.033650830145699084 0.0344861760711693 https://leetcode.com/problems/add-two-numbers https://leetcode.com/problems/validate-ip-address
24 102 2 Binary Tree Level Order Traversal Add Two Numbers 54.6% 33.9% Medium Medium 0.03228400889291332 0.033650830145699084 https://leetcode.com/problems/binary-tree-level-order-traversal https://leetcode.com/problems/add-two-numbers
25 88 102 Merge Sorted Array Binary Tree Level Order Traversal 39.4% 54.6% Easy Medium 0.02677137871391415 0.03228400889291332 https://leetcode.com/problems/merge-sorted-array https://leetcode.com/problems/binary-tree-level-order-traversal
26 54 88 Spiral Matrix Merge Sorted Array 34.1% 39.4% Medium Easy 0.02611966966892215 0.02677137871391415 https://leetcode.com/problems/spiral-matrix https://leetcode.com/problems/merge-sorted-array
27 143 54 Reorder List Spiral Matrix 37.1% 34.1% Medium Medium 0.025870945598649286 0.02611966966892215 https://leetcode.com/problems/reorder-list https://leetcode.com/problems/spiral-matrix
28 605 143 Can Place Flowers Reorder List 31.6% 37.1% Easy Medium 0.02457126073050533 0.025870945598649286 https://leetcode.com/problems/can-place-flowers https://leetcode.com/problems/reorder-list
29 33 605 Search in Rotated Sorted Array Can Place Flowers 34.5% 31.6% Medium Easy 0.0200182839715896 0.02457126073050533 https://leetcode.com/problems/search-in-rotated-sorted-array https://leetcode.com/problems/can-place-flowers
30 450 33 Delete Node in a BST Search in Rotated Sorted Array 43.1% 34.5% Medium Medium 0.018536211907915243 0.0200182839715896 https://leetcode.com/problems/delete-node-in-a-bst https://leetcode.com/problems/search-in-rotated-sorted-array
31 235 450 Lowest Common Ancestor of a Binary Search Tree Delete Node in a BST 49.9% 43.1% Easy Medium 0.018394142155974434 0.018536211907915243 https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-search-tree https://leetcode.com/problems/delete-node-in-a-bst
32 253 235 Meeting Rooms II Lowest Common Ancestor of a Binary Search Tree 45.7% 49.9% Medium Easy 0.018087309810579388 0.018394142155974434 https://leetcode.com/problems/meeting-rooms-ii https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-search-tree
33 200 253 Number of Islands Meeting Rooms II 46.8% 45.7% Medium Medium 0.017925481766054456 0.018087309810579388 https://leetcode.com/problems/number-of-islands https://leetcode.com/problems/meeting-rooms-ii
34 191 200 Number of 1 Bits Number of Islands 49.8% 46.8% Easy Medium 0.01673523624045844 0.017925481766054456 https://leetcode.com/problems/number-of-1-bits https://leetcode.com/problems/number-of-islands
35 189 191 Rotate Array Number of 1 Bits 34.7% 49.8% Easy Easy 0.016022774188122292 0.01673523624045844 https://leetcode.com/problems/rotate-array https://leetcode.com/problems/number-of-1-bits
36 384 189 Shuffle an Array Rotate Array 52.8% 34.7% Medium Easy 0.015250009609723824 0.016022774188122292 https://leetcode.com/problems/shuffle-an-array https://leetcode.com/problems/rotate-array
37 8 384 String to Integer (atoi) Shuffle an Array 15.4% 52.8% Medium Medium 0.015084664273571906 0.015250009609723824 https://leetcode.com/problems/string-to-integer-atoi https://leetcode.com/problems/shuffle-an-array
38 21 8 Merge Two Sorted Lists String to Integer (atoi) 53.5% 15.4% Easy Medium 0.014012111332134735 0.015084664273571906 https://leetcode.com/problems/merge-two-sorted-lists https://leetcode.com/problems/string-to-integer-atoi
39 144 21 Binary Tree Preorder Traversal Merge Two Sorted Lists 55.7% 53.5% Medium Easy 0.013667638728663807 0.014012111332134735 https://leetcode.com/problems/binary-tree-preorder-traversal https://leetcode.com/problems/merge-two-sorted-lists
40 344 144 Reverse String Binary Tree Preorder Traversal 68.5% 55.7% Easy Medium 0.013014662307854044 0.013667638728663807 https://leetcode.com/problems/reverse-string https://leetcode.com/problems/binary-tree-preorder-traversal
41 445 344 Add Two Numbers II Reverse String 54.5% 68.5% Medium Easy 0.01233061245747872 0.013014662307854044 https://leetcode.com/problems/add-two-numbers-ii https://leetcode.com/problems/reverse-string
42 234 445 Palindrome Linked List Add Two Numbers II 39.3% 54.5% Easy Medium 0.010171877938733932 0.01233061245747872 https://leetcode.com/problems/palindrome-linked-list https://leetcode.com/problems/add-two-numbers-ii
43 739 234 Daily Temperatures Palindrome Linked List 63.3% 39.3% Medium Easy 0.010032690121814417 0.010171877938733932 https://leetcode.com/problems/daily-temperatures https://leetcode.com/problems/palindrome-linked-list
44 212 739 Word Search II Daily Temperatures 34.9% 63.3% Hard Medium 0.009845021678804893 0.010032690121814417 https://leetcode.com/problems/word-search-ii https://leetcode.com/problems/daily-temperatures
45 22 212 Generate Parentheses Word Search II 62.7% 34.9% Medium Hard 0.009785877810632554 0.009845021678804893 https://leetcode.com/problems/generate-parentheses https://leetcode.com/problems/word-search-ii
46 279 22 Perfect Squares Generate Parentheses 47.4% 62.7% Medium Medium 0.009216655104924008 0.009785877810632554 https://leetcode.com/problems/perfect-squares https://leetcode.com/problems/generate-parentheses
47 125 279 Valid Palindrome Perfect Squares 36.7% 47.4% Easy Medium 0.008933948641551634 0.009216655104924008 https://leetcode.com/problems/valid-palindrome https://leetcode.com/problems/perfect-squares
48 49 125 Group Anagrams Valid Palindrome 56.9% 36.7% Medium Easy 0.008538951314232168 0.008933948641551634 https://leetcode.com/problems/group-anagrams https://leetcode.com/problems/valid-palindrome
49 173 49 Binary Search Tree Iterator Group Anagrams 56.6% 56.9% Medium Medium 0.008489015324911316 0.008538951314232168 https://leetcode.com/problems/binary-search-tree-iterator https://leetcode.com/problems/group-anagrams
50 876 173 Middle of the Linked List Binary Search Tree Iterator 68.4% 56.6% Easy Medium 0.007624893975696915 0.008489015324911316 https://leetcode.com/problems/middle-of-the-linked-list https://leetcode.com/problems/binary-search-tree-iterator
51 14 876 Longest Common Prefix Middle of the Linked List 35.4% 68.4% Easy Easy 0.00745530292090591 0.007624893975696915 https://leetcode.com/problems/longest-common-prefix https://leetcode.com/problems/middle-of-the-linked-list
52 412 14 Fizz Buzz Longest Common Prefix 62.3% 35.4% Easy Easy 0.007165921026143679 0.00745530292090591 https://leetcode.com/problems/fizz-buzz https://leetcode.com/problems/longest-common-prefix
53 110 412 Balanced Binary Tree Fizz Buzz 43.5% 62.3% Easy Easy 0.007027435807456887 0.007165921026143679 https://leetcode.com/problems/balanced-binary-tree https://leetcode.com/problems/fizz-buzz
54 151 110 Reverse Words in a String Balanced Binary Tree 21.9% 43.5% Medium Easy 0.0061359296669270605 0.007027435807456887 https://leetcode.com/problems/reverse-words-in-a-string https://leetcode.com/problems/balanced-binary-tree
55 108 151 Convert Sorted Array to Binary Search Tree Reverse Words in a String 57.9% 21.9% Easy Medium 0.005554027051374908 0.0061359296669270605 https://leetcode.com/problems/convert-sorted-array-to-binary-search-tree https://leetcode.com/problems/reverse-words-in-a-string
56 237 108 Delete Node in a Linked List Convert Sorted Array to Binary Search Tree 63.8% 57.9% Easy Easy 0.005144705881237697 0.005554027051374908 https://leetcode.com/problems/delete-node-in-a-linked-list https://leetcode.com/problems/convert-sorted-array-to-binary-search-tree
57 207 237 Course Schedule Delete Node in a Linked List 43.1% 63.8% Medium Easy 0.004964021114211758 0.005144705881237697 https://leetcode.com/problems/course-schedule https://leetcode.com/problems/delete-node-in-a-linked-list
58 160 207 Intersection of Two Linked Lists Course Schedule 40.6% 43.1% Easy Medium 0.004901369939720486 0.004964021114211758 https://leetcode.com/problems/intersection-of-two-linked-lists https://leetcode.com/problems/course-schedule
59 17 160 Letter Combinations of a Phone Number Intersection of Two Linked Lists 46.8% 40.6% Medium Easy 0.0044018999217624675 0.004901369939720486 https://leetcode.com/problems/letter-combinations-of-a-phone-number https://leetcode.com/problems/intersection-of-two-linked-lists
60 46 17 Permutations Letter Combinations of a Phone Number 63.5% 46.8% Medium Medium 0.004216302230139218 0.0044018999217624675 https://leetcode.com/problems/permutations https://leetcode.com/problems/letter-combinations-of-a-phone-number
61 7 46 Reverse Integer Permutations 25.8% 63.5% Easy Medium 0.00418293972984512 0.004216302230139218 https://leetcode.com/problems/reverse-integer https://leetcode.com/problems/permutations
62 242 7 Valid Anagram Reverse Integer 56.9% 25.8% Easy Easy 0.004154123743115972 0.00418293972984512 https://leetcode.com/problems/valid-anagram https://leetcode.com/problems/reverse-integer
63 23 242 Merge k Sorted Lists Valid Anagram 40.2% 56.9% Hard Easy 0.004051459000748015 0.004154123743115972 https://leetcode.com/problems/merge-k-sorted-lists https://leetcode.com/problems/valid-anagram
64 141 23 Linked List Cycle Merge k Sorted Lists 41.1% 40.2% Easy Hard 0.0034937584669245472 0.004051459000748015 https://leetcode.com/problems/linked-list-cycle https://leetcode.com/problems/merge-k-sorted-lists
65 19 141 Remove Nth Node From End of List Linked List Cycle 35.2% 41.1% Medium Easy 0.003076452203393495 0.0034937584669245472 https://leetcode.com/problems/remove-nth-node-from-end-of-list https://leetcode.com/problems/linked-list-cycle
66 15 19 3Sum Remove Nth Node From End of List 26.8% 35.2% Medium Medium 0.0021990113314367685 0.003076452203393495 https://leetcode.com/problems/3sum https://leetcode.com/problems/remove-nth-node-from-end-of-list
67 121 15 Best Time to Buy and Sell Stock 3Sum 50.5% 26.8% Easy Medium 0.0021239321954525975 0.0021990113314367685 https://leetcode.com/problems/best-time-to-buy-and-sell-stock https://leetcode.com/problems/3sum
68 26 121 Remove Duplicates from Sorted Array Best Time to Buy and Sell Stock 45.1% 50.5% Easy Easy 0.0019513153174351963 0.0021239321954525975 https://leetcode.com/problems/remove-duplicates-from-sorted-array https://leetcode.com/problems/best-time-to-buy-and-sell-stock
69 26 Remove Duplicates from Sorted Array 45.1% Easy 0.0019513153174351963 https://leetcode.com/problems/remove-duplicates-from-sorted-array