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,52 +1,53 @@
635,Design Log Storage System,58.6%,Medium,2.2981349041046517, https://leetcode.com/problems/design-log-storage-system
256,Paint House,52.1%,Easy,1.5313678227960323, https://leetcode.com/problems/paint-house
780,Reaching Points,29.4%,Hard,1.3793349295510802, https://leetcode.com/problems/reaching-points
57,Insert Interval,33.5%,Hard,0.6125678482424609, https://leetcode.com/problems/insert-interval
920,Number of Music Playlists,46.5%,Hard,0.2876820724517809, https://leetcode.com/problems/number-of-music-playlists
1326,Minimum Number of Taps to Open to Water a Garden,43.6%,Hard,0.2786048543006643, https://leetcode.com/problems/minimum-number-of-taps-to-open-to-water-a-garden
945,Minimum Increment to Make Array Unique,46.3%,Medium,0.27427904232444056, https://leetcode.com/problems/minimum-increment-to-make-array-unique
547,Friend Circles,58.6%,Medium,0.22246660738239243, https://leetcode.com/problems/friend-circles
341,Flatten Nested List Iterator,52.9%,Medium,0.2209211036876481, https://leetcode.com/problems/flatten-nested-list-iterator
532,K-diff Pairs in an Array,31.6%,Easy,0.15718558352241233, https://leetcode.com/problems/k-diff-pairs-in-an-array
20,Valid Parentheses,39.0%,Easy,0.13750374228546985, https://leetcode.com/problems/valid-parentheses
706,Design HashMap,61.3%,Easy,0.10482987091202353, https://leetcode.com/problems/design-hashmap
200,Number of Islands,46.8%,Medium,0.09910455319823885, https://leetcode.com/problems/number-of-islands
307,Range Sum Query - Mutable,34.6%,Medium,0.08612096757681667, https://leetcode.com/problems/range-sum-query-mutable
161,One Edit Distance,32.3%,Medium,0.07982960165248484, https://leetcode.com/problems/one-edit-distance
271,Encode and Decode Strings,31.5%,Medium,0.07197349962508924, https://leetcode.com/problems/encode-and-decode-strings
647,Palindromic Substrings,60.6%,Medium,0.06329624434241725, https://leetcode.com/problems/palindromic-substrings
68,Text Justification,27.7%,Hard,0.06116036187169583, https://leetcode.com/problems/text-justification
528,Random Pick with Weight,43.9%,Medium,0.05805039128849884, https://leetcode.com/problems/random-pick-with-weight
295,Find Median from Data Stream,44.3%,Hard,0.05495888428075748, https://leetcode.com/problems/find-median-from-data-stream
56,Merge Intervals,39.3%,Medium,0.054167920212564245, https://leetcode.com/problems/merge-intervals
679,24 Game,46.4%,Hard,0.05341723749698583, https://leetcode.com/problems/24-game
767,Reorganize String,48.7%,Medium,0.05216306328458592, https://leetcode.com/problems/reorganize-string
981,Time Based Key-Value Store,53.1%,Medium,0.049406315387071284, https://leetcode.com/problems/time-based-key-value-store
1041,Robot Bounded In Circle,49.6%,Medium,0.0483770263821056, https://leetcode.com/problems/robot-bounded-in-circle
239,Sliding Window Maximum,43.0%,Hard,0.0483746857022364, https://leetcode.com/problems/sliding-window-maximum
490,The Maze,51.4%,Medium,0.04287902305923364, https://leetcode.com/problems/the-maze
716,Max Stack,42.6%,Easy,0.042695919196489414, https://leetcode.com/problems/max-stack
346,Moving Average from Data Stream,70.9%,Easy,0.03932354620391436, https://leetcode.com/problems/moving-average-from-data-stream
380,Insert Delete GetRandom O(1),47.5%,Medium,0.038717635350707984, https://leetcode.com/problems/insert-delete-getrandom-o1
133,Clone Graph,34.8%,Medium,0.03215711163453134, https://leetcode.com/problems/clone-graph
814,Binary Tree Pruning,74.5%,Medium,0.03113091859517317, https://leetcode.com/problems/binary-tree-pruning
496,Next Greater Element I,63.8%,Easy,0.029462032730316202, https://leetcode.com/problems/next-greater-element-i
482,License Key Formatting,43.1%,Easy,0.024799783060416587, https://leetcode.com/problems/license-key-formatting
540,Single Element in a Sorted Array,57.9%,Medium,0.0192128868599912, https://leetcode.com/problems/single-element-in-a-sorted-array
23,Merge k Sorted Lists,40.2%,Hard,0.016108271385328228, https://leetcode.com/problems/merge-k-sorted-lists
76,Minimum Window Substring,34.6%,Hard,0.013966707481708198, https://leetcode.com/problems/minimum-window-substring
269,Alien Dictionary,33.3%,Hard,0.012730916694039954, https://leetcode.com/problems/alien-dictionary
146,LRU Cache,33.2%,Medium,0.010321192540274932, https://leetcode.com/problems/lru-cache
208,Implement Trie (Prefix Tree),49.4%,Medium,0.009105457856626612, https://leetcode.com/problems/implement-trie-prefix-tree
84,Largest Rectangle in Histogram,35.2%,Hard,0.00833685528906183, https://leetcode.com/problems/largest-rectangle-in-histogram
101,Symmetric Tree,46.8%,Easy,0.007646596306528098, https://leetcode.com/problems/symmetric-tree
36,Valid Sudoku,48.7%,Medium,0.007258242715805398, https://leetcode.com/problems/valid-sudoku
10,Regular Expression Matching,26.8%,Hard,0.0071865203293987245, https://leetcode.com/problems/regular-expression-matching
91,Decode Ways,24.7%,Medium,0.005968385368349129, https://leetcode.com/problems/decode-ways
105,Construct Binary Tree from Preorder and Inorder Traversal,48.8%,Medium,0.005628268691614718, https://leetcode.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal
124,Binary Tree Maximum Path Sum,34.3%,Hard,0.005531752454833179, https://leetcode.com/problems/binary-tree-maximum-path-sum
169,Majority Element,58.7%,Easy,0.004706444738837472, https://leetcode.com/problems/majority-element
139,Word Break,40.1%,Medium,0.003894465052690167, https://leetcode.com/problems/word-break
106,Construct Binary Tree from Inorder and Postorder Traversal,47.2%,Medium,0.00234041415121758, https://leetcode.com/problems/construct-binary-tree-from-inorder-and-postorder-traversal
210,Course Schedule II,40.7%,Medium,0.0019086707135282834, https://leetcode.com/problems/course-schedule-ii
1,Two Sum,45.6%,Easy,0.0008206138651873125, https://leetcode.com/problems/two-sum
ID,Title,Acceptance,Difficulty,Frequency,Leetcode Question Link
635,Design Log Storage System,58.6%,Medium,2.2981349041046517, https://leetcode.com/problems/design-log-storage-system
256,Paint House,52.1%,Easy,1.5313678227960323, https://leetcode.com/problems/paint-house
780,Reaching Points,29.4%,Hard,1.3793349295510802, https://leetcode.com/problems/reaching-points
57,Insert Interval,33.5%,Hard,0.6125678482424609, https://leetcode.com/problems/insert-interval
920,Number of Music Playlists,46.5%,Hard,0.2876820724517809, https://leetcode.com/problems/number-of-music-playlists
1326,Minimum Number of Taps to Open to Water a Garden,43.6%,Hard,0.2786048543006643, https://leetcode.com/problems/minimum-number-of-taps-to-open-to-water-a-garden
945,Minimum Increment to Make Array Unique,46.3%,Medium,0.27427904232444056, https://leetcode.com/problems/minimum-increment-to-make-array-unique
547,Friend Circles,58.6%,Medium,0.22246660738239243, https://leetcode.com/problems/friend-circles
341,Flatten Nested List Iterator,52.9%,Medium,0.2209211036876481, https://leetcode.com/problems/flatten-nested-list-iterator
532,K-diff Pairs in an Array,31.6%,Easy,0.15718558352241233, https://leetcode.com/problems/k-diff-pairs-in-an-array
20,Valid Parentheses,39.0%,Easy,0.13750374228546985, https://leetcode.com/problems/valid-parentheses
706,Design HashMap,61.3%,Easy,0.10482987091202353, https://leetcode.com/problems/design-hashmap
200,Number of Islands,46.8%,Medium,0.09910455319823885, https://leetcode.com/problems/number-of-islands
307,Range Sum Query - Mutable,34.6%,Medium,0.08612096757681667, https://leetcode.com/problems/range-sum-query-mutable
161,One Edit Distance,32.3%,Medium,0.07982960165248484, https://leetcode.com/problems/one-edit-distance
271,Encode and Decode Strings,31.5%,Medium,0.07197349962508924, https://leetcode.com/problems/encode-and-decode-strings
647,Palindromic Substrings,60.6%,Medium,0.06329624434241725, https://leetcode.com/problems/palindromic-substrings
68,Text Justification,27.7%,Hard,0.06116036187169583, https://leetcode.com/problems/text-justification
528,Random Pick with Weight,43.9%,Medium,0.05805039128849884, https://leetcode.com/problems/random-pick-with-weight
295,Find Median from Data Stream,44.3%,Hard,0.05495888428075748, https://leetcode.com/problems/find-median-from-data-stream
56,Merge Intervals,39.3%,Medium,0.054167920212564245, https://leetcode.com/problems/merge-intervals
679,24 Game,46.4%,Hard,0.05341723749698583, https://leetcode.com/problems/24-game
767,Reorganize String,48.7%,Medium,0.05216306328458592, https://leetcode.com/problems/reorganize-string
981,Time Based Key-Value Store,53.1%,Medium,0.049406315387071284, https://leetcode.com/problems/time-based-key-value-store
1041,Robot Bounded In Circle,49.6%,Medium,0.0483770263821056, https://leetcode.com/problems/robot-bounded-in-circle
239,Sliding Window Maximum,43.0%,Hard,0.0483746857022364, https://leetcode.com/problems/sliding-window-maximum
490,The Maze,51.4%,Medium,0.04287902305923364, https://leetcode.com/problems/the-maze
716,Max Stack,42.6%,Easy,0.042695919196489414, https://leetcode.com/problems/max-stack
346,Moving Average from Data Stream,70.9%,Easy,0.03932354620391436, https://leetcode.com/problems/moving-average-from-data-stream
380,Insert Delete GetRandom O(1),47.5%,Medium,0.038717635350707984, https://leetcode.com/problems/insert-delete-getrandom-o1
133,Clone Graph,34.8%,Medium,0.03215711163453134, https://leetcode.com/problems/clone-graph
814,Binary Tree Pruning,74.5%,Medium,0.03113091859517317, https://leetcode.com/problems/binary-tree-pruning
496,Next Greater Element I,63.8%,Easy,0.029462032730316202, https://leetcode.com/problems/next-greater-element-i
482,License Key Formatting,43.1%,Easy,0.024799783060416587, https://leetcode.com/problems/license-key-formatting
540,Single Element in a Sorted Array,57.9%,Medium,0.0192128868599912, https://leetcode.com/problems/single-element-in-a-sorted-array
23,Merge k Sorted Lists,40.2%,Hard,0.016108271385328228, https://leetcode.com/problems/merge-k-sorted-lists
76,Minimum Window Substring,34.6%,Hard,0.013966707481708198, https://leetcode.com/problems/minimum-window-substring
269,Alien Dictionary,33.3%,Hard,0.012730916694039954, https://leetcode.com/problems/alien-dictionary
146,LRU Cache,33.2%,Medium,0.010321192540274932, https://leetcode.com/problems/lru-cache
208,Implement Trie (Prefix Tree),49.4%,Medium,0.009105457856626612, https://leetcode.com/problems/implement-trie-prefix-tree
84,Largest Rectangle in Histogram,35.2%,Hard,0.00833685528906183, https://leetcode.com/problems/largest-rectangle-in-histogram
101,Symmetric Tree,46.8%,Easy,0.007646596306528098, https://leetcode.com/problems/symmetric-tree
36,Valid Sudoku,48.7%,Medium,0.007258242715805398, https://leetcode.com/problems/valid-sudoku
10,Regular Expression Matching,26.8%,Hard,0.0071865203293987245, https://leetcode.com/problems/regular-expression-matching
91,Decode Ways,24.7%,Medium,0.005968385368349129, https://leetcode.com/problems/decode-ways
105,Construct Binary Tree from Preorder and Inorder Traversal,48.8%,Medium,0.005628268691614718, https://leetcode.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal
124,Binary Tree Maximum Path Sum,34.3%,Hard,0.005531752454833179, https://leetcode.com/problems/binary-tree-maximum-path-sum
169,Majority Element,58.7%,Easy,0.004706444738837472, https://leetcode.com/problems/majority-element
139,Word Break,40.1%,Medium,0.003894465052690167, https://leetcode.com/problems/word-break
106,Construct Binary Tree from Inorder and Postorder Traversal,47.2%,Medium,0.00234041415121758, https://leetcode.com/problems/construct-binary-tree-from-inorder-and-postorder-traversal
210,Course Schedule II,40.7%,Medium,0.0019086707135282834, https://leetcode.com/problems/course-schedule-ii
1,Two Sum,45.6%,Easy,0.0008206138651873125, https://leetcode.com/problems/two-sum
1 635 ID Design Log Storage System Title 58.6% Acceptance Medium Difficulty 2.2981349041046517 Frequency https://leetcode.com/problems/design-log-storage-system Leetcode Question Link
2 256 635 Paint House Design Log Storage System 52.1% 58.6% Easy Medium 1.5313678227960323 2.2981349041046517 https://leetcode.com/problems/paint-house https://leetcode.com/problems/design-log-storage-system
3 780 256 Reaching Points Paint House 29.4% 52.1% Hard Easy 1.3793349295510802 1.5313678227960323 https://leetcode.com/problems/reaching-points https://leetcode.com/problems/paint-house
4 57 780 Insert Interval Reaching Points 33.5% 29.4% Hard Hard 0.6125678482424609 1.3793349295510802 https://leetcode.com/problems/insert-interval https://leetcode.com/problems/reaching-points
5 920 57 Number of Music Playlists Insert Interval 46.5% 33.5% Hard Hard 0.2876820724517809 0.6125678482424609 https://leetcode.com/problems/number-of-music-playlists https://leetcode.com/problems/insert-interval
6 1326 920 Minimum Number of Taps to Open to Water a Garden Number of Music Playlists 43.6% 46.5% Hard Hard 0.2786048543006643 0.2876820724517809 https://leetcode.com/problems/minimum-number-of-taps-to-open-to-water-a-garden https://leetcode.com/problems/number-of-music-playlists
7 945 1326 Minimum Increment to Make Array Unique Minimum Number of Taps to Open to Water a Garden 46.3% 43.6% Medium Hard 0.27427904232444056 0.2786048543006643 https://leetcode.com/problems/minimum-increment-to-make-array-unique https://leetcode.com/problems/minimum-number-of-taps-to-open-to-water-a-garden
8 547 945 Friend Circles Minimum Increment to Make Array Unique 58.6% 46.3% Medium Medium 0.22246660738239243 0.27427904232444056 https://leetcode.com/problems/friend-circles https://leetcode.com/problems/minimum-increment-to-make-array-unique
9 341 547 Flatten Nested List Iterator Friend Circles 52.9% 58.6% Medium Medium 0.2209211036876481 0.22246660738239243 https://leetcode.com/problems/flatten-nested-list-iterator https://leetcode.com/problems/friend-circles
10 532 341 K-diff Pairs in an Array Flatten Nested List Iterator 31.6% 52.9% Easy Medium 0.15718558352241233 0.2209211036876481 https://leetcode.com/problems/k-diff-pairs-in-an-array https://leetcode.com/problems/flatten-nested-list-iterator
11 20 532 Valid Parentheses K-diff Pairs in an Array 39.0% 31.6% Easy Easy 0.13750374228546985 0.15718558352241233 https://leetcode.com/problems/valid-parentheses https://leetcode.com/problems/k-diff-pairs-in-an-array
12 706 20 Design HashMap Valid Parentheses 61.3% 39.0% Easy Easy 0.10482987091202353 0.13750374228546985 https://leetcode.com/problems/design-hashmap https://leetcode.com/problems/valid-parentheses
13 200 706 Number of Islands Design HashMap 46.8% 61.3% Medium Easy 0.09910455319823885 0.10482987091202353 https://leetcode.com/problems/number-of-islands https://leetcode.com/problems/design-hashmap
14 307 200 Range Sum Query - Mutable Number of Islands 34.6% 46.8% Medium Medium 0.08612096757681667 0.09910455319823885 https://leetcode.com/problems/range-sum-query-mutable https://leetcode.com/problems/number-of-islands
15 161 307 One Edit Distance Range Sum Query - Mutable 32.3% 34.6% Medium Medium 0.07982960165248484 0.08612096757681667 https://leetcode.com/problems/one-edit-distance https://leetcode.com/problems/range-sum-query-mutable
16 271 161 Encode and Decode Strings One Edit Distance 31.5% 32.3% Medium Medium 0.07197349962508924 0.07982960165248484 https://leetcode.com/problems/encode-and-decode-strings https://leetcode.com/problems/one-edit-distance
17 647 271 Palindromic Substrings Encode and Decode Strings 60.6% 31.5% Medium Medium 0.06329624434241725 0.07197349962508924 https://leetcode.com/problems/palindromic-substrings https://leetcode.com/problems/encode-and-decode-strings
18 68 647 Text Justification Palindromic Substrings 27.7% 60.6% Hard Medium 0.06116036187169583 0.06329624434241725 https://leetcode.com/problems/text-justification https://leetcode.com/problems/palindromic-substrings
19 528 68 Random Pick with Weight Text Justification 43.9% 27.7% Medium Hard 0.05805039128849884 0.06116036187169583 https://leetcode.com/problems/random-pick-with-weight https://leetcode.com/problems/text-justification
20 295 528 Find Median from Data Stream Random Pick with Weight 44.3% 43.9% Hard Medium 0.05495888428075748 0.05805039128849884 https://leetcode.com/problems/find-median-from-data-stream https://leetcode.com/problems/random-pick-with-weight
21 56 295 Merge Intervals Find Median from Data Stream 39.3% 44.3% Medium Hard 0.054167920212564245 0.05495888428075748 https://leetcode.com/problems/merge-intervals https://leetcode.com/problems/find-median-from-data-stream
22 679 56 24 Game Merge Intervals 46.4% 39.3% Hard Medium 0.05341723749698583 0.054167920212564245 https://leetcode.com/problems/24-game https://leetcode.com/problems/merge-intervals
23 767 679 Reorganize String 24 Game 48.7% 46.4% Medium Hard 0.05216306328458592 0.05341723749698583 https://leetcode.com/problems/reorganize-string https://leetcode.com/problems/24-game
24 981 767 Time Based Key-Value Store Reorganize String 53.1% 48.7% Medium Medium 0.049406315387071284 0.05216306328458592 https://leetcode.com/problems/time-based-key-value-store https://leetcode.com/problems/reorganize-string
25 1041 981 Robot Bounded In Circle Time Based Key-Value Store 49.6% 53.1% Medium Medium 0.0483770263821056 0.049406315387071284 https://leetcode.com/problems/robot-bounded-in-circle https://leetcode.com/problems/time-based-key-value-store
26 239 1041 Sliding Window Maximum Robot Bounded In Circle 43.0% 49.6% Hard Medium 0.0483746857022364 0.0483770263821056 https://leetcode.com/problems/sliding-window-maximum https://leetcode.com/problems/robot-bounded-in-circle
27 490 239 The Maze Sliding Window Maximum 51.4% 43.0% Medium Hard 0.04287902305923364 0.0483746857022364 https://leetcode.com/problems/the-maze https://leetcode.com/problems/sliding-window-maximum
28 716 490 Max Stack The Maze 42.6% 51.4% Easy Medium 0.042695919196489414 0.04287902305923364 https://leetcode.com/problems/max-stack https://leetcode.com/problems/the-maze
29 346 716 Moving Average from Data Stream Max Stack 70.9% 42.6% Easy Easy 0.03932354620391436 0.042695919196489414 https://leetcode.com/problems/moving-average-from-data-stream https://leetcode.com/problems/max-stack
30 380 346 Insert Delete GetRandom O(1) Moving Average from Data Stream 47.5% 70.9% Medium Easy 0.038717635350707984 0.03932354620391436 https://leetcode.com/problems/insert-delete-getrandom-o1 https://leetcode.com/problems/moving-average-from-data-stream
31 133 380 Clone Graph Insert Delete GetRandom O(1) 34.8% 47.5% Medium Medium 0.03215711163453134 0.038717635350707984 https://leetcode.com/problems/clone-graph https://leetcode.com/problems/insert-delete-getrandom-o1
32 814 133 Binary Tree Pruning Clone Graph 74.5% 34.8% Medium Medium 0.03113091859517317 0.03215711163453134 https://leetcode.com/problems/binary-tree-pruning https://leetcode.com/problems/clone-graph
33 496 814 Next Greater Element I Binary Tree Pruning 63.8% 74.5% Easy Medium 0.029462032730316202 0.03113091859517317 https://leetcode.com/problems/next-greater-element-i https://leetcode.com/problems/binary-tree-pruning
34 482 496 License Key Formatting Next Greater Element I 43.1% 63.8% Easy Easy 0.024799783060416587 0.029462032730316202 https://leetcode.com/problems/license-key-formatting https://leetcode.com/problems/next-greater-element-i
35 540 482 Single Element in a Sorted Array License Key Formatting 57.9% 43.1% Medium Easy 0.0192128868599912 0.024799783060416587 https://leetcode.com/problems/single-element-in-a-sorted-array https://leetcode.com/problems/license-key-formatting
36 23 540 Merge k Sorted Lists Single Element in a Sorted Array 40.2% 57.9% Hard Medium 0.016108271385328228 0.0192128868599912 https://leetcode.com/problems/merge-k-sorted-lists https://leetcode.com/problems/single-element-in-a-sorted-array
37 76 23 Minimum Window Substring Merge k Sorted Lists 34.6% 40.2% Hard Hard 0.013966707481708198 0.016108271385328228 https://leetcode.com/problems/minimum-window-substring https://leetcode.com/problems/merge-k-sorted-lists
38 269 76 Alien Dictionary Minimum Window Substring 33.3% 34.6% Hard Hard 0.012730916694039954 0.013966707481708198 https://leetcode.com/problems/alien-dictionary https://leetcode.com/problems/minimum-window-substring
39 146 269 LRU Cache Alien Dictionary 33.2% 33.3% Medium Hard 0.010321192540274932 0.012730916694039954 https://leetcode.com/problems/lru-cache https://leetcode.com/problems/alien-dictionary
40 208 146 Implement Trie (Prefix Tree) LRU Cache 49.4% 33.2% Medium Medium 0.009105457856626612 0.010321192540274932 https://leetcode.com/problems/implement-trie-prefix-tree https://leetcode.com/problems/lru-cache
41 84 208 Largest Rectangle in Histogram Implement Trie (Prefix Tree) 35.2% 49.4% Hard Medium 0.00833685528906183 0.009105457856626612 https://leetcode.com/problems/largest-rectangle-in-histogram https://leetcode.com/problems/implement-trie-prefix-tree
42 101 84 Symmetric Tree Largest Rectangle in Histogram 46.8% 35.2% Easy Hard 0.007646596306528098 0.00833685528906183 https://leetcode.com/problems/symmetric-tree https://leetcode.com/problems/largest-rectangle-in-histogram
43 36 101 Valid Sudoku Symmetric Tree 48.7% 46.8% Medium Easy 0.007258242715805398 0.007646596306528098 https://leetcode.com/problems/valid-sudoku https://leetcode.com/problems/symmetric-tree
44 10 36 Regular Expression Matching Valid Sudoku 26.8% 48.7% Hard Medium 0.0071865203293987245 0.007258242715805398 https://leetcode.com/problems/regular-expression-matching https://leetcode.com/problems/valid-sudoku
45 91 10 Decode Ways Regular Expression Matching 24.7% 26.8% Medium Hard 0.005968385368349129 0.0071865203293987245 https://leetcode.com/problems/decode-ways https://leetcode.com/problems/regular-expression-matching
46 105 91 Construct Binary Tree from Preorder and Inorder Traversal Decode Ways 48.8% 24.7% Medium Medium 0.005628268691614718 0.005968385368349129 https://leetcode.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal https://leetcode.com/problems/decode-ways
47 124 105 Binary Tree Maximum Path Sum Construct Binary Tree from Preorder and Inorder Traversal 34.3% 48.8% Hard Medium 0.005531752454833179 0.005628268691614718 https://leetcode.com/problems/binary-tree-maximum-path-sum https://leetcode.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal
48 169 124 Majority Element Binary Tree Maximum Path Sum 58.7% 34.3% Easy Hard 0.004706444738837472 0.005531752454833179 https://leetcode.com/problems/majority-element https://leetcode.com/problems/binary-tree-maximum-path-sum
49 139 169 Word Break Majority Element 40.1% 58.7% Medium Easy 0.003894465052690167 0.004706444738837472 https://leetcode.com/problems/word-break https://leetcode.com/problems/majority-element
50 106 139 Construct Binary Tree from Inorder and Postorder Traversal Word Break 47.2% 40.1% Medium Medium 0.00234041415121758 0.003894465052690167 https://leetcode.com/problems/construct-binary-tree-from-inorder-and-postorder-traversal https://leetcode.com/problems/word-break
51 210 106 Course Schedule II Construct Binary Tree from Inorder and Postorder Traversal 40.7% 47.2% Medium Medium 0.0019086707135282834 0.00234041415121758 https://leetcode.com/problems/course-schedule-ii https://leetcode.com/problems/construct-binary-tree-from-inorder-and-postorder-traversal
52 1 210 Two Sum Course Schedule II 45.6% 40.7% Easy Medium 0.0008206138651873125 0.0019086707135282834 https://leetcode.com/problems/two-sum https://leetcode.com/problems/course-schedule-ii
53 1 Two Sum 45.6% Easy 0.0008206138651873125 https://leetcode.com/problems/two-sum