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,58 +1,59 @@
1473,Paint House III,48.1%,Hard,0.4201627490481727, https://leetcode.com/problems/paint-house-iii
1041,Robot Bounded In Circle,49.6%,Medium,0.26986631760028884, https://leetcode.com/problems/robot-bounded-in-circle
1497,Check If Array Pairs Are Divisible by k,41.1%,Medium,0.2357666456855048, https://leetcode.com/problems/check-if-array-pairs-are-divisible-by-k
243,Shortest Word Distance,61.0%,Easy,0.23122733458279973, https://leetcode.com/problems/shortest-word-distance
242,Valid Anagram,56.9%,Easy,0.08093090313491587, https://leetcode.com/problems/valid-anagram
54,Spiral Matrix,34.1%,Medium,0.07792846120043545, https://leetcode.com/problems/spiral-matrix
1297,Maximum Number of Occurrences of a Substring,47.3%,Medium,0.07770898432731625, https://leetcode.com/problems/maximum-number-of-occurrences-of-a-substring
68,Text Justification,27.7%,Hard,0.06116036187169583, https://leetcode.com/problems/text-justification
56,Merge Intervals,39.3%,Medium,0.054167920212564245, https://leetcode.com/problems/merge-intervals
224,Basic Calculator,36.8%,Hard,0.046568165477211425, https://leetcode.com/problems/basic-calculator
532,K-diff Pairs in an Array,31.6%,Easy,0.041672696400568025, https://leetcode.com/problems/k-diff-pairs-in-an-array
25,Reverse Nodes in k-Group,42.1%,Hard,0.040236757867738004, https://leetcode.com/problems/reverse-nodes-in-k-group
53,Maximum Subarray,46.5%,Easy,0.03412208634661372, https://leetcode.com/problems/maximum-subarray
240,Search a 2D Matrix II,43.2%,Medium,0.02999287612403949, https://leetcode.com/problems/search-a-2d-matrix-ii
324,Wiggle Sort II,29.9%,Medium,0.02898753687325229, https://leetcode.com/problems/wiggle-sort-ii
146,LRU Cache,33.2%,Medium,0.028411001832779885, https://leetcode.com/problems/lru-cache
20,Valid Parentheses,39.0%,Easy,0.02782373445001039, https://leetcode.com/problems/valid-parentheses
73,Set Matrix Zeroes,43.1%,Medium,0.027769920533553028, https://leetcode.com/problems/set-matrix-zeroes
735,Asteroid Collision,41.0%,Medium,0.024723138086794758, https://leetcode.com/problems/asteroid-collision
128,Longest Consecutive Sequence,45.1%,Hard,0.020252717433212362, https://leetcode.com/problems/longest-consecutive-sequence
12,Integer to Roman,55.1%,Medium,0.019096697456456382, https://leetcode.com/problems/integer-to-roman
253,Meeting Rooms II,45.7%,Medium,0.018087309810579388, https://leetcode.com/problems/meeting-rooms-ii
6,ZigZag Conversion,36.3%,Medium,0.01726827253226344, https://leetcode.com/problems/zigzag-conversion
1,Two Sum,45.6%,Easy,0.016487580637467636, https://leetcode.com/problems/two-sum
977,Squares of a Sorted Array,72.1%,Easy,0.015474196582597383, https://leetcode.com/problems/squares-of-a-sorted-array
557,Reverse Words in a String III,69.8%,Easy,0.013731764001315941, https://leetcode.com/problems/reverse-words-in-a-string-iii
134,Gas Station,38.5%,Medium,0.01352742981715631, https://leetcode.com/problems/gas-station
1047,Remove All Adjacent Duplicates In String,68.6%,Easy,0.013059277989179281, https://leetcode.com/problems/remove-all-adjacent-duplicates-in-string
82,Remove Duplicates from Sorted List II,36.8%,Medium,0.01297035044262745, https://leetcode.com/problems/remove-duplicates-from-sorted-list-ii
199,Binary Tree Right Side View,54.1%,Medium,0.01274082919906162, https://leetcode.com/problems/binary-tree-right-side-view
227,Basic Calculator II,36.9%,Medium,0.01239941490503826, https://leetcode.com/problems/basic-calculator-ii
273,Integer to English Words,27.1%,Hard,0.012081089250339716, https://leetcode.com/problems/integer-to-english-words
75,Sort Colors,47.3%,Medium,0.011198325310029539, https://leetcode.com/problems/sort-colors
72,Edit Distance,44.8%,Hard,0.010017614452317782, https://leetcode.com/problems/edit-distance
46,Permutations,63.5%,Medium,0.009461803137288448, https://leetcode.com/problems/permutations
189,Rotate Array,34.7%,Easy,0.00904437880665999, https://leetcode.com/problems/rotate-array
416,Partition Equal Subset Sum,43.7%,Medium,0.008686265255960345, https://leetcode.com/problems/partition-equal-subset-sum
876,Middle of the Linked List,68.4%,Easy,0.007624893975696915, https://leetcode.com/problems/middle-of-the-linked-list
2,Add Two Numbers,33.9%,Medium,0.006737434951993369, https://leetcode.com/problems/add-two-numbers
283,Move Zeroes,57.8%,Easy,0.006480437425856766, https://leetcode.com/problems/move-zeroes
973,K Closest Points to Origin,63.8%,Medium,0.005773688094426333, https://leetcode.com/problems/k-closest-points-to-origin
167,Two Sum II - Input array is sorted,54.1%,Easy,0.005507380022589096, https://leetcode.com/problems/two-sum-ii-input-array-is-sorted
207,Course Schedule,43.1%,Medium,0.004964021114211758, https://leetcode.com/problems/course-schedule
15,3Sum,26.8%,Medium,0.004940992758742591, https://leetcode.com/problems/3sum
236,Lowest Common Ancestor of a Binary Tree,45.7%,Medium,0.004714210262726446, https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-tree
322,Coin Change,35.5%,Medium,0.004029826126500844, https://leetcode.com/problems/coin-change
28,Implement strStr(),34.5%,Easy,0.003943222775040032, https://leetcode.com/problems/implement-strstr
238,Product of Array Except Self,60.1%,Medium,0.003930436424724545, https://leetcode.com/problems/product-of-array-except-self
344,Reverse String,68.5%,Easy,0.003269579502519813, https://leetcode.com/problems/reverse-string
33,Search in Rotated Sorted Array,34.5%,Medium,0.003229976968332634, https://leetcode.com/problems/search-in-rotated-sorted-array
200,Number of Islands,46.8%,Medium,0.0028897578265903614, https://leetcode.com/problems/number-of-islands
104,Maximum Depth of Binary Tree,66.0%,Easy,0.002787846801433134, https://leetcode.com/problems/maximum-depth-of-binary-tree
206,Reverse Linked List,62.5%,Easy,0.0023398665252948926, https://leetcode.com/problems/reverse-linked-list
5,Longest Palindromic Substring,29.5%,Medium,0.002279333142507479, https://leetcode.com/problems/longest-palindromic-substring
21,Merge Two Sorted Lists,53.5%,Easy,0.0022551737583973706, https://leetcode.com/problems/merge-two-sorted-lists
121,Best Time to Buy and Sell Stock,50.5%,Easy,0.0021239321954525975, https://leetcode.com/problems/best-time-to-buy-and-sell-stock
203,Remove Linked List Elements,38.6%,Easy,0.0016237064659255223, https://leetcode.com/problems/remove-linked-list-elements
3,Longest Substring Without Repeating Characters,30.4%,Medium,0.0015556336509412823, https://leetcode.com/problems/longest-substring-without-repeating-characters
ID,Title,Acceptance,Difficulty,Frequency,Leetcode Question Link
1473,Paint House III,48.1%,Hard,0.4201627490481727, https://leetcode.com/problems/paint-house-iii
1041,Robot Bounded In Circle,49.6%,Medium,0.26986631760028884, https://leetcode.com/problems/robot-bounded-in-circle
1497,Check If Array Pairs Are Divisible by k,41.1%,Medium,0.2357666456855048, https://leetcode.com/problems/check-if-array-pairs-are-divisible-by-k
243,Shortest Word Distance,61.0%,Easy,0.23122733458279973, https://leetcode.com/problems/shortest-word-distance
242,Valid Anagram,56.9%,Easy,0.08093090313491587, https://leetcode.com/problems/valid-anagram
54,Spiral Matrix,34.1%,Medium,0.07792846120043545, https://leetcode.com/problems/spiral-matrix
1297,Maximum Number of Occurrences of a Substring,47.3%,Medium,0.07770898432731625, https://leetcode.com/problems/maximum-number-of-occurrences-of-a-substring
68,Text Justification,27.7%,Hard,0.06116036187169583, https://leetcode.com/problems/text-justification
56,Merge Intervals,39.3%,Medium,0.054167920212564245, https://leetcode.com/problems/merge-intervals
224,Basic Calculator,36.8%,Hard,0.046568165477211425, https://leetcode.com/problems/basic-calculator
532,K-diff Pairs in an Array,31.6%,Easy,0.041672696400568025, https://leetcode.com/problems/k-diff-pairs-in-an-array
25,Reverse Nodes in k-Group,42.1%,Hard,0.040236757867738004, https://leetcode.com/problems/reverse-nodes-in-k-group
53,Maximum Subarray,46.5%,Easy,0.03412208634661372, https://leetcode.com/problems/maximum-subarray
240,Search a 2D Matrix II,43.2%,Medium,0.02999287612403949, https://leetcode.com/problems/search-a-2d-matrix-ii
324,Wiggle Sort II,29.9%,Medium,0.02898753687325229, https://leetcode.com/problems/wiggle-sort-ii
146,LRU Cache,33.2%,Medium,0.028411001832779885, https://leetcode.com/problems/lru-cache
20,Valid Parentheses,39.0%,Easy,0.02782373445001039, https://leetcode.com/problems/valid-parentheses
73,Set Matrix Zeroes,43.1%,Medium,0.027769920533553028, https://leetcode.com/problems/set-matrix-zeroes
735,Asteroid Collision,41.0%,Medium,0.024723138086794758, https://leetcode.com/problems/asteroid-collision
128,Longest Consecutive Sequence,45.1%,Hard,0.020252717433212362, https://leetcode.com/problems/longest-consecutive-sequence
12,Integer to Roman,55.1%,Medium,0.019096697456456382, https://leetcode.com/problems/integer-to-roman
253,Meeting Rooms II,45.7%,Medium,0.018087309810579388, https://leetcode.com/problems/meeting-rooms-ii
6,ZigZag Conversion,36.3%,Medium,0.01726827253226344, https://leetcode.com/problems/zigzag-conversion
1,Two Sum,45.6%,Easy,0.016487580637467636, https://leetcode.com/problems/two-sum
977,Squares of a Sorted Array,72.1%,Easy,0.015474196582597383, https://leetcode.com/problems/squares-of-a-sorted-array
557,Reverse Words in a String III,69.8%,Easy,0.013731764001315941, https://leetcode.com/problems/reverse-words-in-a-string-iii
134,Gas Station,38.5%,Medium,0.01352742981715631, https://leetcode.com/problems/gas-station
1047,Remove All Adjacent Duplicates In String,68.6%,Easy,0.013059277989179281, https://leetcode.com/problems/remove-all-adjacent-duplicates-in-string
82,Remove Duplicates from Sorted List II,36.8%,Medium,0.01297035044262745, https://leetcode.com/problems/remove-duplicates-from-sorted-list-ii
199,Binary Tree Right Side View,54.1%,Medium,0.01274082919906162, https://leetcode.com/problems/binary-tree-right-side-view
227,Basic Calculator II,36.9%,Medium,0.01239941490503826, https://leetcode.com/problems/basic-calculator-ii
273,Integer to English Words,27.1%,Hard,0.012081089250339716, https://leetcode.com/problems/integer-to-english-words
75,Sort Colors,47.3%,Medium,0.011198325310029539, https://leetcode.com/problems/sort-colors
72,Edit Distance,44.8%,Hard,0.010017614452317782, https://leetcode.com/problems/edit-distance
46,Permutations,63.5%,Medium,0.009461803137288448, https://leetcode.com/problems/permutations
189,Rotate Array,34.7%,Easy,0.00904437880665999, https://leetcode.com/problems/rotate-array
416,Partition Equal Subset Sum,43.7%,Medium,0.008686265255960345, https://leetcode.com/problems/partition-equal-subset-sum
876,Middle of the Linked List,68.4%,Easy,0.007624893975696915, https://leetcode.com/problems/middle-of-the-linked-list
2,Add Two Numbers,33.9%,Medium,0.006737434951993369, https://leetcode.com/problems/add-two-numbers
283,Move Zeroes,57.8%,Easy,0.006480437425856766, https://leetcode.com/problems/move-zeroes
973,K Closest Points to Origin,63.8%,Medium,0.005773688094426333, https://leetcode.com/problems/k-closest-points-to-origin
167,Two Sum II - Input array is sorted,54.1%,Easy,0.005507380022589096, https://leetcode.com/problems/two-sum-ii-input-array-is-sorted
207,Course Schedule,43.1%,Medium,0.004964021114211758, https://leetcode.com/problems/course-schedule
15,3Sum,26.8%,Medium,0.004940992758742591, https://leetcode.com/problems/3sum
236,Lowest Common Ancestor of a Binary Tree,45.7%,Medium,0.004714210262726446, https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-tree
322,Coin Change,35.5%,Medium,0.004029826126500844, https://leetcode.com/problems/coin-change
28,Implement strStr(),34.5%,Easy,0.003943222775040032, https://leetcode.com/problems/implement-strstr
238,Product of Array Except Self,60.1%,Medium,0.003930436424724545, https://leetcode.com/problems/product-of-array-except-self
344,Reverse String,68.5%,Easy,0.003269579502519813, https://leetcode.com/problems/reverse-string
33,Search in Rotated Sorted Array,34.5%,Medium,0.003229976968332634, https://leetcode.com/problems/search-in-rotated-sorted-array
200,Number of Islands,46.8%,Medium,0.0028897578265903614, https://leetcode.com/problems/number-of-islands
104,Maximum Depth of Binary Tree,66.0%,Easy,0.002787846801433134, https://leetcode.com/problems/maximum-depth-of-binary-tree
206,Reverse Linked List,62.5%,Easy,0.0023398665252948926, https://leetcode.com/problems/reverse-linked-list
5,Longest Palindromic Substring,29.5%,Medium,0.002279333142507479, https://leetcode.com/problems/longest-palindromic-substring
21,Merge Two Sorted Lists,53.5%,Easy,0.0022551737583973706, https://leetcode.com/problems/merge-two-sorted-lists
121,Best Time to Buy and Sell Stock,50.5%,Easy,0.0021239321954525975, https://leetcode.com/problems/best-time-to-buy-and-sell-stock
203,Remove Linked List Elements,38.6%,Easy,0.0016237064659255223, https://leetcode.com/problems/remove-linked-list-elements
3,Longest Substring Without Repeating Characters,30.4%,Medium,0.0015556336509412823, https://leetcode.com/problems/longest-substring-without-repeating-characters
1 1473 ID Paint House III Title 48.1% Acceptance Hard Difficulty 0.4201627490481727 Frequency https://leetcode.com/problems/paint-house-iii Leetcode Question Link
2 1041 1473 Robot Bounded In Circle Paint House III 49.6% 48.1% Medium Hard 0.26986631760028884 0.4201627490481727 https://leetcode.com/problems/robot-bounded-in-circle https://leetcode.com/problems/paint-house-iii
3 1497 1041 Check If Array Pairs Are Divisible by k Robot Bounded In Circle 41.1% 49.6% Medium Medium 0.2357666456855048 0.26986631760028884 https://leetcode.com/problems/check-if-array-pairs-are-divisible-by-k https://leetcode.com/problems/robot-bounded-in-circle
4 243 1497 Shortest Word Distance Check If Array Pairs Are Divisible by k 61.0% 41.1% Easy Medium 0.23122733458279973 0.2357666456855048 https://leetcode.com/problems/shortest-word-distance https://leetcode.com/problems/check-if-array-pairs-are-divisible-by-k
5 242 243 Valid Anagram Shortest Word Distance 56.9% 61.0% Easy Easy 0.08093090313491587 0.23122733458279973 https://leetcode.com/problems/valid-anagram https://leetcode.com/problems/shortest-word-distance
6 54 242 Spiral Matrix Valid Anagram 34.1% 56.9% Medium Easy 0.07792846120043545 0.08093090313491587 https://leetcode.com/problems/spiral-matrix https://leetcode.com/problems/valid-anagram
7 1297 54 Maximum Number of Occurrences of a Substring Spiral Matrix 47.3% 34.1% Medium Medium 0.07770898432731625 0.07792846120043545 https://leetcode.com/problems/maximum-number-of-occurrences-of-a-substring https://leetcode.com/problems/spiral-matrix
8 68 1297 Text Justification Maximum Number of Occurrences of a Substring 27.7% 47.3% Hard Medium 0.06116036187169583 0.07770898432731625 https://leetcode.com/problems/text-justification https://leetcode.com/problems/maximum-number-of-occurrences-of-a-substring
9 56 68 Merge Intervals Text Justification 39.3% 27.7% Medium Hard 0.054167920212564245 0.06116036187169583 https://leetcode.com/problems/merge-intervals https://leetcode.com/problems/text-justification
10 224 56 Basic Calculator Merge Intervals 36.8% 39.3% Hard Medium 0.046568165477211425 0.054167920212564245 https://leetcode.com/problems/basic-calculator https://leetcode.com/problems/merge-intervals
11 532 224 K-diff Pairs in an Array Basic Calculator 31.6% 36.8% Easy Hard 0.041672696400568025 0.046568165477211425 https://leetcode.com/problems/k-diff-pairs-in-an-array https://leetcode.com/problems/basic-calculator
12 25 532 Reverse Nodes in k-Group K-diff Pairs in an Array 42.1% 31.6% Hard Easy 0.040236757867738004 0.041672696400568025 https://leetcode.com/problems/reverse-nodes-in-k-group https://leetcode.com/problems/k-diff-pairs-in-an-array
13 53 25 Maximum Subarray Reverse Nodes in k-Group 46.5% 42.1% Easy Hard 0.03412208634661372 0.040236757867738004 https://leetcode.com/problems/maximum-subarray https://leetcode.com/problems/reverse-nodes-in-k-group
14 240 53 Search a 2D Matrix II Maximum Subarray 43.2% 46.5% Medium Easy 0.02999287612403949 0.03412208634661372 https://leetcode.com/problems/search-a-2d-matrix-ii https://leetcode.com/problems/maximum-subarray
15 324 240 Wiggle Sort II Search a 2D Matrix II 29.9% 43.2% Medium Medium 0.02898753687325229 0.02999287612403949 https://leetcode.com/problems/wiggle-sort-ii https://leetcode.com/problems/search-a-2d-matrix-ii
16 146 324 LRU Cache Wiggle Sort II 33.2% 29.9% Medium Medium 0.028411001832779885 0.02898753687325229 https://leetcode.com/problems/lru-cache https://leetcode.com/problems/wiggle-sort-ii
17 20 146 Valid Parentheses LRU Cache 39.0% 33.2% Easy Medium 0.02782373445001039 0.028411001832779885 https://leetcode.com/problems/valid-parentheses https://leetcode.com/problems/lru-cache
18 73 20 Set Matrix Zeroes Valid Parentheses 43.1% 39.0% Medium Easy 0.027769920533553028 0.02782373445001039 https://leetcode.com/problems/set-matrix-zeroes https://leetcode.com/problems/valid-parentheses
19 735 73 Asteroid Collision Set Matrix Zeroes 41.0% 43.1% Medium Medium 0.024723138086794758 0.027769920533553028 https://leetcode.com/problems/asteroid-collision https://leetcode.com/problems/set-matrix-zeroes
20 128 735 Longest Consecutive Sequence Asteroid Collision 45.1% 41.0% Hard Medium 0.020252717433212362 0.024723138086794758 https://leetcode.com/problems/longest-consecutive-sequence https://leetcode.com/problems/asteroid-collision
21 12 128 Integer to Roman Longest Consecutive Sequence 55.1% 45.1% Medium Hard 0.019096697456456382 0.020252717433212362 https://leetcode.com/problems/integer-to-roman https://leetcode.com/problems/longest-consecutive-sequence
22 253 12 Meeting Rooms II Integer to Roman 45.7% 55.1% Medium Medium 0.018087309810579388 0.019096697456456382 https://leetcode.com/problems/meeting-rooms-ii https://leetcode.com/problems/integer-to-roman
23 6 253 ZigZag Conversion Meeting Rooms II 36.3% 45.7% Medium Medium 0.01726827253226344 0.018087309810579388 https://leetcode.com/problems/zigzag-conversion https://leetcode.com/problems/meeting-rooms-ii
24 1 6 Two Sum ZigZag Conversion 45.6% 36.3% Easy Medium 0.016487580637467636 0.01726827253226344 https://leetcode.com/problems/two-sum https://leetcode.com/problems/zigzag-conversion
25 977 1 Squares of a Sorted Array Two Sum 72.1% 45.6% Easy Easy 0.015474196582597383 0.016487580637467636 https://leetcode.com/problems/squares-of-a-sorted-array https://leetcode.com/problems/two-sum
26 557 977 Reverse Words in a String III Squares of a Sorted Array 69.8% 72.1% Easy Easy 0.013731764001315941 0.015474196582597383 https://leetcode.com/problems/reverse-words-in-a-string-iii https://leetcode.com/problems/squares-of-a-sorted-array
27 134 557 Gas Station Reverse Words in a String III 38.5% 69.8% Medium Easy 0.01352742981715631 0.013731764001315941 https://leetcode.com/problems/gas-station https://leetcode.com/problems/reverse-words-in-a-string-iii
28 1047 134 Remove All Adjacent Duplicates In String Gas Station 68.6% 38.5% Easy Medium 0.013059277989179281 0.01352742981715631 https://leetcode.com/problems/remove-all-adjacent-duplicates-in-string https://leetcode.com/problems/gas-station
29 82 1047 Remove Duplicates from Sorted List II Remove All Adjacent Duplicates In String 36.8% 68.6% Medium Easy 0.01297035044262745 0.013059277989179281 https://leetcode.com/problems/remove-duplicates-from-sorted-list-ii https://leetcode.com/problems/remove-all-adjacent-duplicates-in-string
30 199 82 Binary Tree Right Side View Remove Duplicates from Sorted List II 54.1% 36.8% Medium Medium 0.01274082919906162 0.01297035044262745 https://leetcode.com/problems/binary-tree-right-side-view https://leetcode.com/problems/remove-duplicates-from-sorted-list-ii
31 227 199 Basic Calculator II Binary Tree Right Side View 36.9% 54.1% Medium Medium 0.01239941490503826 0.01274082919906162 https://leetcode.com/problems/basic-calculator-ii https://leetcode.com/problems/binary-tree-right-side-view
32 273 227 Integer to English Words Basic Calculator II 27.1% 36.9% Hard Medium 0.012081089250339716 0.01239941490503826 https://leetcode.com/problems/integer-to-english-words https://leetcode.com/problems/basic-calculator-ii
33 75 273 Sort Colors Integer to English Words 47.3% 27.1% Medium Hard 0.011198325310029539 0.012081089250339716 https://leetcode.com/problems/sort-colors https://leetcode.com/problems/integer-to-english-words
34 72 75 Edit Distance Sort Colors 44.8% 47.3% Hard Medium 0.010017614452317782 0.011198325310029539 https://leetcode.com/problems/edit-distance https://leetcode.com/problems/sort-colors
35 46 72 Permutations Edit Distance 63.5% 44.8% Medium Hard 0.009461803137288448 0.010017614452317782 https://leetcode.com/problems/permutations https://leetcode.com/problems/edit-distance
36 189 46 Rotate Array Permutations 34.7% 63.5% Easy Medium 0.00904437880665999 0.009461803137288448 https://leetcode.com/problems/rotate-array https://leetcode.com/problems/permutations
37 416 189 Partition Equal Subset Sum Rotate Array 43.7% 34.7% Medium Easy 0.008686265255960345 0.00904437880665999 https://leetcode.com/problems/partition-equal-subset-sum https://leetcode.com/problems/rotate-array
38 876 416 Middle of the Linked List Partition Equal Subset Sum 68.4% 43.7% Easy Medium 0.007624893975696915 0.008686265255960345 https://leetcode.com/problems/middle-of-the-linked-list https://leetcode.com/problems/partition-equal-subset-sum
39 2 876 Add Two Numbers Middle of the Linked List 33.9% 68.4% Medium Easy 0.006737434951993369 0.007624893975696915 https://leetcode.com/problems/add-two-numbers https://leetcode.com/problems/middle-of-the-linked-list
40 283 2 Move Zeroes Add Two Numbers 57.8% 33.9% Easy Medium 0.006480437425856766 0.006737434951993369 https://leetcode.com/problems/move-zeroes https://leetcode.com/problems/add-two-numbers
41 973 283 K Closest Points to Origin Move Zeroes 63.8% 57.8% Medium Easy 0.005773688094426333 0.006480437425856766 https://leetcode.com/problems/k-closest-points-to-origin https://leetcode.com/problems/move-zeroes
42 167 973 Two Sum II - Input array is sorted K Closest Points to Origin 54.1% 63.8% Easy Medium 0.005507380022589096 0.005773688094426333 https://leetcode.com/problems/two-sum-ii-input-array-is-sorted https://leetcode.com/problems/k-closest-points-to-origin
43 207 167 Course Schedule Two Sum II - Input array is sorted 43.1% 54.1% Medium Easy 0.004964021114211758 0.005507380022589096 https://leetcode.com/problems/course-schedule https://leetcode.com/problems/two-sum-ii-input-array-is-sorted
44 15 207 3Sum Course Schedule 26.8% 43.1% Medium Medium 0.004940992758742591 0.004964021114211758 https://leetcode.com/problems/3sum https://leetcode.com/problems/course-schedule
45 236 15 Lowest Common Ancestor of a Binary Tree 3Sum 45.7% 26.8% Medium Medium 0.004714210262726446 0.004940992758742591 https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-tree https://leetcode.com/problems/3sum
46 322 236 Coin Change Lowest Common Ancestor of a Binary Tree 35.5% 45.7% Medium Medium 0.004029826126500844 0.004714210262726446 https://leetcode.com/problems/coin-change https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-tree
47 28 322 Implement strStr() Coin Change 34.5% 35.5% Easy Medium 0.003943222775040032 0.004029826126500844 https://leetcode.com/problems/implement-strstr https://leetcode.com/problems/coin-change
48 238 28 Product of Array Except Self Implement strStr() 60.1% 34.5% Medium Easy 0.003930436424724545 0.003943222775040032 https://leetcode.com/problems/product-of-array-except-self https://leetcode.com/problems/implement-strstr
49 344 238 Reverse String Product of Array Except Self 68.5% 60.1% Easy Medium 0.003269579502519813 0.003930436424724545 https://leetcode.com/problems/reverse-string https://leetcode.com/problems/product-of-array-except-self
50 33 344 Search in Rotated Sorted Array Reverse String 34.5% 68.5% Medium Easy 0.003229976968332634 0.003269579502519813 https://leetcode.com/problems/search-in-rotated-sorted-array https://leetcode.com/problems/reverse-string
51 200 33 Number of Islands Search in Rotated Sorted Array 46.8% 34.5% Medium Medium 0.0028897578265903614 0.003229976968332634 https://leetcode.com/problems/number-of-islands https://leetcode.com/problems/search-in-rotated-sorted-array
52 104 200 Maximum Depth of Binary Tree Number of Islands 66.0% 46.8% Easy Medium 0.002787846801433134 0.0028897578265903614 https://leetcode.com/problems/maximum-depth-of-binary-tree https://leetcode.com/problems/number-of-islands
53 206 104 Reverse Linked List Maximum Depth of Binary Tree 62.5% 66.0% Easy Easy 0.0023398665252948926 0.002787846801433134 https://leetcode.com/problems/reverse-linked-list https://leetcode.com/problems/maximum-depth-of-binary-tree
54 5 206 Longest Palindromic Substring Reverse Linked List 29.5% 62.5% Medium Easy 0.002279333142507479 0.0023398665252948926 https://leetcode.com/problems/longest-palindromic-substring https://leetcode.com/problems/reverse-linked-list
55 21 5 Merge Two Sorted Lists Longest Palindromic Substring 53.5% 29.5% Easy Medium 0.0022551737583973706 0.002279333142507479 https://leetcode.com/problems/merge-two-sorted-lists https://leetcode.com/problems/longest-palindromic-substring
56 121 21 Best Time to Buy and Sell Stock Merge Two Sorted Lists 50.5% 53.5% Easy Easy 0.0021239321954525975 0.0022551737583973706 https://leetcode.com/problems/best-time-to-buy-and-sell-stock https://leetcode.com/problems/merge-two-sorted-lists
57 203 121 Remove Linked List Elements Best Time to Buy and Sell Stock 38.6% 50.5% Easy Easy 0.0016237064659255223 0.0021239321954525975 https://leetcode.com/problems/remove-linked-list-elements https://leetcode.com/problems/best-time-to-buy-and-sell-stock
58 3 203 Longest Substring Without Repeating Characters Remove Linked List Elements 30.4% 38.6% Medium Easy 0.0015556336509412823 0.0016237064659255223 https://leetcode.com/problems/longest-substring-without-repeating-characters https://leetcode.com/problems/remove-linked-list-elements
59 3 Longest Substring Without Repeating Characters 30.4% Medium 0.0015556336509412823 https://leetcode.com/problems/longest-substring-without-repeating-characters