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,235 +1,236 @@
1,Two Sum,45.6%,Easy,2.4883960324530268, https://leetcode.com/problems/two-sum
2,Add Two Numbers,33.9%,Medium,2.269636101391722, https://leetcode.com/problems/add-two-numbers
4,Median of Two Sorted Arrays,29.6%,Hard,2.050876170330417, https://leetcode.com/problems/median-of-two-sorted-arrays
741,Cherry Pickup,33.9%,Hard,1.8321162392691122, https://leetcode.com/problems/cherry-pickup
3,Longest Substring Without Repeating Characters,30.4%,Medium,1.8014105894541743, https://leetcode.com/problems/longest-substring-without-repeating-characters
7,Reverse Integer,25.8%,Easy,1.73297236373911, https://leetcode.com/problems/reverse-integer
175,Combine Two Tables,60.8%,Easy,1.6956988952705778, https://leetcode.com/problems/combine-two-tables
21,Merge Two Sorted Lists,53.5%,Easy,1.5676206155174264, https://leetcode.com/problems/merge-two-sorted-lists
5,Longest Palindromic Substring,29.5%,Medium,1.5174071915824883, https://leetcode.com/problems/longest-palindromic-substring
15,3Sum,26.8%,Medium,1.4894785973551214, https://leetcode.com/problems/3sum
13,Roman to Integer,55.7%,Easy,1.4339144225059055, https://leetcode.com/problems/roman-to-integer
6,ZigZag Conversion,36.3%,Medium,1.2151544914446004, https://leetcode.com/problems/zigzag-conversion
195,Tenth Line,33.0%,Easy,1.1862816902916034, https://leetcode.com/problems/tenth-line
53,Maximum Subarray,46.5%,Easy,1.1698468033916782, https://leetcode.com/problems/maximum-subarray
192,Word Frequency,25.8%,Medium,1.1542304443345712, https://leetcode.com/problems/word-frequency
11,Container With Most Water,50.8%,Medium,1.1498172467169137, https://leetcode.com/problems/container-with-most-water
146,LRU Cache,33.2%,Medium,1.1414840541705635, https://leetcode.com/problems/lru-cache
14,Longest Common Prefix,35.4%,Easy,1.0701063949652634, https://leetcode.com/problems/longest-common-prefix
9,Palindrome Number,48.4%,Easy,1.0389585830023096, https://leetcode.com/problems/palindrome-number
292,Nim Game,54.9%,Easy,1.0340435601569165, https://leetcode.com/problems/nim-game
206,Reverse Linked List,62.5%,Easy,0.9491844552172142, https://leetcode.com/problems/reverse-linked-list
22,Generate Parentheses,62.7%,Medium,0.9146285119909732, https://leetcode.com/problems/generate-parentheses
312,Burst Balloons,51.8%,Hard,0.8978937096587362, https://leetcode.com/problems/burst-balloons
771,Jewels and Stones,86.4%,Easy,0.8045122974235372, https://leetcode.com/problems/jewels-and-stones
18,4Sum,33.7%,Medium,0.7870176048739561, https://leetcode.com/problems/4sum
344,Reverse String,68.5%,Easy,0.7803563983565922, https://leetcode.com/problems/reverse-string
20,Valid Parentheses,39.0%,Easy,0.7728842221115333, https://leetcode.com/problems/valid-parentheses
23,Merge k Sorted Lists,40.2%,Hard,0.744432863023671, https://leetcode.com/problems/merge-k-sorted-lists
42,Trapping Rain Water,48.9%,Hard,0.7166320474707057, https://leetcode.com/problems/trapping-rain-water
274,H-Index,36.1%,Medium,0.7105315488308892, https://leetcode.com/problems/h-index
595,Big Countries,77.3%,Easy,0.6960898016141428, https://leetcode.com/problems/big-countries
76,Minimum Window Substring,34.6%,Hard,0.641927908156958, https://leetcode.com/problems/minimum-window-substring
10,Regular Expression Matching,26.8%,Hard,0.6273817982285409, https://leetcode.com/problems/regular-expression-matching
386,Lexicographical Numbers,51.6%,Medium,0.626946543403964, https://leetcode.com/problems/lexicographical-numbers
214,Shortest Palindrome,29.8%,Hard,0.6257058997644127, https://leetcode.com/problems/shortest-palindrome
561,Array Partition I,72.0%,Easy,0.6209795294618357, https://leetcode.com/problems/array-partition-i
12,Integer to Roman,55.1%,Medium,0.618907369249803, https://leetcode.com/problems/integer-to-roman
88,Merge Sorted Array,39.4%,Easy,0.5992604670982806, https://leetcode.com/problems/merge-sorted-array
177,Nth Highest Salary,31.4%,Medium,0.5957174923400869, https://leetcode.com/problems/nth-highest-salary
8,String to Integer (atoi),15.4%,Medium,0.5871742950115802, https://leetcode.com/problems/string-to-integer-atoi
46,Permutations,63.5%,Medium,0.5710040142718329, https://leetcode.com/problems/permutations
201,Bitwise AND of Numbers Range,39.4%,Medium,0.5616591289700842, https://leetcode.com/problems/bitwise-and-of-numbers-range
176,Second Highest Salary,31.6%,Easy,0.5550999082992657, https://leetcode.com/problems/second-highest-salary
54,Spiral Matrix,34.1%,Medium,0.5477790799646545, https://leetcode.com/problems/spiral-matrix
238,Product of Array Except Self,60.1%,Medium,0.5410045911404007, https://leetcode.com/problems/product-of-array-except-self
315,Count of Smaller Numbers After Self,41.5%,Hard,0.5355270510063105, https://leetcode.com/problems/count-of-smaller-numbers-after-self
85,Maximal Rectangle,37.7%,Hard,0.505442030682518, https://leetcode.com/problems/maximal-rectangle
41,First Missing Positive,32.0%,Hard,0.4966396105083198, https://leetcode.com/problems/first-missing-positive
38,Count and Say,44.6%,Easy,0.4926620533465078, https://leetcode.com/problems/count-and-say
322,Coin Change,35.5%,Medium,0.48915086353512044, https://leetcode.com/problems/coin-change
237,Delete Node in a Linked List,63.8%,Easy,0.4849621131760714, https://leetcode.com/problems/delete-node-in-a-linked-list
121,Best Time to Buy and Sell Stock,50.5%,Easy,0.47900593564253346, https://leetcode.com/problems/best-time-to-buy-and-sell-stock
32,Longest Valid Parentheses,28.4%,Hard,0.4610968040943131, https://leetcode.com/problems/longest-valid-parentheses
420,Strong Password Checker,14.0%,Hard,0.4491177382659011, https://leetcode.com/problems/strong-password-checker
136,Single Number,65.5%,Easy,0.44677265180412157, https://leetcode.com/problems/single-number
148,Sort List,42.3%,Medium,0.4396170196774987, https://leetcode.com/problems/sort-list
82,Remove Duplicates from Sorted List II,36.8%,Medium,0.4392651170596573, https://leetcode.com/problems/remove-duplicates-from-sorted-list-ii
16,3Sum Closest,46.0%,Medium,0.43554023176972845, https://leetcode.com/problems/3sum-closest
45,Jump Game II,30.6%,Hard,0.4315020818911597, https://leetcode.com/problems/jump-game-ii
535,Encode and Decode TinyURL,79.9%,Medium,0.4221173972425086, https://leetcode.com/problems/encode-and-decode-tinyurl
96,Unique Binary Search Trees,52.9%,Medium,0.42021191912831435, https://leetcode.com/problems/unique-binary-search-trees
92,Reverse Linked List II,38.8%,Medium,0.414508648004485, https://leetcode.com/problems/reverse-linked-list-ii
30,Substring with Concatenation of All Words,25.4%,Hard,0.41194709630297865, https://leetcode.com/problems/substring-with-concatenation-of-all-words
33,Search in Rotated Sorted Array,34.5%,Medium,0.40912496149364885, https://leetcode.com/problems/search-in-rotated-sorted-array
64,Minimum Path Sum,54.5%,Medium,0.4040299464061684, https://leetcode.com/problems/minimum-path-sum
279,Perfect Squares,47.4%,Medium,0.3741145782240884, https://leetcode.com/problems/perfect-squares
24,Swap Nodes in Pairs,50.4%,Medium,0.3722036149739704, https://leetcode.com/problems/swap-nodes-in-pairs
343,Integer Break,50.4%,Medium,0.3649680588757168, https://leetcode.com/problems/integer-break
31,Next Permutation,32.6%,Medium,0.3605125693237505, https://leetcode.com/problems/next-permutation
131,Palindrome Partitioning,47.5%,Medium,0.35313350367645147, https://leetcode.com/problems/palindrome-partitioning
141,Linked List Cycle,41.1%,Easy,0.3531074716115724, https://leetcode.com/problems/linked-list-cycle
200,Number of Islands,46.8%,Medium,0.348349251262677, https://leetcode.com/problems/number-of-islands
71,Simplify Path,32.6%,Medium,0.3434734320801965, https://leetcode.com/problems/simplify-path
138,Copy List with Random Pointer,36.4%,Medium,0.33465187471019453, https://leetcode.com/problems/copy-list-with-random-pointer
74,Search a 2D Matrix,36.5%,Medium,0.3339887638543654, https://leetcode.com/problems/search-a-2d-matrix
155,Min Stack,44.5%,Easy,0.32611635610879774, https://leetcode.com/problems/min-stack
26,Remove Duplicates from Sorted Array,45.1%,Easy,0.32413298661344175, https://leetcode.com/problems/remove-duplicates-from-sorted-array
169,Majority Element,58.7%,Easy,0.32361893795459934, https://leetcode.com/problems/majority-element
37,Sudoku Solver,43.6%,Hard,0.31644637012330246, https://leetcode.com/problems/sudoku-solver
48,Rotate Image,56.7%,Medium,0.31414864563994416, https://leetcode.com/problems/rotate-image
152,Maximum Product Subarray,31.7%,Medium,0.3065980377658154, https://leetcode.com/problems/maximum-product-subarray
706,Design HashMap,61.3%,Easy,0.30607943759149703, https://leetcode.com/problems/design-hashmap
378,Kth Smallest Element in a Sorted Matrix,54.3%,Medium,0.303069224638031, https://leetcode.com/problems/kth-smallest-element-in-a-sorted-matrix
115,Distinct Subsequences,38.3%,Hard,0.29662714656570494, https://leetcode.com/problems/distinct-subsequences
44,Wildcard Matching,24.7%,Hard,0.29635426006094184, https://leetcode.com/problems/wildcard-matching
198,House Robber,42.0%,Easy,0.29249400591952035, https://leetcode.com/problems/house-robber
329,Longest Increasing Path in a Matrix,43.4%,Hard,0.29062882263712253, https://leetcode.com/problems/longest-increasing-path-in-a-matrix
78,Subsets,62.0%,Medium,0.28775134131891633, https://leetcode.com/problems/subsets
234,Palindrome Linked List,39.3%,Easy,0.2838977996794123, https://leetcode.com/problems/palindrome-linked-list
139,Word Break,40.1%,Medium,0.2746475346554156, https://leetcode.com/problems/word-break
25,Reverse Nodes in k-Group,42.1%,Hard,0.2704051213089347, https://leetcode.com/problems/reverse-nodes-in-k-group
929,Unique Email Addresses,67.4%,Easy,0.26920579628420777, https://leetcode.com/problems/unique-email-addresses
204,Count Primes,31.5%,Easy,0.2622550703201888, https://leetcode.com/problems/count-primes
543,Diameter of Binary Tree,48.4%,Easy,0.26178095627491565, https://leetcode.com/problems/diameter-of-binary-tree
197,Rising Temperature,38.4%,Easy,0.2576203889657197, https://leetcode.com/problems/rising-temperature
448,Find All Numbers Disappeared in an Array,55.9%,Easy,0.2554000407912253, https://leetcode.com/problems/find-all-numbers-disappeared-in-an-array
446,Arithmetic Slices II - Subsequence,32.7%,Hard,0.25416851512733507, https://leetcode.com/problems/arithmetic-slices-ii-subsequence
101,Symmetric Tree,46.8%,Easy,0.24399082697231922, https://leetcode.com/problems/symmetric-tree
70,Climbing Stairs,47.8%,Easy,0.24304459408434126, https://leetcode.com/problems/climbing-stairs
389,Find the Difference,55.3%,Easy,0.2421400520048648, https://leetcode.com/problems/find-the-difference
1096,Brace Expansion II,62.2%,Hard,0.2363887780642304, https://leetcode.com/problems/brace-expansion-ii
51,N-Queens,46.6%,Hard,0.2346473757956944, https://leetcode.com/problems/n-queens
137,Single Number II,52.4%,Medium,0.22735779159844866, https://leetcode.com/problems/single-number-ii
56,Merge Intervals,39.3%,Medium,0.22422141863227835, https://leetcode.com/problems/merge-intervals
19,Remove Nth Node From End of List,35.2%,Medium,0.22280456303687612, https://leetcode.com/problems/remove-nth-node-from-end-of-list
49,Group Anagrams,56.9%,Medium,0.21827224887849583, https://leetcode.com/problems/group-anagrams
795,Number of Subarrays with Bounded Maximum,46.3%,Medium,0.2171959803892134, https://leetcode.com/problems/number-of-subarrays-with-bounded-maximum
268,Missing Number,51.7%,Easy,0.2148904095574893, https://leetcode.com/problems/missing-number
105,Construct Binary Tree from Preorder and Inorder Traversal,48.8%,Medium,0.2138725437818616, https://leetcode.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal
81,Search in Rotated Sorted Array II,33.0%,Medium,0.21357410029805904, https://leetcode.com/problems/search-in-rotated-sorted-array-ii
142,Linked List Cycle II,37.3%,Medium,0.21278213647158528, https://leetcode.com/problems/linked-list-cycle-ii
143,Reorder List,37.1%,Medium,0.21178045827645292, https://leetcode.com/problems/reorder-list
229,Majority Element II,35.6%,Medium,0.21162970925187066, https://leetcode.com/problems/majority-element-ii
124,Binary Tree Maximum Path Sum,34.3%,Hard,0.21055599204217199, https://leetcode.com/problems/binary-tree-maximum-path-sum
236,Lowest Common Ancestor of a Binary Tree,45.7%,Medium,0.2082667520997665, https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-tree
240,Search a 2D Matrix II,43.2%,Medium,0.20722300789490636, https://leetcode.com/problems/search-a-2d-matrix-ii
128,Longest Consecutive Sequence,45.1%,Hard,0.20483650886956722, https://leetcode.com/problems/longest-consecutive-sequence
220,Contains Duplicate III,20.9%,Medium,0.20432784239539936, https://leetcode.com/problems/contains-duplicate-iii
202,Happy Number,50.4%,Easy,0.2040083108839691, https://leetcode.com/problems/happy-number
728,Self Dividing Numbers,74.3%,Easy,0.20271151249700387, https://leetcode.com/problems/self-dividing-numbers
395,Longest Substring with At Least K Repeating Characters,41.4%,Medium,0.19944370144318244, https://leetcode.com/problems/longest-substring-with-at-least-k-repeating-characters
836,Rectangle Overlap,48.6%,Easy,0.19944370144318244, https://leetcode.com/problems/rectangle-overlap
65,Valid Number,15.3%,Hard,0.18904265746703205, https://leetcode.com/problems/valid-number
178,Rank Scores,45.8%,Medium,0.18843907402659216, https://leetcode.com/problems/rank-scores
219,Contains Duplicate II,37.7%,Easy,0.18696862869341266, https://leetcode.com/problems/contains-duplicate-ii
29,Divide Two Integers,16.4%,Medium,0.18695459519599733, https://leetcode.com/problems/divide-two-integers
199,Binary Tree Right Side View,54.1%,Medium,0.18661020557359304, https://leetcode.com/problems/binary-tree-right-side-view
739,Daily Temperatures,63.3%,Medium,0.1858025928756317, https://leetcode.com/problems/daily-temperatures
72,Edit Distance,44.8%,Hard,0.18554648786569794, https://leetcode.com/problems/edit-distance
181,Employees Earning More Than Their Managers,56.9%,Easy,0.18496356625679328, https://leetcode.com/problems/employees-earning-more-than-their-managers
61,Rotate List,30.0%,Medium,0.18398268674403112, https://leetcode.com/problems/rotate-list
50,Pow(x;n),30.3%,Medium,0.18397417464169494, https://leetcode.com/problems/powx-n
221,Maximal Square,37.7%,Medium,0.1833146055349465, https://leetcode.com/problems/maximal-square
239,Sliding Window Maximum,43.0%,Hard,0.18086662630782, https://leetcode.com/problems/sliding-window-maximum
112,Path Sum,41.2%,Easy,0.18019396942949986, https://leetcode.com/problems/path-sum
368,Largest Divisible Subset,38.0%,Medium,0.17613915688563714, https://leetcode.com/problems/largest-divisible-subset
415,Add Strings,47.5%,Easy,0.17429245611868044, https://leetcode.com/problems/add-strings
300,Longest Increasing Subsequence,42.6%,Medium,0.17397326740248337, https://leetcode.com/problems/longest-increasing-subsequence
122,Best Time to Buy and Sell Stock II,57.0%,Easy,0.17312279156285693, https://leetcode.com/problems/best-time-to-buy-and-sell-stock-ii
725,Split Linked List in Parts,52.2%,Medium,0.17265583404226165, https://leetcode.com/problems/split-linked-list-in-parts
856,Score of Parentheses,60.5%,Medium,0.17135825199668508, https://leetcode.com/problems/score-of-parentheses
560,Subarray Sum Equals K,43.9%,Medium,0.1665261146132014, https://leetcode.com/problems/subarray-sum-equals-k
91,Decode Ways,24.7%,Medium,0.1664322442258041, https://leetcode.com/problems/decode-ways
412,Fizz Buzz,62.3%,Easy,0.16533767872713678, https://leetcode.com/problems/fizz-buzz
1010,Pairs of Songs With Total Durations Divisible by 60,47.4%,Easy,0.15765117803680806, https://leetcode.com/problems/pairs-of-songs-with-total-durations-divisible-by-60
28,Implement strStr(),34.5%,Easy,0.15437642620216585, https://leetcode.com/problems/implement-strstr
62,Unique Paths,54.1%,Medium,0.15421684583780285, https://leetcode.com/problems/unique-paths
218,The Skyline Problem,34.6%,Hard,0.14953173397096375, https://leetcode.com/problems/the-skyline-problem
217,Contains Duplicate,56.0%,Easy,0.149082410987406, https://leetcode.com/problems/contains-duplicate
83,Remove Duplicates from Sorted List,45.4%,Easy,0.14784842578508967, https://leetcode.com/problems/remove-duplicates-from-sorted-list
168,Excel Sheet Column Title,31.1%,Easy,0.14624550032014502, https://leetcode.com/problems/excel-sheet-column-title
95,Unique Binary Search Trees II,40.6%,Medium,0.14236392393156927, https://leetcode.com/problems/unique-binary-search-trees-ii
55,Jump Game,34.6%,Medium,0.14177401548857888, https://leetcode.com/problems/jump-game
375,Guess Number Higher or Lower II,40.3%,Medium,0.1391128024627178, https://leetcode.com/problems/guess-number-higher-or-lower-ii
554,Brick Wall,50.0%,Medium,0.1384696742651052, https://leetcode.com/problems/brick-wall
726,Number of Atoms,49.0%,Hard,0.13804422079620546, https://leetcode.com/problems/number-of-atoms
125,Valid Palindrome,36.7%,Easy,0.13416684727631417, https://leetcode.com/problems/valid-palindrome
987,Vertical Order Traversal of a Binary Tree,36.6%,Medium,0.13360431878681564, https://leetcode.com/problems/vertical-order-traversal-of-a-binary-tree
110,Balanced Binary Tree,43.5%,Easy,0.13348731548952925, https://leetcode.com/problems/balanced-binary-tree
35,Search Insert Position,42.6%,Easy,0.13181240319984847, https://leetcode.com/problems/search-insert-position
1190,Reverse Substrings Between Each Pair of Parentheses,61.5%,Medium,0.1304306149462744, https://leetcode.com/problems/reverse-substrings-between-each-pair-of-parentheses
287,Find the Duplicate Number,55.5%,Medium,0.1291950147327505, https://leetcode.com/problems/find-the-duplicate-number
278,First Bad Version,35.7%,Easy,0.1267677952000762, https://leetcode.com/problems/first-bad-version
84,Largest Rectangle in Histogram,35.2%,Hard,0.12570469475928556, https://leetcode.com/problems/largest-rectangle-in-histogram
224,Basic Calculator,36.8%,Hard,0.12435274487954455, https://leetcode.com/problems/basic-calculator
235,Lowest Common Ancestor of a Binary Search Tree,49.9%,Easy,0.12399764165657076, https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-search-tree
107,Binary Tree Level Order Traversal II,53.5%,Easy,0.122658088838636, https://leetcode.com/problems/binary-tree-level-order-traversal-ii
1114,Print in Order,65.7%,Easy,0.12136085700426744, https://leetcode.com/problems/print-in-order
93,Restore IP Addresses,35.6%,Medium,0.11756123239496619, https://leetcode.com/problems/restore-ip-addresses
316,Remove Duplicate Letters,35.8%,Hard,0.1165801830326188, https://leetcode.com/problems/remove-duplicate-letters
191,Number of 1 Bits,49.8%,Easy,0.11333538213170377, https://leetcode.com/problems/number-of-1-bits
104,Maximum Depth of Binary Tree,66.0%,Easy,0.11149742514307986, https://leetcode.com/problems/maximum-depth-of-binary-tree
40,Combination Sum II,48.2%,Medium,0.11145356111123644, https://leetcode.com/problems/combination-sum-ii
1108,Defanging an IP Address,87.5%,Easy,0.1113224686534394, https://leetcode.com/problems/defanging-an-ip-address
295,Find Median from Data Stream,44.3%,Hard,0.10502147513923703, https://leetcode.com/problems/find-median-from-data-stream
98,Validate Binary Search Tree,27.8%,Medium,0.1008693132143216, https://leetcode.com/problems/validate-binary-search-tree
283,Move Zeroes,57.8%,Easy,0.09896140984010138, https://leetcode.com/problems/move-zeroes
617,Merge Two Binary Trees,74.1%,Easy,0.09679876601677688, https://leetcode.com/problems/merge-two-binary-trees
59,Spiral Matrix II,53.9%,Medium,0.09483978737982436, https://leetcode.com/problems/spiral-matrix-ii
66,Plus One,43.0%,Easy,0.09425513144914506, https://leetcode.com/problems/plus-one
215,Kth Largest Element in an Array,55.4%,Medium,0.09326418878681669, https://leetcode.com/problems/kth-largest-element-in-an-array
257,Binary Tree Paths,51.5%,Easy,0.09040028430515686, https://leetcode.com/problems/binary-tree-paths
185,Department Top Three Salaries,34.5%,Hard,0.08593583151429968, https://leetcode.com/problems/department-top-three-salaries
73,Set Matrix Zeroes,43.1%,Medium,0.08271965106891821, https://leetcode.com/problems/set-matrix-zeroes
387,First Unique Character in a String,53.4%,Easy,0.08151765202603821, https://leetcode.com/problems/first-unique-character-in-a-string
118,Pascal's Triangle,52.5%,Easy,0.07970401164997687, https://leetcode.com/problems/pascals-triangle
875,Koko Eating Bananas,52.1%,Medium,0.07919704166119315, https://leetcode.com/problems/koko-eating-bananas
79,Word Search,35.6%,Medium,0.07847790263416941, https://leetcode.com/problems/word-search
67,Add Binary,45.2%,Easy,0.07835548390827937, https://leetcode.com/problems/add-binary
525,Contiguous Array,42.8%,Medium,0.07677630069592066, https://leetcode.com/problems/contiguous-array
399,Evaluate Division,51.6%,Medium,0.07536521894921006, https://leetcode.com/problems/evaluate-division
669,Trim a Binary Search Tree,63.0%,Easy,0.07445297819474968, https://leetcode.com/problems/trim-a-binary-search-tree
460,LFU Cache,34.2%,Hard,0.06836374280939023, https://leetcode.com/problems/lfu-cache
258,Add Digits,57.6%,Easy,0.06075860721222717, https://leetcode.com/problems/add-digits
114,Flatten Binary Tree to Linked List,49.3%,Medium,0.06042105947476499, https://leetcode.com/problems/flatten-binary-tree-to-linked-list
113,Path Sum II,46.7%,Medium,0.05964085390630209, https://leetcode.com/problems/path-sum-ii
102,Binary Tree Level Order Traversal,54.6%,Medium,0.056692473087026664, https://leetcode.com/problems/binary-tree-level-order-traversal
601,Human Traffic of Stadium,41.7%,Hard,0.05223119222544569, https://leetcode.com/problems/human-traffic-of-stadium
665,Non-decreasing Array,19.5%,Easy,0.05108036638098062, https://leetcode.com/problems/non-decreasing-array
681,Next Closest Time,45.0%,Medium,0.05045206096038863, https://leetcode.com/problems/next-closest-time
77,Combinations,54.7%,Medium,0.04928622947983693, https://leetcode.com/problems/combinations
547,Friend Circles,58.6%,Medium,0.04804286211474039, https://leetcode.com/problems/friend-circles
876,Middle of the Linked List,68.4%,Easy,0.046728740327781716, https://leetcode.com/problems/middle-of-the-linked-list
977,Squares of a Sorted Array,72.1%,Easy,0.046652914831048324, https://leetcode.com/problems/squares-of-a-sorted-array
205,Isomorphic Strings,39.8%,Easy,0.045397866271290506, https://leetcode.com/problems/isomorphic-strings
1051,Height Checker,71.1%,Easy,0.04510347333459475, https://leetcode.com/problems/height-checker
36,Valid Sudoku,48.7%,Medium,0.04452302288876419, https://leetcode.com/problems/valid-sudoku
545,Boundary of Binary Tree,38.9%,Medium,0.04158603377810283, https://leetcode.com/problems/boundary-of-binary-tree
647,Palindromic Substrings,60.6%,Medium,0.040968350772541844, https://leetcode.com/problems/palindromic-substrings
314,Binary Tree Vertical Order Traversal,45.3%,Medium,0.04007660092703385, https://leetcode.com/problems/binary-tree-vertical-order-traversal
686,Repeated String Match,32.3%,Easy,0.03984590854719967, https://leetcode.com/problems/repeated-string-match
203,Remove Linked List Elements,38.6%,Easy,0.0398221041810017, https://leetcode.com/problems/remove-linked-list-elements
380,Insert Delete GetRandom O(1),47.5%,Medium,0.038717635350707984, https://leetcode.com/problems/insert-delete-getrandom-o1
47,Permutations II,46.4%,Medium,0.038145268259690404, https://leetcode.com/problems/permutations-ii
402,Remove K Digits,28.4%,Medium,0.03755134565213245, https://leetcode.com/problems/remove-k-digits
1002,Find Common Characters,67.6%,Easy,0.03404262162737441, https://leetcode.com/problems/find-common-characters
404,Sum of Left Leaves,50.9%,Easy,0.031187558856704493, https://leetcode.com/problems/sum-of-left-leaves
703,Kth Largest Element in a Stream,49.7%,Easy,0.031004894819414507, https://leetcode.com/problems/kth-largest-element-in-a-stream
994,Rotting Oranges,49.2%,Medium,0.030179582027776965, https://leetcode.com/problems/rotting-oranges
695,Max Area of Island,62.7%,Medium,0.028321590863246118, https://leetcode.com/problems/max-area-of-island
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
877,Stone Game,64.8%,Medium,0.02486144206532915, https://leetcode.com/problems/stone-game
154,Find Minimum in Rotated Sorted Array II,41.6%,Hard,0.01898490812303644, https://leetcode.com/problems/find-minimum-in-rotated-sorted-array-ii
993,Cousins in Binary Tree,52.0%,Easy,0.017414458368636587, https://leetcode.com/problems/cousins-in-binary-tree
1365,How Many Numbers Are Smaller Than the Current Number,85.6%,Easy,0.015926721367078105, https://leetcode.com/problems/how-many-numbers-are-smaller-than-the-current-number
1192,Critical Connections in a Network,48.6%,Hard,0.01352742981715631, https://leetcode.com/problems/critical-connections-in-a-network
57,Insert Interval,33.5%,Hard,0.013119243592498872, https://leetcode.com/problems/insert-interval
700,Search in a Binary Search Tree,73.1%,Easy,0.008512500860171227, https://leetcode.com/problems/search-in-a-binary-search-tree
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
1470,Shuffle the Array,88.9%,Easy,0.004527967890154029, https://leetcode.com/problems/shuffle-the-array
793,Preimage Size of Factorial Zeroes Function,40.3%,Hard,0, https://leetcode.com/problems/preimage-size-of-factorial-zeroes-function
908,Smallest Range I,65.8%,Easy,0, https://leetcode.com/problems/smallest-range-i
910,Smallest Range II,26.6%,Medium,0, https://leetcode.com/problems/smallest-range-ii
ID,Title,Acceptance,Difficulty,Frequency,Leetcode Question Link
1,Two Sum,45.6%,Easy,2.4883960324530268, https://leetcode.com/problems/two-sum
2,Add Two Numbers,33.9%,Medium,2.269636101391722, https://leetcode.com/problems/add-two-numbers
4,Median of Two Sorted Arrays,29.6%,Hard,2.050876170330417, https://leetcode.com/problems/median-of-two-sorted-arrays
741,Cherry Pickup,33.9%,Hard,1.8321162392691122, https://leetcode.com/problems/cherry-pickup
3,Longest Substring Without Repeating Characters,30.4%,Medium,1.8014105894541743, https://leetcode.com/problems/longest-substring-without-repeating-characters
7,Reverse Integer,25.8%,Easy,1.73297236373911, https://leetcode.com/problems/reverse-integer
175,Combine Two Tables,60.8%,Easy,1.6956988952705778, https://leetcode.com/problems/combine-two-tables
21,Merge Two Sorted Lists,53.5%,Easy,1.5676206155174264, https://leetcode.com/problems/merge-two-sorted-lists
5,Longest Palindromic Substring,29.5%,Medium,1.5174071915824883, https://leetcode.com/problems/longest-palindromic-substring
15,3Sum,26.8%,Medium,1.4894785973551214, https://leetcode.com/problems/3sum
13,Roman to Integer,55.7%,Easy,1.4339144225059055, https://leetcode.com/problems/roman-to-integer
6,ZigZag Conversion,36.3%,Medium,1.2151544914446004, https://leetcode.com/problems/zigzag-conversion
195,Tenth Line,33.0%,Easy,1.1862816902916034, https://leetcode.com/problems/tenth-line
53,Maximum Subarray,46.5%,Easy,1.1698468033916782, https://leetcode.com/problems/maximum-subarray
192,Word Frequency,25.8%,Medium,1.1542304443345712, https://leetcode.com/problems/word-frequency
11,Container With Most Water,50.8%,Medium,1.1498172467169137, https://leetcode.com/problems/container-with-most-water
146,LRU Cache,33.2%,Medium,1.1414840541705635, https://leetcode.com/problems/lru-cache
14,Longest Common Prefix,35.4%,Easy,1.0701063949652634, https://leetcode.com/problems/longest-common-prefix
9,Palindrome Number,48.4%,Easy,1.0389585830023096, https://leetcode.com/problems/palindrome-number
292,Nim Game,54.9%,Easy,1.0340435601569165, https://leetcode.com/problems/nim-game
206,Reverse Linked List,62.5%,Easy,0.9491844552172142, https://leetcode.com/problems/reverse-linked-list
22,Generate Parentheses,62.7%,Medium,0.9146285119909732, https://leetcode.com/problems/generate-parentheses
312,Burst Balloons,51.8%,Hard,0.8978937096587362, https://leetcode.com/problems/burst-balloons
771,Jewels and Stones,86.4%,Easy,0.8045122974235372, https://leetcode.com/problems/jewels-and-stones
18,4Sum,33.7%,Medium,0.7870176048739561, https://leetcode.com/problems/4sum
344,Reverse String,68.5%,Easy,0.7803563983565922, https://leetcode.com/problems/reverse-string
20,Valid Parentheses,39.0%,Easy,0.7728842221115333, https://leetcode.com/problems/valid-parentheses
23,Merge k Sorted Lists,40.2%,Hard,0.744432863023671, https://leetcode.com/problems/merge-k-sorted-lists
42,Trapping Rain Water,48.9%,Hard,0.7166320474707057, https://leetcode.com/problems/trapping-rain-water
274,H-Index,36.1%,Medium,0.7105315488308892, https://leetcode.com/problems/h-index
595,Big Countries,77.3%,Easy,0.6960898016141428, https://leetcode.com/problems/big-countries
76,Minimum Window Substring,34.6%,Hard,0.641927908156958, https://leetcode.com/problems/minimum-window-substring
10,Regular Expression Matching,26.8%,Hard,0.6273817982285409, https://leetcode.com/problems/regular-expression-matching
386,Lexicographical Numbers,51.6%,Medium,0.626946543403964, https://leetcode.com/problems/lexicographical-numbers
214,Shortest Palindrome,29.8%,Hard,0.6257058997644127, https://leetcode.com/problems/shortest-palindrome
561,Array Partition I,72.0%,Easy,0.6209795294618357, https://leetcode.com/problems/array-partition-i
12,Integer to Roman,55.1%,Medium,0.618907369249803, https://leetcode.com/problems/integer-to-roman
88,Merge Sorted Array,39.4%,Easy,0.5992604670982806, https://leetcode.com/problems/merge-sorted-array
177,Nth Highest Salary,31.4%,Medium,0.5957174923400869, https://leetcode.com/problems/nth-highest-salary
8,String to Integer (atoi),15.4%,Medium,0.5871742950115802, https://leetcode.com/problems/string-to-integer-atoi
46,Permutations,63.5%,Medium,0.5710040142718329, https://leetcode.com/problems/permutations
201,Bitwise AND of Numbers Range,39.4%,Medium,0.5616591289700842, https://leetcode.com/problems/bitwise-and-of-numbers-range
176,Second Highest Salary,31.6%,Easy,0.5550999082992657, https://leetcode.com/problems/second-highest-salary
54,Spiral Matrix,34.1%,Medium,0.5477790799646545, https://leetcode.com/problems/spiral-matrix
238,Product of Array Except Self,60.1%,Medium,0.5410045911404007, https://leetcode.com/problems/product-of-array-except-self
315,Count of Smaller Numbers After Self,41.5%,Hard,0.5355270510063105, https://leetcode.com/problems/count-of-smaller-numbers-after-self
85,Maximal Rectangle,37.7%,Hard,0.505442030682518, https://leetcode.com/problems/maximal-rectangle
41,First Missing Positive,32.0%,Hard,0.4966396105083198, https://leetcode.com/problems/first-missing-positive
38,Count and Say,44.6%,Easy,0.4926620533465078, https://leetcode.com/problems/count-and-say
322,Coin Change,35.5%,Medium,0.48915086353512044, https://leetcode.com/problems/coin-change
237,Delete Node in a Linked List,63.8%,Easy,0.4849621131760714, https://leetcode.com/problems/delete-node-in-a-linked-list
121,Best Time to Buy and Sell Stock,50.5%,Easy,0.47900593564253346, https://leetcode.com/problems/best-time-to-buy-and-sell-stock
32,Longest Valid Parentheses,28.4%,Hard,0.4610968040943131, https://leetcode.com/problems/longest-valid-parentheses
420,Strong Password Checker,14.0%,Hard,0.4491177382659011, https://leetcode.com/problems/strong-password-checker
136,Single Number,65.5%,Easy,0.44677265180412157, https://leetcode.com/problems/single-number
148,Sort List,42.3%,Medium,0.4396170196774987, https://leetcode.com/problems/sort-list
82,Remove Duplicates from Sorted List II,36.8%,Medium,0.4392651170596573, https://leetcode.com/problems/remove-duplicates-from-sorted-list-ii
16,3Sum Closest,46.0%,Medium,0.43554023176972845, https://leetcode.com/problems/3sum-closest
45,Jump Game II,30.6%,Hard,0.4315020818911597, https://leetcode.com/problems/jump-game-ii
535,Encode and Decode TinyURL,79.9%,Medium,0.4221173972425086, https://leetcode.com/problems/encode-and-decode-tinyurl
96,Unique Binary Search Trees,52.9%,Medium,0.42021191912831435, https://leetcode.com/problems/unique-binary-search-trees
92,Reverse Linked List II,38.8%,Medium,0.414508648004485, https://leetcode.com/problems/reverse-linked-list-ii
30,Substring with Concatenation of All Words,25.4%,Hard,0.41194709630297865, https://leetcode.com/problems/substring-with-concatenation-of-all-words
33,Search in Rotated Sorted Array,34.5%,Medium,0.40912496149364885, https://leetcode.com/problems/search-in-rotated-sorted-array
64,Minimum Path Sum,54.5%,Medium,0.4040299464061684, https://leetcode.com/problems/minimum-path-sum
279,Perfect Squares,47.4%,Medium,0.3741145782240884, https://leetcode.com/problems/perfect-squares
24,Swap Nodes in Pairs,50.4%,Medium,0.3722036149739704, https://leetcode.com/problems/swap-nodes-in-pairs
343,Integer Break,50.4%,Medium,0.3649680588757168, https://leetcode.com/problems/integer-break
31,Next Permutation,32.6%,Medium,0.3605125693237505, https://leetcode.com/problems/next-permutation
131,Palindrome Partitioning,47.5%,Medium,0.35313350367645147, https://leetcode.com/problems/palindrome-partitioning
141,Linked List Cycle,41.1%,Easy,0.3531074716115724, https://leetcode.com/problems/linked-list-cycle
200,Number of Islands,46.8%,Medium,0.348349251262677, https://leetcode.com/problems/number-of-islands
71,Simplify Path,32.6%,Medium,0.3434734320801965, https://leetcode.com/problems/simplify-path
138,Copy List with Random Pointer,36.4%,Medium,0.33465187471019453, https://leetcode.com/problems/copy-list-with-random-pointer
74,Search a 2D Matrix,36.5%,Medium,0.3339887638543654, https://leetcode.com/problems/search-a-2d-matrix
155,Min Stack,44.5%,Easy,0.32611635610879774, https://leetcode.com/problems/min-stack
26,Remove Duplicates from Sorted Array,45.1%,Easy,0.32413298661344175, https://leetcode.com/problems/remove-duplicates-from-sorted-array
169,Majority Element,58.7%,Easy,0.32361893795459934, https://leetcode.com/problems/majority-element
37,Sudoku Solver,43.6%,Hard,0.31644637012330246, https://leetcode.com/problems/sudoku-solver
48,Rotate Image,56.7%,Medium,0.31414864563994416, https://leetcode.com/problems/rotate-image
152,Maximum Product Subarray,31.7%,Medium,0.3065980377658154, https://leetcode.com/problems/maximum-product-subarray
706,Design HashMap,61.3%,Easy,0.30607943759149703, https://leetcode.com/problems/design-hashmap
378,Kth Smallest Element in a Sorted Matrix,54.3%,Medium,0.303069224638031, https://leetcode.com/problems/kth-smallest-element-in-a-sorted-matrix
115,Distinct Subsequences,38.3%,Hard,0.29662714656570494, https://leetcode.com/problems/distinct-subsequences
44,Wildcard Matching,24.7%,Hard,0.29635426006094184, https://leetcode.com/problems/wildcard-matching
198,House Robber,42.0%,Easy,0.29249400591952035, https://leetcode.com/problems/house-robber
329,Longest Increasing Path in a Matrix,43.4%,Hard,0.29062882263712253, https://leetcode.com/problems/longest-increasing-path-in-a-matrix
78,Subsets,62.0%,Medium,0.28775134131891633, https://leetcode.com/problems/subsets
234,Palindrome Linked List,39.3%,Easy,0.2838977996794123, https://leetcode.com/problems/palindrome-linked-list
139,Word Break,40.1%,Medium,0.2746475346554156, https://leetcode.com/problems/word-break
25,Reverse Nodes in k-Group,42.1%,Hard,0.2704051213089347, https://leetcode.com/problems/reverse-nodes-in-k-group
929,Unique Email Addresses,67.4%,Easy,0.26920579628420777, https://leetcode.com/problems/unique-email-addresses
204,Count Primes,31.5%,Easy,0.2622550703201888, https://leetcode.com/problems/count-primes
543,Diameter of Binary Tree,48.4%,Easy,0.26178095627491565, https://leetcode.com/problems/diameter-of-binary-tree
197,Rising Temperature,38.4%,Easy,0.2576203889657197, https://leetcode.com/problems/rising-temperature
448,Find All Numbers Disappeared in an Array,55.9%,Easy,0.2554000407912253, https://leetcode.com/problems/find-all-numbers-disappeared-in-an-array
446,Arithmetic Slices II - Subsequence,32.7%,Hard,0.25416851512733507, https://leetcode.com/problems/arithmetic-slices-ii-subsequence
101,Symmetric Tree,46.8%,Easy,0.24399082697231922, https://leetcode.com/problems/symmetric-tree
70,Climbing Stairs,47.8%,Easy,0.24304459408434126, https://leetcode.com/problems/climbing-stairs
389,Find the Difference,55.3%,Easy,0.2421400520048648, https://leetcode.com/problems/find-the-difference
1096,Brace Expansion II,62.2%,Hard,0.2363887780642304, https://leetcode.com/problems/brace-expansion-ii
51,N-Queens,46.6%,Hard,0.2346473757956944, https://leetcode.com/problems/n-queens
137,Single Number II,52.4%,Medium,0.22735779159844866, https://leetcode.com/problems/single-number-ii
56,Merge Intervals,39.3%,Medium,0.22422141863227835, https://leetcode.com/problems/merge-intervals
19,Remove Nth Node From End of List,35.2%,Medium,0.22280456303687612, https://leetcode.com/problems/remove-nth-node-from-end-of-list
49,Group Anagrams,56.9%,Medium,0.21827224887849583, https://leetcode.com/problems/group-anagrams
795,Number of Subarrays with Bounded Maximum,46.3%,Medium,0.2171959803892134, https://leetcode.com/problems/number-of-subarrays-with-bounded-maximum
268,Missing Number,51.7%,Easy,0.2148904095574893, https://leetcode.com/problems/missing-number
105,Construct Binary Tree from Preorder and Inorder Traversal,48.8%,Medium,0.2138725437818616, https://leetcode.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal
81,Search in Rotated Sorted Array II,33.0%,Medium,0.21357410029805904, https://leetcode.com/problems/search-in-rotated-sorted-array-ii
142,Linked List Cycle II,37.3%,Medium,0.21278213647158528, https://leetcode.com/problems/linked-list-cycle-ii
143,Reorder List,37.1%,Medium,0.21178045827645292, https://leetcode.com/problems/reorder-list
229,Majority Element II,35.6%,Medium,0.21162970925187066, https://leetcode.com/problems/majority-element-ii
124,Binary Tree Maximum Path Sum,34.3%,Hard,0.21055599204217199, https://leetcode.com/problems/binary-tree-maximum-path-sum
236,Lowest Common Ancestor of a Binary Tree,45.7%,Medium,0.2082667520997665, https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-tree
240,Search a 2D Matrix II,43.2%,Medium,0.20722300789490636, https://leetcode.com/problems/search-a-2d-matrix-ii
128,Longest Consecutive Sequence,45.1%,Hard,0.20483650886956722, https://leetcode.com/problems/longest-consecutive-sequence
220,Contains Duplicate III,20.9%,Medium,0.20432784239539936, https://leetcode.com/problems/contains-duplicate-iii
202,Happy Number,50.4%,Easy,0.2040083108839691, https://leetcode.com/problems/happy-number
728,Self Dividing Numbers,74.3%,Easy,0.20271151249700387, https://leetcode.com/problems/self-dividing-numbers
395,Longest Substring with At Least K Repeating Characters,41.4%,Medium,0.19944370144318244, https://leetcode.com/problems/longest-substring-with-at-least-k-repeating-characters
836,Rectangle Overlap,48.6%,Easy,0.19944370144318244, https://leetcode.com/problems/rectangle-overlap
65,Valid Number,15.3%,Hard,0.18904265746703205, https://leetcode.com/problems/valid-number
178,Rank Scores,45.8%,Medium,0.18843907402659216, https://leetcode.com/problems/rank-scores
219,Contains Duplicate II,37.7%,Easy,0.18696862869341266, https://leetcode.com/problems/contains-duplicate-ii
29,Divide Two Integers,16.4%,Medium,0.18695459519599733, https://leetcode.com/problems/divide-two-integers
199,Binary Tree Right Side View,54.1%,Medium,0.18661020557359304, https://leetcode.com/problems/binary-tree-right-side-view
739,Daily Temperatures,63.3%,Medium,0.1858025928756317, https://leetcode.com/problems/daily-temperatures
72,Edit Distance,44.8%,Hard,0.18554648786569794, https://leetcode.com/problems/edit-distance
181,Employees Earning More Than Their Managers,56.9%,Easy,0.18496356625679328, https://leetcode.com/problems/employees-earning-more-than-their-managers
61,Rotate List,30.0%,Medium,0.18398268674403112, https://leetcode.com/problems/rotate-list
50,Pow(x;n),30.3%,Medium,0.18397417464169494, https://leetcode.com/problems/powx-n
221,Maximal Square,37.7%,Medium,0.1833146055349465, https://leetcode.com/problems/maximal-square
239,Sliding Window Maximum,43.0%,Hard,0.18086662630782, https://leetcode.com/problems/sliding-window-maximum
112,Path Sum,41.2%,Easy,0.18019396942949986, https://leetcode.com/problems/path-sum
368,Largest Divisible Subset,38.0%,Medium,0.17613915688563714, https://leetcode.com/problems/largest-divisible-subset
415,Add Strings,47.5%,Easy,0.17429245611868044, https://leetcode.com/problems/add-strings
300,Longest Increasing Subsequence,42.6%,Medium,0.17397326740248337, https://leetcode.com/problems/longest-increasing-subsequence
122,Best Time to Buy and Sell Stock II,57.0%,Easy,0.17312279156285693, https://leetcode.com/problems/best-time-to-buy-and-sell-stock-ii
725,Split Linked List in Parts,52.2%,Medium,0.17265583404226165, https://leetcode.com/problems/split-linked-list-in-parts
856,Score of Parentheses,60.5%,Medium,0.17135825199668508, https://leetcode.com/problems/score-of-parentheses
560,Subarray Sum Equals K,43.9%,Medium,0.1665261146132014, https://leetcode.com/problems/subarray-sum-equals-k
91,Decode Ways,24.7%,Medium,0.1664322442258041, https://leetcode.com/problems/decode-ways
412,Fizz Buzz,62.3%,Easy,0.16533767872713678, https://leetcode.com/problems/fizz-buzz
1010,Pairs of Songs With Total Durations Divisible by 60,47.4%,Easy,0.15765117803680806, https://leetcode.com/problems/pairs-of-songs-with-total-durations-divisible-by-60
28,Implement strStr(),34.5%,Easy,0.15437642620216585, https://leetcode.com/problems/implement-strstr
62,Unique Paths,54.1%,Medium,0.15421684583780285, https://leetcode.com/problems/unique-paths
218,The Skyline Problem,34.6%,Hard,0.14953173397096375, https://leetcode.com/problems/the-skyline-problem
217,Contains Duplicate,56.0%,Easy,0.149082410987406, https://leetcode.com/problems/contains-duplicate
83,Remove Duplicates from Sorted List,45.4%,Easy,0.14784842578508967, https://leetcode.com/problems/remove-duplicates-from-sorted-list
168,Excel Sheet Column Title,31.1%,Easy,0.14624550032014502, https://leetcode.com/problems/excel-sheet-column-title
95,Unique Binary Search Trees II,40.6%,Medium,0.14236392393156927, https://leetcode.com/problems/unique-binary-search-trees-ii
55,Jump Game,34.6%,Medium,0.14177401548857888, https://leetcode.com/problems/jump-game
375,Guess Number Higher or Lower II,40.3%,Medium,0.1391128024627178, https://leetcode.com/problems/guess-number-higher-or-lower-ii
554,Brick Wall,50.0%,Medium,0.1384696742651052, https://leetcode.com/problems/brick-wall
726,Number of Atoms,49.0%,Hard,0.13804422079620546, https://leetcode.com/problems/number-of-atoms
125,Valid Palindrome,36.7%,Easy,0.13416684727631417, https://leetcode.com/problems/valid-palindrome
987,Vertical Order Traversal of a Binary Tree,36.6%,Medium,0.13360431878681564, https://leetcode.com/problems/vertical-order-traversal-of-a-binary-tree
110,Balanced Binary Tree,43.5%,Easy,0.13348731548952925, https://leetcode.com/problems/balanced-binary-tree
35,Search Insert Position,42.6%,Easy,0.13181240319984847, https://leetcode.com/problems/search-insert-position
1190,Reverse Substrings Between Each Pair of Parentheses,61.5%,Medium,0.1304306149462744, https://leetcode.com/problems/reverse-substrings-between-each-pair-of-parentheses
287,Find the Duplicate Number,55.5%,Medium,0.1291950147327505, https://leetcode.com/problems/find-the-duplicate-number
278,First Bad Version,35.7%,Easy,0.1267677952000762, https://leetcode.com/problems/first-bad-version
84,Largest Rectangle in Histogram,35.2%,Hard,0.12570469475928556, https://leetcode.com/problems/largest-rectangle-in-histogram
224,Basic Calculator,36.8%,Hard,0.12435274487954455, https://leetcode.com/problems/basic-calculator
235,Lowest Common Ancestor of a Binary Search Tree,49.9%,Easy,0.12399764165657076, https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-search-tree
107,Binary Tree Level Order Traversal II,53.5%,Easy,0.122658088838636, https://leetcode.com/problems/binary-tree-level-order-traversal-ii
1114,Print in Order,65.7%,Easy,0.12136085700426744, https://leetcode.com/problems/print-in-order
93,Restore IP Addresses,35.6%,Medium,0.11756123239496619, https://leetcode.com/problems/restore-ip-addresses
316,Remove Duplicate Letters,35.8%,Hard,0.1165801830326188, https://leetcode.com/problems/remove-duplicate-letters
191,Number of 1 Bits,49.8%,Easy,0.11333538213170377, https://leetcode.com/problems/number-of-1-bits
104,Maximum Depth of Binary Tree,66.0%,Easy,0.11149742514307986, https://leetcode.com/problems/maximum-depth-of-binary-tree
40,Combination Sum II,48.2%,Medium,0.11145356111123644, https://leetcode.com/problems/combination-sum-ii
1108,Defanging an IP Address,87.5%,Easy,0.1113224686534394, https://leetcode.com/problems/defanging-an-ip-address
295,Find Median from Data Stream,44.3%,Hard,0.10502147513923703, https://leetcode.com/problems/find-median-from-data-stream
98,Validate Binary Search Tree,27.8%,Medium,0.1008693132143216, https://leetcode.com/problems/validate-binary-search-tree
283,Move Zeroes,57.8%,Easy,0.09896140984010138, https://leetcode.com/problems/move-zeroes
617,Merge Two Binary Trees,74.1%,Easy,0.09679876601677688, https://leetcode.com/problems/merge-two-binary-trees
59,Spiral Matrix II,53.9%,Medium,0.09483978737982436, https://leetcode.com/problems/spiral-matrix-ii
66,Plus One,43.0%,Easy,0.09425513144914506, https://leetcode.com/problems/plus-one
215,Kth Largest Element in an Array,55.4%,Medium,0.09326418878681669, https://leetcode.com/problems/kth-largest-element-in-an-array
257,Binary Tree Paths,51.5%,Easy,0.09040028430515686, https://leetcode.com/problems/binary-tree-paths
185,Department Top Three Salaries,34.5%,Hard,0.08593583151429968, https://leetcode.com/problems/department-top-three-salaries
73,Set Matrix Zeroes,43.1%,Medium,0.08271965106891821, https://leetcode.com/problems/set-matrix-zeroes
387,First Unique Character in a String,53.4%,Easy,0.08151765202603821, https://leetcode.com/problems/first-unique-character-in-a-string
118,Pascal's Triangle,52.5%,Easy,0.07970401164997687, https://leetcode.com/problems/pascals-triangle
875,Koko Eating Bananas,52.1%,Medium,0.07919704166119315, https://leetcode.com/problems/koko-eating-bananas
79,Word Search,35.6%,Medium,0.07847790263416941, https://leetcode.com/problems/word-search
67,Add Binary,45.2%,Easy,0.07835548390827937, https://leetcode.com/problems/add-binary
525,Contiguous Array,42.8%,Medium,0.07677630069592066, https://leetcode.com/problems/contiguous-array
399,Evaluate Division,51.6%,Medium,0.07536521894921006, https://leetcode.com/problems/evaluate-division
669,Trim a Binary Search Tree,63.0%,Easy,0.07445297819474968, https://leetcode.com/problems/trim-a-binary-search-tree
460,LFU Cache,34.2%,Hard,0.06836374280939023, https://leetcode.com/problems/lfu-cache
258,Add Digits,57.6%,Easy,0.06075860721222717, https://leetcode.com/problems/add-digits
114,Flatten Binary Tree to Linked List,49.3%,Medium,0.06042105947476499, https://leetcode.com/problems/flatten-binary-tree-to-linked-list
113,Path Sum II,46.7%,Medium,0.05964085390630209, https://leetcode.com/problems/path-sum-ii
102,Binary Tree Level Order Traversal,54.6%,Medium,0.056692473087026664, https://leetcode.com/problems/binary-tree-level-order-traversal
601,Human Traffic of Stadium,41.7%,Hard,0.05223119222544569, https://leetcode.com/problems/human-traffic-of-stadium
665,Non-decreasing Array,19.5%,Easy,0.05108036638098062, https://leetcode.com/problems/non-decreasing-array
681,Next Closest Time,45.0%,Medium,0.05045206096038863, https://leetcode.com/problems/next-closest-time
77,Combinations,54.7%,Medium,0.04928622947983693, https://leetcode.com/problems/combinations
547,Friend Circles,58.6%,Medium,0.04804286211474039, https://leetcode.com/problems/friend-circles
876,Middle of the Linked List,68.4%,Easy,0.046728740327781716, https://leetcode.com/problems/middle-of-the-linked-list
977,Squares of a Sorted Array,72.1%,Easy,0.046652914831048324, https://leetcode.com/problems/squares-of-a-sorted-array
205,Isomorphic Strings,39.8%,Easy,0.045397866271290506, https://leetcode.com/problems/isomorphic-strings
1051,Height Checker,71.1%,Easy,0.04510347333459475, https://leetcode.com/problems/height-checker
36,Valid Sudoku,48.7%,Medium,0.04452302288876419, https://leetcode.com/problems/valid-sudoku
545,Boundary of Binary Tree,38.9%,Medium,0.04158603377810283, https://leetcode.com/problems/boundary-of-binary-tree
647,Palindromic Substrings,60.6%,Medium,0.040968350772541844, https://leetcode.com/problems/palindromic-substrings
314,Binary Tree Vertical Order Traversal,45.3%,Medium,0.04007660092703385, https://leetcode.com/problems/binary-tree-vertical-order-traversal
686,Repeated String Match,32.3%,Easy,0.03984590854719967, https://leetcode.com/problems/repeated-string-match
203,Remove Linked List Elements,38.6%,Easy,0.0398221041810017, https://leetcode.com/problems/remove-linked-list-elements
380,Insert Delete GetRandom O(1),47.5%,Medium,0.038717635350707984, https://leetcode.com/problems/insert-delete-getrandom-o1
47,Permutations II,46.4%,Medium,0.038145268259690404, https://leetcode.com/problems/permutations-ii
402,Remove K Digits,28.4%,Medium,0.03755134565213245, https://leetcode.com/problems/remove-k-digits
1002,Find Common Characters,67.6%,Easy,0.03404262162737441, https://leetcode.com/problems/find-common-characters
404,Sum of Left Leaves,50.9%,Easy,0.031187558856704493, https://leetcode.com/problems/sum-of-left-leaves
703,Kth Largest Element in a Stream,49.7%,Easy,0.031004894819414507, https://leetcode.com/problems/kth-largest-element-in-a-stream
994,Rotting Oranges,49.2%,Medium,0.030179582027776965, https://leetcode.com/problems/rotting-oranges
695,Max Area of Island,62.7%,Medium,0.028321590863246118, https://leetcode.com/problems/max-area-of-island
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
877,Stone Game,64.8%,Medium,0.02486144206532915, https://leetcode.com/problems/stone-game
154,Find Minimum in Rotated Sorted Array II,41.6%,Hard,0.01898490812303644, https://leetcode.com/problems/find-minimum-in-rotated-sorted-array-ii
993,Cousins in Binary Tree,52.0%,Easy,0.017414458368636587, https://leetcode.com/problems/cousins-in-binary-tree
1365,How Many Numbers Are Smaller Than the Current Number,85.6%,Easy,0.015926721367078105, https://leetcode.com/problems/how-many-numbers-are-smaller-than-the-current-number
1192,Critical Connections in a Network,48.6%,Hard,0.01352742981715631, https://leetcode.com/problems/critical-connections-in-a-network
57,Insert Interval,33.5%,Hard,0.013119243592498872, https://leetcode.com/problems/insert-interval
700,Search in a Binary Search Tree,73.1%,Easy,0.008512500860171227, https://leetcode.com/problems/search-in-a-binary-search-tree
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
1470,Shuffle the Array,88.9%,Easy,0.004527967890154029, https://leetcode.com/problems/shuffle-the-array
793,Preimage Size of Factorial Zeroes Function,40.3%,Hard,0, https://leetcode.com/problems/preimage-size-of-factorial-zeroes-function
908,Smallest Range I,65.8%,Easy,0, https://leetcode.com/problems/smallest-range-i
910,Smallest Range II,26.6%,Medium,0, https://leetcode.com/problems/smallest-range-ii
1 1 ID Two Sum Title 45.6% Acceptance Easy Difficulty 2.4883960324530268 Frequency https://leetcode.com/problems/two-sum Leetcode Question Link
2 2 1 Add Two Numbers Two Sum 33.9% 45.6% Medium Easy 2.269636101391722 2.4883960324530268 https://leetcode.com/problems/add-two-numbers https://leetcode.com/problems/two-sum
3 4 2 Median of Two Sorted Arrays Add Two Numbers 29.6% 33.9% Hard Medium 2.050876170330417 2.269636101391722 https://leetcode.com/problems/median-of-two-sorted-arrays https://leetcode.com/problems/add-two-numbers
4 741 4 Cherry Pickup Median of Two Sorted Arrays 33.9% 29.6% Hard Hard 1.8321162392691122 2.050876170330417 https://leetcode.com/problems/cherry-pickup https://leetcode.com/problems/median-of-two-sorted-arrays
5 3 741 Longest Substring Without Repeating Characters Cherry Pickup 30.4% 33.9% Medium Hard 1.8014105894541743 1.8321162392691122 https://leetcode.com/problems/longest-substring-without-repeating-characters https://leetcode.com/problems/cherry-pickup
6 7 3 Reverse Integer Longest Substring Without Repeating Characters 25.8% 30.4% Easy Medium 1.73297236373911 1.8014105894541743 https://leetcode.com/problems/reverse-integer https://leetcode.com/problems/longest-substring-without-repeating-characters
7 175 7 Combine Two Tables Reverse Integer 60.8% 25.8% Easy Easy 1.6956988952705778 1.73297236373911 https://leetcode.com/problems/combine-two-tables https://leetcode.com/problems/reverse-integer
8 21 175 Merge Two Sorted Lists Combine Two Tables 53.5% 60.8% Easy Easy 1.5676206155174264 1.6956988952705778 https://leetcode.com/problems/merge-two-sorted-lists https://leetcode.com/problems/combine-two-tables
9 5 21 Longest Palindromic Substring Merge Two Sorted Lists 29.5% 53.5% Medium Easy 1.5174071915824883 1.5676206155174264 https://leetcode.com/problems/longest-palindromic-substring https://leetcode.com/problems/merge-two-sorted-lists
10 15 5 3Sum Longest Palindromic Substring 26.8% 29.5% Medium Medium 1.4894785973551214 1.5174071915824883 https://leetcode.com/problems/3sum https://leetcode.com/problems/longest-palindromic-substring
11 13 15 Roman to Integer 3Sum 55.7% 26.8% Easy Medium 1.4339144225059055 1.4894785973551214 https://leetcode.com/problems/roman-to-integer https://leetcode.com/problems/3sum
12 6 13 ZigZag Conversion Roman to Integer 36.3% 55.7% Medium Easy 1.2151544914446004 1.4339144225059055 https://leetcode.com/problems/zigzag-conversion https://leetcode.com/problems/roman-to-integer
13 195 6 Tenth Line ZigZag Conversion 33.0% 36.3% Easy Medium 1.1862816902916034 1.2151544914446004 https://leetcode.com/problems/tenth-line https://leetcode.com/problems/zigzag-conversion
14 53 195 Maximum Subarray Tenth Line 46.5% 33.0% Easy Easy 1.1698468033916782 1.1862816902916034 https://leetcode.com/problems/maximum-subarray https://leetcode.com/problems/tenth-line
15 192 53 Word Frequency Maximum Subarray 25.8% 46.5% Medium Easy 1.1542304443345712 1.1698468033916782 https://leetcode.com/problems/word-frequency https://leetcode.com/problems/maximum-subarray
16 11 192 Container With Most Water Word Frequency 50.8% 25.8% Medium Medium 1.1498172467169137 1.1542304443345712 https://leetcode.com/problems/container-with-most-water https://leetcode.com/problems/word-frequency
17 146 11 LRU Cache Container With Most Water 33.2% 50.8% Medium Medium 1.1414840541705635 1.1498172467169137 https://leetcode.com/problems/lru-cache https://leetcode.com/problems/container-with-most-water
18 14 146 Longest Common Prefix LRU Cache 35.4% 33.2% Easy Medium 1.0701063949652634 1.1414840541705635 https://leetcode.com/problems/longest-common-prefix https://leetcode.com/problems/lru-cache
19 9 14 Palindrome Number Longest Common Prefix 48.4% 35.4% Easy Easy 1.0389585830023096 1.0701063949652634 https://leetcode.com/problems/palindrome-number https://leetcode.com/problems/longest-common-prefix
20 292 9 Nim Game Palindrome Number 54.9% 48.4% Easy Easy 1.0340435601569165 1.0389585830023096 https://leetcode.com/problems/nim-game https://leetcode.com/problems/palindrome-number
21 206 292 Reverse Linked List Nim Game 62.5% 54.9% Easy Easy 0.9491844552172142 1.0340435601569165 https://leetcode.com/problems/reverse-linked-list https://leetcode.com/problems/nim-game
22 22 206 Generate Parentheses Reverse Linked List 62.7% 62.5% Medium Easy 0.9146285119909732 0.9491844552172142 https://leetcode.com/problems/generate-parentheses https://leetcode.com/problems/reverse-linked-list
23 312 22 Burst Balloons Generate Parentheses 51.8% 62.7% Hard Medium 0.8978937096587362 0.9146285119909732 https://leetcode.com/problems/burst-balloons https://leetcode.com/problems/generate-parentheses
24 771 312 Jewels and Stones Burst Balloons 86.4% 51.8% Easy Hard 0.8045122974235372 0.8978937096587362 https://leetcode.com/problems/jewels-and-stones https://leetcode.com/problems/burst-balloons
25 18 771 4Sum Jewels and Stones 33.7% 86.4% Medium Easy 0.7870176048739561 0.8045122974235372 https://leetcode.com/problems/4sum https://leetcode.com/problems/jewels-and-stones
26 344 18 Reverse String 4Sum 68.5% 33.7% Easy Medium 0.7803563983565922 0.7870176048739561 https://leetcode.com/problems/reverse-string https://leetcode.com/problems/4sum
27 20 344 Valid Parentheses Reverse String 39.0% 68.5% Easy Easy 0.7728842221115333 0.7803563983565922 https://leetcode.com/problems/valid-parentheses https://leetcode.com/problems/reverse-string
28 23 20 Merge k Sorted Lists Valid Parentheses 40.2% 39.0% Hard Easy 0.744432863023671 0.7728842221115333 https://leetcode.com/problems/merge-k-sorted-lists https://leetcode.com/problems/valid-parentheses
29 42 23 Trapping Rain Water Merge k Sorted Lists 48.9% 40.2% Hard Hard 0.7166320474707057 0.744432863023671 https://leetcode.com/problems/trapping-rain-water https://leetcode.com/problems/merge-k-sorted-lists
30 274 42 H-Index Trapping Rain Water 36.1% 48.9% Medium Hard 0.7105315488308892 0.7166320474707057 https://leetcode.com/problems/h-index https://leetcode.com/problems/trapping-rain-water
31 595 274 Big Countries H-Index 77.3% 36.1% Easy Medium 0.6960898016141428 0.7105315488308892 https://leetcode.com/problems/big-countries https://leetcode.com/problems/h-index
32 76 595 Minimum Window Substring Big Countries 34.6% 77.3% Hard Easy 0.641927908156958 0.6960898016141428 https://leetcode.com/problems/minimum-window-substring https://leetcode.com/problems/big-countries
33 10 76 Regular Expression Matching Minimum Window Substring 26.8% 34.6% Hard Hard 0.6273817982285409 0.641927908156958 https://leetcode.com/problems/regular-expression-matching https://leetcode.com/problems/minimum-window-substring
34 386 10 Lexicographical Numbers Regular Expression Matching 51.6% 26.8% Medium Hard 0.626946543403964 0.6273817982285409 https://leetcode.com/problems/lexicographical-numbers https://leetcode.com/problems/regular-expression-matching
35 214 386 Shortest Palindrome Lexicographical Numbers 29.8% 51.6% Hard Medium 0.6257058997644127 0.626946543403964 https://leetcode.com/problems/shortest-palindrome https://leetcode.com/problems/lexicographical-numbers
36 561 214 Array Partition I Shortest Palindrome 72.0% 29.8% Easy Hard 0.6209795294618357 0.6257058997644127 https://leetcode.com/problems/array-partition-i https://leetcode.com/problems/shortest-palindrome
37 12 561 Integer to Roman Array Partition I 55.1% 72.0% Medium Easy 0.618907369249803 0.6209795294618357 https://leetcode.com/problems/integer-to-roman https://leetcode.com/problems/array-partition-i
38 88 12 Merge Sorted Array Integer to Roman 39.4% 55.1% Easy Medium 0.5992604670982806 0.618907369249803 https://leetcode.com/problems/merge-sorted-array https://leetcode.com/problems/integer-to-roman
39 177 88 Nth Highest Salary Merge Sorted Array 31.4% 39.4% Medium Easy 0.5957174923400869 0.5992604670982806 https://leetcode.com/problems/nth-highest-salary https://leetcode.com/problems/merge-sorted-array
40 8 177 String to Integer (atoi) Nth Highest Salary 15.4% 31.4% Medium Medium 0.5871742950115802 0.5957174923400869 https://leetcode.com/problems/string-to-integer-atoi https://leetcode.com/problems/nth-highest-salary
41 46 8 Permutations String to Integer (atoi) 63.5% 15.4% Medium Medium 0.5710040142718329 0.5871742950115802 https://leetcode.com/problems/permutations https://leetcode.com/problems/string-to-integer-atoi
42 201 46 Bitwise AND of Numbers Range Permutations 39.4% 63.5% Medium Medium 0.5616591289700842 0.5710040142718329 https://leetcode.com/problems/bitwise-and-of-numbers-range https://leetcode.com/problems/permutations
43 176 201 Second Highest Salary Bitwise AND of Numbers Range 31.6% 39.4% Easy Medium 0.5550999082992657 0.5616591289700842 https://leetcode.com/problems/second-highest-salary https://leetcode.com/problems/bitwise-and-of-numbers-range
44 54 176 Spiral Matrix Second Highest Salary 34.1% 31.6% Medium Easy 0.5477790799646545 0.5550999082992657 https://leetcode.com/problems/spiral-matrix https://leetcode.com/problems/second-highest-salary
45 238 54 Product of Array Except Self Spiral Matrix 60.1% 34.1% Medium Medium 0.5410045911404007 0.5477790799646545 https://leetcode.com/problems/product-of-array-except-self https://leetcode.com/problems/spiral-matrix
46 315 238 Count of Smaller Numbers After Self Product of Array Except Self 41.5% 60.1% Hard Medium 0.5355270510063105 0.5410045911404007 https://leetcode.com/problems/count-of-smaller-numbers-after-self https://leetcode.com/problems/product-of-array-except-self
47 85 315 Maximal Rectangle Count of Smaller Numbers After Self 37.7% 41.5% Hard Hard 0.505442030682518 0.5355270510063105 https://leetcode.com/problems/maximal-rectangle https://leetcode.com/problems/count-of-smaller-numbers-after-self
48 41 85 First Missing Positive Maximal Rectangle 32.0% 37.7% Hard Hard 0.4966396105083198 0.505442030682518 https://leetcode.com/problems/first-missing-positive https://leetcode.com/problems/maximal-rectangle
49 38 41 Count and Say First Missing Positive 44.6% 32.0% Easy Hard 0.4926620533465078 0.4966396105083198 https://leetcode.com/problems/count-and-say https://leetcode.com/problems/first-missing-positive
50 322 38 Coin Change Count and Say 35.5% 44.6% Medium Easy 0.48915086353512044 0.4926620533465078 https://leetcode.com/problems/coin-change https://leetcode.com/problems/count-and-say
51 237 322 Delete Node in a Linked List Coin Change 63.8% 35.5% Easy Medium 0.4849621131760714 0.48915086353512044 https://leetcode.com/problems/delete-node-in-a-linked-list https://leetcode.com/problems/coin-change
52 121 237 Best Time to Buy and Sell Stock Delete Node in a Linked List 50.5% 63.8% Easy Easy 0.47900593564253346 0.4849621131760714 https://leetcode.com/problems/best-time-to-buy-and-sell-stock https://leetcode.com/problems/delete-node-in-a-linked-list
53 32 121 Longest Valid Parentheses Best Time to Buy and Sell Stock 28.4% 50.5% Hard Easy 0.4610968040943131 0.47900593564253346 https://leetcode.com/problems/longest-valid-parentheses https://leetcode.com/problems/best-time-to-buy-and-sell-stock
54 420 32 Strong Password Checker Longest Valid Parentheses 14.0% 28.4% Hard Hard 0.4491177382659011 0.4610968040943131 https://leetcode.com/problems/strong-password-checker https://leetcode.com/problems/longest-valid-parentheses
55 136 420 Single Number Strong Password Checker 65.5% 14.0% Easy Hard 0.44677265180412157 0.4491177382659011 https://leetcode.com/problems/single-number https://leetcode.com/problems/strong-password-checker
56 148 136 Sort List Single Number 42.3% 65.5% Medium Easy 0.4396170196774987 0.44677265180412157 https://leetcode.com/problems/sort-list https://leetcode.com/problems/single-number
57 82 148 Remove Duplicates from Sorted List II Sort List 36.8% 42.3% Medium Medium 0.4392651170596573 0.4396170196774987 https://leetcode.com/problems/remove-duplicates-from-sorted-list-ii https://leetcode.com/problems/sort-list
58 16 82 3Sum Closest Remove Duplicates from Sorted List II 46.0% 36.8% Medium Medium 0.43554023176972845 0.4392651170596573 https://leetcode.com/problems/3sum-closest https://leetcode.com/problems/remove-duplicates-from-sorted-list-ii
59 45 16 Jump Game II 3Sum Closest 30.6% 46.0% Hard Medium 0.4315020818911597 0.43554023176972845 https://leetcode.com/problems/jump-game-ii https://leetcode.com/problems/3sum-closest
60 535 45 Encode and Decode TinyURL Jump Game II 79.9% 30.6% Medium Hard 0.4221173972425086 0.4315020818911597 https://leetcode.com/problems/encode-and-decode-tinyurl https://leetcode.com/problems/jump-game-ii
61 96 535 Unique Binary Search Trees Encode and Decode TinyURL 52.9% 79.9% Medium Medium 0.42021191912831435 0.4221173972425086 https://leetcode.com/problems/unique-binary-search-trees https://leetcode.com/problems/encode-and-decode-tinyurl
62 92 96 Reverse Linked List II Unique Binary Search Trees 38.8% 52.9% Medium Medium 0.414508648004485 0.42021191912831435 https://leetcode.com/problems/reverse-linked-list-ii https://leetcode.com/problems/unique-binary-search-trees
63 30 92 Substring with Concatenation of All Words Reverse Linked List II 25.4% 38.8% Hard Medium 0.41194709630297865 0.414508648004485 https://leetcode.com/problems/substring-with-concatenation-of-all-words https://leetcode.com/problems/reverse-linked-list-ii
64 33 30 Search in Rotated Sorted Array Substring with Concatenation of All Words 34.5% 25.4% Medium Hard 0.40912496149364885 0.41194709630297865 https://leetcode.com/problems/search-in-rotated-sorted-array https://leetcode.com/problems/substring-with-concatenation-of-all-words
65 64 33 Minimum Path Sum Search in Rotated Sorted Array 54.5% 34.5% Medium Medium 0.4040299464061684 0.40912496149364885 https://leetcode.com/problems/minimum-path-sum https://leetcode.com/problems/search-in-rotated-sorted-array
66 279 64 Perfect Squares Minimum Path Sum 47.4% 54.5% Medium Medium 0.3741145782240884 0.4040299464061684 https://leetcode.com/problems/perfect-squares https://leetcode.com/problems/minimum-path-sum
67 24 279 Swap Nodes in Pairs Perfect Squares 50.4% 47.4% Medium Medium 0.3722036149739704 0.3741145782240884 https://leetcode.com/problems/swap-nodes-in-pairs https://leetcode.com/problems/perfect-squares
68 343 24 Integer Break Swap Nodes in Pairs 50.4% 50.4% Medium Medium 0.3649680588757168 0.3722036149739704 https://leetcode.com/problems/integer-break https://leetcode.com/problems/swap-nodes-in-pairs
69 31 343 Next Permutation Integer Break 32.6% 50.4% Medium Medium 0.3605125693237505 0.3649680588757168 https://leetcode.com/problems/next-permutation https://leetcode.com/problems/integer-break
70 131 31 Palindrome Partitioning Next Permutation 47.5% 32.6% Medium Medium 0.35313350367645147 0.3605125693237505 https://leetcode.com/problems/palindrome-partitioning https://leetcode.com/problems/next-permutation
71 141 131 Linked List Cycle Palindrome Partitioning 41.1% 47.5% Easy Medium 0.3531074716115724 0.35313350367645147 https://leetcode.com/problems/linked-list-cycle https://leetcode.com/problems/palindrome-partitioning
72 200 141 Number of Islands Linked List Cycle 46.8% 41.1% Medium Easy 0.348349251262677 0.3531074716115724 https://leetcode.com/problems/number-of-islands https://leetcode.com/problems/linked-list-cycle
73 71 200 Simplify Path Number of Islands 32.6% 46.8% Medium Medium 0.3434734320801965 0.348349251262677 https://leetcode.com/problems/simplify-path https://leetcode.com/problems/number-of-islands
74 138 71 Copy List with Random Pointer Simplify Path 36.4% 32.6% Medium Medium 0.33465187471019453 0.3434734320801965 https://leetcode.com/problems/copy-list-with-random-pointer https://leetcode.com/problems/simplify-path
75 74 138 Search a 2D Matrix Copy List with Random Pointer 36.5% 36.4% Medium Medium 0.3339887638543654 0.33465187471019453 https://leetcode.com/problems/search-a-2d-matrix https://leetcode.com/problems/copy-list-with-random-pointer
76 155 74 Min Stack Search a 2D Matrix 44.5% 36.5% Easy Medium 0.32611635610879774 0.3339887638543654 https://leetcode.com/problems/min-stack https://leetcode.com/problems/search-a-2d-matrix
77 26 155 Remove Duplicates from Sorted Array Min Stack 45.1% 44.5% Easy Easy 0.32413298661344175 0.32611635610879774 https://leetcode.com/problems/remove-duplicates-from-sorted-array https://leetcode.com/problems/min-stack
78 169 26 Majority Element Remove Duplicates from Sorted Array 58.7% 45.1% Easy Easy 0.32361893795459934 0.32413298661344175 https://leetcode.com/problems/majority-element https://leetcode.com/problems/remove-duplicates-from-sorted-array
79 37 169 Sudoku Solver Majority Element 43.6% 58.7% Hard Easy 0.31644637012330246 0.32361893795459934 https://leetcode.com/problems/sudoku-solver https://leetcode.com/problems/majority-element
80 48 37 Rotate Image Sudoku Solver 56.7% 43.6% Medium Hard 0.31414864563994416 0.31644637012330246 https://leetcode.com/problems/rotate-image https://leetcode.com/problems/sudoku-solver
81 152 48 Maximum Product Subarray Rotate Image 31.7% 56.7% Medium Medium 0.3065980377658154 0.31414864563994416 https://leetcode.com/problems/maximum-product-subarray https://leetcode.com/problems/rotate-image
82 706 152 Design HashMap Maximum Product Subarray 61.3% 31.7% Easy Medium 0.30607943759149703 0.3065980377658154 https://leetcode.com/problems/design-hashmap https://leetcode.com/problems/maximum-product-subarray
83 378 706 Kth Smallest Element in a Sorted Matrix Design HashMap 54.3% 61.3% Medium Easy 0.303069224638031 0.30607943759149703 https://leetcode.com/problems/kth-smallest-element-in-a-sorted-matrix https://leetcode.com/problems/design-hashmap
84 115 378 Distinct Subsequences Kth Smallest Element in a Sorted Matrix 38.3% 54.3% Hard Medium 0.29662714656570494 0.303069224638031 https://leetcode.com/problems/distinct-subsequences https://leetcode.com/problems/kth-smallest-element-in-a-sorted-matrix
85 44 115 Wildcard Matching Distinct Subsequences 24.7% 38.3% Hard Hard 0.29635426006094184 0.29662714656570494 https://leetcode.com/problems/wildcard-matching https://leetcode.com/problems/distinct-subsequences
86 198 44 House Robber Wildcard Matching 42.0% 24.7% Easy Hard 0.29249400591952035 0.29635426006094184 https://leetcode.com/problems/house-robber https://leetcode.com/problems/wildcard-matching
87 329 198 Longest Increasing Path in a Matrix House Robber 43.4% 42.0% Hard Easy 0.29062882263712253 0.29249400591952035 https://leetcode.com/problems/longest-increasing-path-in-a-matrix https://leetcode.com/problems/house-robber
88 78 329 Subsets Longest Increasing Path in a Matrix 62.0% 43.4% Medium Hard 0.28775134131891633 0.29062882263712253 https://leetcode.com/problems/subsets https://leetcode.com/problems/longest-increasing-path-in-a-matrix
89 234 78 Palindrome Linked List Subsets 39.3% 62.0% Easy Medium 0.2838977996794123 0.28775134131891633 https://leetcode.com/problems/palindrome-linked-list https://leetcode.com/problems/subsets
90 139 234 Word Break Palindrome Linked List 40.1% 39.3% Medium Easy 0.2746475346554156 0.2838977996794123 https://leetcode.com/problems/word-break https://leetcode.com/problems/palindrome-linked-list
91 25 139 Reverse Nodes in k-Group Word Break 42.1% 40.1% Hard Medium 0.2704051213089347 0.2746475346554156 https://leetcode.com/problems/reverse-nodes-in-k-group https://leetcode.com/problems/word-break
92 929 25 Unique Email Addresses Reverse Nodes in k-Group 67.4% 42.1% Easy Hard 0.26920579628420777 0.2704051213089347 https://leetcode.com/problems/unique-email-addresses https://leetcode.com/problems/reverse-nodes-in-k-group
93 204 929 Count Primes Unique Email Addresses 31.5% 67.4% Easy Easy 0.2622550703201888 0.26920579628420777 https://leetcode.com/problems/count-primes https://leetcode.com/problems/unique-email-addresses
94 543 204 Diameter of Binary Tree Count Primes 48.4% 31.5% Easy Easy 0.26178095627491565 0.2622550703201888 https://leetcode.com/problems/diameter-of-binary-tree https://leetcode.com/problems/count-primes
95 197 543 Rising Temperature Diameter of Binary Tree 38.4% 48.4% Easy Easy 0.2576203889657197 0.26178095627491565 https://leetcode.com/problems/rising-temperature https://leetcode.com/problems/diameter-of-binary-tree
96 448 197 Find All Numbers Disappeared in an Array Rising Temperature 55.9% 38.4% Easy Easy 0.2554000407912253 0.2576203889657197 https://leetcode.com/problems/find-all-numbers-disappeared-in-an-array https://leetcode.com/problems/rising-temperature
97 446 448 Arithmetic Slices II - Subsequence Find All Numbers Disappeared in an Array 32.7% 55.9% Hard Easy 0.25416851512733507 0.2554000407912253 https://leetcode.com/problems/arithmetic-slices-ii-subsequence https://leetcode.com/problems/find-all-numbers-disappeared-in-an-array
98 101 446 Symmetric Tree Arithmetic Slices II - Subsequence 46.8% 32.7% Easy Hard 0.24399082697231922 0.25416851512733507 https://leetcode.com/problems/symmetric-tree https://leetcode.com/problems/arithmetic-slices-ii-subsequence
99 70 101 Climbing Stairs Symmetric Tree 47.8% 46.8% Easy Easy 0.24304459408434126 0.24399082697231922 https://leetcode.com/problems/climbing-stairs https://leetcode.com/problems/symmetric-tree
100 389 70 Find the Difference Climbing Stairs 55.3% 47.8% Easy Easy 0.2421400520048648 0.24304459408434126 https://leetcode.com/problems/find-the-difference https://leetcode.com/problems/climbing-stairs
101 1096 389 Brace Expansion II Find the Difference 62.2% 55.3% Hard Easy 0.2363887780642304 0.2421400520048648 https://leetcode.com/problems/brace-expansion-ii https://leetcode.com/problems/find-the-difference
102 51 1096 N-Queens Brace Expansion II 46.6% 62.2% Hard Hard 0.2346473757956944 0.2363887780642304 https://leetcode.com/problems/n-queens https://leetcode.com/problems/brace-expansion-ii
103 137 51 Single Number II N-Queens 52.4% 46.6% Medium Hard 0.22735779159844866 0.2346473757956944 https://leetcode.com/problems/single-number-ii https://leetcode.com/problems/n-queens
104 56 137 Merge Intervals Single Number II 39.3% 52.4% Medium Medium 0.22422141863227835 0.22735779159844866 https://leetcode.com/problems/merge-intervals https://leetcode.com/problems/single-number-ii
105 19 56 Remove Nth Node From End of List Merge Intervals 35.2% 39.3% Medium Medium 0.22280456303687612 0.22422141863227835 https://leetcode.com/problems/remove-nth-node-from-end-of-list https://leetcode.com/problems/merge-intervals
106 49 19 Group Anagrams Remove Nth Node From End of List 56.9% 35.2% Medium Medium 0.21827224887849583 0.22280456303687612 https://leetcode.com/problems/group-anagrams https://leetcode.com/problems/remove-nth-node-from-end-of-list
107 795 49 Number of Subarrays with Bounded Maximum Group Anagrams 46.3% 56.9% Medium Medium 0.2171959803892134 0.21827224887849583 https://leetcode.com/problems/number-of-subarrays-with-bounded-maximum https://leetcode.com/problems/group-anagrams
108 268 795 Missing Number Number of Subarrays with Bounded Maximum 51.7% 46.3% Easy Medium 0.2148904095574893 0.2171959803892134 https://leetcode.com/problems/missing-number https://leetcode.com/problems/number-of-subarrays-with-bounded-maximum
109 105 268 Construct Binary Tree from Preorder and Inorder Traversal Missing Number 48.8% 51.7% Medium Easy 0.2138725437818616 0.2148904095574893 https://leetcode.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal https://leetcode.com/problems/missing-number
110 81 105 Search in Rotated Sorted Array II Construct Binary Tree from Preorder and Inorder Traversal 33.0% 48.8% Medium Medium 0.21357410029805904 0.2138725437818616 https://leetcode.com/problems/search-in-rotated-sorted-array-ii https://leetcode.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal
111 142 81 Linked List Cycle II Search in Rotated Sorted Array II 37.3% 33.0% Medium Medium 0.21278213647158528 0.21357410029805904 https://leetcode.com/problems/linked-list-cycle-ii https://leetcode.com/problems/search-in-rotated-sorted-array-ii
112 143 142 Reorder List Linked List Cycle II 37.1% 37.3% Medium Medium 0.21178045827645292 0.21278213647158528 https://leetcode.com/problems/reorder-list https://leetcode.com/problems/linked-list-cycle-ii
113 229 143 Majority Element II Reorder List 35.6% 37.1% Medium Medium 0.21162970925187066 0.21178045827645292 https://leetcode.com/problems/majority-element-ii https://leetcode.com/problems/reorder-list
114 124 229 Binary Tree Maximum Path Sum Majority Element II 34.3% 35.6% Hard Medium 0.21055599204217199 0.21162970925187066 https://leetcode.com/problems/binary-tree-maximum-path-sum https://leetcode.com/problems/majority-element-ii
115 236 124 Lowest Common Ancestor of a Binary Tree Binary Tree Maximum Path Sum 45.7% 34.3% Medium Hard 0.2082667520997665 0.21055599204217199 https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-tree https://leetcode.com/problems/binary-tree-maximum-path-sum
116 240 236 Search a 2D Matrix II Lowest Common Ancestor of a Binary Tree 43.2% 45.7% Medium Medium 0.20722300789490636 0.2082667520997665 https://leetcode.com/problems/search-a-2d-matrix-ii https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-tree
117 128 240 Longest Consecutive Sequence Search a 2D Matrix II 45.1% 43.2% Hard Medium 0.20483650886956722 0.20722300789490636 https://leetcode.com/problems/longest-consecutive-sequence https://leetcode.com/problems/search-a-2d-matrix-ii
118 220 128 Contains Duplicate III Longest Consecutive Sequence 20.9% 45.1% Medium Hard 0.20432784239539936 0.20483650886956722 https://leetcode.com/problems/contains-duplicate-iii https://leetcode.com/problems/longest-consecutive-sequence
119 202 220 Happy Number Contains Duplicate III 50.4% 20.9% Easy Medium 0.2040083108839691 0.20432784239539936 https://leetcode.com/problems/happy-number https://leetcode.com/problems/contains-duplicate-iii
120 728 202 Self Dividing Numbers Happy Number 74.3% 50.4% Easy Easy 0.20271151249700387 0.2040083108839691 https://leetcode.com/problems/self-dividing-numbers https://leetcode.com/problems/happy-number
121 395 728 Longest Substring with At Least K Repeating Characters Self Dividing Numbers 41.4% 74.3% Medium Easy 0.19944370144318244 0.20271151249700387 https://leetcode.com/problems/longest-substring-with-at-least-k-repeating-characters https://leetcode.com/problems/self-dividing-numbers
122 836 395 Rectangle Overlap Longest Substring with At Least K Repeating Characters 48.6% 41.4% Easy Medium 0.19944370144318244 0.19944370144318244 https://leetcode.com/problems/rectangle-overlap https://leetcode.com/problems/longest-substring-with-at-least-k-repeating-characters
123 65 836 Valid Number Rectangle Overlap 15.3% 48.6% Hard Easy 0.18904265746703205 0.19944370144318244 https://leetcode.com/problems/valid-number https://leetcode.com/problems/rectangle-overlap
124 178 65 Rank Scores Valid Number 45.8% 15.3% Medium Hard 0.18843907402659216 0.18904265746703205 https://leetcode.com/problems/rank-scores https://leetcode.com/problems/valid-number
125 219 178 Contains Duplicate II Rank Scores 37.7% 45.8% Easy Medium 0.18696862869341266 0.18843907402659216 https://leetcode.com/problems/contains-duplicate-ii https://leetcode.com/problems/rank-scores
126 29 219 Divide Two Integers Contains Duplicate II 16.4% 37.7% Medium Easy 0.18695459519599733 0.18696862869341266 https://leetcode.com/problems/divide-two-integers https://leetcode.com/problems/contains-duplicate-ii
127 199 29 Binary Tree Right Side View Divide Two Integers 54.1% 16.4% Medium Medium 0.18661020557359304 0.18695459519599733 https://leetcode.com/problems/binary-tree-right-side-view https://leetcode.com/problems/divide-two-integers
128 739 199 Daily Temperatures Binary Tree Right Side View 63.3% 54.1% Medium Medium 0.1858025928756317 0.18661020557359304 https://leetcode.com/problems/daily-temperatures https://leetcode.com/problems/binary-tree-right-side-view
129 72 739 Edit Distance Daily Temperatures 44.8% 63.3% Hard Medium 0.18554648786569794 0.1858025928756317 https://leetcode.com/problems/edit-distance https://leetcode.com/problems/daily-temperatures
130 181 72 Employees Earning More Than Their Managers Edit Distance 56.9% 44.8% Easy Hard 0.18496356625679328 0.18554648786569794 https://leetcode.com/problems/employees-earning-more-than-their-managers https://leetcode.com/problems/edit-distance
131 61 181 Rotate List Employees Earning More Than Their Managers 30.0% 56.9% Medium Easy 0.18398268674403112 0.18496356625679328 https://leetcode.com/problems/rotate-list https://leetcode.com/problems/employees-earning-more-than-their-managers
132 50 61 Pow(x;n) Rotate List 30.3% 30.0% Medium Medium 0.18397417464169494 0.18398268674403112 https://leetcode.com/problems/powx-n https://leetcode.com/problems/rotate-list
133 221 50 Maximal Square Pow(x;n) 37.7% 30.3% Medium Medium 0.1833146055349465 0.18397417464169494 https://leetcode.com/problems/maximal-square https://leetcode.com/problems/powx-n
134 239 221 Sliding Window Maximum Maximal Square 43.0% 37.7% Hard Medium 0.18086662630782 0.1833146055349465 https://leetcode.com/problems/sliding-window-maximum https://leetcode.com/problems/maximal-square
135 112 239 Path Sum Sliding Window Maximum 41.2% 43.0% Easy Hard 0.18019396942949986 0.18086662630782 https://leetcode.com/problems/path-sum https://leetcode.com/problems/sliding-window-maximum
136 368 112 Largest Divisible Subset Path Sum 38.0% 41.2% Medium Easy 0.17613915688563714 0.18019396942949986 https://leetcode.com/problems/largest-divisible-subset https://leetcode.com/problems/path-sum
137 415 368 Add Strings Largest Divisible Subset 47.5% 38.0% Easy Medium 0.17429245611868044 0.17613915688563714 https://leetcode.com/problems/add-strings https://leetcode.com/problems/largest-divisible-subset
138 300 415 Longest Increasing Subsequence Add Strings 42.6% 47.5% Medium Easy 0.17397326740248337 0.17429245611868044 https://leetcode.com/problems/longest-increasing-subsequence https://leetcode.com/problems/add-strings
139 122 300 Best Time to Buy and Sell Stock II Longest Increasing Subsequence 57.0% 42.6% Easy Medium 0.17312279156285693 0.17397326740248337 https://leetcode.com/problems/best-time-to-buy-and-sell-stock-ii https://leetcode.com/problems/longest-increasing-subsequence
140 725 122 Split Linked List in Parts Best Time to Buy and Sell Stock II 52.2% 57.0% Medium Easy 0.17265583404226165 0.17312279156285693 https://leetcode.com/problems/split-linked-list-in-parts https://leetcode.com/problems/best-time-to-buy-and-sell-stock-ii
141 856 725 Score of Parentheses Split Linked List in Parts 60.5% 52.2% Medium Medium 0.17135825199668508 0.17265583404226165 https://leetcode.com/problems/score-of-parentheses https://leetcode.com/problems/split-linked-list-in-parts
142 560 856 Subarray Sum Equals K Score of Parentheses 43.9% 60.5% Medium Medium 0.1665261146132014 0.17135825199668508 https://leetcode.com/problems/subarray-sum-equals-k https://leetcode.com/problems/score-of-parentheses
143 91 560 Decode Ways Subarray Sum Equals K 24.7% 43.9% Medium Medium 0.1664322442258041 0.1665261146132014 https://leetcode.com/problems/decode-ways https://leetcode.com/problems/subarray-sum-equals-k
144 412 91 Fizz Buzz Decode Ways 62.3% 24.7% Easy Medium 0.16533767872713678 0.1664322442258041 https://leetcode.com/problems/fizz-buzz https://leetcode.com/problems/decode-ways
145 1010 412 Pairs of Songs With Total Durations Divisible by 60 Fizz Buzz 47.4% 62.3% Easy Easy 0.15765117803680806 0.16533767872713678 https://leetcode.com/problems/pairs-of-songs-with-total-durations-divisible-by-60 https://leetcode.com/problems/fizz-buzz
146 28 1010 Implement strStr() Pairs of Songs With Total Durations Divisible by 60 34.5% 47.4% Easy Easy 0.15437642620216585 0.15765117803680806 https://leetcode.com/problems/implement-strstr https://leetcode.com/problems/pairs-of-songs-with-total-durations-divisible-by-60
147 62 28 Unique Paths Implement strStr() 54.1% 34.5% Medium Easy 0.15421684583780285 0.15437642620216585 https://leetcode.com/problems/unique-paths https://leetcode.com/problems/implement-strstr
148 218 62 The Skyline Problem Unique Paths 34.6% 54.1% Hard Medium 0.14953173397096375 0.15421684583780285 https://leetcode.com/problems/the-skyline-problem https://leetcode.com/problems/unique-paths
149 217 218 Contains Duplicate The Skyline Problem 56.0% 34.6% Easy Hard 0.149082410987406 0.14953173397096375 https://leetcode.com/problems/contains-duplicate https://leetcode.com/problems/the-skyline-problem
150 83 217 Remove Duplicates from Sorted List Contains Duplicate 45.4% 56.0% Easy Easy 0.14784842578508967 0.149082410987406 https://leetcode.com/problems/remove-duplicates-from-sorted-list https://leetcode.com/problems/contains-duplicate
151 168 83 Excel Sheet Column Title Remove Duplicates from Sorted List 31.1% 45.4% Easy Easy 0.14624550032014502 0.14784842578508967 https://leetcode.com/problems/excel-sheet-column-title https://leetcode.com/problems/remove-duplicates-from-sorted-list
152 95 168 Unique Binary Search Trees II Excel Sheet Column Title 40.6% 31.1% Medium Easy 0.14236392393156927 0.14624550032014502 https://leetcode.com/problems/unique-binary-search-trees-ii https://leetcode.com/problems/excel-sheet-column-title
153 55 95 Jump Game Unique Binary Search Trees II 34.6% 40.6% Medium Medium 0.14177401548857888 0.14236392393156927 https://leetcode.com/problems/jump-game https://leetcode.com/problems/unique-binary-search-trees-ii
154 375 55 Guess Number Higher or Lower II Jump Game 40.3% 34.6% Medium Medium 0.1391128024627178 0.14177401548857888 https://leetcode.com/problems/guess-number-higher-or-lower-ii https://leetcode.com/problems/jump-game
155 554 375 Brick Wall Guess Number Higher or Lower II 50.0% 40.3% Medium Medium 0.1384696742651052 0.1391128024627178 https://leetcode.com/problems/brick-wall https://leetcode.com/problems/guess-number-higher-or-lower-ii
156 726 554 Number of Atoms Brick Wall 49.0% 50.0% Hard Medium 0.13804422079620546 0.1384696742651052 https://leetcode.com/problems/number-of-atoms https://leetcode.com/problems/brick-wall
157 125 726 Valid Palindrome Number of Atoms 36.7% 49.0% Easy Hard 0.13416684727631417 0.13804422079620546 https://leetcode.com/problems/valid-palindrome https://leetcode.com/problems/number-of-atoms
158 987 125 Vertical Order Traversal of a Binary Tree Valid Palindrome 36.6% 36.7% Medium Easy 0.13360431878681564 0.13416684727631417 https://leetcode.com/problems/vertical-order-traversal-of-a-binary-tree https://leetcode.com/problems/valid-palindrome
159 110 987 Balanced Binary Tree Vertical Order Traversal of a Binary Tree 43.5% 36.6% Easy Medium 0.13348731548952925 0.13360431878681564 https://leetcode.com/problems/balanced-binary-tree https://leetcode.com/problems/vertical-order-traversal-of-a-binary-tree
160 35 110 Search Insert Position Balanced Binary Tree 42.6% 43.5% Easy Easy 0.13181240319984847 0.13348731548952925 https://leetcode.com/problems/search-insert-position https://leetcode.com/problems/balanced-binary-tree
161 1190 35 Reverse Substrings Between Each Pair of Parentheses Search Insert Position 61.5% 42.6% Medium Easy 0.1304306149462744 0.13181240319984847 https://leetcode.com/problems/reverse-substrings-between-each-pair-of-parentheses https://leetcode.com/problems/search-insert-position
162 287 1190 Find the Duplicate Number Reverse Substrings Between Each Pair of Parentheses 55.5% 61.5% Medium Medium 0.1291950147327505 0.1304306149462744 https://leetcode.com/problems/find-the-duplicate-number https://leetcode.com/problems/reverse-substrings-between-each-pair-of-parentheses
163 278 287 First Bad Version Find the Duplicate Number 35.7% 55.5% Easy Medium 0.1267677952000762 0.1291950147327505 https://leetcode.com/problems/first-bad-version https://leetcode.com/problems/find-the-duplicate-number
164 84 278 Largest Rectangle in Histogram First Bad Version 35.2% 35.7% Hard Easy 0.12570469475928556 0.1267677952000762 https://leetcode.com/problems/largest-rectangle-in-histogram https://leetcode.com/problems/first-bad-version
165 224 84 Basic Calculator Largest Rectangle in Histogram 36.8% 35.2% Hard Hard 0.12435274487954455 0.12570469475928556 https://leetcode.com/problems/basic-calculator https://leetcode.com/problems/largest-rectangle-in-histogram
166 235 224 Lowest Common Ancestor of a Binary Search Tree Basic Calculator 49.9% 36.8% Easy Hard 0.12399764165657076 0.12435274487954455 https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-search-tree https://leetcode.com/problems/basic-calculator
167 107 235 Binary Tree Level Order Traversal II Lowest Common Ancestor of a Binary Search Tree 53.5% 49.9% Easy Easy 0.122658088838636 0.12399764165657076 https://leetcode.com/problems/binary-tree-level-order-traversal-ii https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-search-tree
168 1114 107 Print in Order Binary Tree Level Order Traversal II 65.7% 53.5% Easy Easy 0.12136085700426744 0.122658088838636 https://leetcode.com/problems/print-in-order https://leetcode.com/problems/binary-tree-level-order-traversal-ii
169 93 1114 Restore IP Addresses Print in Order 35.6% 65.7% Medium Easy 0.11756123239496619 0.12136085700426744 https://leetcode.com/problems/restore-ip-addresses https://leetcode.com/problems/print-in-order
170 316 93 Remove Duplicate Letters Restore IP Addresses 35.8% 35.6% Hard Medium 0.1165801830326188 0.11756123239496619 https://leetcode.com/problems/remove-duplicate-letters https://leetcode.com/problems/restore-ip-addresses
171 191 316 Number of 1 Bits Remove Duplicate Letters 49.8% 35.8% Easy Hard 0.11333538213170377 0.1165801830326188 https://leetcode.com/problems/number-of-1-bits https://leetcode.com/problems/remove-duplicate-letters
172 104 191 Maximum Depth of Binary Tree Number of 1 Bits 66.0% 49.8% Easy Easy 0.11149742514307986 0.11333538213170377 https://leetcode.com/problems/maximum-depth-of-binary-tree https://leetcode.com/problems/number-of-1-bits
173 40 104 Combination Sum II Maximum Depth of Binary Tree 48.2% 66.0% Medium Easy 0.11145356111123644 0.11149742514307986 https://leetcode.com/problems/combination-sum-ii https://leetcode.com/problems/maximum-depth-of-binary-tree
174 1108 40 Defanging an IP Address Combination Sum II 87.5% 48.2% Easy Medium 0.1113224686534394 0.11145356111123644 https://leetcode.com/problems/defanging-an-ip-address https://leetcode.com/problems/combination-sum-ii
175 295 1108 Find Median from Data Stream Defanging an IP Address 44.3% 87.5% Hard Easy 0.10502147513923703 0.1113224686534394 https://leetcode.com/problems/find-median-from-data-stream https://leetcode.com/problems/defanging-an-ip-address
176 98 295 Validate Binary Search Tree Find Median from Data Stream 27.8% 44.3% Medium Hard 0.1008693132143216 0.10502147513923703 https://leetcode.com/problems/validate-binary-search-tree https://leetcode.com/problems/find-median-from-data-stream
177 283 98 Move Zeroes Validate Binary Search Tree 57.8% 27.8% Easy Medium 0.09896140984010138 0.1008693132143216 https://leetcode.com/problems/move-zeroes https://leetcode.com/problems/validate-binary-search-tree
178 617 283 Merge Two Binary Trees Move Zeroes 74.1% 57.8% Easy Easy 0.09679876601677688 0.09896140984010138 https://leetcode.com/problems/merge-two-binary-trees https://leetcode.com/problems/move-zeroes
179 59 617 Spiral Matrix II Merge Two Binary Trees 53.9% 74.1% Medium Easy 0.09483978737982436 0.09679876601677688 https://leetcode.com/problems/spiral-matrix-ii https://leetcode.com/problems/merge-two-binary-trees
180 66 59 Plus One Spiral Matrix II 43.0% 53.9% Easy Medium 0.09425513144914506 0.09483978737982436 https://leetcode.com/problems/plus-one https://leetcode.com/problems/spiral-matrix-ii
181 215 66 Kth Largest Element in an Array Plus One 55.4% 43.0% Medium Easy 0.09326418878681669 0.09425513144914506 https://leetcode.com/problems/kth-largest-element-in-an-array https://leetcode.com/problems/plus-one
182 257 215 Binary Tree Paths Kth Largest Element in an Array 51.5% 55.4% Easy Medium 0.09040028430515686 0.09326418878681669 https://leetcode.com/problems/binary-tree-paths https://leetcode.com/problems/kth-largest-element-in-an-array
183 185 257 Department Top Three Salaries Binary Tree Paths 34.5% 51.5% Hard Easy 0.08593583151429968 0.09040028430515686 https://leetcode.com/problems/department-top-three-salaries https://leetcode.com/problems/binary-tree-paths
184 73 185 Set Matrix Zeroes Department Top Three Salaries 43.1% 34.5% Medium Hard 0.08271965106891821 0.08593583151429968 https://leetcode.com/problems/set-matrix-zeroes https://leetcode.com/problems/department-top-three-salaries
185 387 73 First Unique Character in a String Set Matrix Zeroes 53.4% 43.1% Easy Medium 0.08151765202603821 0.08271965106891821 https://leetcode.com/problems/first-unique-character-in-a-string https://leetcode.com/problems/set-matrix-zeroes
186 118 387 Pascal's Triangle First Unique Character in a String 52.5% 53.4% Easy Easy 0.07970401164997687 0.08151765202603821 https://leetcode.com/problems/pascals-triangle https://leetcode.com/problems/first-unique-character-in-a-string
187 875 118 Koko Eating Bananas Pascal's Triangle 52.1% 52.5% Medium Easy 0.07919704166119315 0.07970401164997687 https://leetcode.com/problems/koko-eating-bananas https://leetcode.com/problems/pascals-triangle
188 79 875 Word Search Koko Eating Bananas 35.6% 52.1% Medium Medium 0.07847790263416941 0.07919704166119315 https://leetcode.com/problems/word-search https://leetcode.com/problems/koko-eating-bananas
189 67 79 Add Binary Word Search 45.2% 35.6% Easy Medium 0.07835548390827937 0.07847790263416941 https://leetcode.com/problems/add-binary https://leetcode.com/problems/word-search
190 525 67 Contiguous Array Add Binary 42.8% 45.2% Medium Easy 0.07677630069592066 0.07835548390827937 https://leetcode.com/problems/contiguous-array https://leetcode.com/problems/add-binary
191 399 525 Evaluate Division Contiguous Array 51.6% 42.8% Medium Medium 0.07536521894921006 0.07677630069592066 https://leetcode.com/problems/evaluate-division https://leetcode.com/problems/contiguous-array
192 669 399 Trim a Binary Search Tree Evaluate Division 63.0% 51.6% Easy Medium 0.07445297819474968 0.07536521894921006 https://leetcode.com/problems/trim-a-binary-search-tree https://leetcode.com/problems/evaluate-division
193 460 669 LFU Cache Trim a Binary Search Tree 34.2% 63.0% Hard Easy 0.06836374280939023 0.07445297819474968 https://leetcode.com/problems/lfu-cache https://leetcode.com/problems/trim-a-binary-search-tree
194 258 460 Add Digits LFU Cache 57.6% 34.2% Easy Hard 0.06075860721222717 0.06836374280939023 https://leetcode.com/problems/add-digits https://leetcode.com/problems/lfu-cache
195 114 258 Flatten Binary Tree to Linked List Add Digits 49.3% 57.6% Medium Easy 0.06042105947476499 0.06075860721222717 https://leetcode.com/problems/flatten-binary-tree-to-linked-list https://leetcode.com/problems/add-digits
196 113 114 Path Sum II Flatten Binary Tree to Linked List 46.7% 49.3% Medium Medium 0.05964085390630209 0.06042105947476499 https://leetcode.com/problems/path-sum-ii https://leetcode.com/problems/flatten-binary-tree-to-linked-list
197 102 113 Binary Tree Level Order Traversal Path Sum II 54.6% 46.7% Medium Medium 0.056692473087026664 0.05964085390630209 https://leetcode.com/problems/binary-tree-level-order-traversal https://leetcode.com/problems/path-sum-ii
198 601 102 Human Traffic of Stadium Binary Tree Level Order Traversal 41.7% 54.6% Hard Medium 0.05223119222544569 0.056692473087026664 https://leetcode.com/problems/human-traffic-of-stadium https://leetcode.com/problems/binary-tree-level-order-traversal
199 665 601 Non-decreasing Array Human Traffic of Stadium 19.5% 41.7% Easy Hard 0.05108036638098062 0.05223119222544569 https://leetcode.com/problems/non-decreasing-array https://leetcode.com/problems/human-traffic-of-stadium
200 681 665 Next Closest Time Non-decreasing Array 45.0% 19.5% Medium Easy 0.05045206096038863 0.05108036638098062 https://leetcode.com/problems/next-closest-time https://leetcode.com/problems/non-decreasing-array
201 77 681 Combinations Next Closest Time 54.7% 45.0% Medium Medium 0.04928622947983693 0.05045206096038863 https://leetcode.com/problems/combinations https://leetcode.com/problems/next-closest-time
202 547 77 Friend Circles Combinations 58.6% 54.7% Medium Medium 0.04804286211474039 0.04928622947983693 https://leetcode.com/problems/friend-circles https://leetcode.com/problems/combinations
203 876 547 Middle of the Linked List Friend Circles 68.4% 58.6% Easy Medium 0.046728740327781716 0.04804286211474039 https://leetcode.com/problems/middle-of-the-linked-list https://leetcode.com/problems/friend-circles
204 977 876 Squares of a Sorted Array Middle of the Linked List 72.1% 68.4% Easy Easy 0.046652914831048324 0.046728740327781716 https://leetcode.com/problems/squares-of-a-sorted-array https://leetcode.com/problems/middle-of-the-linked-list
205 205 977 Isomorphic Strings Squares of a Sorted Array 39.8% 72.1% Easy Easy 0.045397866271290506 0.046652914831048324 https://leetcode.com/problems/isomorphic-strings https://leetcode.com/problems/squares-of-a-sorted-array
206 1051 205 Height Checker Isomorphic Strings 71.1% 39.8% Easy Easy 0.04510347333459475 0.045397866271290506 https://leetcode.com/problems/height-checker https://leetcode.com/problems/isomorphic-strings
207 36 1051 Valid Sudoku Height Checker 48.7% 71.1% Medium Easy 0.04452302288876419 0.04510347333459475 https://leetcode.com/problems/valid-sudoku https://leetcode.com/problems/height-checker
208 545 36 Boundary of Binary Tree Valid Sudoku 38.9% 48.7% Medium Medium 0.04158603377810283 0.04452302288876419 https://leetcode.com/problems/boundary-of-binary-tree https://leetcode.com/problems/valid-sudoku
209 647 545 Palindromic Substrings Boundary of Binary Tree 60.6% 38.9% Medium Medium 0.040968350772541844 0.04158603377810283 https://leetcode.com/problems/palindromic-substrings https://leetcode.com/problems/boundary-of-binary-tree
210 314 647 Binary Tree Vertical Order Traversal Palindromic Substrings 45.3% 60.6% Medium Medium 0.04007660092703385 0.040968350772541844 https://leetcode.com/problems/binary-tree-vertical-order-traversal https://leetcode.com/problems/palindromic-substrings
211 686 314 Repeated String Match Binary Tree Vertical Order Traversal 32.3% 45.3% Easy Medium 0.03984590854719967 0.04007660092703385 https://leetcode.com/problems/repeated-string-match https://leetcode.com/problems/binary-tree-vertical-order-traversal
212 203 686 Remove Linked List Elements Repeated String Match 38.6% 32.3% Easy Easy 0.0398221041810017 0.03984590854719967 https://leetcode.com/problems/remove-linked-list-elements https://leetcode.com/problems/repeated-string-match
213 380 203 Insert Delete GetRandom O(1) Remove Linked List Elements 47.5% 38.6% Medium Easy 0.038717635350707984 0.0398221041810017 https://leetcode.com/problems/insert-delete-getrandom-o1 https://leetcode.com/problems/remove-linked-list-elements
214 47 380 Permutations II Insert Delete GetRandom O(1) 46.4% 47.5% Medium Medium 0.038145268259690404 0.038717635350707984 https://leetcode.com/problems/permutations-ii https://leetcode.com/problems/insert-delete-getrandom-o1
215 402 47 Remove K Digits Permutations II 28.4% 46.4% Medium Medium 0.03755134565213245 0.038145268259690404 https://leetcode.com/problems/remove-k-digits https://leetcode.com/problems/permutations-ii
216 1002 402 Find Common Characters Remove K Digits 67.6% 28.4% Easy Medium 0.03404262162737441 0.03755134565213245 https://leetcode.com/problems/find-common-characters https://leetcode.com/problems/remove-k-digits
217 404 1002 Sum of Left Leaves Find Common Characters 50.9% 67.6% Easy Easy 0.031187558856704493 0.03404262162737441 https://leetcode.com/problems/sum-of-left-leaves https://leetcode.com/problems/find-common-characters
218 703 404 Kth Largest Element in a Stream Sum of Left Leaves 49.7% 50.9% Easy Easy 0.031004894819414507 0.031187558856704493 https://leetcode.com/problems/kth-largest-element-in-a-stream https://leetcode.com/problems/sum-of-left-leaves
219 994 703 Rotting Oranges Kth Largest Element in a Stream 49.2% 49.7% Medium Easy 0.030179582027776965 0.031004894819414507 https://leetcode.com/problems/rotting-oranges https://leetcode.com/problems/kth-largest-element-in-a-stream
220 695 994 Max Area of Island Rotting Oranges 62.7% 49.2% Medium Medium 0.028321590863246118 0.030179582027776965 https://leetcode.com/problems/max-area-of-island https://leetcode.com/problems/rotting-oranges
221 709 695 To Lower Case Max Area of Island 79.3% 62.7% Easy Medium 0.02780531308033682 0.028321590863246118 https://leetcode.com/problems/to-lower-case https://leetcode.com/problems/max-area-of-island
222 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
223 877 159 Stone Game Longest Substring with At Most Two Distinct Characters 64.8% 49.4% Medium Medium 0.02486144206532915 0.02717558537896476 https://leetcode.com/problems/stone-game https://leetcode.com/problems/longest-substring-with-at-most-two-distinct-characters
224 154 877 Find Minimum in Rotated Sorted Array II Stone Game 41.6% 64.8% Hard Medium 0.01898490812303644 0.02486144206532915 https://leetcode.com/problems/find-minimum-in-rotated-sorted-array-ii https://leetcode.com/problems/stone-game
225 993 154 Cousins in Binary Tree Find Minimum in Rotated Sorted Array II 52.0% 41.6% Easy Hard 0.017414458368636587 0.01898490812303644 https://leetcode.com/problems/cousins-in-binary-tree https://leetcode.com/problems/find-minimum-in-rotated-sorted-array-ii
226 1365 993 How Many Numbers Are Smaller Than the Current Number Cousins in Binary Tree 85.6% 52.0% Easy Easy 0.015926721367078105 0.017414458368636587 https://leetcode.com/problems/how-many-numbers-are-smaller-than-the-current-number https://leetcode.com/problems/cousins-in-binary-tree
227 1192 1365 Critical Connections in a Network How Many Numbers Are Smaller Than the Current Number 48.6% 85.6% Hard Easy 0.01352742981715631 0.015926721367078105 https://leetcode.com/problems/critical-connections-in-a-network https://leetcode.com/problems/how-many-numbers-are-smaller-than-the-current-number
228 57 1192 Insert Interval Critical Connections in a Network 33.5% 48.6% Hard Hard 0.013119243592498872 0.01352742981715631 https://leetcode.com/problems/insert-interval https://leetcode.com/problems/critical-connections-in-a-network
229 700 57 Search in a Binary Search Tree Insert Interval 73.1% 33.5% Easy Hard 0.008512500860171227 0.013119243592498872 https://leetcode.com/problems/search-in-a-binary-search-tree https://leetcode.com/problems/insert-interval
230 692 700 Top K Frequent Words Search in a Binary Search Tree 51.8% 73.1% Medium Easy 0.007516006820935329 0.008512500860171227 https://leetcode.com/problems/top-k-frequent-words https://leetcode.com/problems/search-in-a-binary-search-tree
231 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
232 1470 145 Shuffle the Array Binary Tree Postorder Traversal 88.9% 55.0% Easy Hard 0.004527967890154029 0.00751459482064135 https://leetcode.com/problems/shuffle-the-array https://leetcode.com/problems/binary-tree-postorder-traversal
233 793 1470 Preimage Size of Factorial Zeroes Function Shuffle the Array 40.3% 88.9% Hard Easy 0 0.004527967890154029 https://leetcode.com/problems/preimage-size-of-factorial-zeroes-function https://leetcode.com/problems/shuffle-the-array
234 908 793 Smallest Range I Preimage Size of Factorial Zeroes Function 65.8% 40.3% Easy Hard 0 0 https://leetcode.com/problems/smallest-range-i https://leetcode.com/problems/preimage-size-of-factorial-zeroes-function
235 910 908 Smallest Range II Smallest Range I 26.6% 65.8% Medium Easy 0 0 https://leetcode.com/problems/smallest-range-ii https://leetcode.com/problems/smallest-range-i
236 910 Smallest Range II 26.6% Medium 0 https://leetcode.com/problems/smallest-range-ii