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,228 +1,229 @@
1,Two Sum,45.6%,Easy,0.900096464956218, https://leetcode.com/problems/two-sum
2,Add Two Numbers,33.9%,Medium,0.7674901747071898, https://leetcode.com/problems/add-two-numbers
741,Cherry Pickup,33.9%,Hard,0.6348838844581617, https://leetcode.com/problems/cherry-pickup
21,Merge Two Sorted Lists,53.5%,Easy,0.5022775942091335, https://leetcode.com/problems/merge-two-sorted-lists
5,Longest Palindromic Substring,29.5%,Medium,0.36967130396010545, https://leetcode.com/problems/longest-palindromic-substring
3,Longest Substring Without Repeating Characters,30.4%,Medium,0.33543751206600453, https://leetcode.com/problems/longest-substring-without-repeating-characters
4,Median of Two Sorted Arrays,29.6%,Hard,0.30208546395829133, https://leetcode.com/problems/median-of-two-sorted-arrays
15,3Sum,26.8%,Medium,0.25552496081724957, https://leetcode.com/problems/3sum
1096,Brace Expansion II,62.2%,Hard,0.2363887780642304, https://leetcode.com/problems/brace-expansion-ii
7,Reverse Integer,25.8%,Easy,0.2202424163450189, https://leetcode.com/problems/reverse-integer
192,Word Frequency,25.8%,Medium,0.21614863444241852, https://leetcode.com/problems/word-frequency
274,H-Index,36.1%,Medium,0.19380371568797425, https://leetcode.com/problems/h-index
206,Reverse Linked List,62.5%,Easy,0.1563653350583309, https://leetcode.com/problems/reverse-linked-list
706,Design HashMap,61.3%,Easy,0.1476880076475794, https://leetcode.com/problems/design-hashmap
22,Generate Parentheses,62.7%,Medium,0.14612656455721032, https://leetcode.com/problems/generate-parentheses
175,Combine Two Tables,60.8%,Easy,0.1453647140234507, https://leetcode.com/problems/combine-two-tables
728,Self Dividing Numbers,74.3%,Easy,0.14501328757782014, https://leetcode.com/problems/self-dividing-numbers
726,Number of Atoms,49.0%,Hard,0.13804422079620546, https://leetcode.com/problems/number-of-atoms
146,LRU Cache,33.2%,Medium,0.13057313078965735, https://leetcode.com/problems/lru-cache
42,Trapping Rain Water,48.9%,Hard,0.12389276378675394, https://leetcode.com/problems/trapping-rain-water
446,Arithmetic Slices II - Subsequence,32.7%,Hard,0.12099331128663167, https://leetcode.com/problems/arithmetic-slices-ii-subsequence
6,ZigZag Conversion,36.3%,Medium,0.11677183708486526, https://leetcode.com/problems/zigzag-conversion
368,Largest Divisible Subset,38.0%,Medium,0.11624101530456815, https://leetcode.com/problems/largest-divisible-subset
238,Product of Array Except Self,60.1%,Medium,0.11255129774720934, https://leetcode.com/problems/product-of-array-except-self
82,Remove Duplicates from Sorted List II,36.8%,Medium,0.1110882064011508, https://leetcode.com/problems/remove-duplicates-from-sorted-list-ii
53,Maximum Subarray,46.5%,Easy,0.10102310445192379, https://leetcode.com/problems/maximum-subarray
725,Split Linked List in Parts,52.2%,Medium,0.1007562928969156, https://leetcode.com/problems/split-linked-list-in-parts
12,Integer to Roman,55.1%,Medium,0.09981819303484349, https://leetcode.com/problems/integer-to-roman
836,Rectangle Overlap,48.6%,Easy,0.09358079943969791, https://leetcode.com/problems/rectangle-overlap
31,Next Permutation,32.6%,Medium,0.09178119886142269, https://leetcode.com/problems/next-permutation
929,Unique Email Addresses,67.4%,Easy,0.09107126584446965, https://leetcode.com/problems/unique-email-addresses
11,Container With Most Water,50.8%,Medium,0.08887230664829432, https://leetcode.com/problems/container-with-most-water
214,Shortest Palindrome,29.8%,Hard,0.0753494372417868, https://leetcode.com/problems/shortest-palindrome
76,Minimum Window Substring,34.6%,Hard,0.07378420845373558, https://leetcode.com/problems/minimum-window-substring
987,Vertical Order Traversal of a Binary Tree,36.6%,Medium,0.070392125446596, https://leetcode.com/problems/vertical-order-traversal-of-a-binary-tree
1114,Print in Order,65.7%,Easy,0.0700675626167169, https://leetcode.com/problems/print-in-order
386,Lexicographical Numbers,51.6%,Medium,0.06875559541512997, https://leetcode.com/problems/lexicographical-numbers
178,Rank Scores,45.8%,Medium,0.06551667145414991, https://leetcode.com/problems/rank-scores
554,Brick Wall,50.0%,Medium,0.0639195177132874, https://leetcode.com/problems/brick-wall
771,Jewels and Stones,86.4%,Easy,0.06372709715833007, https://leetcode.com/problems/jewels-and-stones
92,Reverse Linked List II,38.8%,Medium,0.0634569616201148, https://leetcode.com/problems/reverse-linked-list-ii
23,Merge k Sorted Lists,40.2%,Hard,0.06293239083543646, https://leetcode.com/problems/merge-k-sorted-lists
300,Longest Increasing Subsequence,42.6%,Medium,0.06265630749555627, https://leetcode.com/problems/longest-increasing-subsequence
115,Distinct Subsequences,38.3%,Hard,0.061494781607806234, https://leetcode.com/problems/distinct-subsequences
195,Tenth Line,33.0%,Easy,0.06127490750055161, https://leetcode.com/problems/tenth-line
739,Daily Temperatures,63.3%,Medium,0.06111383323222972, https://leetcode.com/problems/daily-temperatures
420,Strong Password Checker,14.0%,Hard,0.061087691979838175, https://leetcode.com/problems/strong-password-checker
595,Big Countries,77.3%,Easy,0.06097126229595878, https://leetcode.com/problems/big-countries
18,4Sum,33.7%,Medium,0.05998439829836431, https://leetcode.com/problems/4sum
88,Merge Sorted Array,39.4%,Easy,0.059258174101133876, https://leetcode.com/problems/merge-sorted-array
74,Search a 2D Matrix,36.5%,Medium,0.057001980519332376, https://leetcode.com/problems/search-a-2d-matrix
312,Burst Balloons,51.8%,Hard,0.056547726798068784, https://leetcode.com/problems/burst-balloons
218,The Skyline Problem,34.6%,Hard,0.0564413109049518, https://leetcode.com/problems/the-skyline-problem
177,Nth Highest Salary,31.4%,Medium,0.0562934401878294, https://leetcode.com/problems/nth-highest-salary
41,First Missing Positive,32.0%,Hard,0.056273635982108605, https://leetcode.com/problems/first-missing-positive
30,Substring with Concatenation of All Words,25.4%,Hard,0.05509349054082484, https://leetcode.com/problems/substring-with-concatenation-of-all-words
202,Happy Number,50.4%,Easy,0.05503451923624455, https://leetcode.com/problems/happy-number
395,Longest Substring with At Least K Repeating Characters,41.4%,Medium,0.05371219359052555, https://leetcode.com/problems/longest-substring-with-at-least-k-repeating-characters
601,Human Traffic of Stadium,41.7%,Hard,0.05223119222544569, https://leetcode.com/problems/human-traffic-of-stadium
14,Longest Common Prefix,35.4%,Easy,0.051846064173015856, https://leetcode.com/problems/longest-common-prefix
681,Next Closest Time,45.0%,Medium,0.05045206096038863, https://leetcode.com/problems/next-closest-time
219,Contains Duplicate II,37.7%,Easy,0.05012010405957234, https://leetcode.com/problems/contains-duplicate-ii
16,3Sum Closest,46.0%,Medium,0.04613364174896058, https://leetcode.com/problems/3sum-closest
856,Score of Parentheses,60.5%,Medium,0.04567003683318837, https://leetcode.com/problems/score-of-parentheses
8,String to Integer (atoi),15.4%,Medium,0.04549614908874012, https://leetcode.com/problems/string-to-integer-atoi
176,Second Highest Salary,31.6%,Easy,0.045338680589061736, https://leetcode.com/problems/second-highest-salary
200,Number of Islands,46.8%,Medium,0.04526299408355752, https://leetcode.com/problems/number-of-islands
204,Count Primes,31.5%,Easy,0.04340205577484725, https://leetcode.com/problems/count-primes
669,Trim a Binary Search Tree,63.0%,Easy,0.04255961441879593, https://leetcode.com/problems/trim-a-binary-search-tree
448,Find All Numbers Disappeared in an Array,55.9%,Easy,0.04214343508255059, https://leetcode.com/problems/find-all-numbers-disappeared-in-an-array
535,Encode and Decode TinyURL,79.9%,Medium,0.041978881338661234, https://leetcode.com/problems/encode-and-decode-tinyurl
155,Min Stack,44.5%,Easy,0.04194952712763244, https://leetcode.com/problems/min-stack
1010,Pairs of Songs With Total Durations Divisible by 60,47.4%,Easy,0.04180336980436055, https://leetcode.com/problems/pairs-of-songs-with-total-durations-divisible-by-60
545,Boundary of Binary Tree,38.9%,Medium,0.04158603377810283, https://leetcode.com/problems/boundary-of-binary-tree
37,Sudoku Solver,43.6%,Hard,0.040527833612118376, https://leetcode.com/problems/sudoku-solver
25,Reverse Nodes in k-Group,42.1%,Hard,0.040236757867738004, https://leetcode.com/problems/reverse-nodes-in-k-group
686,Repeated String Match,32.3%,Easy,0.03984590854719967, https://leetcode.com/problems/repeated-string-match
344,Reverse String,68.5%,Easy,0.0393340697038369, https://leetcode.com/problems/reverse-string
560,Subarray Sum Equals K,43.9%,Medium,0.037871360699521406, https://leetcode.com/problems/subarray-sum-equals-k
389,Find the Difference,55.3%,Easy,0.03780374555587777, https://leetcode.com/problems/find-the-difference
64,Minimum Path Sum,54.5%,Medium,0.03769479893530684, https://leetcode.com/problems/minimum-path-sum
45,Jump Game II,30.6%,Hard,0.037651506203688394, https://leetcode.com/problems/jump-game-ii
402,Remove K Digits,28.4%,Medium,0.03755134565213245, https://leetcode.com/problems/remove-k-digits
95,Unique Binary Search Trees II,40.6%,Medium,0.037535682530377985, https://leetcode.com/problems/unique-binary-search-trees-ii
46,Permutations,63.5%,Medium,0.03732163223353564, https://leetcode.com/problems/permutations
375,Guess Number Higher or Lower II,40.3%,Medium,0.036634133179780384, https://leetcode.com/problems/guess-number-higher-or-lower-ii
51,N-Queens,46.6%,Hard,0.03651521297509749, https://leetcode.com/problems/n-queens
279,Perfect Squares,47.4%,Medium,0.03636764417087485, https://leetcode.com/problems/perfect-squares
20,Valid Parentheses,39.0%,Easy,0.03618871742239114, https://leetcode.com/problems/valid-parentheses
875,Koko Eating Bananas,52.1%,Medium,0.0359751024582779, https://leetcode.com/problems/koko-eating-bananas
32,Longest Valid Parentheses,28.4%,Hard,0.03595893038744387, https://leetcode.com/problems/longest-valid-parentheses
322,Coin Change,35.5%,Medium,0.03569682997206547, https://leetcode.com/problems/coin-change
59,Spiral Matrix II,53.9%,Medium,0.0351873674509732, https://leetcode.com/problems/spiral-matrix-ii
977,Squares of a Sorted Array,72.1%,Easy,0.0344861760711693, https://leetcode.com/problems/squares-of-a-sorted-array
49,Group Anagrams,56.9%,Medium,0.03372685005765885, https://leetcode.com/problems/group-anagrams
121,Best Time to Buy and Sell Stock,50.5%,Easy,0.033453179586686504, https://leetcode.com/problems/best-time-to-buy-and-sell-stock
198,House Robber,42.0%,Easy,0.033320991026093004, https://leetcode.com/problems/house-robber
78,Subsets,62.0%,Medium,0.03270937553603224, https://leetcode.com/problems/subsets
543,Diameter of Binary Tree,48.4%,Easy,0.032708305572393875, https://leetcode.com/problems/diameter-of-binary-tree
617,Merge Two Binary Trees,74.1%,Easy,0.03264929866766111, https://leetcode.com/problems/merge-two-binary-trees
48,Rotate Image,56.7%,Medium,0.03142936253029228, https://leetcode.com/problems/rotate-image
239,Sliding Window Maximum,43.0%,Hard,0.031228142547585713, https://leetcode.com/problems/sliding-window-maximum
131,Palindrome Partitioning,47.5%,Medium,0.03101558050692165, https://leetcode.com/problems/palindrome-partitioning
55,Jump Game,34.6%,Medium,0.030985252381807864, https://leetcode.com/problems/jump-game
460,LFU Cache,34.2%,Hard,0.030962225603966897, https://leetcode.com/problems/lfu-cache
44,Wildcard Matching,24.7%,Hard,0.030573033362282363, https://leetcode.com/problems/wildcard-matching
13,Roman to Integer,55.7%,Easy,0.030443751414723153, https://leetcode.com/problems/roman-to-integer
316,Remove Duplicate Letters,35.8%,Hard,0.030443751414723153, https://leetcode.com/problems/remove-duplicate-letters
70,Climbing Stairs,47.8%,Easy,0.03011156054328408, https://leetcode.com/problems/climbing-stairs
329,Longest Increasing Path in a Matrix,43.4%,Hard,0.029902560173869868, https://leetcode.com/problems/longest-increasing-path-in-a-matrix
85,Maximal Rectangle,37.7%,Hard,0.029754261081792705, https://leetcode.com/problems/maximal-rectangle
201,Bitwise AND of Numbers Range,39.4%,Medium,0.02969780239174205, https://leetcode.com/problems/bitwise-and-of-numbers-range
1108,Defanging an IP Address,87.5%,Easy,0.02901382119071579, https://leetcode.com/problems/defanging-an-ip-address
33,Search in Rotated Sorted Array,34.5%,Medium,0.0287009496170278, https://leetcode.com/problems/search-in-rotated-sorted-array
35,Search Insert Position,42.6%,Easy,0.028694726692013624, https://leetcode.com/problems/search-insert-position
10,Regular Expression Matching,26.8%,Hard,0.02844130559772196, https://leetcode.com/problems/regular-expression-matching
709,To Lower Case,79.3%,Easy,0.02780531308033682, https://leetcode.com/problems/to-lower-case
159,Longest Substring with At Most Two Distinct Characters,49.4%,Medium,0.02717558537896476, https://leetcode.com/problems/longest-substring-with-at-most-two-distinct-characters
343,Integer Break,50.4%,Medium,0.027157133968907482, https://leetcode.com/problems/integer-break
98,Validate Binary Search Tree,27.8%,Medium,0.026187123416340663, https://leetcode.com/problems/validate-binary-search-tree
54,Spiral Matrix,34.1%,Medium,0.02611966966892215, https://leetcode.com/problems/spiral-matrix
81,Search in Rotated Sorted Array II,33.0%,Medium,0.026111144003685752, https://leetcode.com/problems/search-in-rotated-sorted-array-ii
378,Kth Smallest Element in a Sorted Matrix,54.3%,Medium,0.02599048981653746, https://leetcode.com/problems/kth-smallest-element-in-a-sorted-matrix
143,Reorder List,37.1%,Medium,0.025870945598649286, https://leetcode.com/problems/reorder-list
107,Binary Tree Level Order Traversal II,53.5%,Easy,0.02545071360337261, https://leetcode.com/problems/binary-tree-level-order-traversal-ii
220,Contains Duplicate III,20.9%,Medium,0.024876904755404577, https://leetcode.com/problems/contains-duplicate-iii
877,Stone Game,64.8%,Medium,0.02486144206532915, https://leetcode.com/problems/stone-game
138,Copy List with Random Pointer,36.4%,Medium,0.02453734514188008, https://leetcode.com/problems/copy-list-with-random-pointer
139,Word Break,40.1%,Medium,0.024095228922591846, https://leetcode.com/problems/word-break
91,Decode Ways,24.7%,Medium,0.023662742620848144, https://leetcode.com/problems/decode-ways
65,Valid Number,15.3%,Hard,0.022858138076050194, https://leetcode.com/problems/valid-number
199,Binary Tree Right Side View,54.1%,Medium,0.022539339846061532, https://leetcode.com/problems/binary-tree-right-side-view
72,Edit Distance,44.8%,Hard,0.022400140173127806, https://leetcode.com/problems/edit-distance
185,Department Top Three Salaries,34.5%,Hard,0.02218615681552263, https://leetcode.com/problems/department-top-three-salaries
152,Maximum Product Subarray,31.7%,Medium,0.022176931045949227, https://leetcode.com/problems/maximum-product-subarray
221,Maximal Square,37.7%,Medium,0.022108490754203434, https://leetcode.com/problems/maximal-square
112,Path Sum,41.2%,Easy,0.021701651897460775, https://leetcode.com/problems/path-sum
56,Merge Intervals,39.3%,Medium,0.02150990613527447, https://leetcode.com/problems/merge-intervals
224,Basic Calculator,36.8%,Hard,0.020965128465044926, https://leetcode.com/problems/basic-calculator
96,Unique Binary Search Trees,52.9%,Medium,0.02067613283842731, https://leetcode.com/problems/unique-binary-search-trees
93,Restore IP Addresses,35.6%,Medium,0.019763489118839635, https://leetcode.com/problems/restore-ip-addresses
525,Contiguous Array,42.8%,Medium,0.01975372873623256, https://leetcode.com/problems/contiguous-array
399,Evaluate Division,51.6%,Medium,0.019380451549662482, https://leetcode.com/problems/evaluate-division
229,Majority Element II,35.6%,Medium,0.019057270410286146, https://leetcode.com/problems/majority-element-ii
236,Lowest Common Ancestor of a Binary Tree,45.7%,Medium,0.018724947332324816, https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-tree
169,Majority Element,58.7%,Easy,0.018694317054881164, https://leetcode.com/problems/majority-element
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
197,Rising Temperature,38.4%,Easy,0.018198864417406563, https://leetcode.com/problems/rising-temperature
234,Palindrome Linked List,39.3%,Easy,0.01801241989645556, https://leetcode.com/problems/palindrome-linked-list
314,Binary Tree Vertical Order Traversal,45.3%,Medium,0.018010392274465332, https://leetcode.com/problems/binary-tree-vertical-order-traversal
136,Single Number,65.5%,Easy,0.017801666336826266, https://leetcode.com/problems/single-number
993,Cousins in Binary Tree,52.0%,Easy,0.017414458368636587, https://leetcode.com/problems/cousins-in-binary-tree
168,Excel Sheet Column Title,31.1%,Easy,0.01734648872385377, https://leetcode.com/problems/excel-sheet-column-title
994,Rotting Oranges,49.2%,Medium,0.017087941897195622, https://leetcode.com/problems/rotting-oranges
415,Add Strings,47.5%,Easy,0.016991158247219373, https://leetcode.com/problems/add-strings
191,Number of 1 Bits,49.8%,Easy,0.01673523624045844, https://leetcode.com/problems/number-of-1-bits
71,Simplify Path,32.6%,Medium,0.016260520871780308, https://leetcode.com/problems/simplify-path
110,Balanced Binary Tree,43.5%,Easy,0.015742847432510365, https://leetcode.com/problems/balanced-binary-tree
215,Kth Largest Element in an Array,55.4%,Medium,0.015519225147600912, https://leetcode.com/problems/kth-largest-element-in-an-array
114,Flatten Binary Tree to Linked List,49.3%,Medium,0.015450951155718977, https://leetcode.com/problems/flatten-binary-tree-to-linked-list
1002,Find Common Characters,67.6%,Easy,0.015273301861833809, https://leetcode.com/problems/find-common-characters
561,Array Partition I,72.0%,Easy,0.015186320707985562, https://leetcode.com/problems/array-partition-i
29,Divide Two Integers,16.4%,Medium,0.01517479801923515, https://leetcode.com/problems/divide-two-integers
217,Contains Duplicate,56.0%,Easy,0.015106027431013205, https://leetcode.com/problems/contains-duplicate
142,Linked List Cycle II,37.3%,Medium,0.014710955064667802, https://leetcode.com/problems/linked-list-cycle-ii
315,Count of Smaller Numbers After Self,41.5%,Hard,0.014352596574956585, https://leetcode.com/problems/count-of-smaller-numbers-after-self
404,Sum of Left Leaves,50.9%,Easy,0.013981353230340547, https://leetcode.com/problems/sum-of-left-leaves
24,Swap Nodes in Pairs,50.4%,Medium,0.013945066390122038, https://leetcode.com/problems/swap-nodes-in-pairs
703,Kth Largest Element in a Stream,49.7%,Easy,0.013898764390814973, https://leetcode.com/problems/kth-largest-element-in-a-stream
1192,Critical Connections in a Network,48.6%,Hard,0.01352742981715631, https://leetcode.com/problems/critical-connections-in-a-network
122,Best Time to Buy and Sell Stock II,57.0%,Easy,0.013351333174864208, https://leetcode.com/problems/best-time-to-buy-and-sell-stock-ii
57,Insert Interval,33.5%,Hard,0.013119243592498872, https://leetcode.com/problems/insert-interval
665,Non-decreasing Array,19.5%,Easy,0.013016779950191773, https://leetcode.com/problems/non-decreasing-array
695,Max Area of Island,62.7%,Medium,0.012686500631003836, https://leetcode.com/problems/max-area-of-island
181,Employees Earning More Than Their Managers,56.9%,Easy,0.012618463959211509, https://leetcode.com/problems/employees-earning-more-than-their-managers
77,Combinations,54.7%,Medium,0.01255115315451512, https://leetcode.com/problems/combinations
137,Single Number II,52.4%,Medium,0.012527567532662891, https://leetcode.com/problems/single-number-ii
287,Find the Duplicate Number,55.5%,Medium,0.012335682739188652, https://leetcode.com/problems/find-the-duplicate-number
19,Remove Nth Node From End of List,35.2%,Medium,0.012249425864399291, https://leetcode.com/problems/remove-nth-node-from-end-of-list
547,Friend Circles,58.6%,Medium,0.012228828639434596, https://leetcode.com/problems/friend-circles
278,First Bad Version,35.7%,Easy,0.012090421323816148, https://leetcode.com/problems/first-bad-version
205,Isomorphic Strings,39.8%,Easy,0.011544139746865315, https://leetcode.com/problems/isomorphic-strings
1051,Height Checker,71.1%,Easy,0.011468015591641189, https://leetcode.com/problems/height-checker
148,Sort List,42.3%,Medium,0.011204599012863078, https://leetcode.com/problems/sort-list
268,Missing Number,51.7%,Easy,0.010947682628191997, https://leetcode.com/problems/missing-number
257,Binary Tree Paths,51.5%,Easy,0.010457611643958139, https://leetcode.com/problems/binary-tree-paths
647,Palindromic Substrings,60.6%,Medium,0.010400509768078022, https://leetcode.com/problems/palindromic-substrings
62,Unique Paths,54.1%,Medium,0.010367562048856941, https://leetcode.com/problems/unique-paths
61,Rotate List,30.0%,Medium,0.009925639799969955, https://leetcode.com/problems/rotate-list
380,Insert Delete GetRandom O(1),47.5%,Medium,0.009820849864094454, https://leetcode.com/problems/insert-delete-getrandom-o1
113,Path Sum II,46.7%,Medium,0.009784813879998279, https://leetcode.com/problems/path-sum-ii
47,Permutations II,46.4%,Medium,0.009673594178378379, https://leetcode.com/problems/permutations-ii
40,Combination Sum II,48.2%,Medium,0.009578617297069781, https://leetcode.com/problems/combination-sum-ii
387,First Unique Character in a String,53.4%,Easy,0.009392680199054166, https://leetcode.com/problems/first-unique-character-in-a-string
128,Longest Consecutive Sequence,45.1%,Hard,0.009051883485315484, https://leetcode.com/problems/longest-consecutive-sequence
295,Find Median from Data Stream,44.3%,Hard,0.00899893586856953, https://leetcode.com/problems/find-median-from-data-stream
125,Valid Palindrome,36.7%,Easy,0.008933948641551634, https://leetcode.com/problems/valid-palindrome
700,Search in a Binary Search Tree,73.1%,Easy,0.008512500860171227, https://leetcode.com/problems/search-in-a-binary-search-tree
84,Largest Rectangle in Histogram,35.2%,Hard,0.00833685528906183, https://leetcode.com/problems/largest-rectangle-in-histogram
102,Binary Tree Level Order Traversal,54.6%,Medium,0.008169238497129479, https://leetcode.com/problems/binary-tree-level-order-traversal
141,Linked List Cycle,41.1%,Easy,0.007843861028908454, https://leetcode.com/problems/linked-list-cycle
38,Count and Say,44.6%,Easy,0.007829360800435779, https://leetcode.com/problems/count-and-say
101,Symmetric Tree,46.8%,Easy,0.007646596306528098, https://leetcode.com/problems/symmetric-tree
876,Middle of the Linked List,68.4%,Easy,0.007624893975696915, https://leetcode.com/problems/middle-of-the-linked-list
240,Search a 2D Matrix II,43.2%,Medium,0.0075829747244553335, https://leetcode.com/problems/search-a-2d-matrix-ii
692,Top K Frequent Words,51.8%,Medium,0.007516006820935329, https://leetcode.com/problems/top-k-frequent-words
145,Binary Tree Postorder Traversal,55.0%,Hard,0.00751459482064135, https://leetcode.com/problems/binary-tree-postorder-traversal
36,Valid Sudoku,48.7%,Medium,0.007258242715805398, https://leetcode.com/problems/valid-sudoku
412,Fizz Buzz,62.3%,Easy,0.007165921026143679, https://leetcode.com/problems/fizz-buzz
1365,How Many Numbers Are Smaller Than the Current Number,85.6%,Easy,0.007109877088701047, https://leetcode.com/problems/how-many-numbers-are-smaller-than-the-current-number
73,Set Matrix Zeroes,43.1%,Medium,0.0070151111959223245, https://leetcode.com/problems/set-matrix-zeroes
9,Palindrome Number,48.4%,Easy,0.006822343017166543, https://leetcode.com/problems/palindrome-number
118,Pascal's Triangle,52.5%,Easy,0.006749941254175012, https://leetcode.com/problems/pascals-triangle
67,Add Binary,45.2%,Easy,0.006631598888145552, https://leetcode.com/problems/add-binary
83,Remove Duplicates from Sorted List,45.4%,Easy,0.006353261522609498, https://leetcode.com/problems/remove-duplicates-from-sorted-list
104,Maximum Depth of Binary Tree,66.0%,Easy,0.006261761223976207, https://leetcode.com/problems/maximum-depth-of-binary-tree
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
50,Pow(x;n),30.3%,Medium,0.0055950070772402055, https://leetcode.com/problems/powx-n
124,Binary Tree Maximum Path Sum,34.3%,Hard,0.005531752454833179, https://leetcode.com/problems/binary-tree-maximum-path-sum
237,Delete Node in a Linked List,63.8%,Easy,0.005144705881237697, https://leetcode.com/problems/delete-node-in-a-linked-list
1470,Shuffle the Array,88.9%,Easy,0.004527967890154029, https://leetcode.com/problems/shuffle-the-array
26,Remove Duplicates from Sorted Array,45.1%,Easy,0.004385117141850828, https://leetcode.com/problems/remove-duplicates-from-sorted-array
28,Implement strStr(),34.5%,Easy,0.003943222775040032, https://leetcode.com/problems/implement-strstr
66,Plus One,43.0%,Easy,0.00326211347832938, https://leetcode.com/problems/plus-one
283,Move Zeroes,57.8%,Easy,0.0028853803470673955, https://leetcode.com/problems/move-zeroes
154,Find Minimum in Rotated Sorted Array II,41.6%,Hard,0.0021273209107578427, https://leetcode.com/problems/find-minimum-in-rotated-sorted-array-ii
79,Word Search,35.6%,Medium,0.0016647248725526849, https://leetcode.com/problems/word-search
203,Remove Linked List Elements,38.6%,Easy,0.0016237064659255223, https://leetcode.com/problems/remove-linked-list-elements
ID,Title,Acceptance,Difficulty,Frequency,Leetcode Question Link
1,Two Sum,45.6%,Easy,0.900096464956218, https://leetcode.com/problems/two-sum
2,Add Two Numbers,33.9%,Medium,0.7674901747071898, https://leetcode.com/problems/add-two-numbers
741,Cherry Pickup,33.9%,Hard,0.6348838844581617, https://leetcode.com/problems/cherry-pickup
21,Merge Two Sorted Lists,53.5%,Easy,0.5022775942091335, https://leetcode.com/problems/merge-two-sorted-lists
5,Longest Palindromic Substring,29.5%,Medium,0.36967130396010545, https://leetcode.com/problems/longest-palindromic-substring
3,Longest Substring Without Repeating Characters,30.4%,Medium,0.33543751206600453, https://leetcode.com/problems/longest-substring-without-repeating-characters
4,Median of Two Sorted Arrays,29.6%,Hard,0.30208546395829133, https://leetcode.com/problems/median-of-two-sorted-arrays
15,3Sum,26.8%,Medium,0.25552496081724957, https://leetcode.com/problems/3sum
1096,Brace Expansion II,62.2%,Hard,0.2363887780642304, https://leetcode.com/problems/brace-expansion-ii
7,Reverse Integer,25.8%,Easy,0.2202424163450189, https://leetcode.com/problems/reverse-integer
192,Word Frequency,25.8%,Medium,0.21614863444241852, https://leetcode.com/problems/word-frequency
274,H-Index,36.1%,Medium,0.19380371568797425, https://leetcode.com/problems/h-index
206,Reverse Linked List,62.5%,Easy,0.1563653350583309, https://leetcode.com/problems/reverse-linked-list
706,Design HashMap,61.3%,Easy,0.1476880076475794, https://leetcode.com/problems/design-hashmap
22,Generate Parentheses,62.7%,Medium,0.14612656455721032, https://leetcode.com/problems/generate-parentheses
175,Combine Two Tables,60.8%,Easy,0.1453647140234507, https://leetcode.com/problems/combine-two-tables
728,Self Dividing Numbers,74.3%,Easy,0.14501328757782014, https://leetcode.com/problems/self-dividing-numbers
726,Number of Atoms,49.0%,Hard,0.13804422079620546, https://leetcode.com/problems/number-of-atoms
146,LRU Cache,33.2%,Medium,0.13057313078965735, https://leetcode.com/problems/lru-cache
42,Trapping Rain Water,48.9%,Hard,0.12389276378675394, https://leetcode.com/problems/trapping-rain-water
446,Arithmetic Slices II - Subsequence,32.7%,Hard,0.12099331128663167, https://leetcode.com/problems/arithmetic-slices-ii-subsequence
6,ZigZag Conversion,36.3%,Medium,0.11677183708486526, https://leetcode.com/problems/zigzag-conversion
368,Largest Divisible Subset,38.0%,Medium,0.11624101530456815, https://leetcode.com/problems/largest-divisible-subset
238,Product of Array Except Self,60.1%,Medium,0.11255129774720934, https://leetcode.com/problems/product-of-array-except-self
82,Remove Duplicates from Sorted List II,36.8%,Medium,0.1110882064011508, https://leetcode.com/problems/remove-duplicates-from-sorted-list-ii
53,Maximum Subarray,46.5%,Easy,0.10102310445192379, https://leetcode.com/problems/maximum-subarray
725,Split Linked List in Parts,52.2%,Medium,0.1007562928969156, https://leetcode.com/problems/split-linked-list-in-parts
12,Integer to Roman,55.1%,Medium,0.09981819303484349, https://leetcode.com/problems/integer-to-roman
836,Rectangle Overlap,48.6%,Easy,0.09358079943969791, https://leetcode.com/problems/rectangle-overlap
31,Next Permutation,32.6%,Medium,0.09178119886142269, https://leetcode.com/problems/next-permutation
929,Unique Email Addresses,67.4%,Easy,0.09107126584446965, https://leetcode.com/problems/unique-email-addresses
11,Container With Most Water,50.8%,Medium,0.08887230664829432, https://leetcode.com/problems/container-with-most-water
214,Shortest Palindrome,29.8%,Hard,0.0753494372417868, https://leetcode.com/problems/shortest-palindrome
76,Minimum Window Substring,34.6%,Hard,0.07378420845373558, https://leetcode.com/problems/minimum-window-substring
987,Vertical Order Traversal of a Binary Tree,36.6%,Medium,0.070392125446596, https://leetcode.com/problems/vertical-order-traversal-of-a-binary-tree
1114,Print in Order,65.7%,Easy,0.0700675626167169, https://leetcode.com/problems/print-in-order
386,Lexicographical Numbers,51.6%,Medium,0.06875559541512997, https://leetcode.com/problems/lexicographical-numbers
178,Rank Scores,45.8%,Medium,0.06551667145414991, https://leetcode.com/problems/rank-scores
554,Brick Wall,50.0%,Medium,0.0639195177132874, https://leetcode.com/problems/brick-wall
771,Jewels and Stones,86.4%,Easy,0.06372709715833007, https://leetcode.com/problems/jewels-and-stones
92,Reverse Linked List II,38.8%,Medium,0.0634569616201148, https://leetcode.com/problems/reverse-linked-list-ii
23,Merge k Sorted Lists,40.2%,Hard,0.06293239083543646, https://leetcode.com/problems/merge-k-sorted-lists
300,Longest Increasing Subsequence,42.6%,Medium,0.06265630749555627, https://leetcode.com/problems/longest-increasing-subsequence
115,Distinct Subsequences,38.3%,Hard,0.061494781607806234, https://leetcode.com/problems/distinct-subsequences
195,Tenth Line,33.0%,Easy,0.06127490750055161, https://leetcode.com/problems/tenth-line
739,Daily Temperatures,63.3%,Medium,0.06111383323222972, https://leetcode.com/problems/daily-temperatures
420,Strong Password Checker,14.0%,Hard,0.061087691979838175, https://leetcode.com/problems/strong-password-checker
595,Big Countries,77.3%,Easy,0.06097126229595878, https://leetcode.com/problems/big-countries
18,4Sum,33.7%,Medium,0.05998439829836431, https://leetcode.com/problems/4sum
88,Merge Sorted Array,39.4%,Easy,0.059258174101133876, https://leetcode.com/problems/merge-sorted-array
74,Search a 2D Matrix,36.5%,Medium,0.057001980519332376, https://leetcode.com/problems/search-a-2d-matrix
312,Burst Balloons,51.8%,Hard,0.056547726798068784, https://leetcode.com/problems/burst-balloons
218,The Skyline Problem,34.6%,Hard,0.0564413109049518, https://leetcode.com/problems/the-skyline-problem
177,Nth Highest Salary,31.4%,Medium,0.0562934401878294, https://leetcode.com/problems/nth-highest-salary
41,First Missing Positive,32.0%,Hard,0.056273635982108605, https://leetcode.com/problems/first-missing-positive
30,Substring with Concatenation of All Words,25.4%,Hard,0.05509349054082484, https://leetcode.com/problems/substring-with-concatenation-of-all-words
202,Happy Number,50.4%,Easy,0.05503451923624455, https://leetcode.com/problems/happy-number
395,Longest Substring with At Least K Repeating Characters,41.4%,Medium,0.05371219359052555, https://leetcode.com/problems/longest-substring-with-at-least-k-repeating-characters
601,Human Traffic of Stadium,41.7%,Hard,0.05223119222544569, https://leetcode.com/problems/human-traffic-of-stadium
14,Longest Common Prefix,35.4%,Easy,0.051846064173015856, https://leetcode.com/problems/longest-common-prefix
681,Next Closest Time,45.0%,Medium,0.05045206096038863, https://leetcode.com/problems/next-closest-time
219,Contains Duplicate II,37.7%,Easy,0.05012010405957234, https://leetcode.com/problems/contains-duplicate-ii
16,3Sum Closest,46.0%,Medium,0.04613364174896058, https://leetcode.com/problems/3sum-closest
856,Score of Parentheses,60.5%,Medium,0.04567003683318837, https://leetcode.com/problems/score-of-parentheses
8,String to Integer (atoi),15.4%,Medium,0.04549614908874012, https://leetcode.com/problems/string-to-integer-atoi
176,Second Highest Salary,31.6%,Easy,0.045338680589061736, https://leetcode.com/problems/second-highest-salary
200,Number of Islands,46.8%,Medium,0.04526299408355752, https://leetcode.com/problems/number-of-islands
204,Count Primes,31.5%,Easy,0.04340205577484725, https://leetcode.com/problems/count-primes
669,Trim a Binary Search Tree,63.0%,Easy,0.04255961441879593, https://leetcode.com/problems/trim-a-binary-search-tree
448,Find All Numbers Disappeared in an Array,55.9%,Easy,0.04214343508255059, https://leetcode.com/problems/find-all-numbers-disappeared-in-an-array
535,Encode and Decode TinyURL,79.9%,Medium,0.041978881338661234, https://leetcode.com/problems/encode-and-decode-tinyurl
155,Min Stack,44.5%,Easy,0.04194952712763244, https://leetcode.com/problems/min-stack
1010,Pairs of Songs With Total Durations Divisible by 60,47.4%,Easy,0.04180336980436055, https://leetcode.com/problems/pairs-of-songs-with-total-durations-divisible-by-60
545,Boundary of Binary Tree,38.9%,Medium,0.04158603377810283, https://leetcode.com/problems/boundary-of-binary-tree
37,Sudoku Solver,43.6%,Hard,0.040527833612118376, https://leetcode.com/problems/sudoku-solver
25,Reverse Nodes in k-Group,42.1%,Hard,0.040236757867738004, https://leetcode.com/problems/reverse-nodes-in-k-group
686,Repeated String Match,32.3%,Easy,0.03984590854719967, https://leetcode.com/problems/repeated-string-match
344,Reverse String,68.5%,Easy,0.0393340697038369, https://leetcode.com/problems/reverse-string
560,Subarray Sum Equals K,43.9%,Medium,0.037871360699521406, https://leetcode.com/problems/subarray-sum-equals-k
389,Find the Difference,55.3%,Easy,0.03780374555587777, https://leetcode.com/problems/find-the-difference
64,Minimum Path Sum,54.5%,Medium,0.03769479893530684, https://leetcode.com/problems/minimum-path-sum
45,Jump Game II,30.6%,Hard,0.037651506203688394, https://leetcode.com/problems/jump-game-ii
402,Remove K Digits,28.4%,Medium,0.03755134565213245, https://leetcode.com/problems/remove-k-digits
95,Unique Binary Search Trees II,40.6%,Medium,0.037535682530377985, https://leetcode.com/problems/unique-binary-search-trees-ii
46,Permutations,63.5%,Medium,0.03732163223353564, https://leetcode.com/problems/permutations
375,Guess Number Higher or Lower II,40.3%,Medium,0.036634133179780384, https://leetcode.com/problems/guess-number-higher-or-lower-ii
51,N-Queens,46.6%,Hard,0.03651521297509749, https://leetcode.com/problems/n-queens
279,Perfect Squares,47.4%,Medium,0.03636764417087485, https://leetcode.com/problems/perfect-squares
20,Valid Parentheses,39.0%,Easy,0.03618871742239114, https://leetcode.com/problems/valid-parentheses
875,Koko Eating Bananas,52.1%,Medium,0.0359751024582779, https://leetcode.com/problems/koko-eating-bananas
32,Longest Valid Parentheses,28.4%,Hard,0.03595893038744387, https://leetcode.com/problems/longest-valid-parentheses
322,Coin Change,35.5%,Medium,0.03569682997206547, https://leetcode.com/problems/coin-change
59,Spiral Matrix II,53.9%,Medium,0.0351873674509732, https://leetcode.com/problems/spiral-matrix-ii
977,Squares of a Sorted Array,72.1%,Easy,0.0344861760711693, https://leetcode.com/problems/squares-of-a-sorted-array
49,Group Anagrams,56.9%,Medium,0.03372685005765885, https://leetcode.com/problems/group-anagrams
121,Best Time to Buy and Sell Stock,50.5%,Easy,0.033453179586686504, https://leetcode.com/problems/best-time-to-buy-and-sell-stock
198,House Robber,42.0%,Easy,0.033320991026093004, https://leetcode.com/problems/house-robber
78,Subsets,62.0%,Medium,0.03270937553603224, https://leetcode.com/problems/subsets
543,Diameter of Binary Tree,48.4%,Easy,0.032708305572393875, https://leetcode.com/problems/diameter-of-binary-tree
617,Merge Two Binary Trees,74.1%,Easy,0.03264929866766111, https://leetcode.com/problems/merge-two-binary-trees
48,Rotate Image,56.7%,Medium,0.03142936253029228, https://leetcode.com/problems/rotate-image
239,Sliding Window Maximum,43.0%,Hard,0.031228142547585713, https://leetcode.com/problems/sliding-window-maximum
131,Palindrome Partitioning,47.5%,Medium,0.03101558050692165, https://leetcode.com/problems/palindrome-partitioning
55,Jump Game,34.6%,Medium,0.030985252381807864, https://leetcode.com/problems/jump-game
460,LFU Cache,34.2%,Hard,0.030962225603966897, https://leetcode.com/problems/lfu-cache
44,Wildcard Matching,24.7%,Hard,0.030573033362282363, https://leetcode.com/problems/wildcard-matching
13,Roman to Integer,55.7%,Easy,0.030443751414723153, https://leetcode.com/problems/roman-to-integer
316,Remove Duplicate Letters,35.8%,Hard,0.030443751414723153, https://leetcode.com/problems/remove-duplicate-letters
70,Climbing Stairs,47.8%,Easy,0.03011156054328408, https://leetcode.com/problems/climbing-stairs
329,Longest Increasing Path in a Matrix,43.4%,Hard,0.029902560173869868, https://leetcode.com/problems/longest-increasing-path-in-a-matrix
85,Maximal Rectangle,37.7%,Hard,0.029754261081792705, https://leetcode.com/problems/maximal-rectangle
201,Bitwise AND of Numbers Range,39.4%,Medium,0.02969780239174205, https://leetcode.com/problems/bitwise-and-of-numbers-range
1108,Defanging an IP Address,87.5%,Easy,0.02901382119071579, https://leetcode.com/problems/defanging-an-ip-address
33,Search in Rotated Sorted Array,34.5%,Medium,0.0287009496170278, https://leetcode.com/problems/search-in-rotated-sorted-array
35,Search Insert Position,42.6%,Easy,0.028694726692013624, https://leetcode.com/problems/search-insert-position
10,Regular Expression Matching,26.8%,Hard,0.02844130559772196, https://leetcode.com/problems/regular-expression-matching
709,To Lower Case,79.3%,Easy,0.02780531308033682, https://leetcode.com/problems/to-lower-case
159,Longest Substring with At Most Two Distinct Characters,49.4%,Medium,0.02717558537896476, https://leetcode.com/problems/longest-substring-with-at-most-two-distinct-characters
343,Integer Break,50.4%,Medium,0.027157133968907482, https://leetcode.com/problems/integer-break
98,Validate Binary Search Tree,27.8%,Medium,0.026187123416340663, https://leetcode.com/problems/validate-binary-search-tree
54,Spiral Matrix,34.1%,Medium,0.02611966966892215, https://leetcode.com/problems/spiral-matrix
81,Search in Rotated Sorted Array II,33.0%,Medium,0.026111144003685752, https://leetcode.com/problems/search-in-rotated-sorted-array-ii
378,Kth Smallest Element in a Sorted Matrix,54.3%,Medium,0.02599048981653746, https://leetcode.com/problems/kth-smallest-element-in-a-sorted-matrix
143,Reorder List,37.1%,Medium,0.025870945598649286, https://leetcode.com/problems/reorder-list
107,Binary Tree Level Order Traversal II,53.5%,Easy,0.02545071360337261, https://leetcode.com/problems/binary-tree-level-order-traversal-ii
220,Contains Duplicate III,20.9%,Medium,0.024876904755404577, https://leetcode.com/problems/contains-duplicate-iii
877,Stone Game,64.8%,Medium,0.02486144206532915, https://leetcode.com/problems/stone-game
138,Copy List with Random Pointer,36.4%,Medium,0.02453734514188008, https://leetcode.com/problems/copy-list-with-random-pointer
139,Word Break,40.1%,Medium,0.024095228922591846, https://leetcode.com/problems/word-break
91,Decode Ways,24.7%,Medium,0.023662742620848144, https://leetcode.com/problems/decode-ways
65,Valid Number,15.3%,Hard,0.022858138076050194, https://leetcode.com/problems/valid-number
199,Binary Tree Right Side View,54.1%,Medium,0.022539339846061532, https://leetcode.com/problems/binary-tree-right-side-view
72,Edit Distance,44.8%,Hard,0.022400140173127806, https://leetcode.com/problems/edit-distance
185,Department Top Three Salaries,34.5%,Hard,0.02218615681552263, https://leetcode.com/problems/department-top-three-salaries
152,Maximum Product Subarray,31.7%,Medium,0.022176931045949227, https://leetcode.com/problems/maximum-product-subarray
221,Maximal Square,37.7%,Medium,0.022108490754203434, https://leetcode.com/problems/maximal-square
112,Path Sum,41.2%,Easy,0.021701651897460775, https://leetcode.com/problems/path-sum
56,Merge Intervals,39.3%,Medium,0.02150990613527447, https://leetcode.com/problems/merge-intervals
224,Basic Calculator,36.8%,Hard,0.020965128465044926, https://leetcode.com/problems/basic-calculator
96,Unique Binary Search Trees,52.9%,Medium,0.02067613283842731, https://leetcode.com/problems/unique-binary-search-trees
93,Restore IP Addresses,35.6%,Medium,0.019763489118839635, https://leetcode.com/problems/restore-ip-addresses
525,Contiguous Array,42.8%,Medium,0.01975372873623256, https://leetcode.com/problems/contiguous-array
399,Evaluate Division,51.6%,Medium,0.019380451549662482, https://leetcode.com/problems/evaluate-division
229,Majority Element II,35.6%,Medium,0.019057270410286146, https://leetcode.com/problems/majority-element-ii
236,Lowest Common Ancestor of a Binary Tree,45.7%,Medium,0.018724947332324816, https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-tree
169,Majority Element,58.7%,Easy,0.018694317054881164, https://leetcode.com/problems/majority-element
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
197,Rising Temperature,38.4%,Easy,0.018198864417406563, https://leetcode.com/problems/rising-temperature
234,Palindrome Linked List,39.3%,Easy,0.01801241989645556, https://leetcode.com/problems/palindrome-linked-list
314,Binary Tree Vertical Order Traversal,45.3%,Medium,0.018010392274465332, https://leetcode.com/problems/binary-tree-vertical-order-traversal
136,Single Number,65.5%,Easy,0.017801666336826266, https://leetcode.com/problems/single-number
993,Cousins in Binary Tree,52.0%,Easy,0.017414458368636587, https://leetcode.com/problems/cousins-in-binary-tree
168,Excel Sheet Column Title,31.1%,Easy,0.01734648872385377, https://leetcode.com/problems/excel-sheet-column-title
994,Rotting Oranges,49.2%,Medium,0.017087941897195622, https://leetcode.com/problems/rotting-oranges
415,Add Strings,47.5%,Easy,0.016991158247219373, https://leetcode.com/problems/add-strings
191,Number of 1 Bits,49.8%,Easy,0.01673523624045844, https://leetcode.com/problems/number-of-1-bits
71,Simplify Path,32.6%,Medium,0.016260520871780308, https://leetcode.com/problems/simplify-path
110,Balanced Binary Tree,43.5%,Easy,0.015742847432510365, https://leetcode.com/problems/balanced-binary-tree
215,Kth Largest Element in an Array,55.4%,Medium,0.015519225147600912, https://leetcode.com/problems/kth-largest-element-in-an-array
114,Flatten Binary Tree to Linked List,49.3%,Medium,0.015450951155718977, https://leetcode.com/problems/flatten-binary-tree-to-linked-list
1002,Find Common Characters,67.6%,Easy,0.015273301861833809, https://leetcode.com/problems/find-common-characters
561,Array Partition I,72.0%,Easy,0.015186320707985562, https://leetcode.com/problems/array-partition-i
29,Divide Two Integers,16.4%,Medium,0.01517479801923515, https://leetcode.com/problems/divide-two-integers
217,Contains Duplicate,56.0%,Easy,0.015106027431013205, https://leetcode.com/problems/contains-duplicate
142,Linked List Cycle II,37.3%,Medium,0.014710955064667802, https://leetcode.com/problems/linked-list-cycle-ii
315,Count of Smaller Numbers After Self,41.5%,Hard,0.014352596574956585, https://leetcode.com/problems/count-of-smaller-numbers-after-self
404,Sum of Left Leaves,50.9%,Easy,0.013981353230340547, https://leetcode.com/problems/sum-of-left-leaves
24,Swap Nodes in Pairs,50.4%,Medium,0.013945066390122038, https://leetcode.com/problems/swap-nodes-in-pairs
703,Kth Largest Element in a Stream,49.7%,Easy,0.013898764390814973, https://leetcode.com/problems/kth-largest-element-in-a-stream
1192,Critical Connections in a Network,48.6%,Hard,0.01352742981715631, https://leetcode.com/problems/critical-connections-in-a-network
122,Best Time to Buy and Sell Stock II,57.0%,Easy,0.013351333174864208, https://leetcode.com/problems/best-time-to-buy-and-sell-stock-ii
57,Insert Interval,33.5%,Hard,0.013119243592498872, https://leetcode.com/problems/insert-interval
665,Non-decreasing Array,19.5%,Easy,0.013016779950191773, https://leetcode.com/problems/non-decreasing-array
695,Max Area of Island,62.7%,Medium,0.012686500631003836, https://leetcode.com/problems/max-area-of-island
181,Employees Earning More Than Their Managers,56.9%,Easy,0.012618463959211509, https://leetcode.com/problems/employees-earning-more-than-their-managers
77,Combinations,54.7%,Medium,0.01255115315451512, https://leetcode.com/problems/combinations
137,Single Number II,52.4%,Medium,0.012527567532662891, https://leetcode.com/problems/single-number-ii
287,Find the Duplicate Number,55.5%,Medium,0.012335682739188652, https://leetcode.com/problems/find-the-duplicate-number
19,Remove Nth Node From End of List,35.2%,Medium,0.012249425864399291, https://leetcode.com/problems/remove-nth-node-from-end-of-list
547,Friend Circles,58.6%,Medium,0.012228828639434596, https://leetcode.com/problems/friend-circles
278,First Bad Version,35.7%,Easy,0.012090421323816148, https://leetcode.com/problems/first-bad-version
205,Isomorphic Strings,39.8%,Easy,0.011544139746865315, https://leetcode.com/problems/isomorphic-strings
1051,Height Checker,71.1%,Easy,0.011468015591641189, https://leetcode.com/problems/height-checker
148,Sort List,42.3%,Medium,0.011204599012863078, https://leetcode.com/problems/sort-list
268,Missing Number,51.7%,Easy,0.010947682628191997, https://leetcode.com/problems/missing-number
257,Binary Tree Paths,51.5%,Easy,0.010457611643958139, https://leetcode.com/problems/binary-tree-paths
647,Palindromic Substrings,60.6%,Medium,0.010400509768078022, https://leetcode.com/problems/palindromic-substrings
62,Unique Paths,54.1%,Medium,0.010367562048856941, https://leetcode.com/problems/unique-paths
61,Rotate List,30.0%,Medium,0.009925639799969955, https://leetcode.com/problems/rotate-list
380,Insert Delete GetRandom O(1),47.5%,Medium,0.009820849864094454, https://leetcode.com/problems/insert-delete-getrandom-o1
113,Path Sum II,46.7%,Medium,0.009784813879998279, https://leetcode.com/problems/path-sum-ii
47,Permutations II,46.4%,Medium,0.009673594178378379, https://leetcode.com/problems/permutations-ii
40,Combination Sum II,48.2%,Medium,0.009578617297069781, https://leetcode.com/problems/combination-sum-ii
387,First Unique Character in a String,53.4%,Easy,0.009392680199054166, https://leetcode.com/problems/first-unique-character-in-a-string
128,Longest Consecutive Sequence,45.1%,Hard,0.009051883485315484, https://leetcode.com/problems/longest-consecutive-sequence
295,Find Median from Data Stream,44.3%,Hard,0.00899893586856953, https://leetcode.com/problems/find-median-from-data-stream
125,Valid Palindrome,36.7%,Easy,0.008933948641551634, https://leetcode.com/problems/valid-palindrome
700,Search in a Binary Search Tree,73.1%,Easy,0.008512500860171227, https://leetcode.com/problems/search-in-a-binary-search-tree
84,Largest Rectangle in Histogram,35.2%,Hard,0.00833685528906183, https://leetcode.com/problems/largest-rectangle-in-histogram
102,Binary Tree Level Order Traversal,54.6%,Medium,0.008169238497129479, https://leetcode.com/problems/binary-tree-level-order-traversal
141,Linked List Cycle,41.1%,Easy,0.007843861028908454, https://leetcode.com/problems/linked-list-cycle
38,Count and Say,44.6%,Easy,0.007829360800435779, https://leetcode.com/problems/count-and-say
101,Symmetric Tree,46.8%,Easy,0.007646596306528098, https://leetcode.com/problems/symmetric-tree
876,Middle of the Linked List,68.4%,Easy,0.007624893975696915, https://leetcode.com/problems/middle-of-the-linked-list
240,Search a 2D Matrix II,43.2%,Medium,0.0075829747244553335, https://leetcode.com/problems/search-a-2d-matrix-ii
692,Top K Frequent Words,51.8%,Medium,0.007516006820935329, https://leetcode.com/problems/top-k-frequent-words
145,Binary Tree Postorder Traversal,55.0%,Hard,0.00751459482064135, https://leetcode.com/problems/binary-tree-postorder-traversal
36,Valid Sudoku,48.7%,Medium,0.007258242715805398, https://leetcode.com/problems/valid-sudoku
412,Fizz Buzz,62.3%,Easy,0.007165921026143679, https://leetcode.com/problems/fizz-buzz
1365,How Many Numbers Are Smaller Than the Current Number,85.6%,Easy,0.007109877088701047, https://leetcode.com/problems/how-many-numbers-are-smaller-than-the-current-number
73,Set Matrix Zeroes,43.1%,Medium,0.0070151111959223245, https://leetcode.com/problems/set-matrix-zeroes
9,Palindrome Number,48.4%,Easy,0.006822343017166543, https://leetcode.com/problems/palindrome-number
118,Pascal's Triangle,52.5%,Easy,0.006749941254175012, https://leetcode.com/problems/pascals-triangle
67,Add Binary,45.2%,Easy,0.006631598888145552, https://leetcode.com/problems/add-binary
83,Remove Duplicates from Sorted List,45.4%,Easy,0.006353261522609498, https://leetcode.com/problems/remove-duplicates-from-sorted-list
104,Maximum Depth of Binary Tree,66.0%,Easy,0.006261761223976207, https://leetcode.com/problems/maximum-depth-of-binary-tree
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
50,Pow(x;n),30.3%,Medium,0.0055950070772402055, https://leetcode.com/problems/powx-n
124,Binary Tree Maximum Path Sum,34.3%,Hard,0.005531752454833179, https://leetcode.com/problems/binary-tree-maximum-path-sum
237,Delete Node in a Linked List,63.8%,Easy,0.005144705881237697, https://leetcode.com/problems/delete-node-in-a-linked-list
1470,Shuffle the Array,88.9%,Easy,0.004527967890154029, https://leetcode.com/problems/shuffle-the-array
26,Remove Duplicates from Sorted Array,45.1%,Easy,0.004385117141850828, https://leetcode.com/problems/remove-duplicates-from-sorted-array
28,Implement strStr(),34.5%,Easy,0.003943222775040032, https://leetcode.com/problems/implement-strstr
66,Plus One,43.0%,Easy,0.00326211347832938, https://leetcode.com/problems/plus-one
283,Move Zeroes,57.8%,Easy,0.0028853803470673955, https://leetcode.com/problems/move-zeroes
154,Find Minimum in Rotated Sorted Array II,41.6%,Hard,0.0021273209107578427, https://leetcode.com/problems/find-minimum-in-rotated-sorted-array-ii
79,Word Search,35.6%,Medium,0.0016647248725526849, https://leetcode.com/problems/word-search
203,Remove Linked List Elements,38.6%,Easy,0.0016237064659255223, https://leetcode.com/problems/remove-linked-list-elements
1 1 ID Two Sum Title 45.6% Acceptance Easy Difficulty 0.900096464956218 Frequency https://leetcode.com/problems/two-sum Leetcode Question Link
2 2 1 Add Two Numbers Two Sum 33.9% 45.6% Medium Easy 0.7674901747071898 0.900096464956218 https://leetcode.com/problems/add-two-numbers https://leetcode.com/problems/two-sum
3 741 2 Cherry Pickup Add Two Numbers 33.9% 33.9% Hard Medium 0.6348838844581617 0.7674901747071898 https://leetcode.com/problems/cherry-pickup https://leetcode.com/problems/add-two-numbers
4 21 741 Merge Two Sorted Lists Cherry Pickup 53.5% 33.9% Easy Hard 0.5022775942091335 0.6348838844581617 https://leetcode.com/problems/merge-two-sorted-lists https://leetcode.com/problems/cherry-pickup
5 5 21 Longest Palindromic Substring Merge Two Sorted Lists 29.5% 53.5% Medium Easy 0.36967130396010545 0.5022775942091335 https://leetcode.com/problems/longest-palindromic-substring https://leetcode.com/problems/merge-two-sorted-lists
6 3 5 Longest Substring Without Repeating Characters Longest Palindromic Substring 30.4% 29.5% Medium Medium 0.33543751206600453 0.36967130396010545 https://leetcode.com/problems/longest-substring-without-repeating-characters https://leetcode.com/problems/longest-palindromic-substring
7 4 3 Median of Two Sorted Arrays Longest Substring Without Repeating Characters 29.6% 30.4% Hard Medium 0.30208546395829133 0.33543751206600453 https://leetcode.com/problems/median-of-two-sorted-arrays https://leetcode.com/problems/longest-substring-without-repeating-characters
8 15 4 3Sum Median of Two Sorted Arrays 26.8% 29.6% Medium Hard 0.25552496081724957 0.30208546395829133 https://leetcode.com/problems/3sum https://leetcode.com/problems/median-of-two-sorted-arrays
9 1096 15 Brace Expansion II 3Sum 62.2% 26.8% Hard Medium 0.2363887780642304 0.25552496081724957 https://leetcode.com/problems/brace-expansion-ii https://leetcode.com/problems/3sum
10 7 1096 Reverse Integer Brace Expansion II 25.8% 62.2% Easy Hard 0.2202424163450189 0.2363887780642304 https://leetcode.com/problems/reverse-integer https://leetcode.com/problems/brace-expansion-ii
11 192 7 Word Frequency Reverse Integer 25.8% 25.8% Medium Easy 0.21614863444241852 0.2202424163450189 https://leetcode.com/problems/word-frequency https://leetcode.com/problems/reverse-integer
12 274 192 H-Index Word Frequency 36.1% 25.8% Medium Medium 0.19380371568797425 0.21614863444241852 https://leetcode.com/problems/h-index https://leetcode.com/problems/word-frequency
13 206 274 Reverse Linked List H-Index 62.5% 36.1% Easy Medium 0.1563653350583309 0.19380371568797425 https://leetcode.com/problems/reverse-linked-list https://leetcode.com/problems/h-index
14 706 206 Design HashMap Reverse Linked List 61.3% 62.5% Easy Easy 0.1476880076475794 0.1563653350583309 https://leetcode.com/problems/design-hashmap https://leetcode.com/problems/reverse-linked-list
15 22 706 Generate Parentheses Design HashMap 62.7% 61.3% Medium Easy 0.14612656455721032 0.1476880076475794 https://leetcode.com/problems/generate-parentheses https://leetcode.com/problems/design-hashmap
16 175 22 Combine Two Tables Generate Parentheses 60.8% 62.7% Easy Medium 0.1453647140234507 0.14612656455721032 https://leetcode.com/problems/combine-two-tables https://leetcode.com/problems/generate-parentheses
17 728 175 Self Dividing Numbers Combine Two Tables 74.3% 60.8% Easy Easy 0.14501328757782014 0.1453647140234507 https://leetcode.com/problems/self-dividing-numbers https://leetcode.com/problems/combine-two-tables
18 726 728 Number of Atoms Self Dividing Numbers 49.0% 74.3% Hard Easy 0.13804422079620546 0.14501328757782014 https://leetcode.com/problems/number-of-atoms https://leetcode.com/problems/self-dividing-numbers
19 146 726 LRU Cache Number of Atoms 33.2% 49.0% Medium Hard 0.13057313078965735 0.13804422079620546 https://leetcode.com/problems/lru-cache https://leetcode.com/problems/number-of-atoms
20 42 146 Trapping Rain Water LRU Cache 48.9% 33.2% Hard Medium 0.12389276378675394 0.13057313078965735 https://leetcode.com/problems/trapping-rain-water https://leetcode.com/problems/lru-cache
21 446 42 Arithmetic Slices II - Subsequence Trapping Rain Water 32.7% 48.9% Hard Hard 0.12099331128663167 0.12389276378675394 https://leetcode.com/problems/arithmetic-slices-ii-subsequence https://leetcode.com/problems/trapping-rain-water
22 6 446 ZigZag Conversion Arithmetic Slices II - Subsequence 36.3% 32.7% Medium Hard 0.11677183708486526 0.12099331128663167 https://leetcode.com/problems/zigzag-conversion https://leetcode.com/problems/arithmetic-slices-ii-subsequence
23 368 6 Largest Divisible Subset ZigZag Conversion 38.0% 36.3% Medium Medium 0.11624101530456815 0.11677183708486526 https://leetcode.com/problems/largest-divisible-subset https://leetcode.com/problems/zigzag-conversion
24 238 368 Product of Array Except Self Largest Divisible Subset 60.1% 38.0% Medium Medium 0.11255129774720934 0.11624101530456815 https://leetcode.com/problems/product-of-array-except-self https://leetcode.com/problems/largest-divisible-subset
25 82 238 Remove Duplicates from Sorted List II Product of Array Except Self 36.8% 60.1% Medium Medium 0.1110882064011508 0.11255129774720934 https://leetcode.com/problems/remove-duplicates-from-sorted-list-ii https://leetcode.com/problems/product-of-array-except-self
26 53 82 Maximum Subarray Remove Duplicates from Sorted List II 46.5% 36.8% Easy Medium 0.10102310445192379 0.1110882064011508 https://leetcode.com/problems/maximum-subarray https://leetcode.com/problems/remove-duplicates-from-sorted-list-ii
27 725 53 Split Linked List in Parts Maximum Subarray 52.2% 46.5% Medium Easy 0.1007562928969156 0.10102310445192379 https://leetcode.com/problems/split-linked-list-in-parts https://leetcode.com/problems/maximum-subarray
28 12 725 Integer to Roman Split Linked List in Parts 55.1% 52.2% Medium Medium 0.09981819303484349 0.1007562928969156 https://leetcode.com/problems/integer-to-roman https://leetcode.com/problems/split-linked-list-in-parts
29 836 12 Rectangle Overlap Integer to Roman 48.6% 55.1% Easy Medium 0.09358079943969791 0.09981819303484349 https://leetcode.com/problems/rectangle-overlap https://leetcode.com/problems/integer-to-roman
30 31 836 Next Permutation Rectangle Overlap 32.6% 48.6% Medium Easy 0.09178119886142269 0.09358079943969791 https://leetcode.com/problems/next-permutation https://leetcode.com/problems/rectangle-overlap
31 929 31 Unique Email Addresses Next Permutation 67.4% 32.6% Easy Medium 0.09107126584446965 0.09178119886142269 https://leetcode.com/problems/unique-email-addresses https://leetcode.com/problems/next-permutation
32 11 929 Container With Most Water Unique Email Addresses 50.8% 67.4% Medium Easy 0.08887230664829432 0.09107126584446965 https://leetcode.com/problems/container-with-most-water https://leetcode.com/problems/unique-email-addresses
33 214 11 Shortest Palindrome Container With Most Water 29.8% 50.8% Hard Medium 0.0753494372417868 0.08887230664829432 https://leetcode.com/problems/shortest-palindrome https://leetcode.com/problems/container-with-most-water
34 76 214 Minimum Window Substring Shortest Palindrome 34.6% 29.8% Hard Hard 0.07378420845373558 0.0753494372417868 https://leetcode.com/problems/minimum-window-substring https://leetcode.com/problems/shortest-palindrome
35 987 76 Vertical Order Traversal of a Binary Tree Minimum Window Substring 36.6% 34.6% Medium Hard 0.070392125446596 0.07378420845373558 https://leetcode.com/problems/vertical-order-traversal-of-a-binary-tree https://leetcode.com/problems/minimum-window-substring
36 1114 987 Print in Order Vertical Order Traversal of a Binary Tree 65.7% 36.6% Easy Medium 0.0700675626167169 0.070392125446596 https://leetcode.com/problems/print-in-order https://leetcode.com/problems/vertical-order-traversal-of-a-binary-tree
37 386 1114 Lexicographical Numbers Print in Order 51.6% 65.7% Medium Easy 0.06875559541512997 0.0700675626167169 https://leetcode.com/problems/lexicographical-numbers https://leetcode.com/problems/print-in-order
38 178 386 Rank Scores Lexicographical Numbers 45.8% 51.6% Medium Medium 0.06551667145414991 0.06875559541512997 https://leetcode.com/problems/rank-scores https://leetcode.com/problems/lexicographical-numbers
39 554 178 Brick Wall Rank Scores 50.0% 45.8% Medium Medium 0.0639195177132874 0.06551667145414991 https://leetcode.com/problems/brick-wall https://leetcode.com/problems/rank-scores
40 771 554 Jewels and Stones Brick Wall 86.4% 50.0% Easy Medium 0.06372709715833007 0.0639195177132874 https://leetcode.com/problems/jewels-and-stones https://leetcode.com/problems/brick-wall
41 92 771 Reverse Linked List II Jewels and Stones 38.8% 86.4% Medium Easy 0.0634569616201148 0.06372709715833007 https://leetcode.com/problems/reverse-linked-list-ii https://leetcode.com/problems/jewels-and-stones
42 23 92 Merge k Sorted Lists Reverse Linked List II 40.2% 38.8% Hard Medium 0.06293239083543646 0.0634569616201148 https://leetcode.com/problems/merge-k-sorted-lists https://leetcode.com/problems/reverse-linked-list-ii
43 300 23 Longest Increasing Subsequence Merge k Sorted Lists 42.6% 40.2% Medium Hard 0.06265630749555627 0.06293239083543646 https://leetcode.com/problems/longest-increasing-subsequence https://leetcode.com/problems/merge-k-sorted-lists
44 115 300 Distinct Subsequences Longest Increasing Subsequence 38.3% 42.6% Hard Medium 0.061494781607806234 0.06265630749555627 https://leetcode.com/problems/distinct-subsequences https://leetcode.com/problems/longest-increasing-subsequence
45 195 115 Tenth Line Distinct Subsequences 33.0% 38.3% Easy Hard 0.06127490750055161 0.061494781607806234 https://leetcode.com/problems/tenth-line https://leetcode.com/problems/distinct-subsequences
46 739 195 Daily Temperatures Tenth Line 63.3% 33.0% Medium Easy 0.06111383323222972 0.06127490750055161 https://leetcode.com/problems/daily-temperatures https://leetcode.com/problems/tenth-line
47 420 739 Strong Password Checker Daily Temperatures 14.0% 63.3% Hard Medium 0.061087691979838175 0.06111383323222972 https://leetcode.com/problems/strong-password-checker https://leetcode.com/problems/daily-temperatures
48 595 420 Big Countries Strong Password Checker 77.3% 14.0% Easy Hard 0.06097126229595878 0.061087691979838175 https://leetcode.com/problems/big-countries https://leetcode.com/problems/strong-password-checker
49 18 595 4Sum Big Countries 33.7% 77.3% Medium Easy 0.05998439829836431 0.06097126229595878 https://leetcode.com/problems/4sum https://leetcode.com/problems/big-countries
50 88 18 Merge Sorted Array 4Sum 39.4% 33.7% Easy Medium 0.059258174101133876 0.05998439829836431 https://leetcode.com/problems/merge-sorted-array https://leetcode.com/problems/4sum
51 74 88 Search a 2D Matrix Merge Sorted Array 36.5% 39.4% Medium Easy 0.057001980519332376 0.059258174101133876 https://leetcode.com/problems/search-a-2d-matrix https://leetcode.com/problems/merge-sorted-array
52 312 74 Burst Balloons Search a 2D Matrix 51.8% 36.5% Hard Medium 0.056547726798068784 0.057001980519332376 https://leetcode.com/problems/burst-balloons https://leetcode.com/problems/search-a-2d-matrix
53 218 312 The Skyline Problem Burst Balloons 34.6% 51.8% Hard Hard 0.0564413109049518 0.056547726798068784 https://leetcode.com/problems/the-skyline-problem https://leetcode.com/problems/burst-balloons
54 177 218 Nth Highest Salary The Skyline Problem 31.4% 34.6% Medium Hard 0.0562934401878294 0.0564413109049518 https://leetcode.com/problems/nth-highest-salary https://leetcode.com/problems/the-skyline-problem
55 41 177 First Missing Positive Nth Highest Salary 32.0% 31.4% Hard Medium 0.056273635982108605 0.0562934401878294 https://leetcode.com/problems/first-missing-positive https://leetcode.com/problems/nth-highest-salary
56 30 41 Substring with Concatenation of All Words First Missing Positive 25.4% 32.0% Hard Hard 0.05509349054082484 0.056273635982108605 https://leetcode.com/problems/substring-with-concatenation-of-all-words https://leetcode.com/problems/first-missing-positive
57 202 30 Happy Number Substring with Concatenation of All Words 50.4% 25.4% Easy Hard 0.05503451923624455 0.05509349054082484 https://leetcode.com/problems/happy-number https://leetcode.com/problems/substring-with-concatenation-of-all-words
58 395 202 Longest Substring with At Least K Repeating Characters Happy Number 41.4% 50.4% Medium Easy 0.05371219359052555 0.05503451923624455 https://leetcode.com/problems/longest-substring-with-at-least-k-repeating-characters https://leetcode.com/problems/happy-number
59 601 395 Human Traffic of Stadium Longest Substring with At Least K Repeating Characters 41.7% 41.4% Hard Medium 0.05223119222544569 0.05371219359052555 https://leetcode.com/problems/human-traffic-of-stadium https://leetcode.com/problems/longest-substring-with-at-least-k-repeating-characters
60 14 601 Longest Common Prefix Human Traffic of Stadium 35.4% 41.7% Easy Hard 0.051846064173015856 0.05223119222544569 https://leetcode.com/problems/longest-common-prefix https://leetcode.com/problems/human-traffic-of-stadium
61 681 14 Next Closest Time Longest Common Prefix 45.0% 35.4% Medium Easy 0.05045206096038863 0.051846064173015856 https://leetcode.com/problems/next-closest-time https://leetcode.com/problems/longest-common-prefix
62 219 681 Contains Duplicate II Next Closest Time 37.7% 45.0% Easy Medium 0.05012010405957234 0.05045206096038863 https://leetcode.com/problems/contains-duplicate-ii https://leetcode.com/problems/next-closest-time
63 16 219 3Sum Closest Contains Duplicate II 46.0% 37.7% Medium Easy 0.04613364174896058 0.05012010405957234 https://leetcode.com/problems/3sum-closest https://leetcode.com/problems/contains-duplicate-ii
64 856 16 Score of Parentheses 3Sum Closest 60.5% 46.0% Medium Medium 0.04567003683318837 0.04613364174896058 https://leetcode.com/problems/score-of-parentheses https://leetcode.com/problems/3sum-closest
65 8 856 String to Integer (atoi) Score of Parentheses 15.4% 60.5% Medium Medium 0.04549614908874012 0.04567003683318837 https://leetcode.com/problems/string-to-integer-atoi https://leetcode.com/problems/score-of-parentheses
66 176 8 Second Highest Salary String to Integer (atoi) 31.6% 15.4% Easy Medium 0.045338680589061736 0.04549614908874012 https://leetcode.com/problems/second-highest-salary https://leetcode.com/problems/string-to-integer-atoi
67 200 176 Number of Islands Second Highest Salary 46.8% 31.6% Medium Easy 0.04526299408355752 0.045338680589061736 https://leetcode.com/problems/number-of-islands https://leetcode.com/problems/second-highest-salary
68 204 200 Count Primes Number of Islands 31.5% 46.8% Easy Medium 0.04340205577484725 0.04526299408355752 https://leetcode.com/problems/count-primes https://leetcode.com/problems/number-of-islands
69 669 204 Trim a Binary Search Tree Count Primes 63.0% 31.5% Easy Easy 0.04255961441879593 0.04340205577484725 https://leetcode.com/problems/trim-a-binary-search-tree https://leetcode.com/problems/count-primes
70 448 669 Find All Numbers Disappeared in an Array Trim a Binary Search Tree 55.9% 63.0% Easy Easy 0.04214343508255059 0.04255961441879593 https://leetcode.com/problems/find-all-numbers-disappeared-in-an-array https://leetcode.com/problems/trim-a-binary-search-tree
71 535 448 Encode and Decode TinyURL Find All Numbers Disappeared in an Array 79.9% 55.9% Medium Easy 0.041978881338661234 0.04214343508255059 https://leetcode.com/problems/encode-and-decode-tinyurl https://leetcode.com/problems/find-all-numbers-disappeared-in-an-array
72 155 535 Min Stack Encode and Decode TinyURL 44.5% 79.9% Easy Medium 0.04194952712763244 0.041978881338661234 https://leetcode.com/problems/min-stack https://leetcode.com/problems/encode-and-decode-tinyurl
73 1010 155 Pairs of Songs With Total Durations Divisible by 60 Min Stack 47.4% 44.5% Easy Easy 0.04180336980436055 0.04194952712763244 https://leetcode.com/problems/pairs-of-songs-with-total-durations-divisible-by-60 https://leetcode.com/problems/min-stack
74 545 1010 Boundary of Binary Tree Pairs of Songs With Total Durations Divisible by 60 38.9% 47.4% Medium Easy 0.04158603377810283 0.04180336980436055 https://leetcode.com/problems/boundary-of-binary-tree https://leetcode.com/problems/pairs-of-songs-with-total-durations-divisible-by-60
75 37 545 Sudoku Solver Boundary of Binary Tree 43.6% 38.9% Hard Medium 0.040527833612118376 0.04158603377810283 https://leetcode.com/problems/sudoku-solver https://leetcode.com/problems/boundary-of-binary-tree
76 25 37 Reverse Nodes in k-Group Sudoku Solver 42.1% 43.6% Hard Hard 0.040236757867738004 0.040527833612118376 https://leetcode.com/problems/reverse-nodes-in-k-group https://leetcode.com/problems/sudoku-solver
77 686 25 Repeated String Match Reverse Nodes in k-Group 32.3% 42.1% Easy Hard 0.03984590854719967 0.040236757867738004 https://leetcode.com/problems/repeated-string-match https://leetcode.com/problems/reverse-nodes-in-k-group
78 344 686 Reverse String Repeated String Match 68.5% 32.3% Easy Easy 0.0393340697038369 0.03984590854719967 https://leetcode.com/problems/reverse-string https://leetcode.com/problems/repeated-string-match
79 560 344 Subarray Sum Equals K Reverse String 43.9% 68.5% Medium Easy 0.037871360699521406 0.0393340697038369 https://leetcode.com/problems/subarray-sum-equals-k https://leetcode.com/problems/reverse-string
80 389 560 Find the Difference Subarray Sum Equals K 55.3% 43.9% Easy Medium 0.03780374555587777 0.037871360699521406 https://leetcode.com/problems/find-the-difference https://leetcode.com/problems/subarray-sum-equals-k
81 64 389 Minimum Path Sum Find the Difference 54.5% 55.3% Medium Easy 0.03769479893530684 0.03780374555587777 https://leetcode.com/problems/minimum-path-sum https://leetcode.com/problems/find-the-difference
82 45 64 Jump Game II Minimum Path Sum 30.6% 54.5% Hard Medium 0.037651506203688394 0.03769479893530684 https://leetcode.com/problems/jump-game-ii https://leetcode.com/problems/minimum-path-sum
83 402 45 Remove K Digits Jump Game II 28.4% 30.6% Medium Hard 0.03755134565213245 0.037651506203688394 https://leetcode.com/problems/remove-k-digits https://leetcode.com/problems/jump-game-ii
84 95 402 Unique Binary Search Trees II Remove K Digits 40.6% 28.4% Medium Medium 0.037535682530377985 0.03755134565213245 https://leetcode.com/problems/unique-binary-search-trees-ii https://leetcode.com/problems/remove-k-digits
85 46 95 Permutations Unique Binary Search Trees II 63.5% 40.6% Medium Medium 0.03732163223353564 0.037535682530377985 https://leetcode.com/problems/permutations https://leetcode.com/problems/unique-binary-search-trees-ii
86 375 46 Guess Number Higher or Lower II Permutations 40.3% 63.5% Medium Medium 0.036634133179780384 0.03732163223353564 https://leetcode.com/problems/guess-number-higher-or-lower-ii https://leetcode.com/problems/permutations
87 51 375 N-Queens Guess Number Higher or Lower II 46.6% 40.3% Hard Medium 0.03651521297509749 0.036634133179780384 https://leetcode.com/problems/n-queens https://leetcode.com/problems/guess-number-higher-or-lower-ii
88 279 51 Perfect Squares N-Queens 47.4% 46.6% Medium Hard 0.03636764417087485 0.03651521297509749 https://leetcode.com/problems/perfect-squares https://leetcode.com/problems/n-queens
89 20 279 Valid Parentheses Perfect Squares 39.0% 47.4% Easy Medium 0.03618871742239114 0.03636764417087485 https://leetcode.com/problems/valid-parentheses https://leetcode.com/problems/perfect-squares
90 875 20 Koko Eating Bananas Valid Parentheses 52.1% 39.0% Medium Easy 0.0359751024582779 0.03618871742239114 https://leetcode.com/problems/koko-eating-bananas https://leetcode.com/problems/valid-parentheses
91 32 875 Longest Valid Parentheses Koko Eating Bananas 28.4% 52.1% Hard Medium 0.03595893038744387 0.0359751024582779 https://leetcode.com/problems/longest-valid-parentheses https://leetcode.com/problems/koko-eating-bananas
92 322 32 Coin Change Longest Valid Parentheses 35.5% 28.4% Medium Hard 0.03569682997206547 0.03595893038744387 https://leetcode.com/problems/coin-change https://leetcode.com/problems/longest-valid-parentheses
93 59 322 Spiral Matrix II Coin Change 53.9% 35.5% Medium Medium 0.0351873674509732 0.03569682997206547 https://leetcode.com/problems/spiral-matrix-ii https://leetcode.com/problems/coin-change
94 977 59 Squares of a Sorted Array Spiral Matrix II 72.1% 53.9% Easy Medium 0.0344861760711693 0.0351873674509732 https://leetcode.com/problems/squares-of-a-sorted-array https://leetcode.com/problems/spiral-matrix-ii
95 49 977 Group Anagrams Squares of a Sorted Array 56.9% 72.1% Medium Easy 0.03372685005765885 0.0344861760711693 https://leetcode.com/problems/group-anagrams https://leetcode.com/problems/squares-of-a-sorted-array
96 121 49 Best Time to Buy and Sell Stock Group Anagrams 50.5% 56.9% Easy Medium 0.033453179586686504 0.03372685005765885 https://leetcode.com/problems/best-time-to-buy-and-sell-stock https://leetcode.com/problems/group-anagrams
97 198 121 House Robber Best Time to Buy and Sell Stock 42.0% 50.5% Easy Easy 0.033320991026093004 0.033453179586686504 https://leetcode.com/problems/house-robber https://leetcode.com/problems/best-time-to-buy-and-sell-stock
98 78 198 Subsets House Robber 62.0% 42.0% Medium Easy 0.03270937553603224 0.033320991026093004 https://leetcode.com/problems/subsets https://leetcode.com/problems/house-robber
99 543 78 Diameter of Binary Tree Subsets 48.4% 62.0% Easy Medium 0.032708305572393875 0.03270937553603224 https://leetcode.com/problems/diameter-of-binary-tree https://leetcode.com/problems/subsets
100 617 543 Merge Two Binary Trees Diameter of Binary Tree 74.1% 48.4% Easy Easy 0.03264929866766111 0.032708305572393875 https://leetcode.com/problems/merge-two-binary-trees https://leetcode.com/problems/diameter-of-binary-tree
101 48 617 Rotate Image Merge Two Binary Trees 56.7% 74.1% Medium Easy 0.03142936253029228 0.03264929866766111 https://leetcode.com/problems/rotate-image https://leetcode.com/problems/merge-two-binary-trees
102 239 48 Sliding Window Maximum Rotate Image 43.0% 56.7% Hard Medium 0.031228142547585713 0.03142936253029228 https://leetcode.com/problems/sliding-window-maximum https://leetcode.com/problems/rotate-image
103 131 239 Palindrome Partitioning Sliding Window Maximum 47.5% 43.0% Medium Hard 0.03101558050692165 0.031228142547585713 https://leetcode.com/problems/palindrome-partitioning https://leetcode.com/problems/sliding-window-maximum
104 55 131 Jump Game Palindrome Partitioning 34.6% 47.5% Medium Medium 0.030985252381807864 0.03101558050692165 https://leetcode.com/problems/jump-game https://leetcode.com/problems/palindrome-partitioning
105 460 55 LFU Cache Jump Game 34.2% 34.6% Hard Medium 0.030962225603966897 0.030985252381807864 https://leetcode.com/problems/lfu-cache https://leetcode.com/problems/jump-game
106 44 460 Wildcard Matching LFU Cache 24.7% 34.2% Hard Hard 0.030573033362282363 0.030962225603966897 https://leetcode.com/problems/wildcard-matching https://leetcode.com/problems/lfu-cache
107 13 44 Roman to Integer Wildcard Matching 55.7% 24.7% Easy Hard 0.030443751414723153 0.030573033362282363 https://leetcode.com/problems/roman-to-integer https://leetcode.com/problems/wildcard-matching
108 316 13 Remove Duplicate Letters Roman to Integer 35.8% 55.7% Hard Easy 0.030443751414723153 0.030443751414723153 https://leetcode.com/problems/remove-duplicate-letters https://leetcode.com/problems/roman-to-integer
109 70 316 Climbing Stairs Remove Duplicate Letters 47.8% 35.8% Easy Hard 0.03011156054328408 0.030443751414723153 https://leetcode.com/problems/climbing-stairs https://leetcode.com/problems/remove-duplicate-letters
110 329 70 Longest Increasing Path in a Matrix Climbing Stairs 43.4% 47.8% Hard Easy 0.029902560173869868 0.03011156054328408 https://leetcode.com/problems/longest-increasing-path-in-a-matrix https://leetcode.com/problems/climbing-stairs
111 85 329 Maximal Rectangle Longest Increasing Path in a Matrix 37.7% 43.4% Hard Hard 0.029754261081792705 0.029902560173869868 https://leetcode.com/problems/maximal-rectangle https://leetcode.com/problems/longest-increasing-path-in-a-matrix
112 201 85 Bitwise AND of Numbers Range Maximal Rectangle 39.4% 37.7% Medium Hard 0.02969780239174205 0.029754261081792705 https://leetcode.com/problems/bitwise-and-of-numbers-range https://leetcode.com/problems/maximal-rectangle
113 1108 201 Defanging an IP Address Bitwise AND of Numbers Range 87.5% 39.4% Easy Medium 0.02901382119071579 0.02969780239174205 https://leetcode.com/problems/defanging-an-ip-address https://leetcode.com/problems/bitwise-and-of-numbers-range
114 33 1108 Search in Rotated Sorted Array Defanging an IP Address 34.5% 87.5% Medium Easy 0.0287009496170278 0.02901382119071579 https://leetcode.com/problems/search-in-rotated-sorted-array https://leetcode.com/problems/defanging-an-ip-address
115 35 33 Search Insert Position Search in Rotated Sorted Array 42.6% 34.5% Easy Medium 0.028694726692013624 0.0287009496170278 https://leetcode.com/problems/search-insert-position https://leetcode.com/problems/search-in-rotated-sorted-array
116 10 35 Regular Expression Matching Search Insert Position 26.8% 42.6% Hard Easy 0.02844130559772196 0.028694726692013624 https://leetcode.com/problems/regular-expression-matching https://leetcode.com/problems/search-insert-position
117 709 10 To Lower Case Regular Expression Matching 79.3% 26.8% Easy Hard 0.02780531308033682 0.02844130559772196 https://leetcode.com/problems/to-lower-case https://leetcode.com/problems/regular-expression-matching
118 159 709 Longest Substring with At Most Two Distinct Characters To Lower Case 49.4% 79.3% Medium Easy 0.02717558537896476 0.02780531308033682 https://leetcode.com/problems/longest-substring-with-at-most-two-distinct-characters https://leetcode.com/problems/to-lower-case
119 343 159 Integer Break Longest Substring with At Most Two Distinct Characters 50.4% 49.4% Medium Medium 0.027157133968907482 0.02717558537896476 https://leetcode.com/problems/integer-break https://leetcode.com/problems/longest-substring-with-at-most-two-distinct-characters
120 98 343 Validate Binary Search Tree Integer Break 27.8% 50.4% Medium Medium 0.026187123416340663 0.027157133968907482 https://leetcode.com/problems/validate-binary-search-tree https://leetcode.com/problems/integer-break
121 54 98 Spiral Matrix Validate Binary Search Tree 34.1% 27.8% Medium Medium 0.02611966966892215 0.026187123416340663 https://leetcode.com/problems/spiral-matrix https://leetcode.com/problems/validate-binary-search-tree
122 81 54 Search in Rotated Sorted Array II Spiral Matrix 33.0% 34.1% Medium Medium 0.026111144003685752 0.02611966966892215 https://leetcode.com/problems/search-in-rotated-sorted-array-ii https://leetcode.com/problems/spiral-matrix
123 378 81 Kth Smallest Element in a Sorted Matrix Search in Rotated Sorted Array II 54.3% 33.0% Medium Medium 0.02599048981653746 0.026111144003685752 https://leetcode.com/problems/kth-smallest-element-in-a-sorted-matrix https://leetcode.com/problems/search-in-rotated-sorted-array-ii
124 143 378 Reorder List Kth Smallest Element in a Sorted Matrix 37.1% 54.3% Medium Medium 0.025870945598649286 0.02599048981653746 https://leetcode.com/problems/reorder-list https://leetcode.com/problems/kth-smallest-element-in-a-sorted-matrix
125 107 143 Binary Tree Level Order Traversal II Reorder List 53.5% 37.1% Easy Medium 0.02545071360337261 0.025870945598649286 https://leetcode.com/problems/binary-tree-level-order-traversal-ii https://leetcode.com/problems/reorder-list
126 220 107 Contains Duplicate III Binary Tree Level Order Traversal II 20.9% 53.5% Medium Easy 0.024876904755404577 0.02545071360337261 https://leetcode.com/problems/contains-duplicate-iii https://leetcode.com/problems/binary-tree-level-order-traversal-ii
127 877 220 Stone Game Contains Duplicate III 64.8% 20.9% Medium Medium 0.02486144206532915 0.024876904755404577 https://leetcode.com/problems/stone-game https://leetcode.com/problems/contains-duplicate-iii
128 138 877 Copy List with Random Pointer Stone Game 36.4% 64.8% Medium Medium 0.02453734514188008 0.02486144206532915 https://leetcode.com/problems/copy-list-with-random-pointer https://leetcode.com/problems/stone-game
129 139 138 Word Break Copy List with Random Pointer 40.1% 36.4% Medium Medium 0.024095228922591846 0.02453734514188008 https://leetcode.com/problems/word-break https://leetcode.com/problems/copy-list-with-random-pointer
130 91 139 Decode Ways Word Break 24.7% 40.1% Medium Medium 0.023662742620848144 0.024095228922591846 https://leetcode.com/problems/decode-ways https://leetcode.com/problems/word-break
131 65 91 Valid Number Decode Ways 15.3% 24.7% Hard Medium 0.022858138076050194 0.023662742620848144 https://leetcode.com/problems/valid-number https://leetcode.com/problems/decode-ways
132 199 65 Binary Tree Right Side View Valid Number 54.1% 15.3% Medium Hard 0.022539339846061532 0.022858138076050194 https://leetcode.com/problems/binary-tree-right-side-view https://leetcode.com/problems/valid-number
133 72 199 Edit Distance Binary Tree Right Side View 44.8% 54.1% Hard Medium 0.022400140173127806 0.022539339846061532 https://leetcode.com/problems/edit-distance https://leetcode.com/problems/binary-tree-right-side-view
134 185 72 Department Top Three Salaries Edit Distance 34.5% 44.8% Hard Hard 0.02218615681552263 0.022400140173127806 https://leetcode.com/problems/department-top-three-salaries https://leetcode.com/problems/edit-distance
135 152 185 Maximum Product Subarray Department Top Three Salaries 31.7% 34.5% Medium Hard 0.022176931045949227 0.02218615681552263 https://leetcode.com/problems/maximum-product-subarray https://leetcode.com/problems/department-top-three-salaries
136 221 152 Maximal Square Maximum Product Subarray 37.7% 31.7% Medium Medium 0.022108490754203434 0.022176931045949227 https://leetcode.com/problems/maximal-square https://leetcode.com/problems/maximum-product-subarray
137 112 221 Path Sum Maximal Square 41.2% 37.7% Easy Medium 0.021701651897460775 0.022108490754203434 https://leetcode.com/problems/path-sum https://leetcode.com/problems/maximal-square
138 56 112 Merge Intervals Path Sum 39.3% 41.2% Medium Easy 0.02150990613527447 0.021701651897460775 https://leetcode.com/problems/merge-intervals https://leetcode.com/problems/path-sum
139 224 56 Basic Calculator Merge Intervals 36.8% 39.3% Hard Medium 0.020965128465044926 0.02150990613527447 https://leetcode.com/problems/basic-calculator https://leetcode.com/problems/merge-intervals
140 96 224 Unique Binary Search Trees Basic Calculator 52.9% 36.8% Medium Hard 0.02067613283842731 0.020965128465044926 https://leetcode.com/problems/unique-binary-search-trees https://leetcode.com/problems/basic-calculator
141 93 96 Restore IP Addresses Unique Binary Search Trees 35.6% 52.9% Medium Medium 0.019763489118839635 0.02067613283842731 https://leetcode.com/problems/restore-ip-addresses https://leetcode.com/problems/unique-binary-search-trees
142 525 93 Contiguous Array Restore IP Addresses 42.8% 35.6% Medium Medium 0.01975372873623256 0.019763489118839635 https://leetcode.com/problems/contiguous-array https://leetcode.com/problems/restore-ip-addresses
143 399 525 Evaluate Division Contiguous Array 51.6% 42.8% Medium Medium 0.019380451549662482 0.01975372873623256 https://leetcode.com/problems/evaluate-division https://leetcode.com/problems/contiguous-array
144 229 399 Majority Element II Evaluate Division 35.6% 51.6% Medium Medium 0.019057270410286146 0.019380451549662482 https://leetcode.com/problems/majority-element-ii https://leetcode.com/problems/evaluate-division
145 236 229 Lowest Common Ancestor of a Binary Tree Majority Element II 45.7% 35.6% Medium Medium 0.018724947332324816 0.019057270410286146 https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-tree https://leetcode.com/problems/majority-element-ii
146 169 236 Majority Element Lowest Common Ancestor of a Binary Tree 58.7% 45.7% Easy Medium 0.018694317054881164 0.018724947332324816 https://leetcode.com/problems/majority-element https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-tree
147 235 169 Lowest Common Ancestor of a Binary Search Tree Majority Element 49.9% 58.7% Easy Easy 0.018394142155974434 0.018694317054881164 https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-search-tree https://leetcode.com/problems/majority-element
148 197 235 Rising Temperature Lowest Common Ancestor of a Binary Search Tree 38.4% 49.9% Easy Easy 0.018198864417406563 0.018394142155974434 https://leetcode.com/problems/rising-temperature https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-search-tree
149 234 197 Palindrome Linked List Rising Temperature 39.3% 38.4% Easy Easy 0.01801241989645556 0.018198864417406563 https://leetcode.com/problems/palindrome-linked-list https://leetcode.com/problems/rising-temperature
150 314 234 Binary Tree Vertical Order Traversal Palindrome Linked List 45.3% 39.3% Medium Easy 0.018010392274465332 0.01801241989645556 https://leetcode.com/problems/binary-tree-vertical-order-traversal https://leetcode.com/problems/palindrome-linked-list
151 136 314 Single Number Binary Tree Vertical Order Traversal 65.5% 45.3% Easy Medium 0.017801666336826266 0.018010392274465332 https://leetcode.com/problems/single-number https://leetcode.com/problems/binary-tree-vertical-order-traversal
152 993 136 Cousins in Binary Tree Single Number 52.0% 65.5% Easy Easy 0.017414458368636587 0.017801666336826266 https://leetcode.com/problems/cousins-in-binary-tree https://leetcode.com/problems/single-number
153 168 993 Excel Sheet Column Title Cousins in Binary Tree 31.1% 52.0% Easy Easy 0.01734648872385377 0.017414458368636587 https://leetcode.com/problems/excel-sheet-column-title https://leetcode.com/problems/cousins-in-binary-tree
154 994 168 Rotting Oranges Excel Sheet Column Title 49.2% 31.1% Medium Easy 0.017087941897195622 0.01734648872385377 https://leetcode.com/problems/rotting-oranges https://leetcode.com/problems/excel-sheet-column-title
155 415 994 Add Strings Rotting Oranges 47.5% 49.2% Easy Medium 0.016991158247219373 0.017087941897195622 https://leetcode.com/problems/add-strings https://leetcode.com/problems/rotting-oranges
156 191 415 Number of 1 Bits Add Strings 49.8% 47.5% Easy Easy 0.01673523624045844 0.016991158247219373 https://leetcode.com/problems/number-of-1-bits https://leetcode.com/problems/add-strings
157 71 191 Simplify Path Number of 1 Bits 32.6% 49.8% Medium Easy 0.016260520871780308 0.01673523624045844 https://leetcode.com/problems/simplify-path https://leetcode.com/problems/number-of-1-bits
158 110 71 Balanced Binary Tree Simplify Path 43.5% 32.6% Easy Medium 0.015742847432510365 0.016260520871780308 https://leetcode.com/problems/balanced-binary-tree https://leetcode.com/problems/simplify-path
159 215 110 Kth Largest Element in an Array Balanced Binary Tree 55.4% 43.5% Medium Easy 0.015519225147600912 0.015742847432510365 https://leetcode.com/problems/kth-largest-element-in-an-array https://leetcode.com/problems/balanced-binary-tree
160 114 215 Flatten Binary Tree to Linked List Kth Largest Element in an Array 49.3% 55.4% Medium Medium 0.015450951155718977 0.015519225147600912 https://leetcode.com/problems/flatten-binary-tree-to-linked-list https://leetcode.com/problems/kth-largest-element-in-an-array
161 1002 114 Find Common Characters Flatten Binary Tree to Linked List 67.6% 49.3% Easy Medium 0.015273301861833809 0.015450951155718977 https://leetcode.com/problems/find-common-characters https://leetcode.com/problems/flatten-binary-tree-to-linked-list
162 561 1002 Array Partition I Find Common Characters 72.0% 67.6% Easy Easy 0.015186320707985562 0.015273301861833809 https://leetcode.com/problems/array-partition-i https://leetcode.com/problems/find-common-characters
163 29 561 Divide Two Integers Array Partition I 16.4% 72.0% Medium Easy 0.01517479801923515 0.015186320707985562 https://leetcode.com/problems/divide-two-integers https://leetcode.com/problems/array-partition-i
164 217 29 Contains Duplicate Divide Two Integers 56.0% 16.4% Easy Medium 0.015106027431013205 0.01517479801923515 https://leetcode.com/problems/contains-duplicate https://leetcode.com/problems/divide-two-integers
165 142 217 Linked List Cycle II Contains Duplicate 37.3% 56.0% Medium Easy 0.014710955064667802 0.015106027431013205 https://leetcode.com/problems/linked-list-cycle-ii https://leetcode.com/problems/contains-duplicate
166 315 142 Count of Smaller Numbers After Self Linked List Cycle II 41.5% 37.3% Hard Medium 0.014352596574956585 0.014710955064667802 https://leetcode.com/problems/count-of-smaller-numbers-after-self https://leetcode.com/problems/linked-list-cycle-ii
167 404 315 Sum of Left Leaves Count of Smaller Numbers After Self 50.9% 41.5% Easy Hard 0.013981353230340547 0.014352596574956585 https://leetcode.com/problems/sum-of-left-leaves https://leetcode.com/problems/count-of-smaller-numbers-after-self
168 24 404 Swap Nodes in Pairs Sum of Left Leaves 50.4% 50.9% Medium Easy 0.013945066390122038 0.013981353230340547 https://leetcode.com/problems/swap-nodes-in-pairs https://leetcode.com/problems/sum-of-left-leaves
169 703 24 Kth Largest Element in a Stream Swap Nodes in Pairs 49.7% 50.4% Easy Medium 0.013898764390814973 0.013945066390122038 https://leetcode.com/problems/kth-largest-element-in-a-stream https://leetcode.com/problems/swap-nodes-in-pairs
170 1192 703 Critical Connections in a Network Kth Largest Element in a Stream 48.6% 49.7% Hard Easy 0.01352742981715631 0.013898764390814973 https://leetcode.com/problems/critical-connections-in-a-network https://leetcode.com/problems/kth-largest-element-in-a-stream
171 122 1192 Best Time to Buy and Sell Stock II Critical Connections in a Network 57.0% 48.6% Easy Hard 0.013351333174864208 0.01352742981715631 https://leetcode.com/problems/best-time-to-buy-and-sell-stock-ii https://leetcode.com/problems/critical-connections-in-a-network
172 57 122 Insert Interval Best Time to Buy and Sell Stock II 33.5% 57.0% Hard Easy 0.013119243592498872 0.013351333174864208 https://leetcode.com/problems/insert-interval https://leetcode.com/problems/best-time-to-buy-and-sell-stock-ii
173 665 57 Non-decreasing Array Insert Interval 19.5% 33.5% Easy Hard 0.013016779950191773 0.013119243592498872 https://leetcode.com/problems/non-decreasing-array https://leetcode.com/problems/insert-interval
174 695 665 Max Area of Island Non-decreasing Array 62.7% 19.5% Medium Easy 0.012686500631003836 0.013016779950191773 https://leetcode.com/problems/max-area-of-island https://leetcode.com/problems/non-decreasing-array
175 181 695 Employees Earning More Than Their Managers Max Area of Island 56.9% 62.7% Easy Medium 0.012618463959211509 0.012686500631003836 https://leetcode.com/problems/employees-earning-more-than-their-managers https://leetcode.com/problems/max-area-of-island
176 77 181 Combinations Employees Earning More Than Their Managers 54.7% 56.9% Medium Easy 0.01255115315451512 0.012618463959211509 https://leetcode.com/problems/combinations https://leetcode.com/problems/employees-earning-more-than-their-managers
177 137 77 Single Number II Combinations 52.4% 54.7% Medium Medium 0.012527567532662891 0.01255115315451512 https://leetcode.com/problems/single-number-ii https://leetcode.com/problems/combinations
178 287 137 Find the Duplicate Number Single Number II 55.5% 52.4% Medium Medium 0.012335682739188652 0.012527567532662891 https://leetcode.com/problems/find-the-duplicate-number https://leetcode.com/problems/single-number-ii
179 19 287 Remove Nth Node From End of List Find the Duplicate Number 35.2% 55.5% Medium Medium 0.012249425864399291 0.012335682739188652 https://leetcode.com/problems/remove-nth-node-from-end-of-list https://leetcode.com/problems/find-the-duplicate-number
180 547 19 Friend Circles Remove Nth Node From End of List 58.6% 35.2% Medium Medium 0.012228828639434596 0.012249425864399291 https://leetcode.com/problems/friend-circles https://leetcode.com/problems/remove-nth-node-from-end-of-list
181 278 547 First Bad Version Friend Circles 35.7% 58.6% Easy Medium 0.012090421323816148 0.012228828639434596 https://leetcode.com/problems/first-bad-version https://leetcode.com/problems/friend-circles
182 205 278 Isomorphic Strings First Bad Version 39.8% 35.7% Easy Easy 0.011544139746865315 0.012090421323816148 https://leetcode.com/problems/isomorphic-strings https://leetcode.com/problems/first-bad-version
183 1051 205 Height Checker Isomorphic Strings 71.1% 39.8% Easy Easy 0.011468015591641189 0.011544139746865315 https://leetcode.com/problems/height-checker https://leetcode.com/problems/isomorphic-strings
184 148 1051 Sort List Height Checker 42.3% 71.1% Medium Easy 0.011204599012863078 0.011468015591641189 https://leetcode.com/problems/sort-list https://leetcode.com/problems/height-checker
185 268 148 Missing Number Sort List 51.7% 42.3% Easy Medium 0.010947682628191997 0.011204599012863078 https://leetcode.com/problems/missing-number https://leetcode.com/problems/sort-list
186 257 268 Binary Tree Paths Missing Number 51.5% 51.7% Easy Easy 0.010457611643958139 0.010947682628191997 https://leetcode.com/problems/binary-tree-paths https://leetcode.com/problems/missing-number
187 647 257 Palindromic Substrings Binary Tree Paths 60.6% 51.5% Medium Easy 0.010400509768078022 0.010457611643958139 https://leetcode.com/problems/palindromic-substrings https://leetcode.com/problems/binary-tree-paths
188 62 647 Unique Paths Palindromic Substrings 54.1% 60.6% Medium Medium 0.010367562048856941 0.010400509768078022 https://leetcode.com/problems/unique-paths https://leetcode.com/problems/palindromic-substrings
189 61 62 Rotate List Unique Paths 30.0% 54.1% Medium Medium 0.009925639799969955 0.010367562048856941 https://leetcode.com/problems/rotate-list https://leetcode.com/problems/unique-paths
190 380 61 Insert Delete GetRandom O(1) Rotate List 47.5% 30.0% Medium Medium 0.009820849864094454 0.009925639799969955 https://leetcode.com/problems/insert-delete-getrandom-o1 https://leetcode.com/problems/rotate-list
191 113 380 Path Sum II Insert Delete GetRandom O(1) 46.7% 47.5% Medium Medium 0.009784813879998279 0.009820849864094454 https://leetcode.com/problems/path-sum-ii https://leetcode.com/problems/insert-delete-getrandom-o1
192 47 113 Permutations II Path Sum II 46.4% 46.7% Medium Medium 0.009673594178378379 0.009784813879998279 https://leetcode.com/problems/permutations-ii https://leetcode.com/problems/path-sum-ii
193 40 47 Combination Sum II Permutations II 48.2% 46.4% Medium Medium 0.009578617297069781 0.009673594178378379 https://leetcode.com/problems/combination-sum-ii https://leetcode.com/problems/permutations-ii
194 387 40 First Unique Character in a String Combination Sum II 53.4% 48.2% Easy Medium 0.009392680199054166 0.009578617297069781 https://leetcode.com/problems/first-unique-character-in-a-string https://leetcode.com/problems/combination-sum-ii
195 128 387 Longest Consecutive Sequence First Unique Character in a String 45.1% 53.4% Hard Easy 0.009051883485315484 0.009392680199054166 https://leetcode.com/problems/longest-consecutive-sequence https://leetcode.com/problems/first-unique-character-in-a-string
196 295 128 Find Median from Data Stream Longest Consecutive Sequence 44.3% 45.1% Hard Hard 0.00899893586856953 0.009051883485315484 https://leetcode.com/problems/find-median-from-data-stream https://leetcode.com/problems/longest-consecutive-sequence
197 125 295 Valid Palindrome Find Median from Data Stream 36.7% 44.3% Easy Hard 0.008933948641551634 0.00899893586856953 https://leetcode.com/problems/valid-palindrome https://leetcode.com/problems/find-median-from-data-stream
198 700 125 Search in a Binary Search Tree Valid Palindrome 73.1% 36.7% Easy Easy 0.008512500860171227 0.008933948641551634 https://leetcode.com/problems/search-in-a-binary-search-tree https://leetcode.com/problems/valid-palindrome
199 84 700 Largest Rectangle in Histogram Search in a Binary Search Tree 35.2% 73.1% Hard Easy 0.00833685528906183 0.008512500860171227 https://leetcode.com/problems/largest-rectangle-in-histogram https://leetcode.com/problems/search-in-a-binary-search-tree
200 102 84 Binary Tree Level Order Traversal Largest Rectangle in Histogram 54.6% 35.2% Medium Hard 0.008169238497129479 0.00833685528906183 https://leetcode.com/problems/binary-tree-level-order-traversal https://leetcode.com/problems/largest-rectangle-in-histogram
201 141 102 Linked List Cycle Binary Tree Level Order Traversal 41.1% 54.6% Easy Medium 0.007843861028908454 0.008169238497129479 https://leetcode.com/problems/linked-list-cycle https://leetcode.com/problems/binary-tree-level-order-traversal
202 38 141 Count and Say Linked List Cycle 44.6% 41.1% Easy Easy 0.007829360800435779 0.007843861028908454 https://leetcode.com/problems/count-and-say https://leetcode.com/problems/linked-list-cycle
203 101 38 Symmetric Tree Count and Say 46.8% 44.6% Easy Easy 0.007646596306528098 0.007829360800435779 https://leetcode.com/problems/symmetric-tree https://leetcode.com/problems/count-and-say
204 876 101 Middle of the Linked List Symmetric Tree 68.4% 46.8% Easy Easy 0.007624893975696915 0.007646596306528098 https://leetcode.com/problems/middle-of-the-linked-list https://leetcode.com/problems/symmetric-tree
205 240 876 Search a 2D Matrix II Middle of the Linked List 43.2% 68.4% Medium Easy 0.0075829747244553335 0.007624893975696915 https://leetcode.com/problems/search-a-2d-matrix-ii https://leetcode.com/problems/middle-of-the-linked-list
206 692 240 Top K Frequent Words Search a 2D Matrix II 51.8% 43.2% Medium Medium 0.007516006820935329 0.0075829747244553335 https://leetcode.com/problems/top-k-frequent-words https://leetcode.com/problems/search-a-2d-matrix-ii
207 145 692 Binary Tree Postorder Traversal Top K Frequent Words 55.0% 51.8% Hard Medium 0.00751459482064135 0.007516006820935329 https://leetcode.com/problems/binary-tree-postorder-traversal https://leetcode.com/problems/top-k-frequent-words
208 36 145 Valid Sudoku Binary Tree Postorder Traversal 48.7% 55.0% Medium Hard 0.007258242715805398 0.00751459482064135 https://leetcode.com/problems/valid-sudoku https://leetcode.com/problems/binary-tree-postorder-traversal
209 412 36 Fizz Buzz Valid Sudoku 62.3% 48.7% Easy Medium 0.007165921026143679 0.007258242715805398 https://leetcode.com/problems/fizz-buzz https://leetcode.com/problems/valid-sudoku
210 1365 412 How Many Numbers Are Smaller Than the Current Number Fizz Buzz 85.6% 62.3% Easy Easy 0.007109877088701047 0.007165921026143679 https://leetcode.com/problems/how-many-numbers-are-smaller-than-the-current-number https://leetcode.com/problems/fizz-buzz
211 73 1365 Set Matrix Zeroes How Many Numbers Are Smaller Than the Current Number 43.1% 85.6% Medium Easy 0.0070151111959223245 0.007109877088701047 https://leetcode.com/problems/set-matrix-zeroes https://leetcode.com/problems/how-many-numbers-are-smaller-than-the-current-number
212 9 73 Palindrome Number Set Matrix Zeroes 48.4% 43.1% Easy Medium 0.006822343017166543 0.0070151111959223245 https://leetcode.com/problems/palindrome-number https://leetcode.com/problems/set-matrix-zeroes
213 118 9 Pascal's Triangle Palindrome Number 52.5% 48.4% Easy Easy 0.006749941254175012 0.006822343017166543 https://leetcode.com/problems/pascals-triangle https://leetcode.com/problems/palindrome-number
214 67 118 Add Binary Pascal's Triangle 45.2% 52.5% Easy Easy 0.006631598888145552 0.006749941254175012 https://leetcode.com/problems/add-binary https://leetcode.com/problems/pascals-triangle
215 83 67 Remove Duplicates from Sorted List Add Binary 45.4% 45.2% Easy Easy 0.006353261522609498 0.006631598888145552 https://leetcode.com/problems/remove-duplicates-from-sorted-list https://leetcode.com/problems/add-binary
216 104 83 Maximum Depth of Binary Tree Remove Duplicates from Sorted List 66.0% 45.4% Easy Easy 0.006261761223976207 0.006353261522609498 https://leetcode.com/problems/maximum-depth-of-binary-tree https://leetcode.com/problems/remove-duplicates-from-sorted-list
217 105 104 Construct Binary Tree from Preorder and Inorder Traversal Maximum Depth of Binary Tree 48.8% 66.0% Medium Easy 0.005628268691614718 0.006261761223976207 https://leetcode.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal https://leetcode.com/problems/maximum-depth-of-binary-tree
218 50 105 Pow(x;n) Construct Binary Tree from Preorder and Inorder Traversal 30.3% 48.8% Medium Medium 0.0055950070772402055 0.005628268691614718 https://leetcode.com/problems/powx-n https://leetcode.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal
219 124 50 Binary Tree Maximum Path Sum Pow(x;n) 34.3% 30.3% Hard Medium 0.005531752454833179 0.0055950070772402055 https://leetcode.com/problems/binary-tree-maximum-path-sum https://leetcode.com/problems/powx-n
220 237 124 Delete Node in a Linked List Binary Tree Maximum Path Sum 63.8% 34.3% Easy Hard 0.005144705881237697 0.005531752454833179 https://leetcode.com/problems/delete-node-in-a-linked-list https://leetcode.com/problems/binary-tree-maximum-path-sum
221 1470 237 Shuffle the Array Delete Node in a Linked List 88.9% 63.8% Easy Easy 0.004527967890154029 0.005144705881237697 https://leetcode.com/problems/shuffle-the-array https://leetcode.com/problems/delete-node-in-a-linked-list
222 26 1470 Remove Duplicates from Sorted Array Shuffle the Array 45.1% 88.9% Easy Easy 0.004385117141850828 0.004527967890154029 https://leetcode.com/problems/remove-duplicates-from-sorted-array https://leetcode.com/problems/shuffle-the-array
223 28 26 Implement strStr() Remove Duplicates from Sorted Array 34.5% 45.1% Easy Easy 0.003943222775040032 0.004385117141850828 https://leetcode.com/problems/implement-strstr https://leetcode.com/problems/remove-duplicates-from-sorted-array
224 66 28 Plus One Implement strStr() 43.0% 34.5% Easy Easy 0.00326211347832938 0.003943222775040032 https://leetcode.com/problems/plus-one https://leetcode.com/problems/implement-strstr
225 283 66 Move Zeroes Plus One 57.8% 43.0% Easy Easy 0.0028853803470673955 0.00326211347832938 https://leetcode.com/problems/move-zeroes https://leetcode.com/problems/plus-one
226 154 283 Find Minimum in Rotated Sorted Array II Move Zeroes 41.6% 57.8% Hard Easy 0.0021273209107578427 0.0028853803470673955 https://leetcode.com/problems/find-minimum-in-rotated-sorted-array-ii https://leetcode.com/problems/move-zeroes
227 79 154 Word Search Find Minimum in Rotated Sorted Array II 35.6% 41.6% Medium Hard 0.0016647248725526849 0.0021273209107578427 https://leetcode.com/problems/word-search https://leetcode.com/problems/find-minimum-in-rotated-sorted-array-ii
228 203 79 Remove Linked List Elements Word Search 38.6% 35.6% Easy Medium 0.0016237064659255223 0.0016647248725526849 https://leetcode.com/problems/remove-linked-list-elements https://leetcode.com/problems/word-search
229 203 Remove Linked List Elements 38.6% Easy 0.0016237064659255223 https://leetcode.com/problems/remove-linked-list-elements