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,214 +1,215 @@
425,Word Squares,47.7%,Hard,1.3737846439355526, https://leetcode.com/problems/word-squares
146,LRU Cache,33.2%,Medium,1.2233383443716415, https://leetcode.com/problems/lru-cache
352,Data Stream as Disjoint Intervals,47.3%,Hard,1.0728920448077304, https://leetcode.com/problems/data-stream-as-disjoint-intervals
450,Delete Node in a BST,43.1%,Medium,0.9224457452438195, https://leetcode.com/problems/delete-node-in-a-bst
362,Design Hit Counter,63.7%,Medium,0.8944603431177579, https://leetcode.com/problems/design-hit-counter
1,Two Sum,45.6%,Easy,0.8671080762741441, https://leetcode.com/problems/two-sum
554,Brick Wall,50.0%,Medium,0.8487112881843506, https://leetcode.com/problems/brick-wall
23,Merge k Sorted Lists,40.2%,Hard,0.744432863023671, https://leetcode.com/problems/merge-k-sorted-lists
253,Meeting Rooms II,45.7%,Medium,0.59398656345976, https://leetcode.com/problems/meeting-rooms-ii
403,Frog Jump,39.7%,Hard,0.5847178330329063, https://leetcode.com/problems/frog-jump
200,Number of Islands,46.8%,Medium,0.44929804774434284, https://leetcode.com/problems/number-of-islands
297,Serialize and Deserialize Binary Tree,47.5%,Hard,0.41418643622197904, https://leetcode.com/problems/serialize-and-deserialize-binary-tree
56,Merge Intervals,39.3%,Medium,0.4061026968850166, https://leetcode.com/problems/merge-intervals
394,Decode String,50.0%,Medium,0.37929539037477966, https://leetcode.com/problems/decode-string
227,Basic Calculator II,36.9%,Medium,0.3709825801608562, https://leetcode.com/problems/basic-calculator-ii
415,Add Strings,47.5%,Easy,0.3565606952191458, https://leetcode.com/problems/add-strings
17,Letter Combinations of a Phone Number,46.8%,Medium,0.33514787929267054, https://leetcode.com/problems/letter-combinations-of-a-phone-number
73,Set Matrix Zeroes,43.1%,Medium,0.3336019272255533, https://leetcode.com/problems/set-matrix-zeroes
33,Search in Rotated Sorted Array,34.5%,Medium,0.33035289065162005, https://leetcode.com/problems/search-in-rotated-sorted-array
54,Spiral Matrix,34.1%,Medium,0.3163765745699599, https://leetcode.com/problems/spiral-matrix
53,Maximum Subarray,46.5%,Easy,0.3123508739120354, https://leetcode.com/problems/maximum-subarray
1242,Web Crawler Multithreaded,45.9%,Medium,0.30961714931803663, https://leetcode.com/problems/web-crawler-multithreaded
706,Design HashMap,61.3%,Easy,0.30607943759149703, https://leetcode.com/problems/design-hashmap
636,Exclusive Time of Functions,51.9%,Medium,0.29258241998390533, https://leetcode.com/problems/exclusive-time-of-functions
692,Top K Frequent Words,51.8%,Medium,0.27668253048640057, https://leetcode.com/problems/top-k-frequent-words
599,Minimum Index Sum of Two Lists,50.7%,Easy,0.2723477084516743, https://leetcode.com/problems/minimum-index-sum-of-two-lists
173,Binary Search Tree Iterator,56.6%,Medium,0.2676620302183387, https://leetcode.com/problems/binary-search-tree-iterator
20,Valid Parentheses,39.0%,Easy,0.26589700119033977, https://leetcode.com/problems/valid-parentheses
127,Word Ladder,29.6%,Medium,0.25762464516780426, https://leetcode.com/problems/word-ladder
126,Word Ladder II,22.1%,Hard,0.25503976484865665, https://leetcode.com/problems/word-ladder-ii
75,Sort Colors,47.3%,Medium,0.24805587169410617, https://leetcode.com/problems/sort-colors
535,Encode and Decode TinyURL,79.9%,Medium,0.23740366313104297, https://leetcode.com/problems/encode-and-decode-tinyurl
545,Boundary of Binary Tree,38.9%,Medium,0.235382573048932, https://leetcode.com/problems/boundary-of-binary-tree
1188,Design Bounded Blocking Queue,70.5%,Medium,0.23300728083654992, https://leetcode.com/problems/design-bounded-blocking-queue
722,Remove Comments,34.6%,Medium,0.2297333609932653, https://leetcode.com/problems/remove-comments
1190,Reverse Substrings Between Each Pair of Parentheses,61.5%,Medium,0.22128423872402644, https://leetcode.com/problems/reverse-substrings-between-each-pair-of-parentheses
236,Lowest Common Ancestor of a Binary Tree,45.7%,Medium,0.2082667520997665, https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-tree
232,Implement Queue using Stacks,49.6%,Easy,0.20615437352136948, https://leetcode.com/problems/implement-queue-using-stacks
37,Sudoku Solver,43.6%,Hard,0.20309089276282075, https://leetcode.com/problems/sudoku-solver
138,Copy List with Random Pointer,36.4%,Medium,0.20177099180675884, https://leetcode.com/problems/copy-list-with-random-pointer
426,Convert Binary Search Tree to Sorted Doubly Linked List,59.1%,Medium,0.19933290262049122, https://leetcode.com/problems/convert-binary-search-tree-to-sorted-doubly-linked-list
42,Trapping Rain Water,48.9%,Hard,0.19363009358633576, https://leetcode.com/problems/trapping-rain-water
206,Reverse Linked List,62.5%,Easy,0.19179339445652105, https://leetcode.com/problems/reverse-linked-list
46,Permutations,63.5%,Medium,0.18816690901782251, https://leetcode.com/problems/permutations
438,Find All Anagrams in a String,43.3%,Medium,0.18564799141482685, https://leetcode.com/problems/find-all-anagrams-in-a-string
380,Insert Delete GetRandom O(1),47.5%,Medium,0.18219818377547725, https://leetcode.com/problems/insert-delete-getrandom-o1
1212,Team Scores in Football Tournament,55.8%,Medium,0.17728013452102853, https://leetcode.com/problems/team-scores-in-football-tournament
238,Product of Array Except Self,60.1%,Medium,0.1764463022920214, https://leetcode.com/problems/product-of-array-except-self
230,Kth Smallest Element in a BST,60.2%,Medium,0.17586503601879516, https://leetcode.com/problems/kth-smallest-element-in-a-bst
2,Add Two Numbers,33.9%,Medium,0.17086242673531185, https://leetcode.com/problems/add-two-numbers
43,Multiply Strings,33.9%,Medium,0.17061651017204038, https://leetcode.com/problems/multiply-strings
609,Find Duplicate File in System,59.5%,Medium,0.16971838464062922, https://leetcode.com/problems/find-duplicate-file-in-system
349,Intersection of Two Arrays,62.5%,Easy,0.16713804301987062, https://leetcode.com/problems/intersection-of-two-arrays
715,Range Module,38.5%,Hard,0.1636294237818021, https://leetcode.com/problems/range-module
121,Best Time to Buy and Sell Stock,50.5%,Easy,0.1589005268310668, https://leetcode.com/problems/best-time-to-buy-and-sell-stock
141,Linked List Cycle,41.1%,Easy,0.15827948939978168, https://leetcode.com/problems/linked-list-cycle
139,Word Break,40.1%,Medium,0.1526025947499831, https://leetcode.com/problems/word-break
314,Binary Tree Vertical Order Traversal,45.3%,Medium,0.15148600467306356, https://leetcode.com/problems/binary-tree-vertical-order-traversal
21,Merge Two Sorted Lists,53.5%,Easy,0.15110619328155395, https://leetcode.com/problems/merge-two-sorted-lists
863,All Nodes Distance K in Binary Tree,55.4%,Medium,0.14315784643382565, https://leetcode.com/problems/all-nodes-distance-k-in-binary-tree
34,Find First and Last Position of Element in Sorted Array,36.2%,Medium,0.14257571553993023, https://leetcode.com/problems/find-first-and-last-position-of-element-in-sorted-array
208,Implement Trie (Prefix Tree),49.4%,Medium,0.13658526585058278, https://leetcode.com/problems/implement-trie-prefix-tree
10,Regular Expression Matching,26.8%,Hard,0.13632230148088326, https://leetcode.com/problems/regular-expression-matching
5,Longest Palindromic Substring,29.5%,Medium,0.13631574933960264, https://leetcode.com/problems/longest-palindromic-substring
1044,Longest Duplicate Substring,31.9%,Hard,0.1351378186727963, https://leetcode.com/problems/longest-duplicate-substring
195,Tenth Line,33.0%,Easy,0.1329388000145885, https://leetcode.com/problems/tenth-line
4,Median of Two Sorted Arrays,29.6%,Hard,0.13162453469432595, https://leetcode.com/problems/median-of-two-sorted-arrays
3,Longest Substring Without Repeating Characters,30.4%,Medium,0.13147131860020772, https://leetcode.com/problems/longest-substring-without-repeating-characters
214,Shortest Palindrome,29.8%,Hard,0.13026519483790147, https://leetcode.com/problems/shortest-palindrome
958,Check Completeness of a Binary Tree,52.1%,Medium,0.12884496089089562, https://leetcode.com/problems/check-completeness-of-a-binary-tree
694,Number of Distinct Islands,56.0%,Medium,0.12516314295400602, https://leetcode.com/problems/number-of-distinct-islands
163,Missing Ranges,24.3%,Medium,0.11821867060119497, https://leetcode.com/problems/missing-ranges
207,Course Schedule,43.1%,Medium,0.11725761496207857, https://leetcode.com/problems/course-schedule
160,Intersection of Two Linked Lists,40.6%,Easy,0.11585676607984101, https://leetcode.com/problems/intersection-of-two-linked-lists
101,Symmetric Tree,46.8%,Easy,0.11583847861592966, https://leetcode.com/problems/symmetric-tree
503,Next Greater Element II,56.5%,Medium,0.11242734769506908, https://leetcode.com/problems/next-greater-element-ii
344,Reverse String,68.5%,Easy,0.11144968419514555, https://leetcode.com/problems/reverse-string
965,Univalued Binary Tree,67.7%,Easy,0.11132479473250746, https://leetcode.com/problems/univalued-binary-tree
412,Fizz Buzz,62.3%,Easy,0.1089140648664841, https://leetcode.com/problems/fizz-buzz
204,Count Primes,31.5%,Easy,0.10755824083435236, https://leetcode.com/problems/count-primes
295,Find Median from Data Stream,44.3%,Hard,0.10502147513923703, https://leetcode.com/problems/find-median-from-data-stream
273,Integer to English Words,27.1%,Hard,0.10380963271229693, https://leetcode.com/problems/integer-to-english-words
417,Pacific Atlantic Water Flow,41.1%,Medium,0.10008345855698253, https://leetcode.com/problems/pacific-atlantic-water-flow
12,Integer to Roman,55.1%,Medium,0.09981819303484349, https://leetcode.com/problems/integer-to-roman
13,Roman to Integer,55.7%,Easy,0.09884785502028326, https://leetcode.com/problems/roman-to-integer
71,Simplify Path,32.6%,Medium,0.09754315430863725, https://leetcode.com/problems/simplify-path
1236,Web Crawler,64.3%,Medium,0.09531017980432487, https://leetcode.com/problems/web-crawler
215,Kth Largest Element in an Array,55.4%,Medium,0.09326418878681669, https://leetcode.com/problems/kth-largest-element-in-an-array
794,Valid Tic-Tac-Toe State,32.6%,Medium,0.0922312242160336, https://leetcode.com/problems/valid-tic-tac-toe-state
243,Shortest Word Distance,61.0%,Easy,0.08952296190665864, https://leetcode.com/problems/shortest-word-distance
652,Find Duplicate Subtrees,50.2%,Medium,0.08907963005368878, https://leetcode.com/problems/find-duplicate-subtrees
109,Convert Sorted List to Binary Search Tree,47.7%,Medium,0.08701137698962977, https://leetcode.com/problems/convert-sorted-list-to-binary-search-tree
449,Serialize and Deserialize BST,52.0%,Medium,0.08696405427235052, https://leetcode.com/problems/serialize-and-deserialize-bst
116,Populating Next Right Pointers in Each Node,45.2%,Medium,0.08636683942300452, https://leetcode.com/problems/populating-next-right-pointers-in-each-node
114,Flatten Binary Tree to Linked List,49.3%,Medium,0.08137267196054322, https://leetcode.com/problems/flatten-binary-tree-to-linked-list
242,Valid Anagram,56.9%,Easy,0.08093090313491587, https://leetcode.com/problems/valid-anagram
29,Divide Two Integers,16.4%,Medium,0.07996429167663288, https://leetcode.com/problems/divide-two-integers
57,Insert Interval,33.5%,Hard,0.07930596581741095, https://leetcode.com/problems/insert-interval
341,Flatten Nested List Iterator,52.9%,Medium,0.07763353611776078, https://leetcode.com/problems/flatten-nested-list-iterator
49,Group Anagrams,56.9%,Medium,0.07434615245733686, https://leetcode.com/problems/group-anagrams
721,Accounts Merge,48.8%,Medium,0.07349495575336484, https://leetcode.com/problems/accounts-merge
155,Min Stack,44.5%,Easy,0.07340219281226193, https://leetcode.com/problems/min-stack
505,The Maze II,47.7%,Medium,0.07133147800542972, https://leetcode.com/problems/the-maze-ii
205,Isomorphic Strings,39.8%,Easy,0.0700566499345432, https://leetcode.com/problems/isomorphic-strings
136,Single Number,65.5%,Easy,0.0693807551554477, https://leetcode.com/problems/single-number
284,Peeking Iterator,45.7%,Medium,0.06867686579621939, https://leetcode.com/problems/peeking-iterator
289,Game of Life,54.5%,Medium,0.06756473699960104, https://leetcode.com/problems/game-of-life
199,Binary Tree Right Side View,54.1%,Medium,0.06748154336946242, https://leetcode.com/problems/binary-tree-right-side-view
560,Subarray Sum Equals K,43.9%,Medium,0.06636621624059272, https://leetcode.com/problems/subarray-sum-equals-k
1197,Minimum Knight Moves,36.1%,Medium,0.06562120535847293, https://leetcode.com/problems/minimum-knight-moves
15,3Sum,26.8%,Medium,0.06446972405454035, https://leetcode.com/problems/3sum
51,N-Queens,46.6%,Hard,0.06402185876493102, https://leetcode.com/problems/n-queens
1170,Compare Strings by Frequency of the Smallest Character,58.7%,Easy,0.060901617340111645, https://leetcode.com/problems/compare-strings-by-frequency-of-the-smallest-character
305,Number of Islands II,40.1%,Hard,0.06007812394328337, https://leetcode.com/problems/number-of-islands-ii
355,Design Twitter,30.3%,Medium,0.05824061998094904, https://leetcode.com/problems/design-twitter
45,Jump Game II,30.6%,Hard,0.05822366027889668, https://leetcode.com/problems/jump-game-ii
741,Cherry Pickup,33.9%,Hard,0.056512210263342307, https://leetcode.com/problems/cherry-pickup
41,First Missing Positive,32.0%,Hard,0.056273635982108605, https://leetcode.com/problems/first-missing-positive
32,Longest Valid Parentheses,28.4%,Hard,0.0556316959861487, https://leetcode.com/problems/longest-valid-parentheses
128,Longest Consecutive Sequence,45.1%,Hard,0.05527490034186498, https://leetcode.com/problems/longest-consecutive-sequence
7,Reverse Integer,25.8%,Easy,0.054824382173728654, https://leetcode.com/problems/reverse-integer
76,Minimum Window Substring,34.6%,Hard,0.05473322196089386, https://leetcode.com/problems/minimum-window-substring
836,Rectangle Overlap,48.6%,Easy,0.05371219359052555, https://leetcode.com/problems/rectangle-overlap
894,All Possible Full Binary Trees,75.2%,Medium,0.052436651273043935, https://leetcode.com/problems/all-possible-full-binary-trees
94,Binary Tree Inorder Traversal,63.3%,Medium,0.052376558898168765, https://leetcode.com/problems/binary-tree-inorder-traversal
767,Reorganize String,48.7%,Medium,0.05216306328458592, https://leetcode.com/problems/reorganize-string
14,Longest Common Prefix,35.4%,Easy,0.051846064173015856, https://leetcode.com/problems/longest-common-prefix
209,Minimum Size Subarray Sum,38.2%,Medium,0.05146227039335983, https://leetcode.com/problems/minimum-size-subarray-sum
235,Lowest Common Ancestor of a Binary Search Tree,49.9%,Easy,0.050282057186910374, https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-search-tree
695,Max Area of Island,62.7%,Medium,0.04980799142417255, https://leetcode.com/problems/max-area-of-island
518,Coin Change 2,50.2%,Medium,0.04919528672454412, https://leetcode.com/problems/coin-change-2
445,Add Two Numbers II,54.5%,Medium,0.04843561709959499, https://leetcode.com/problems/add-two-numbers-ii
125,Valid Palindrome,36.7%,Easy,0.047702249651065814, https://leetcode.com/problems/valid-palindrome
876,Middle of the Linked List,68.4%,Easy,0.046728740327781716, https://leetcode.com/problems/middle-of-the-linked-list
240,Search a 2D Matrix II,43.2%,Medium,0.04647676584572884, https://leetcode.com/problems/search-a-2d-matrix-ii
283,Move Zeroes,57.8%,Easy,0.04519585811312136, https://leetcode.com/problems/move-zeroes
36,Valid Sudoku,48.7%,Medium,0.04452302288876419, https://leetcode.com/problems/valid-sudoku
529,Minesweeper,59.1%,Medium,0.044255009004040724, https://leetcode.com/problems/minesweeper
268,Missing Number,51.7%,Easy,0.043089480538103624, https://leetcode.com/problems/missing-number
184,Department Highest Salary,36.7%,Medium,0.041672696400568025, https://leetcode.com/problems/department-highest-salary
532,K-diff Pairs in an Array,31.6%,Easy,0.041672696400568025, https://leetcode.com/problems/k-diff-pairs-in-an-array
92,Reverse Linked List II,38.8%,Medium,0.041073535208287514, https://leetcode.com/problems/reverse-linked-list-ii
1008,Construct Binary Search Tree from Preorder Traversal,78.4%,Medium,0.04102671995624437, https://leetcode.com/problems/construct-binary-search-tree-from-preorder-traversal
79,Word Search,35.6%,Medium,0.0408086655410548, https://leetcode.com/problems/word-search
212,Word Search II,34.9%,Hard,0.03881156536434583, https://leetcode.com/problems/word-search-ii
113,Path Sum II,46.7%,Medium,0.03857758982167768, https://leetcode.com/problems/path-sum-ii
24,Swap Nodes in Pairs,50.4%,Medium,0.03826607060639552, https://leetcode.com/problems/swap-nodes-in-pairs
19,Remove Nth Node From End of List,35.2%,Medium,0.03704967488869408, https://leetcode.com/problems/remove-nth-node-from-end-of-list
322,Coin Change,35.5%,Medium,0.03569682997206547, https://leetcode.com/problems/coin-change
973,K Closest Points to Origin,63.8%,Medium,0.035550452059401896, https://leetcode.com/problems/k-closest-points-to-origin
59,Spiral Matrix II,53.9%,Medium,0.0351873674509732, https://leetcode.com/problems/spiral-matrix-ii
105,Construct Binary Tree from Preorder and Inorder Traversal,48.8%,Medium,0.03466791990373826, https://leetcode.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal
543,Diameter of Binary Tree,48.4%,Easy,0.032708305572393875, https://leetcode.com/problems/diameter-of-binary-tree
350,Intersection of Two Arrays II,51.4%,Easy,0.0321281809578036, https://leetcode.com/problems/intersection-of-two-arrays-ii
150,Evaluate Reverse Polish Notation,36.3%,Medium,0.031526253646773944, https://leetcode.com/problems/evaluate-reverse-polish-notation
55,Jump Game,34.6%,Medium,0.030985252381807864, https://leetcode.com/problems/jump-game
38,Count and Say,44.6%,Easy,0.030956234663467107, https://leetcode.com/problems/count-and-say
179,Largest Number,28.8%,Medium,0.03093030069135863, https://leetcode.com/problems/largest-number
151,Reverse Words in a String,21.9%,Medium,0.03068306302420247, https://leetcode.com/problems/reverse-words-in-a-string
347,Top K Frequent Elements,61.2%,Medium,0.029662726238554857, https://leetcode.com/problems/top-k-frequent-elements
496,Next Greater Element I,63.8%,Easy,0.029462032730316202, https://leetcode.com/problems/next-greater-element-i
456,132 Pattern,28.9%,Medium,0.029306126585499394, https://leetcode.com/problems/132-pattern
169,Majority Element,58.7%,Easy,0.02905829743134675, https://leetcode.com/problems/majority-element
62,Unique Paths,54.1%,Medium,0.02853749186115581, https://leetcode.com/problems/unique-paths
938,Range Sum of BST,81.3%,Easy,0.027755467721532374, https://leetcode.com/problems/range-sum-of-bst
437,Path Sum III,47.2%,Medium,0.02708561605844235, https://leetcode.com/problems/path-sum-iii
796,Rotate String,49.6%,Easy,0.02701041988276247, https://leetcode.com/problems/rotate-string
103,Binary Tree Zigzag Level Order Traversal,48.3%,Medium,0.0269910535894593, https://leetcode.com/problems/binary-tree-zigzag-level-order-traversal
1305,All Elements in Two Binary Search Trees,76.1%,Medium,0.026282721799194744, https://leetcode.com/problems/all-elements-in-two-binary-search-trees
98,Validate Binary Search Tree,27.8%,Medium,0.026187123416340663, https://leetcode.com/problems/validate-binary-search-tree
91,Decode Ways,24.7%,Medium,0.023662742620848144, https://leetcode.com/problems/decode-ways
26,Remove Duplicates from Sorted Array,45.1%,Easy,0.02364518575043321, https://leetcode.com/problems/remove-duplicates-from-sorted-array
844,Backspace String Compare,46.4%,Easy,0.0235551325028849, https://leetcode.com/problems/backspace-string-compare
622,Design Circular Queue,43.8%,Medium,0.02246023667974994, https://leetcode.com/problems/design-circular-queue
981,Time Based Key-Value Store,53.1%,Medium,0.02226024024151985, https://leetcode.com/problems/time-based-key-value-store
152,Maximum Product Subarray,31.7%,Medium,0.022176931045949227, https://leetcode.com/problems/maximum-product-subarray
221,Maximal Square,37.7%,Medium,0.022108490754203434, https://leetcode.com/problems/maximal-square
112,Path Sum,41.2%,Easy,0.021701651897460775, https://leetcode.com/problems/path-sum
300,Longest Increasing Subsequence,42.6%,Medium,0.020893943681912164, https://leetcode.com/problems/longest-increasing-subsequence
9,Palindrome Number,48.4%,Easy,0.018837205580381582, https://leetcode.com/problems/palindrome-number
88,Merge Sorted Array,39.4%,Easy,0.018667009593356397, https://leetcode.com/problems/merge-sorted-array
617,Merge Two Binary Trees,74.1%,Easy,0.018496211633622316, https://leetcode.com/problems/merge-two-binary-trees
239,Sliding Window Maximum,43.0%,Hard,0.01768566434627554, https://leetcode.com/problems/sliding-window-maximum
50,Pow(x;n),30.3%,Medium,0.017036779497025166, https://leetcode.com/problems/powx-n
402,Remove K Digits,28.4%,Medium,0.016863806052004816, https://leetcode.com/problems/remove-k-digits
340,Longest Substring with At Most K Distinct Characters,44.1%,Hard,0.016122880486563188, https://leetcode.com/problems/longest-substring-with-at-most-k-distinct-characters
217,Contains Duplicate,56.0%,Easy,0.015106027431013205, https://leetcode.com/problems/contains-duplicate
707,Design Linked List,24.5%,Medium,0.015054857167065819, https://leetcode.com/problems/design-linked-list
102,Binary Tree Level Order Traversal,54.6%,Medium,0.014477270588287548, https://leetcode.com/problems/binary-tree-level-order-traversal
107,Binary Tree Level Order Traversal II,53.5%,Easy,0.014395642075089957, https://leetcode.com/problems/binary-tree-level-order-traversal-ii
315,Count of Smaller Numbers After Self,41.5%,Hard,0.014352596574956585, https://leetcode.com/problems/count-of-smaller-numbers-after-self
44,Wildcard Matching,24.7%,Hard,0.013703537497261858, https://leetcode.com/problems/wildcard-matching
70,Climbing Stairs,47.8%,Easy,0.013494975575004323, https://leetcode.com/problems/climbing-stairs
122,Best Time to Buy and Sell Stock II,57.0%,Easy,0.013351333174864208, https://leetcode.com/problems/best-time-to-buy-and-sell-stock-ii
1047,Remove All Adjacent Duplicates In String,68.6%,Easy,0.013059277989179281, https://leetcode.com/problems/remove-all-adjacent-duplicates-in-string
108,Convert Sorted Array to Binary Search Tree,57.9%,Easy,0.012453461071286613, https://leetcode.com/problems/convert-sorted-array-to-binary-search-tree
287,Find the Duplicate Number,55.5%,Medium,0.012335682739188652, https://leetcode.com/problems/find-the-duplicate-number
11,Container With Most Water,50.8%,Medium,0.012214824746492168, https://leetcode.com/problems/container-with-most-water
986,Interval List Intersections,67.3%,Medium,0.011969023795320735, https://leetcode.com/problems/interval-list-intersections
119,Pascal's Triangle II,49.0%,Easy,0.011894282360609866, https://leetcode.com/problems/pascals-triangle-ii
210,Course Schedule II,40.7%,Medium,0.011869857339029215, https://leetcode.com/problems/course-schedule-ii
264,Ugly Number II,42.0%,Medium,0.011604423810414601, https://leetcode.com/problems/ugly-number-ii
117,Populating Next Right Pointers in Each Node II,39.1%,Medium,0.011389644764357807, https://leetcode.com/problems/populating-next-right-pointers-in-each-node-ii
819,Most Common Word,44.8%,Easy,0.010269666637456105, https://leetcode.com/problems/most-common-word
905,Sort Array By Parity,74.1%,Easy,0.009603915354180344, https://leetcode.com/problems/sort-array-by-parity
621,Task Scheduler,50.1%,Medium,0.009334412329990095, https://leetcode.com/problems/task-scheduler
28,Implement strStr(),34.5%,Easy,0.008850485542574548, https://leetcode.com/problems/implement-strstr
8,String to Integer (atoi),15.4%,Medium,0.008513104762248265, https://leetcode.com/problems/string-to-integer-atoi
153,Find Minimum in Rotated Sorted Array,45.1%,Medium,0.008430963288799368, https://leetcode.com/problems/find-minimum-in-rotated-sorted-array
977,Squares of a Sorted Array,72.1%,Easy,0.003891055492966611, https://leetcode.com/problems/squares-of-a-sorted-array
67,Add Binary,45.2%,Easy,0.003735684238128885, https://leetcode.com/problems/add-binary
140,Word Break II,32.6%,Hard,0.0027070942357783584, https://leetcode.com/problems/word-break-ii
1380,Lucky Numbers in a Matrix,71.5%,Easy,0, https://leetcode.com/problems/lucky-numbers-in-a-matrix
1410,HTML Entity Parser,54.0%,Medium,0, https://leetcode.com/problems/html-entity-parser
ID,Title,Acceptance,Difficulty,Frequency,Leetcode Question Link
425,Word Squares,47.7%,Hard,1.3737846439355526, https://leetcode.com/problems/word-squares
146,LRU Cache,33.2%,Medium,1.2233383443716415, https://leetcode.com/problems/lru-cache
352,Data Stream as Disjoint Intervals,47.3%,Hard,1.0728920448077304, https://leetcode.com/problems/data-stream-as-disjoint-intervals
450,Delete Node in a BST,43.1%,Medium,0.9224457452438195, https://leetcode.com/problems/delete-node-in-a-bst
362,Design Hit Counter,63.7%,Medium,0.8944603431177579, https://leetcode.com/problems/design-hit-counter
1,Two Sum,45.6%,Easy,0.8671080762741441, https://leetcode.com/problems/two-sum
554,Brick Wall,50.0%,Medium,0.8487112881843506, https://leetcode.com/problems/brick-wall
23,Merge k Sorted Lists,40.2%,Hard,0.744432863023671, https://leetcode.com/problems/merge-k-sorted-lists
253,Meeting Rooms II,45.7%,Medium,0.59398656345976, https://leetcode.com/problems/meeting-rooms-ii
403,Frog Jump,39.7%,Hard,0.5847178330329063, https://leetcode.com/problems/frog-jump
200,Number of Islands,46.8%,Medium,0.44929804774434284, https://leetcode.com/problems/number-of-islands
297,Serialize and Deserialize Binary Tree,47.5%,Hard,0.41418643622197904, https://leetcode.com/problems/serialize-and-deserialize-binary-tree
56,Merge Intervals,39.3%,Medium,0.4061026968850166, https://leetcode.com/problems/merge-intervals
394,Decode String,50.0%,Medium,0.37929539037477966, https://leetcode.com/problems/decode-string
227,Basic Calculator II,36.9%,Medium,0.3709825801608562, https://leetcode.com/problems/basic-calculator-ii
415,Add Strings,47.5%,Easy,0.3565606952191458, https://leetcode.com/problems/add-strings
17,Letter Combinations of a Phone Number,46.8%,Medium,0.33514787929267054, https://leetcode.com/problems/letter-combinations-of-a-phone-number
73,Set Matrix Zeroes,43.1%,Medium,0.3336019272255533, https://leetcode.com/problems/set-matrix-zeroes
33,Search in Rotated Sorted Array,34.5%,Medium,0.33035289065162005, https://leetcode.com/problems/search-in-rotated-sorted-array
54,Spiral Matrix,34.1%,Medium,0.3163765745699599, https://leetcode.com/problems/spiral-matrix
53,Maximum Subarray,46.5%,Easy,0.3123508739120354, https://leetcode.com/problems/maximum-subarray
1242,Web Crawler Multithreaded,45.9%,Medium,0.30961714931803663, https://leetcode.com/problems/web-crawler-multithreaded
706,Design HashMap,61.3%,Easy,0.30607943759149703, https://leetcode.com/problems/design-hashmap
636,Exclusive Time of Functions,51.9%,Medium,0.29258241998390533, https://leetcode.com/problems/exclusive-time-of-functions
692,Top K Frequent Words,51.8%,Medium,0.27668253048640057, https://leetcode.com/problems/top-k-frequent-words
599,Minimum Index Sum of Two Lists,50.7%,Easy,0.2723477084516743, https://leetcode.com/problems/minimum-index-sum-of-two-lists
173,Binary Search Tree Iterator,56.6%,Medium,0.2676620302183387, https://leetcode.com/problems/binary-search-tree-iterator
20,Valid Parentheses,39.0%,Easy,0.26589700119033977, https://leetcode.com/problems/valid-parentheses
127,Word Ladder,29.6%,Medium,0.25762464516780426, https://leetcode.com/problems/word-ladder
126,Word Ladder II,22.1%,Hard,0.25503976484865665, https://leetcode.com/problems/word-ladder-ii
75,Sort Colors,47.3%,Medium,0.24805587169410617, https://leetcode.com/problems/sort-colors
535,Encode and Decode TinyURL,79.9%,Medium,0.23740366313104297, https://leetcode.com/problems/encode-and-decode-tinyurl
545,Boundary of Binary Tree,38.9%,Medium,0.235382573048932, https://leetcode.com/problems/boundary-of-binary-tree
1188,Design Bounded Blocking Queue,70.5%,Medium,0.23300728083654992, https://leetcode.com/problems/design-bounded-blocking-queue
722,Remove Comments,34.6%,Medium,0.2297333609932653, https://leetcode.com/problems/remove-comments
1190,Reverse Substrings Between Each Pair of Parentheses,61.5%,Medium,0.22128423872402644, https://leetcode.com/problems/reverse-substrings-between-each-pair-of-parentheses
236,Lowest Common Ancestor of a Binary Tree,45.7%,Medium,0.2082667520997665, https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-tree
232,Implement Queue using Stacks,49.6%,Easy,0.20615437352136948, https://leetcode.com/problems/implement-queue-using-stacks
37,Sudoku Solver,43.6%,Hard,0.20309089276282075, https://leetcode.com/problems/sudoku-solver
138,Copy List with Random Pointer,36.4%,Medium,0.20177099180675884, https://leetcode.com/problems/copy-list-with-random-pointer
426,Convert Binary Search Tree to Sorted Doubly Linked List,59.1%,Medium,0.19933290262049122, https://leetcode.com/problems/convert-binary-search-tree-to-sorted-doubly-linked-list
42,Trapping Rain Water,48.9%,Hard,0.19363009358633576, https://leetcode.com/problems/trapping-rain-water
206,Reverse Linked List,62.5%,Easy,0.19179339445652105, https://leetcode.com/problems/reverse-linked-list
46,Permutations,63.5%,Medium,0.18816690901782251, https://leetcode.com/problems/permutations
438,Find All Anagrams in a String,43.3%,Medium,0.18564799141482685, https://leetcode.com/problems/find-all-anagrams-in-a-string
380,Insert Delete GetRandom O(1),47.5%,Medium,0.18219818377547725, https://leetcode.com/problems/insert-delete-getrandom-o1
1212,Team Scores in Football Tournament,55.8%,Medium,0.17728013452102853, https://leetcode.com/problems/team-scores-in-football-tournament
238,Product of Array Except Self,60.1%,Medium,0.1764463022920214, https://leetcode.com/problems/product-of-array-except-self
230,Kth Smallest Element in a BST,60.2%,Medium,0.17586503601879516, https://leetcode.com/problems/kth-smallest-element-in-a-bst
2,Add Two Numbers,33.9%,Medium,0.17086242673531185, https://leetcode.com/problems/add-two-numbers
43,Multiply Strings,33.9%,Medium,0.17061651017204038, https://leetcode.com/problems/multiply-strings
609,Find Duplicate File in System,59.5%,Medium,0.16971838464062922, https://leetcode.com/problems/find-duplicate-file-in-system
349,Intersection of Two Arrays,62.5%,Easy,0.16713804301987062, https://leetcode.com/problems/intersection-of-two-arrays
715,Range Module,38.5%,Hard,0.1636294237818021, https://leetcode.com/problems/range-module
121,Best Time to Buy and Sell Stock,50.5%,Easy,0.1589005268310668, https://leetcode.com/problems/best-time-to-buy-and-sell-stock
141,Linked List Cycle,41.1%,Easy,0.15827948939978168, https://leetcode.com/problems/linked-list-cycle
139,Word Break,40.1%,Medium,0.1526025947499831, https://leetcode.com/problems/word-break
314,Binary Tree Vertical Order Traversal,45.3%,Medium,0.15148600467306356, https://leetcode.com/problems/binary-tree-vertical-order-traversal
21,Merge Two Sorted Lists,53.5%,Easy,0.15110619328155395, https://leetcode.com/problems/merge-two-sorted-lists
863,All Nodes Distance K in Binary Tree,55.4%,Medium,0.14315784643382565, https://leetcode.com/problems/all-nodes-distance-k-in-binary-tree
34,Find First and Last Position of Element in Sorted Array,36.2%,Medium,0.14257571553993023, https://leetcode.com/problems/find-first-and-last-position-of-element-in-sorted-array
208,Implement Trie (Prefix Tree),49.4%,Medium,0.13658526585058278, https://leetcode.com/problems/implement-trie-prefix-tree
10,Regular Expression Matching,26.8%,Hard,0.13632230148088326, https://leetcode.com/problems/regular-expression-matching
5,Longest Palindromic Substring,29.5%,Medium,0.13631574933960264, https://leetcode.com/problems/longest-palindromic-substring
1044,Longest Duplicate Substring,31.9%,Hard,0.1351378186727963, https://leetcode.com/problems/longest-duplicate-substring
195,Tenth Line,33.0%,Easy,0.1329388000145885, https://leetcode.com/problems/tenth-line
4,Median of Two Sorted Arrays,29.6%,Hard,0.13162453469432595, https://leetcode.com/problems/median-of-two-sorted-arrays
3,Longest Substring Without Repeating Characters,30.4%,Medium,0.13147131860020772, https://leetcode.com/problems/longest-substring-without-repeating-characters
214,Shortest Palindrome,29.8%,Hard,0.13026519483790147, https://leetcode.com/problems/shortest-palindrome
958,Check Completeness of a Binary Tree,52.1%,Medium,0.12884496089089562, https://leetcode.com/problems/check-completeness-of-a-binary-tree
694,Number of Distinct Islands,56.0%,Medium,0.12516314295400602, https://leetcode.com/problems/number-of-distinct-islands
163,Missing Ranges,24.3%,Medium,0.11821867060119497, https://leetcode.com/problems/missing-ranges
207,Course Schedule,43.1%,Medium,0.11725761496207857, https://leetcode.com/problems/course-schedule
160,Intersection of Two Linked Lists,40.6%,Easy,0.11585676607984101, https://leetcode.com/problems/intersection-of-two-linked-lists
101,Symmetric Tree,46.8%,Easy,0.11583847861592966, https://leetcode.com/problems/symmetric-tree
503,Next Greater Element II,56.5%,Medium,0.11242734769506908, https://leetcode.com/problems/next-greater-element-ii
344,Reverse String,68.5%,Easy,0.11144968419514555, https://leetcode.com/problems/reverse-string
965,Univalued Binary Tree,67.7%,Easy,0.11132479473250746, https://leetcode.com/problems/univalued-binary-tree
412,Fizz Buzz,62.3%,Easy,0.1089140648664841, https://leetcode.com/problems/fizz-buzz
204,Count Primes,31.5%,Easy,0.10755824083435236, https://leetcode.com/problems/count-primes
295,Find Median from Data Stream,44.3%,Hard,0.10502147513923703, https://leetcode.com/problems/find-median-from-data-stream
273,Integer to English Words,27.1%,Hard,0.10380963271229693, https://leetcode.com/problems/integer-to-english-words
417,Pacific Atlantic Water Flow,41.1%,Medium,0.10008345855698253, https://leetcode.com/problems/pacific-atlantic-water-flow
12,Integer to Roman,55.1%,Medium,0.09981819303484349, https://leetcode.com/problems/integer-to-roman
13,Roman to Integer,55.7%,Easy,0.09884785502028326, https://leetcode.com/problems/roman-to-integer
71,Simplify Path,32.6%,Medium,0.09754315430863725, https://leetcode.com/problems/simplify-path
1236,Web Crawler,64.3%,Medium,0.09531017980432487, https://leetcode.com/problems/web-crawler
215,Kth Largest Element in an Array,55.4%,Medium,0.09326418878681669, https://leetcode.com/problems/kth-largest-element-in-an-array
794,Valid Tic-Tac-Toe State,32.6%,Medium,0.0922312242160336, https://leetcode.com/problems/valid-tic-tac-toe-state
243,Shortest Word Distance,61.0%,Easy,0.08952296190665864, https://leetcode.com/problems/shortest-word-distance
652,Find Duplicate Subtrees,50.2%,Medium,0.08907963005368878, https://leetcode.com/problems/find-duplicate-subtrees
109,Convert Sorted List to Binary Search Tree,47.7%,Medium,0.08701137698962977, https://leetcode.com/problems/convert-sorted-list-to-binary-search-tree
449,Serialize and Deserialize BST,52.0%,Medium,0.08696405427235052, https://leetcode.com/problems/serialize-and-deserialize-bst
116,Populating Next Right Pointers in Each Node,45.2%,Medium,0.08636683942300452, https://leetcode.com/problems/populating-next-right-pointers-in-each-node
114,Flatten Binary Tree to Linked List,49.3%,Medium,0.08137267196054322, https://leetcode.com/problems/flatten-binary-tree-to-linked-list
242,Valid Anagram,56.9%,Easy,0.08093090313491587, https://leetcode.com/problems/valid-anagram
29,Divide Two Integers,16.4%,Medium,0.07996429167663288, https://leetcode.com/problems/divide-two-integers
57,Insert Interval,33.5%,Hard,0.07930596581741095, https://leetcode.com/problems/insert-interval
341,Flatten Nested List Iterator,52.9%,Medium,0.07763353611776078, https://leetcode.com/problems/flatten-nested-list-iterator
49,Group Anagrams,56.9%,Medium,0.07434615245733686, https://leetcode.com/problems/group-anagrams
721,Accounts Merge,48.8%,Medium,0.07349495575336484, https://leetcode.com/problems/accounts-merge
155,Min Stack,44.5%,Easy,0.07340219281226193, https://leetcode.com/problems/min-stack
505,The Maze II,47.7%,Medium,0.07133147800542972, https://leetcode.com/problems/the-maze-ii
205,Isomorphic Strings,39.8%,Easy,0.0700566499345432, https://leetcode.com/problems/isomorphic-strings
136,Single Number,65.5%,Easy,0.0693807551554477, https://leetcode.com/problems/single-number
284,Peeking Iterator,45.7%,Medium,0.06867686579621939, https://leetcode.com/problems/peeking-iterator
289,Game of Life,54.5%,Medium,0.06756473699960104, https://leetcode.com/problems/game-of-life
199,Binary Tree Right Side View,54.1%,Medium,0.06748154336946242, https://leetcode.com/problems/binary-tree-right-side-view
560,Subarray Sum Equals K,43.9%,Medium,0.06636621624059272, https://leetcode.com/problems/subarray-sum-equals-k
1197,Minimum Knight Moves,36.1%,Medium,0.06562120535847293, https://leetcode.com/problems/minimum-knight-moves
15,3Sum,26.8%,Medium,0.06446972405454035, https://leetcode.com/problems/3sum
51,N-Queens,46.6%,Hard,0.06402185876493102, https://leetcode.com/problems/n-queens
1170,Compare Strings by Frequency of the Smallest Character,58.7%,Easy,0.060901617340111645, https://leetcode.com/problems/compare-strings-by-frequency-of-the-smallest-character
305,Number of Islands II,40.1%,Hard,0.06007812394328337, https://leetcode.com/problems/number-of-islands-ii
355,Design Twitter,30.3%,Medium,0.05824061998094904, https://leetcode.com/problems/design-twitter
45,Jump Game II,30.6%,Hard,0.05822366027889668, https://leetcode.com/problems/jump-game-ii
741,Cherry Pickup,33.9%,Hard,0.056512210263342307, https://leetcode.com/problems/cherry-pickup
41,First Missing Positive,32.0%,Hard,0.056273635982108605, https://leetcode.com/problems/first-missing-positive
32,Longest Valid Parentheses,28.4%,Hard,0.0556316959861487, https://leetcode.com/problems/longest-valid-parentheses
128,Longest Consecutive Sequence,45.1%,Hard,0.05527490034186498, https://leetcode.com/problems/longest-consecutive-sequence
7,Reverse Integer,25.8%,Easy,0.054824382173728654, https://leetcode.com/problems/reverse-integer
76,Minimum Window Substring,34.6%,Hard,0.05473322196089386, https://leetcode.com/problems/minimum-window-substring
836,Rectangle Overlap,48.6%,Easy,0.05371219359052555, https://leetcode.com/problems/rectangle-overlap
894,All Possible Full Binary Trees,75.2%,Medium,0.052436651273043935, https://leetcode.com/problems/all-possible-full-binary-trees
94,Binary Tree Inorder Traversal,63.3%,Medium,0.052376558898168765, https://leetcode.com/problems/binary-tree-inorder-traversal
767,Reorganize String,48.7%,Medium,0.05216306328458592, https://leetcode.com/problems/reorganize-string
14,Longest Common Prefix,35.4%,Easy,0.051846064173015856, https://leetcode.com/problems/longest-common-prefix
209,Minimum Size Subarray Sum,38.2%,Medium,0.05146227039335983, https://leetcode.com/problems/minimum-size-subarray-sum
235,Lowest Common Ancestor of a Binary Search Tree,49.9%,Easy,0.050282057186910374, https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-search-tree
695,Max Area of Island,62.7%,Medium,0.04980799142417255, https://leetcode.com/problems/max-area-of-island
518,Coin Change 2,50.2%,Medium,0.04919528672454412, https://leetcode.com/problems/coin-change-2
445,Add Two Numbers II,54.5%,Medium,0.04843561709959499, https://leetcode.com/problems/add-two-numbers-ii
125,Valid Palindrome,36.7%,Easy,0.047702249651065814, https://leetcode.com/problems/valid-palindrome
876,Middle of the Linked List,68.4%,Easy,0.046728740327781716, https://leetcode.com/problems/middle-of-the-linked-list
240,Search a 2D Matrix II,43.2%,Medium,0.04647676584572884, https://leetcode.com/problems/search-a-2d-matrix-ii
283,Move Zeroes,57.8%,Easy,0.04519585811312136, https://leetcode.com/problems/move-zeroes
36,Valid Sudoku,48.7%,Medium,0.04452302288876419, https://leetcode.com/problems/valid-sudoku
529,Minesweeper,59.1%,Medium,0.044255009004040724, https://leetcode.com/problems/minesweeper
268,Missing Number,51.7%,Easy,0.043089480538103624, https://leetcode.com/problems/missing-number
184,Department Highest Salary,36.7%,Medium,0.041672696400568025, https://leetcode.com/problems/department-highest-salary
532,K-diff Pairs in an Array,31.6%,Easy,0.041672696400568025, https://leetcode.com/problems/k-diff-pairs-in-an-array
92,Reverse Linked List II,38.8%,Medium,0.041073535208287514, https://leetcode.com/problems/reverse-linked-list-ii
1008,Construct Binary Search Tree from Preorder Traversal,78.4%,Medium,0.04102671995624437, https://leetcode.com/problems/construct-binary-search-tree-from-preorder-traversal
79,Word Search,35.6%,Medium,0.0408086655410548, https://leetcode.com/problems/word-search
212,Word Search II,34.9%,Hard,0.03881156536434583, https://leetcode.com/problems/word-search-ii
113,Path Sum II,46.7%,Medium,0.03857758982167768, https://leetcode.com/problems/path-sum-ii
24,Swap Nodes in Pairs,50.4%,Medium,0.03826607060639552, https://leetcode.com/problems/swap-nodes-in-pairs
19,Remove Nth Node From End of List,35.2%,Medium,0.03704967488869408, https://leetcode.com/problems/remove-nth-node-from-end-of-list
322,Coin Change,35.5%,Medium,0.03569682997206547, https://leetcode.com/problems/coin-change
973,K Closest Points to Origin,63.8%,Medium,0.035550452059401896, https://leetcode.com/problems/k-closest-points-to-origin
59,Spiral Matrix II,53.9%,Medium,0.0351873674509732, https://leetcode.com/problems/spiral-matrix-ii
105,Construct Binary Tree from Preorder and Inorder Traversal,48.8%,Medium,0.03466791990373826, https://leetcode.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal
543,Diameter of Binary Tree,48.4%,Easy,0.032708305572393875, https://leetcode.com/problems/diameter-of-binary-tree
350,Intersection of Two Arrays II,51.4%,Easy,0.0321281809578036, https://leetcode.com/problems/intersection-of-two-arrays-ii
150,Evaluate Reverse Polish Notation,36.3%,Medium,0.031526253646773944, https://leetcode.com/problems/evaluate-reverse-polish-notation
55,Jump Game,34.6%,Medium,0.030985252381807864, https://leetcode.com/problems/jump-game
38,Count and Say,44.6%,Easy,0.030956234663467107, https://leetcode.com/problems/count-and-say
179,Largest Number,28.8%,Medium,0.03093030069135863, https://leetcode.com/problems/largest-number
151,Reverse Words in a String,21.9%,Medium,0.03068306302420247, https://leetcode.com/problems/reverse-words-in-a-string
347,Top K Frequent Elements,61.2%,Medium,0.029662726238554857, https://leetcode.com/problems/top-k-frequent-elements
496,Next Greater Element I,63.8%,Easy,0.029462032730316202, https://leetcode.com/problems/next-greater-element-i
456,132 Pattern,28.9%,Medium,0.029306126585499394, https://leetcode.com/problems/132-pattern
169,Majority Element,58.7%,Easy,0.02905829743134675, https://leetcode.com/problems/majority-element
62,Unique Paths,54.1%,Medium,0.02853749186115581, https://leetcode.com/problems/unique-paths
938,Range Sum of BST,81.3%,Easy,0.027755467721532374, https://leetcode.com/problems/range-sum-of-bst
437,Path Sum III,47.2%,Medium,0.02708561605844235, https://leetcode.com/problems/path-sum-iii
796,Rotate String,49.6%,Easy,0.02701041988276247, https://leetcode.com/problems/rotate-string
103,Binary Tree Zigzag Level Order Traversal,48.3%,Medium,0.0269910535894593, https://leetcode.com/problems/binary-tree-zigzag-level-order-traversal
1305,All Elements in Two Binary Search Trees,76.1%,Medium,0.026282721799194744, https://leetcode.com/problems/all-elements-in-two-binary-search-trees
98,Validate Binary Search Tree,27.8%,Medium,0.026187123416340663, https://leetcode.com/problems/validate-binary-search-tree
91,Decode Ways,24.7%,Medium,0.023662742620848144, https://leetcode.com/problems/decode-ways
26,Remove Duplicates from Sorted Array,45.1%,Easy,0.02364518575043321, https://leetcode.com/problems/remove-duplicates-from-sorted-array
844,Backspace String Compare,46.4%,Easy,0.0235551325028849, https://leetcode.com/problems/backspace-string-compare
622,Design Circular Queue,43.8%,Medium,0.02246023667974994, https://leetcode.com/problems/design-circular-queue
981,Time Based Key-Value Store,53.1%,Medium,0.02226024024151985, https://leetcode.com/problems/time-based-key-value-store
152,Maximum Product Subarray,31.7%,Medium,0.022176931045949227, https://leetcode.com/problems/maximum-product-subarray
221,Maximal Square,37.7%,Medium,0.022108490754203434, https://leetcode.com/problems/maximal-square
112,Path Sum,41.2%,Easy,0.021701651897460775, https://leetcode.com/problems/path-sum
300,Longest Increasing Subsequence,42.6%,Medium,0.020893943681912164, https://leetcode.com/problems/longest-increasing-subsequence
9,Palindrome Number,48.4%,Easy,0.018837205580381582, https://leetcode.com/problems/palindrome-number
88,Merge Sorted Array,39.4%,Easy,0.018667009593356397, https://leetcode.com/problems/merge-sorted-array
617,Merge Two Binary Trees,74.1%,Easy,0.018496211633622316, https://leetcode.com/problems/merge-two-binary-trees
239,Sliding Window Maximum,43.0%,Hard,0.01768566434627554, https://leetcode.com/problems/sliding-window-maximum
50,Pow(x;n),30.3%,Medium,0.017036779497025166, https://leetcode.com/problems/powx-n
402,Remove K Digits,28.4%,Medium,0.016863806052004816, https://leetcode.com/problems/remove-k-digits
340,Longest Substring with At Most K Distinct Characters,44.1%,Hard,0.016122880486563188, https://leetcode.com/problems/longest-substring-with-at-most-k-distinct-characters
217,Contains Duplicate,56.0%,Easy,0.015106027431013205, https://leetcode.com/problems/contains-duplicate
707,Design Linked List,24.5%,Medium,0.015054857167065819, https://leetcode.com/problems/design-linked-list
102,Binary Tree Level Order Traversal,54.6%,Medium,0.014477270588287548, https://leetcode.com/problems/binary-tree-level-order-traversal
107,Binary Tree Level Order Traversal II,53.5%,Easy,0.014395642075089957, https://leetcode.com/problems/binary-tree-level-order-traversal-ii
315,Count of Smaller Numbers After Self,41.5%,Hard,0.014352596574956585, https://leetcode.com/problems/count-of-smaller-numbers-after-self
44,Wildcard Matching,24.7%,Hard,0.013703537497261858, https://leetcode.com/problems/wildcard-matching
70,Climbing Stairs,47.8%,Easy,0.013494975575004323, https://leetcode.com/problems/climbing-stairs
122,Best Time to Buy and Sell Stock II,57.0%,Easy,0.013351333174864208, https://leetcode.com/problems/best-time-to-buy-and-sell-stock-ii
1047,Remove All Adjacent Duplicates In String,68.6%,Easy,0.013059277989179281, https://leetcode.com/problems/remove-all-adjacent-duplicates-in-string
108,Convert Sorted Array to Binary Search Tree,57.9%,Easy,0.012453461071286613, https://leetcode.com/problems/convert-sorted-array-to-binary-search-tree
287,Find the Duplicate Number,55.5%,Medium,0.012335682739188652, https://leetcode.com/problems/find-the-duplicate-number
11,Container With Most Water,50.8%,Medium,0.012214824746492168, https://leetcode.com/problems/container-with-most-water
986,Interval List Intersections,67.3%,Medium,0.011969023795320735, https://leetcode.com/problems/interval-list-intersections
119,Pascal's Triangle II,49.0%,Easy,0.011894282360609866, https://leetcode.com/problems/pascals-triangle-ii
210,Course Schedule II,40.7%,Medium,0.011869857339029215, https://leetcode.com/problems/course-schedule-ii
264,Ugly Number II,42.0%,Medium,0.011604423810414601, https://leetcode.com/problems/ugly-number-ii
117,Populating Next Right Pointers in Each Node II,39.1%,Medium,0.011389644764357807, https://leetcode.com/problems/populating-next-right-pointers-in-each-node-ii
819,Most Common Word,44.8%,Easy,0.010269666637456105, https://leetcode.com/problems/most-common-word
905,Sort Array By Parity,74.1%,Easy,0.009603915354180344, https://leetcode.com/problems/sort-array-by-parity
621,Task Scheduler,50.1%,Medium,0.009334412329990095, https://leetcode.com/problems/task-scheduler
28,Implement strStr(),34.5%,Easy,0.008850485542574548, https://leetcode.com/problems/implement-strstr
8,String to Integer (atoi),15.4%,Medium,0.008513104762248265, https://leetcode.com/problems/string-to-integer-atoi
153,Find Minimum in Rotated Sorted Array,45.1%,Medium,0.008430963288799368, https://leetcode.com/problems/find-minimum-in-rotated-sorted-array
977,Squares of a Sorted Array,72.1%,Easy,0.003891055492966611, https://leetcode.com/problems/squares-of-a-sorted-array
67,Add Binary,45.2%,Easy,0.003735684238128885, https://leetcode.com/problems/add-binary
140,Word Break II,32.6%,Hard,0.0027070942357783584, https://leetcode.com/problems/word-break-ii
1380,Lucky Numbers in a Matrix,71.5%,Easy,0, https://leetcode.com/problems/lucky-numbers-in-a-matrix
1410,HTML Entity Parser,54.0%,Medium,0, https://leetcode.com/problems/html-entity-parser
1 425 ID Word Squares Title 47.7% Acceptance Hard Difficulty 1.3737846439355526 Frequency https://leetcode.com/problems/word-squares Leetcode Question Link
2 146 425 LRU Cache Word Squares 33.2% 47.7% Medium Hard 1.2233383443716415 1.3737846439355526 https://leetcode.com/problems/lru-cache https://leetcode.com/problems/word-squares
3 352 146 Data Stream as Disjoint Intervals LRU Cache 47.3% 33.2% Hard Medium 1.0728920448077304 1.2233383443716415 https://leetcode.com/problems/data-stream-as-disjoint-intervals https://leetcode.com/problems/lru-cache
4 450 352 Delete Node in a BST Data Stream as Disjoint Intervals 43.1% 47.3% Medium Hard 0.9224457452438195 1.0728920448077304 https://leetcode.com/problems/delete-node-in-a-bst https://leetcode.com/problems/data-stream-as-disjoint-intervals
5 362 450 Design Hit Counter Delete Node in a BST 63.7% 43.1% Medium Medium 0.8944603431177579 0.9224457452438195 https://leetcode.com/problems/design-hit-counter https://leetcode.com/problems/delete-node-in-a-bst
6 1 362 Two Sum Design Hit Counter 45.6% 63.7% Easy Medium 0.8671080762741441 0.8944603431177579 https://leetcode.com/problems/two-sum https://leetcode.com/problems/design-hit-counter
7 554 1 Brick Wall Two Sum 50.0% 45.6% Medium Easy 0.8487112881843506 0.8671080762741441 https://leetcode.com/problems/brick-wall https://leetcode.com/problems/two-sum
8 23 554 Merge k Sorted Lists Brick Wall 40.2% 50.0% Hard Medium 0.744432863023671 0.8487112881843506 https://leetcode.com/problems/merge-k-sorted-lists https://leetcode.com/problems/brick-wall
9 253 23 Meeting Rooms II Merge k Sorted Lists 45.7% 40.2% Medium Hard 0.59398656345976 0.744432863023671 https://leetcode.com/problems/meeting-rooms-ii https://leetcode.com/problems/merge-k-sorted-lists
10 403 253 Frog Jump Meeting Rooms II 39.7% 45.7% Hard Medium 0.5847178330329063 0.59398656345976 https://leetcode.com/problems/frog-jump https://leetcode.com/problems/meeting-rooms-ii
11 200 403 Number of Islands Frog Jump 46.8% 39.7% Medium Hard 0.44929804774434284 0.5847178330329063 https://leetcode.com/problems/number-of-islands https://leetcode.com/problems/frog-jump
12 297 200 Serialize and Deserialize Binary Tree Number of Islands 47.5% 46.8% Hard Medium 0.41418643622197904 0.44929804774434284 https://leetcode.com/problems/serialize-and-deserialize-binary-tree https://leetcode.com/problems/number-of-islands
13 56 297 Merge Intervals Serialize and Deserialize Binary Tree 39.3% 47.5% Medium Hard 0.4061026968850166 0.41418643622197904 https://leetcode.com/problems/merge-intervals https://leetcode.com/problems/serialize-and-deserialize-binary-tree
14 394 56 Decode String Merge Intervals 50.0% 39.3% Medium Medium 0.37929539037477966 0.4061026968850166 https://leetcode.com/problems/decode-string https://leetcode.com/problems/merge-intervals
15 227 394 Basic Calculator II Decode String 36.9% 50.0% Medium Medium 0.3709825801608562 0.37929539037477966 https://leetcode.com/problems/basic-calculator-ii https://leetcode.com/problems/decode-string
16 415 227 Add Strings Basic Calculator II 47.5% 36.9% Easy Medium 0.3565606952191458 0.3709825801608562 https://leetcode.com/problems/add-strings https://leetcode.com/problems/basic-calculator-ii
17 17 415 Letter Combinations of a Phone Number Add Strings 46.8% 47.5% Medium Easy 0.33514787929267054 0.3565606952191458 https://leetcode.com/problems/letter-combinations-of-a-phone-number https://leetcode.com/problems/add-strings
18 73 17 Set Matrix Zeroes Letter Combinations of a Phone Number 43.1% 46.8% Medium Medium 0.3336019272255533 0.33514787929267054 https://leetcode.com/problems/set-matrix-zeroes https://leetcode.com/problems/letter-combinations-of-a-phone-number
19 33 73 Search in Rotated Sorted Array Set Matrix Zeroes 34.5% 43.1% Medium Medium 0.33035289065162005 0.3336019272255533 https://leetcode.com/problems/search-in-rotated-sorted-array https://leetcode.com/problems/set-matrix-zeroes
20 54 33 Spiral Matrix Search in Rotated Sorted Array 34.1% 34.5% Medium Medium 0.3163765745699599 0.33035289065162005 https://leetcode.com/problems/spiral-matrix https://leetcode.com/problems/search-in-rotated-sorted-array
21 53 54 Maximum Subarray Spiral Matrix 46.5% 34.1% Easy Medium 0.3123508739120354 0.3163765745699599 https://leetcode.com/problems/maximum-subarray https://leetcode.com/problems/spiral-matrix
22 1242 53 Web Crawler Multithreaded Maximum Subarray 45.9% 46.5% Medium Easy 0.30961714931803663 0.3123508739120354 https://leetcode.com/problems/web-crawler-multithreaded https://leetcode.com/problems/maximum-subarray
23 706 1242 Design HashMap Web Crawler Multithreaded 61.3% 45.9% Easy Medium 0.30607943759149703 0.30961714931803663 https://leetcode.com/problems/design-hashmap https://leetcode.com/problems/web-crawler-multithreaded
24 636 706 Exclusive Time of Functions Design HashMap 51.9% 61.3% Medium Easy 0.29258241998390533 0.30607943759149703 https://leetcode.com/problems/exclusive-time-of-functions https://leetcode.com/problems/design-hashmap
25 692 636 Top K Frequent Words Exclusive Time of Functions 51.8% 51.9% Medium Medium 0.27668253048640057 0.29258241998390533 https://leetcode.com/problems/top-k-frequent-words https://leetcode.com/problems/exclusive-time-of-functions
26 599 692 Minimum Index Sum of Two Lists Top K Frequent Words 50.7% 51.8% Easy Medium 0.2723477084516743 0.27668253048640057 https://leetcode.com/problems/minimum-index-sum-of-two-lists https://leetcode.com/problems/top-k-frequent-words
27 173 599 Binary Search Tree Iterator Minimum Index Sum of Two Lists 56.6% 50.7% Medium Easy 0.2676620302183387 0.2723477084516743 https://leetcode.com/problems/binary-search-tree-iterator https://leetcode.com/problems/minimum-index-sum-of-two-lists
28 20 173 Valid Parentheses Binary Search Tree Iterator 39.0% 56.6% Easy Medium 0.26589700119033977 0.2676620302183387 https://leetcode.com/problems/valid-parentheses https://leetcode.com/problems/binary-search-tree-iterator
29 127 20 Word Ladder Valid Parentheses 29.6% 39.0% Medium Easy 0.25762464516780426 0.26589700119033977 https://leetcode.com/problems/word-ladder https://leetcode.com/problems/valid-parentheses
30 126 127 Word Ladder II Word Ladder 22.1% 29.6% Hard Medium 0.25503976484865665 0.25762464516780426 https://leetcode.com/problems/word-ladder-ii https://leetcode.com/problems/word-ladder
31 75 126 Sort Colors Word Ladder II 47.3% 22.1% Medium Hard 0.24805587169410617 0.25503976484865665 https://leetcode.com/problems/sort-colors https://leetcode.com/problems/word-ladder-ii
32 535 75 Encode and Decode TinyURL Sort Colors 79.9% 47.3% Medium Medium 0.23740366313104297 0.24805587169410617 https://leetcode.com/problems/encode-and-decode-tinyurl https://leetcode.com/problems/sort-colors
33 545 535 Boundary of Binary Tree Encode and Decode TinyURL 38.9% 79.9% Medium Medium 0.235382573048932 0.23740366313104297 https://leetcode.com/problems/boundary-of-binary-tree https://leetcode.com/problems/encode-and-decode-tinyurl
34 1188 545 Design Bounded Blocking Queue Boundary of Binary Tree 70.5% 38.9% Medium Medium 0.23300728083654992 0.235382573048932 https://leetcode.com/problems/design-bounded-blocking-queue https://leetcode.com/problems/boundary-of-binary-tree
35 722 1188 Remove Comments Design Bounded Blocking Queue 34.6% 70.5% Medium Medium 0.2297333609932653 0.23300728083654992 https://leetcode.com/problems/remove-comments https://leetcode.com/problems/design-bounded-blocking-queue
36 1190 722 Reverse Substrings Between Each Pair of Parentheses Remove Comments 61.5% 34.6% Medium Medium 0.22128423872402644 0.2297333609932653 https://leetcode.com/problems/reverse-substrings-between-each-pair-of-parentheses https://leetcode.com/problems/remove-comments
37 236 1190 Lowest Common Ancestor of a Binary Tree Reverse Substrings Between Each Pair of Parentheses 45.7% 61.5% Medium Medium 0.2082667520997665 0.22128423872402644 https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-tree https://leetcode.com/problems/reverse-substrings-between-each-pair-of-parentheses
38 232 236 Implement Queue using Stacks Lowest Common Ancestor of a Binary Tree 49.6% 45.7% Easy Medium 0.20615437352136948 0.2082667520997665 https://leetcode.com/problems/implement-queue-using-stacks https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-tree
39 37 232 Sudoku Solver Implement Queue using Stacks 43.6% 49.6% Hard Easy 0.20309089276282075 0.20615437352136948 https://leetcode.com/problems/sudoku-solver https://leetcode.com/problems/implement-queue-using-stacks
40 138 37 Copy List with Random Pointer Sudoku Solver 36.4% 43.6% Medium Hard 0.20177099180675884 0.20309089276282075 https://leetcode.com/problems/copy-list-with-random-pointer https://leetcode.com/problems/sudoku-solver
41 426 138 Convert Binary Search Tree to Sorted Doubly Linked List Copy List with Random Pointer 59.1% 36.4% Medium Medium 0.19933290262049122 0.20177099180675884 https://leetcode.com/problems/convert-binary-search-tree-to-sorted-doubly-linked-list https://leetcode.com/problems/copy-list-with-random-pointer
42 42 426 Trapping Rain Water Convert Binary Search Tree to Sorted Doubly Linked List 48.9% 59.1% Hard Medium 0.19363009358633576 0.19933290262049122 https://leetcode.com/problems/trapping-rain-water https://leetcode.com/problems/convert-binary-search-tree-to-sorted-doubly-linked-list
43 206 42 Reverse Linked List Trapping Rain Water 62.5% 48.9% Easy Hard 0.19179339445652105 0.19363009358633576 https://leetcode.com/problems/reverse-linked-list https://leetcode.com/problems/trapping-rain-water
44 46 206 Permutations Reverse Linked List 63.5% 62.5% Medium Easy 0.18816690901782251 0.19179339445652105 https://leetcode.com/problems/permutations https://leetcode.com/problems/reverse-linked-list
45 438 46 Find All Anagrams in a String Permutations 43.3% 63.5% Medium Medium 0.18564799141482685 0.18816690901782251 https://leetcode.com/problems/find-all-anagrams-in-a-string https://leetcode.com/problems/permutations
46 380 438 Insert Delete GetRandom O(1) Find All Anagrams in a String 47.5% 43.3% Medium Medium 0.18219818377547725 0.18564799141482685 https://leetcode.com/problems/insert-delete-getrandom-o1 https://leetcode.com/problems/find-all-anagrams-in-a-string
47 1212 380 Team Scores in Football Tournament Insert Delete GetRandom O(1) 55.8% 47.5% Medium Medium 0.17728013452102853 0.18219818377547725 https://leetcode.com/problems/team-scores-in-football-tournament https://leetcode.com/problems/insert-delete-getrandom-o1
48 238 1212 Product of Array Except Self Team Scores in Football Tournament 60.1% 55.8% Medium Medium 0.1764463022920214 0.17728013452102853 https://leetcode.com/problems/product-of-array-except-self https://leetcode.com/problems/team-scores-in-football-tournament
49 230 238 Kth Smallest Element in a BST Product of Array Except Self 60.2% 60.1% Medium Medium 0.17586503601879516 0.1764463022920214 https://leetcode.com/problems/kth-smallest-element-in-a-bst https://leetcode.com/problems/product-of-array-except-self
50 2 230 Add Two Numbers Kth Smallest Element in a BST 33.9% 60.2% Medium Medium 0.17086242673531185 0.17586503601879516 https://leetcode.com/problems/add-two-numbers https://leetcode.com/problems/kth-smallest-element-in-a-bst
51 43 2 Multiply Strings Add Two Numbers 33.9% 33.9% Medium Medium 0.17061651017204038 0.17086242673531185 https://leetcode.com/problems/multiply-strings https://leetcode.com/problems/add-two-numbers
52 609 43 Find Duplicate File in System Multiply Strings 59.5% 33.9% Medium Medium 0.16971838464062922 0.17061651017204038 https://leetcode.com/problems/find-duplicate-file-in-system https://leetcode.com/problems/multiply-strings
53 349 609 Intersection of Two Arrays Find Duplicate File in System 62.5% 59.5% Easy Medium 0.16713804301987062 0.16971838464062922 https://leetcode.com/problems/intersection-of-two-arrays https://leetcode.com/problems/find-duplicate-file-in-system
54 715 349 Range Module Intersection of Two Arrays 38.5% 62.5% Hard Easy 0.1636294237818021 0.16713804301987062 https://leetcode.com/problems/range-module https://leetcode.com/problems/intersection-of-two-arrays
55 121 715 Best Time to Buy and Sell Stock Range Module 50.5% 38.5% Easy Hard 0.1589005268310668 0.1636294237818021 https://leetcode.com/problems/best-time-to-buy-and-sell-stock https://leetcode.com/problems/range-module
56 141 121 Linked List Cycle Best Time to Buy and Sell Stock 41.1% 50.5% Easy Easy 0.15827948939978168 0.1589005268310668 https://leetcode.com/problems/linked-list-cycle https://leetcode.com/problems/best-time-to-buy-and-sell-stock
57 139 141 Word Break Linked List Cycle 40.1% 41.1% Medium Easy 0.1526025947499831 0.15827948939978168 https://leetcode.com/problems/word-break https://leetcode.com/problems/linked-list-cycle
58 314 139 Binary Tree Vertical Order Traversal Word Break 45.3% 40.1% Medium Medium 0.15148600467306356 0.1526025947499831 https://leetcode.com/problems/binary-tree-vertical-order-traversal https://leetcode.com/problems/word-break
59 21 314 Merge Two Sorted Lists Binary Tree Vertical Order Traversal 53.5% 45.3% Easy Medium 0.15110619328155395 0.15148600467306356 https://leetcode.com/problems/merge-two-sorted-lists https://leetcode.com/problems/binary-tree-vertical-order-traversal
60 863 21 All Nodes Distance K in Binary Tree Merge Two Sorted Lists 55.4% 53.5% Medium Easy 0.14315784643382565 0.15110619328155395 https://leetcode.com/problems/all-nodes-distance-k-in-binary-tree https://leetcode.com/problems/merge-two-sorted-lists
61 34 863 Find First and Last Position of Element in Sorted Array All Nodes Distance K in Binary Tree 36.2% 55.4% Medium Medium 0.14257571553993023 0.14315784643382565 https://leetcode.com/problems/find-first-and-last-position-of-element-in-sorted-array https://leetcode.com/problems/all-nodes-distance-k-in-binary-tree
62 208 34 Implement Trie (Prefix Tree) Find First and Last Position of Element in Sorted Array 49.4% 36.2% Medium Medium 0.13658526585058278 0.14257571553993023 https://leetcode.com/problems/implement-trie-prefix-tree https://leetcode.com/problems/find-first-and-last-position-of-element-in-sorted-array
63 10 208 Regular Expression Matching Implement Trie (Prefix Tree) 26.8% 49.4% Hard Medium 0.13632230148088326 0.13658526585058278 https://leetcode.com/problems/regular-expression-matching https://leetcode.com/problems/implement-trie-prefix-tree
64 5 10 Longest Palindromic Substring Regular Expression Matching 29.5% 26.8% Medium Hard 0.13631574933960264 0.13632230148088326 https://leetcode.com/problems/longest-palindromic-substring https://leetcode.com/problems/regular-expression-matching
65 1044 5 Longest Duplicate Substring Longest Palindromic Substring 31.9% 29.5% Hard Medium 0.1351378186727963 0.13631574933960264 https://leetcode.com/problems/longest-duplicate-substring https://leetcode.com/problems/longest-palindromic-substring
66 195 1044 Tenth Line Longest Duplicate Substring 33.0% 31.9% Easy Hard 0.1329388000145885 0.1351378186727963 https://leetcode.com/problems/tenth-line https://leetcode.com/problems/longest-duplicate-substring
67 4 195 Median of Two Sorted Arrays Tenth Line 29.6% 33.0% Hard Easy 0.13162453469432595 0.1329388000145885 https://leetcode.com/problems/median-of-two-sorted-arrays https://leetcode.com/problems/tenth-line
68 3 4 Longest Substring Without Repeating Characters Median of Two Sorted Arrays 30.4% 29.6% Medium Hard 0.13147131860020772 0.13162453469432595 https://leetcode.com/problems/longest-substring-without-repeating-characters https://leetcode.com/problems/median-of-two-sorted-arrays
69 214 3 Shortest Palindrome Longest Substring Without Repeating Characters 29.8% 30.4% Hard Medium 0.13026519483790147 0.13147131860020772 https://leetcode.com/problems/shortest-palindrome https://leetcode.com/problems/longest-substring-without-repeating-characters
70 958 214 Check Completeness of a Binary Tree Shortest Palindrome 52.1% 29.8% Medium Hard 0.12884496089089562 0.13026519483790147 https://leetcode.com/problems/check-completeness-of-a-binary-tree https://leetcode.com/problems/shortest-palindrome
71 694 958 Number of Distinct Islands Check Completeness of a Binary Tree 56.0% 52.1% Medium Medium 0.12516314295400602 0.12884496089089562 https://leetcode.com/problems/number-of-distinct-islands https://leetcode.com/problems/check-completeness-of-a-binary-tree
72 163 694 Missing Ranges Number of Distinct Islands 24.3% 56.0% Medium Medium 0.11821867060119497 0.12516314295400602 https://leetcode.com/problems/missing-ranges https://leetcode.com/problems/number-of-distinct-islands
73 207 163 Course Schedule Missing Ranges 43.1% 24.3% Medium Medium 0.11725761496207857 0.11821867060119497 https://leetcode.com/problems/course-schedule https://leetcode.com/problems/missing-ranges
74 160 207 Intersection of Two Linked Lists Course Schedule 40.6% 43.1% Easy Medium 0.11585676607984101 0.11725761496207857 https://leetcode.com/problems/intersection-of-two-linked-lists https://leetcode.com/problems/course-schedule
75 101 160 Symmetric Tree Intersection of Two Linked Lists 46.8% 40.6% Easy Easy 0.11583847861592966 0.11585676607984101 https://leetcode.com/problems/symmetric-tree https://leetcode.com/problems/intersection-of-two-linked-lists
76 503 101 Next Greater Element II Symmetric Tree 56.5% 46.8% Medium Easy 0.11242734769506908 0.11583847861592966 https://leetcode.com/problems/next-greater-element-ii https://leetcode.com/problems/symmetric-tree
77 344 503 Reverse String Next Greater Element II 68.5% 56.5% Easy Medium 0.11144968419514555 0.11242734769506908 https://leetcode.com/problems/reverse-string https://leetcode.com/problems/next-greater-element-ii
78 965 344 Univalued Binary Tree Reverse String 67.7% 68.5% Easy Easy 0.11132479473250746 0.11144968419514555 https://leetcode.com/problems/univalued-binary-tree https://leetcode.com/problems/reverse-string
79 412 965 Fizz Buzz Univalued Binary Tree 62.3% 67.7% Easy Easy 0.1089140648664841 0.11132479473250746 https://leetcode.com/problems/fizz-buzz https://leetcode.com/problems/univalued-binary-tree
80 204 412 Count Primes Fizz Buzz 31.5% 62.3% Easy Easy 0.10755824083435236 0.1089140648664841 https://leetcode.com/problems/count-primes https://leetcode.com/problems/fizz-buzz
81 295 204 Find Median from Data Stream Count Primes 44.3% 31.5% Hard Easy 0.10502147513923703 0.10755824083435236 https://leetcode.com/problems/find-median-from-data-stream https://leetcode.com/problems/count-primes
82 273 295 Integer to English Words Find Median from Data Stream 27.1% 44.3% Hard Hard 0.10380963271229693 0.10502147513923703 https://leetcode.com/problems/integer-to-english-words https://leetcode.com/problems/find-median-from-data-stream
83 417 273 Pacific Atlantic Water Flow Integer to English Words 41.1% 27.1% Medium Hard 0.10008345855698253 0.10380963271229693 https://leetcode.com/problems/pacific-atlantic-water-flow https://leetcode.com/problems/integer-to-english-words
84 12 417 Integer to Roman Pacific Atlantic Water Flow 55.1% 41.1% Medium Medium 0.09981819303484349 0.10008345855698253 https://leetcode.com/problems/integer-to-roman https://leetcode.com/problems/pacific-atlantic-water-flow
85 13 12 Roman to Integer Integer to Roman 55.7% 55.1% Easy Medium 0.09884785502028326 0.09981819303484349 https://leetcode.com/problems/roman-to-integer https://leetcode.com/problems/integer-to-roman
86 71 13 Simplify Path Roman to Integer 32.6% 55.7% Medium Easy 0.09754315430863725 0.09884785502028326 https://leetcode.com/problems/simplify-path https://leetcode.com/problems/roman-to-integer
87 1236 71 Web Crawler Simplify Path 64.3% 32.6% Medium Medium 0.09531017980432487 0.09754315430863725 https://leetcode.com/problems/web-crawler https://leetcode.com/problems/simplify-path
88 215 1236 Kth Largest Element in an Array Web Crawler 55.4% 64.3% Medium Medium 0.09326418878681669 0.09531017980432487 https://leetcode.com/problems/kth-largest-element-in-an-array https://leetcode.com/problems/web-crawler
89 794 215 Valid Tic-Tac-Toe State Kth Largest Element in an Array 32.6% 55.4% Medium Medium 0.0922312242160336 0.09326418878681669 https://leetcode.com/problems/valid-tic-tac-toe-state https://leetcode.com/problems/kth-largest-element-in-an-array
90 243 794 Shortest Word Distance Valid Tic-Tac-Toe State 61.0% 32.6% Easy Medium 0.08952296190665864 0.0922312242160336 https://leetcode.com/problems/shortest-word-distance https://leetcode.com/problems/valid-tic-tac-toe-state
91 652 243 Find Duplicate Subtrees Shortest Word Distance 50.2% 61.0% Medium Easy 0.08907963005368878 0.08952296190665864 https://leetcode.com/problems/find-duplicate-subtrees https://leetcode.com/problems/shortest-word-distance
92 109 652 Convert Sorted List to Binary Search Tree Find Duplicate Subtrees 47.7% 50.2% Medium Medium 0.08701137698962977 0.08907963005368878 https://leetcode.com/problems/convert-sorted-list-to-binary-search-tree https://leetcode.com/problems/find-duplicate-subtrees
93 449 109 Serialize and Deserialize BST Convert Sorted List to Binary Search Tree 52.0% 47.7% Medium Medium 0.08696405427235052 0.08701137698962977 https://leetcode.com/problems/serialize-and-deserialize-bst https://leetcode.com/problems/convert-sorted-list-to-binary-search-tree
94 116 449 Populating Next Right Pointers in Each Node Serialize and Deserialize BST 45.2% 52.0% Medium Medium 0.08636683942300452 0.08696405427235052 https://leetcode.com/problems/populating-next-right-pointers-in-each-node https://leetcode.com/problems/serialize-and-deserialize-bst
95 114 116 Flatten Binary Tree to Linked List Populating Next Right Pointers in Each Node 49.3% 45.2% Medium Medium 0.08137267196054322 0.08636683942300452 https://leetcode.com/problems/flatten-binary-tree-to-linked-list https://leetcode.com/problems/populating-next-right-pointers-in-each-node
96 242 114 Valid Anagram Flatten Binary Tree to Linked List 56.9% 49.3% Easy Medium 0.08093090313491587 0.08137267196054322 https://leetcode.com/problems/valid-anagram https://leetcode.com/problems/flatten-binary-tree-to-linked-list
97 29 242 Divide Two Integers Valid Anagram 16.4% 56.9% Medium Easy 0.07996429167663288 0.08093090313491587 https://leetcode.com/problems/divide-two-integers https://leetcode.com/problems/valid-anagram
98 57 29 Insert Interval Divide Two Integers 33.5% 16.4% Hard Medium 0.07930596581741095 0.07996429167663288 https://leetcode.com/problems/insert-interval https://leetcode.com/problems/divide-two-integers
99 341 57 Flatten Nested List Iterator Insert Interval 52.9% 33.5% Medium Hard 0.07763353611776078 0.07930596581741095 https://leetcode.com/problems/flatten-nested-list-iterator https://leetcode.com/problems/insert-interval
100 49 341 Group Anagrams Flatten Nested List Iterator 56.9% 52.9% Medium Medium 0.07434615245733686 0.07763353611776078 https://leetcode.com/problems/group-anagrams https://leetcode.com/problems/flatten-nested-list-iterator
101 721 49 Accounts Merge Group Anagrams 48.8% 56.9% Medium Medium 0.07349495575336484 0.07434615245733686 https://leetcode.com/problems/accounts-merge https://leetcode.com/problems/group-anagrams
102 155 721 Min Stack Accounts Merge 44.5% 48.8% Easy Medium 0.07340219281226193 0.07349495575336484 https://leetcode.com/problems/min-stack https://leetcode.com/problems/accounts-merge
103 505 155 The Maze II Min Stack 47.7% 44.5% Medium Easy 0.07133147800542972 0.07340219281226193 https://leetcode.com/problems/the-maze-ii https://leetcode.com/problems/min-stack
104 205 505 Isomorphic Strings The Maze II 39.8% 47.7% Easy Medium 0.0700566499345432 0.07133147800542972 https://leetcode.com/problems/isomorphic-strings https://leetcode.com/problems/the-maze-ii
105 136 205 Single Number Isomorphic Strings 65.5% 39.8% Easy Easy 0.0693807551554477 0.0700566499345432 https://leetcode.com/problems/single-number https://leetcode.com/problems/isomorphic-strings
106 284 136 Peeking Iterator Single Number 45.7% 65.5% Medium Easy 0.06867686579621939 0.0693807551554477 https://leetcode.com/problems/peeking-iterator https://leetcode.com/problems/single-number
107 289 284 Game of Life Peeking Iterator 54.5% 45.7% Medium Medium 0.06756473699960104 0.06867686579621939 https://leetcode.com/problems/game-of-life https://leetcode.com/problems/peeking-iterator
108 199 289 Binary Tree Right Side View Game of Life 54.1% 54.5% Medium Medium 0.06748154336946242 0.06756473699960104 https://leetcode.com/problems/binary-tree-right-side-view https://leetcode.com/problems/game-of-life
109 560 199 Subarray Sum Equals K Binary Tree Right Side View 43.9% 54.1% Medium Medium 0.06636621624059272 0.06748154336946242 https://leetcode.com/problems/subarray-sum-equals-k https://leetcode.com/problems/binary-tree-right-side-view
110 1197 560 Minimum Knight Moves Subarray Sum Equals K 36.1% 43.9% Medium Medium 0.06562120535847293 0.06636621624059272 https://leetcode.com/problems/minimum-knight-moves https://leetcode.com/problems/subarray-sum-equals-k
111 15 1197 3Sum Minimum Knight Moves 26.8% 36.1% Medium Medium 0.06446972405454035 0.06562120535847293 https://leetcode.com/problems/3sum https://leetcode.com/problems/minimum-knight-moves
112 51 15 N-Queens 3Sum 46.6% 26.8% Hard Medium 0.06402185876493102 0.06446972405454035 https://leetcode.com/problems/n-queens https://leetcode.com/problems/3sum
113 1170 51 Compare Strings by Frequency of the Smallest Character N-Queens 58.7% 46.6% Easy Hard 0.060901617340111645 0.06402185876493102 https://leetcode.com/problems/compare-strings-by-frequency-of-the-smallest-character https://leetcode.com/problems/n-queens
114 305 1170 Number of Islands II Compare Strings by Frequency of the Smallest Character 40.1% 58.7% Hard Easy 0.06007812394328337 0.060901617340111645 https://leetcode.com/problems/number-of-islands-ii https://leetcode.com/problems/compare-strings-by-frequency-of-the-smallest-character
115 355 305 Design Twitter Number of Islands II 30.3% 40.1% Medium Hard 0.05824061998094904 0.06007812394328337 https://leetcode.com/problems/design-twitter https://leetcode.com/problems/number-of-islands-ii
116 45 355 Jump Game II Design Twitter 30.6% 30.3% Hard Medium 0.05822366027889668 0.05824061998094904 https://leetcode.com/problems/jump-game-ii https://leetcode.com/problems/design-twitter
117 741 45 Cherry Pickup Jump Game II 33.9% 30.6% Hard Hard 0.056512210263342307 0.05822366027889668 https://leetcode.com/problems/cherry-pickup https://leetcode.com/problems/jump-game-ii
118 41 741 First Missing Positive Cherry Pickup 32.0% 33.9% Hard Hard 0.056273635982108605 0.056512210263342307 https://leetcode.com/problems/first-missing-positive https://leetcode.com/problems/cherry-pickup
119 32 41 Longest Valid Parentheses First Missing Positive 28.4% 32.0% Hard Hard 0.0556316959861487 0.056273635982108605 https://leetcode.com/problems/longest-valid-parentheses https://leetcode.com/problems/first-missing-positive
120 128 32 Longest Consecutive Sequence Longest Valid Parentheses 45.1% 28.4% Hard Hard 0.05527490034186498 0.0556316959861487 https://leetcode.com/problems/longest-consecutive-sequence https://leetcode.com/problems/longest-valid-parentheses
121 7 128 Reverse Integer Longest Consecutive Sequence 25.8% 45.1% Easy Hard 0.054824382173728654 0.05527490034186498 https://leetcode.com/problems/reverse-integer https://leetcode.com/problems/longest-consecutive-sequence
122 76 7 Minimum Window Substring Reverse Integer 34.6% 25.8% Hard Easy 0.05473322196089386 0.054824382173728654 https://leetcode.com/problems/minimum-window-substring https://leetcode.com/problems/reverse-integer
123 836 76 Rectangle Overlap Minimum Window Substring 48.6% 34.6% Easy Hard 0.05371219359052555 0.05473322196089386 https://leetcode.com/problems/rectangle-overlap https://leetcode.com/problems/minimum-window-substring
124 894 836 All Possible Full Binary Trees Rectangle Overlap 75.2% 48.6% Medium Easy 0.052436651273043935 0.05371219359052555 https://leetcode.com/problems/all-possible-full-binary-trees https://leetcode.com/problems/rectangle-overlap
125 94 894 Binary Tree Inorder Traversal All Possible Full Binary Trees 63.3% 75.2% Medium Medium 0.052376558898168765 0.052436651273043935 https://leetcode.com/problems/binary-tree-inorder-traversal https://leetcode.com/problems/all-possible-full-binary-trees
126 767 94 Reorganize String Binary Tree Inorder Traversal 48.7% 63.3% Medium Medium 0.05216306328458592 0.052376558898168765 https://leetcode.com/problems/reorganize-string https://leetcode.com/problems/binary-tree-inorder-traversal
127 14 767 Longest Common Prefix Reorganize String 35.4% 48.7% Easy Medium 0.051846064173015856 0.05216306328458592 https://leetcode.com/problems/longest-common-prefix https://leetcode.com/problems/reorganize-string
128 209 14 Minimum Size Subarray Sum Longest Common Prefix 38.2% 35.4% Medium Easy 0.05146227039335983 0.051846064173015856 https://leetcode.com/problems/minimum-size-subarray-sum https://leetcode.com/problems/longest-common-prefix
129 235 209 Lowest Common Ancestor of a Binary Search Tree Minimum Size Subarray Sum 49.9% 38.2% Easy Medium 0.050282057186910374 0.05146227039335983 https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-search-tree https://leetcode.com/problems/minimum-size-subarray-sum
130 695 235 Max Area of Island Lowest Common Ancestor of a Binary Search Tree 62.7% 49.9% Medium Easy 0.04980799142417255 0.050282057186910374 https://leetcode.com/problems/max-area-of-island https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-search-tree
131 518 695 Coin Change 2 Max Area of Island 50.2% 62.7% Medium Medium 0.04919528672454412 0.04980799142417255 https://leetcode.com/problems/coin-change-2 https://leetcode.com/problems/max-area-of-island
132 445 518 Add Two Numbers II Coin Change 2 54.5% 50.2% Medium Medium 0.04843561709959499 0.04919528672454412 https://leetcode.com/problems/add-two-numbers-ii https://leetcode.com/problems/coin-change-2
133 125 445 Valid Palindrome Add Two Numbers II 36.7% 54.5% Easy Medium 0.047702249651065814 0.04843561709959499 https://leetcode.com/problems/valid-palindrome https://leetcode.com/problems/add-two-numbers-ii
134 876 125 Middle of the Linked List Valid Palindrome 68.4% 36.7% Easy Easy 0.046728740327781716 0.047702249651065814 https://leetcode.com/problems/middle-of-the-linked-list https://leetcode.com/problems/valid-palindrome
135 240 876 Search a 2D Matrix II Middle of the Linked List 43.2% 68.4% Medium Easy 0.04647676584572884 0.046728740327781716 https://leetcode.com/problems/search-a-2d-matrix-ii https://leetcode.com/problems/middle-of-the-linked-list
136 283 240 Move Zeroes Search a 2D Matrix II 57.8% 43.2% Easy Medium 0.04519585811312136 0.04647676584572884 https://leetcode.com/problems/move-zeroes https://leetcode.com/problems/search-a-2d-matrix-ii
137 36 283 Valid Sudoku Move Zeroes 48.7% 57.8% Medium Easy 0.04452302288876419 0.04519585811312136 https://leetcode.com/problems/valid-sudoku https://leetcode.com/problems/move-zeroes
138 529 36 Minesweeper Valid Sudoku 59.1% 48.7% Medium Medium 0.044255009004040724 0.04452302288876419 https://leetcode.com/problems/minesweeper https://leetcode.com/problems/valid-sudoku
139 268 529 Missing Number Minesweeper 51.7% 59.1% Easy Medium 0.043089480538103624 0.044255009004040724 https://leetcode.com/problems/missing-number https://leetcode.com/problems/minesweeper
140 184 268 Department Highest Salary Missing Number 36.7% 51.7% Medium Easy 0.041672696400568025 0.043089480538103624 https://leetcode.com/problems/department-highest-salary https://leetcode.com/problems/missing-number
141 532 184 K-diff Pairs in an Array Department Highest Salary 31.6% 36.7% Easy Medium 0.041672696400568025 0.041672696400568025 https://leetcode.com/problems/k-diff-pairs-in-an-array https://leetcode.com/problems/department-highest-salary
142 92 532 Reverse Linked List II K-diff Pairs in an Array 38.8% 31.6% Medium Easy 0.041073535208287514 0.041672696400568025 https://leetcode.com/problems/reverse-linked-list-ii https://leetcode.com/problems/k-diff-pairs-in-an-array
143 1008 92 Construct Binary Search Tree from Preorder Traversal Reverse Linked List II 78.4% 38.8% Medium Medium 0.04102671995624437 0.041073535208287514 https://leetcode.com/problems/construct-binary-search-tree-from-preorder-traversal https://leetcode.com/problems/reverse-linked-list-ii
144 79 1008 Word Search Construct Binary Search Tree from Preorder Traversal 35.6% 78.4% Medium Medium 0.0408086655410548 0.04102671995624437 https://leetcode.com/problems/word-search https://leetcode.com/problems/construct-binary-search-tree-from-preorder-traversal
145 212 79 Word Search II Word Search 34.9% 35.6% Hard Medium 0.03881156536434583 0.0408086655410548 https://leetcode.com/problems/word-search-ii https://leetcode.com/problems/word-search
146 113 212 Path Sum II Word Search II 46.7% 34.9% Medium Hard 0.03857758982167768 0.03881156536434583 https://leetcode.com/problems/path-sum-ii https://leetcode.com/problems/word-search-ii
147 24 113 Swap Nodes in Pairs Path Sum II 50.4% 46.7% Medium Medium 0.03826607060639552 0.03857758982167768 https://leetcode.com/problems/swap-nodes-in-pairs https://leetcode.com/problems/path-sum-ii
148 19 24 Remove Nth Node From End of List Swap Nodes in Pairs 35.2% 50.4% Medium Medium 0.03704967488869408 0.03826607060639552 https://leetcode.com/problems/remove-nth-node-from-end-of-list https://leetcode.com/problems/swap-nodes-in-pairs
149 322 19 Coin Change Remove Nth Node From End of List 35.5% 35.2% Medium Medium 0.03569682997206547 0.03704967488869408 https://leetcode.com/problems/coin-change https://leetcode.com/problems/remove-nth-node-from-end-of-list
150 973 322 K Closest Points to Origin Coin Change 63.8% 35.5% Medium Medium 0.035550452059401896 0.03569682997206547 https://leetcode.com/problems/k-closest-points-to-origin https://leetcode.com/problems/coin-change
151 59 973 Spiral Matrix II K Closest Points to Origin 53.9% 63.8% Medium Medium 0.0351873674509732 0.035550452059401896 https://leetcode.com/problems/spiral-matrix-ii https://leetcode.com/problems/k-closest-points-to-origin
152 105 59 Construct Binary Tree from Preorder and Inorder Traversal Spiral Matrix II 48.8% 53.9% Medium Medium 0.03466791990373826 0.0351873674509732 https://leetcode.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal https://leetcode.com/problems/spiral-matrix-ii
153 543 105 Diameter of Binary Tree Construct Binary Tree from Preorder and Inorder Traversal 48.4% 48.8% Easy Medium 0.032708305572393875 0.03466791990373826 https://leetcode.com/problems/diameter-of-binary-tree https://leetcode.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal
154 350 543 Intersection of Two Arrays II Diameter of Binary Tree 51.4% 48.4% Easy Easy 0.0321281809578036 0.032708305572393875 https://leetcode.com/problems/intersection-of-two-arrays-ii https://leetcode.com/problems/diameter-of-binary-tree
155 150 350 Evaluate Reverse Polish Notation Intersection of Two Arrays II 36.3% 51.4% Medium Easy 0.031526253646773944 0.0321281809578036 https://leetcode.com/problems/evaluate-reverse-polish-notation https://leetcode.com/problems/intersection-of-two-arrays-ii
156 55 150 Jump Game Evaluate Reverse Polish Notation 34.6% 36.3% Medium Medium 0.030985252381807864 0.031526253646773944 https://leetcode.com/problems/jump-game https://leetcode.com/problems/evaluate-reverse-polish-notation
157 38 55 Count and Say Jump Game 44.6% 34.6% Easy Medium 0.030956234663467107 0.030985252381807864 https://leetcode.com/problems/count-and-say https://leetcode.com/problems/jump-game
158 179 38 Largest Number Count and Say 28.8% 44.6% Medium Easy 0.03093030069135863 0.030956234663467107 https://leetcode.com/problems/largest-number https://leetcode.com/problems/count-and-say
159 151 179 Reverse Words in a String Largest Number 21.9% 28.8% Medium Medium 0.03068306302420247 0.03093030069135863 https://leetcode.com/problems/reverse-words-in-a-string https://leetcode.com/problems/largest-number
160 347 151 Top K Frequent Elements Reverse Words in a String 61.2% 21.9% Medium Medium 0.029662726238554857 0.03068306302420247 https://leetcode.com/problems/top-k-frequent-elements https://leetcode.com/problems/reverse-words-in-a-string
161 496 347 Next Greater Element I Top K Frequent Elements 63.8% 61.2% Easy Medium 0.029462032730316202 0.029662726238554857 https://leetcode.com/problems/next-greater-element-i https://leetcode.com/problems/top-k-frequent-elements
162 456 496 132 Pattern Next Greater Element I 28.9% 63.8% Medium Easy 0.029306126585499394 0.029462032730316202 https://leetcode.com/problems/132-pattern https://leetcode.com/problems/next-greater-element-i
163 169 456 Majority Element 132 Pattern 58.7% 28.9% Easy Medium 0.02905829743134675 0.029306126585499394 https://leetcode.com/problems/majority-element https://leetcode.com/problems/132-pattern
164 62 169 Unique Paths Majority Element 54.1% 58.7% Medium Easy 0.02853749186115581 0.02905829743134675 https://leetcode.com/problems/unique-paths https://leetcode.com/problems/majority-element
165 938 62 Range Sum of BST Unique Paths 81.3% 54.1% Easy Medium 0.027755467721532374 0.02853749186115581 https://leetcode.com/problems/range-sum-of-bst https://leetcode.com/problems/unique-paths
166 437 938 Path Sum III Range Sum of BST 47.2% 81.3% Medium Easy 0.02708561605844235 0.027755467721532374 https://leetcode.com/problems/path-sum-iii https://leetcode.com/problems/range-sum-of-bst
167 796 437 Rotate String Path Sum III 49.6% 47.2% Easy Medium 0.02701041988276247 0.02708561605844235 https://leetcode.com/problems/rotate-string https://leetcode.com/problems/path-sum-iii
168 103 796 Binary Tree Zigzag Level Order Traversal Rotate String 48.3% 49.6% Medium Easy 0.0269910535894593 0.02701041988276247 https://leetcode.com/problems/binary-tree-zigzag-level-order-traversal https://leetcode.com/problems/rotate-string
169 1305 103 All Elements in Two Binary Search Trees Binary Tree Zigzag Level Order Traversal 76.1% 48.3% Medium Medium 0.026282721799194744 0.0269910535894593 https://leetcode.com/problems/all-elements-in-two-binary-search-trees https://leetcode.com/problems/binary-tree-zigzag-level-order-traversal
170 98 1305 Validate Binary Search Tree All Elements in Two Binary Search Trees 27.8% 76.1% Medium Medium 0.026187123416340663 0.026282721799194744 https://leetcode.com/problems/validate-binary-search-tree https://leetcode.com/problems/all-elements-in-two-binary-search-trees
171 91 98 Decode Ways Validate Binary Search Tree 24.7% 27.8% Medium Medium 0.023662742620848144 0.026187123416340663 https://leetcode.com/problems/decode-ways https://leetcode.com/problems/validate-binary-search-tree
172 26 91 Remove Duplicates from Sorted Array Decode Ways 45.1% 24.7% Easy Medium 0.02364518575043321 0.023662742620848144 https://leetcode.com/problems/remove-duplicates-from-sorted-array https://leetcode.com/problems/decode-ways
173 844 26 Backspace String Compare Remove Duplicates from Sorted Array 46.4% 45.1% Easy Easy 0.0235551325028849 0.02364518575043321 https://leetcode.com/problems/backspace-string-compare https://leetcode.com/problems/remove-duplicates-from-sorted-array
174 622 844 Design Circular Queue Backspace String Compare 43.8% 46.4% Medium Easy 0.02246023667974994 0.0235551325028849 https://leetcode.com/problems/design-circular-queue https://leetcode.com/problems/backspace-string-compare
175 981 622 Time Based Key-Value Store Design Circular Queue 53.1% 43.8% Medium Medium 0.02226024024151985 0.02246023667974994 https://leetcode.com/problems/time-based-key-value-store https://leetcode.com/problems/design-circular-queue
176 152 981 Maximum Product Subarray Time Based Key-Value Store 31.7% 53.1% Medium Medium 0.022176931045949227 0.02226024024151985 https://leetcode.com/problems/maximum-product-subarray https://leetcode.com/problems/time-based-key-value-store
177 221 152 Maximal Square Maximum Product Subarray 37.7% 31.7% Medium Medium 0.022108490754203434 0.022176931045949227 https://leetcode.com/problems/maximal-square https://leetcode.com/problems/maximum-product-subarray
178 112 221 Path Sum Maximal Square 41.2% 37.7% Easy Medium 0.021701651897460775 0.022108490754203434 https://leetcode.com/problems/path-sum https://leetcode.com/problems/maximal-square
179 300 112 Longest Increasing Subsequence Path Sum 42.6% 41.2% Medium Easy 0.020893943681912164 0.021701651897460775 https://leetcode.com/problems/longest-increasing-subsequence https://leetcode.com/problems/path-sum
180 9 300 Palindrome Number Longest Increasing Subsequence 48.4% 42.6% Easy Medium 0.018837205580381582 0.020893943681912164 https://leetcode.com/problems/palindrome-number https://leetcode.com/problems/longest-increasing-subsequence
181 88 9 Merge Sorted Array Palindrome Number 39.4% 48.4% Easy Easy 0.018667009593356397 0.018837205580381582 https://leetcode.com/problems/merge-sorted-array https://leetcode.com/problems/palindrome-number
182 617 88 Merge Two Binary Trees Merge Sorted Array 74.1% 39.4% Easy Easy 0.018496211633622316 0.018667009593356397 https://leetcode.com/problems/merge-two-binary-trees https://leetcode.com/problems/merge-sorted-array
183 239 617 Sliding Window Maximum Merge Two Binary Trees 43.0% 74.1% Hard Easy 0.01768566434627554 0.018496211633622316 https://leetcode.com/problems/sliding-window-maximum https://leetcode.com/problems/merge-two-binary-trees
184 50 239 Pow(x;n) Sliding Window Maximum 30.3% 43.0% Medium Hard 0.017036779497025166 0.01768566434627554 https://leetcode.com/problems/powx-n https://leetcode.com/problems/sliding-window-maximum
185 402 50 Remove K Digits Pow(x;n) 28.4% 30.3% Medium Medium 0.016863806052004816 0.017036779497025166 https://leetcode.com/problems/remove-k-digits https://leetcode.com/problems/powx-n
186 340 402 Longest Substring with At Most K Distinct Characters Remove K Digits 44.1% 28.4% Hard Medium 0.016122880486563188 0.016863806052004816 https://leetcode.com/problems/longest-substring-with-at-most-k-distinct-characters https://leetcode.com/problems/remove-k-digits
187 217 340 Contains Duplicate Longest Substring with At Most K Distinct Characters 56.0% 44.1% Easy Hard 0.015106027431013205 0.016122880486563188 https://leetcode.com/problems/contains-duplicate https://leetcode.com/problems/longest-substring-with-at-most-k-distinct-characters
188 707 217 Design Linked List Contains Duplicate 24.5% 56.0% Medium Easy 0.015054857167065819 0.015106027431013205 https://leetcode.com/problems/design-linked-list https://leetcode.com/problems/contains-duplicate
189 102 707 Binary Tree Level Order Traversal Design Linked List 54.6% 24.5% Medium Medium 0.014477270588287548 0.015054857167065819 https://leetcode.com/problems/binary-tree-level-order-traversal https://leetcode.com/problems/design-linked-list
190 107 102 Binary Tree Level Order Traversal II Binary Tree Level Order Traversal 53.5% 54.6% Easy Medium 0.014395642075089957 0.014477270588287548 https://leetcode.com/problems/binary-tree-level-order-traversal-ii https://leetcode.com/problems/binary-tree-level-order-traversal
191 315 107 Count of Smaller Numbers After Self Binary Tree Level Order Traversal II 41.5% 53.5% Hard Easy 0.014352596574956585 0.014395642075089957 https://leetcode.com/problems/count-of-smaller-numbers-after-self https://leetcode.com/problems/binary-tree-level-order-traversal-ii
192 44 315 Wildcard Matching Count of Smaller Numbers After Self 24.7% 41.5% Hard Hard 0.013703537497261858 0.014352596574956585 https://leetcode.com/problems/wildcard-matching https://leetcode.com/problems/count-of-smaller-numbers-after-self
193 70 44 Climbing Stairs Wildcard Matching 47.8% 24.7% Easy Hard 0.013494975575004323 0.013703537497261858 https://leetcode.com/problems/climbing-stairs https://leetcode.com/problems/wildcard-matching
194 122 70 Best Time to Buy and Sell Stock II Climbing Stairs 57.0% 47.8% Easy Easy 0.013351333174864208 0.013494975575004323 https://leetcode.com/problems/best-time-to-buy-and-sell-stock-ii https://leetcode.com/problems/climbing-stairs
195 1047 122 Remove All Adjacent Duplicates In String Best Time to Buy and Sell Stock II 68.6% 57.0% Easy Easy 0.013059277989179281 0.013351333174864208 https://leetcode.com/problems/remove-all-adjacent-duplicates-in-string https://leetcode.com/problems/best-time-to-buy-and-sell-stock-ii
196 108 1047 Convert Sorted Array to Binary Search Tree Remove All Adjacent Duplicates In String 57.9% 68.6% Easy Easy 0.012453461071286613 0.013059277989179281 https://leetcode.com/problems/convert-sorted-array-to-binary-search-tree https://leetcode.com/problems/remove-all-adjacent-duplicates-in-string
197 287 108 Find the Duplicate Number Convert Sorted Array to Binary Search Tree 55.5% 57.9% Medium Easy 0.012335682739188652 0.012453461071286613 https://leetcode.com/problems/find-the-duplicate-number https://leetcode.com/problems/convert-sorted-array-to-binary-search-tree
198 11 287 Container With Most Water Find the Duplicate Number 50.8% 55.5% Medium Medium 0.012214824746492168 0.012335682739188652 https://leetcode.com/problems/container-with-most-water https://leetcode.com/problems/find-the-duplicate-number
199 986 11 Interval List Intersections Container With Most Water 67.3% 50.8% Medium Medium 0.011969023795320735 0.012214824746492168 https://leetcode.com/problems/interval-list-intersections https://leetcode.com/problems/container-with-most-water
200 119 986 Pascal's Triangle II Interval List Intersections 49.0% 67.3% Easy Medium 0.011894282360609866 0.011969023795320735 https://leetcode.com/problems/pascals-triangle-ii https://leetcode.com/problems/interval-list-intersections
201 210 119 Course Schedule II Pascal's Triangle II 40.7% 49.0% Medium Easy 0.011869857339029215 0.011894282360609866 https://leetcode.com/problems/course-schedule-ii https://leetcode.com/problems/pascals-triangle-ii
202 264 210 Ugly Number II Course Schedule II 42.0% 40.7% Medium Medium 0.011604423810414601 0.011869857339029215 https://leetcode.com/problems/ugly-number-ii https://leetcode.com/problems/course-schedule-ii
203 117 264 Populating Next Right Pointers in Each Node II Ugly Number II 39.1% 42.0% Medium Medium 0.011389644764357807 0.011604423810414601 https://leetcode.com/problems/populating-next-right-pointers-in-each-node-ii https://leetcode.com/problems/ugly-number-ii
204 819 117 Most Common Word Populating Next Right Pointers in Each Node II 44.8% 39.1% Easy Medium 0.010269666637456105 0.011389644764357807 https://leetcode.com/problems/most-common-word https://leetcode.com/problems/populating-next-right-pointers-in-each-node-ii
205 905 819 Sort Array By Parity Most Common Word 74.1% 44.8% Easy Easy 0.009603915354180344 0.010269666637456105 https://leetcode.com/problems/sort-array-by-parity https://leetcode.com/problems/most-common-word
206 621 905 Task Scheduler Sort Array By Parity 50.1% 74.1% Medium Easy 0.009334412329990095 0.009603915354180344 https://leetcode.com/problems/task-scheduler https://leetcode.com/problems/sort-array-by-parity
207 28 621 Implement strStr() Task Scheduler 34.5% 50.1% Easy Medium 0.008850485542574548 0.009334412329990095 https://leetcode.com/problems/implement-strstr https://leetcode.com/problems/task-scheduler
208 8 28 String to Integer (atoi) Implement strStr() 15.4% 34.5% Medium Easy 0.008513104762248265 0.008850485542574548 https://leetcode.com/problems/string-to-integer-atoi https://leetcode.com/problems/implement-strstr
209 153 8 Find Minimum in Rotated Sorted Array String to Integer (atoi) 45.1% 15.4% Medium Medium 0.008430963288799368 0.008513104762248265 https://leetcode.com/problems/find-minimum-in-rotated-sorted-array https://leetcode.com/problems/string-to-integer-atoi
210 977 153 Squares of a Sorted Array Find Minimum in Rotated Sorted Array 72.1% 45.1% Easy Medium 0.003891055492966611 0.008430963288799368 https://leetcode.com/problems/squares-of-a-sorted-array https://leetcode.com/problems/find-minimum-in-rotated-sorted-array
211 67 977 Add Binary Squares of a Sorted Array 45.2% 72.1% Easy Easy 0.003735684238128885 0.003891055492966611 https://leetcode.com/problems/add-binary https://leetcode.com/problems/squares-of-a-sorted-array
212 140 67 Word Break II Add Binary 32.6% 45.2% Hard Easy 0.0027070942357783584 0.003735684238128885 https://leetcode.com/problems/word-break-ii https://leetcode.com/problems/add-binary
213 1380 140 Lucky Numbers in a Matrix Word Break II 71.5% 32.6% Easy Hard 0 0.0027070942357783584 https://leetcode.com/problems/lucky-numbers-in-a-matrix https://leetcode.com/problems/word-break-ii
214 1410 1380 HTML Entity Parser Lucky Numbers in a Matrix 54.0% 71.5% Medium Easy 0 0 https://leetcode.com/problems/html-entity-parser https://leetcode.com/problems/lucky-numbers-in-a-matrix
215 1410 HTML Entity Parser 54.0% Medium 0 https://leetcode.com/problems/html-entity-parser