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,212 +1,213 @@
352,Data Stream as Disjoint Intervals,47.3%,Hard,0.6265860943271327, https://leetcode.com/problems/data-stream-as-disjoint-intervals
425,Word Squares,47.7%,Hard,0.6033608619091657, https://leetcode.com/problems/word-squares
554,Brick Wall,50.0%,Medium,0.5363932261307668, https://leetcode.com/problems/brick-wall
146,LRU Cache,33.2%,Medium,0.46942559035236786, https://leetcode.com/problems/lru-cache
362,Design Hit Counter,63.7%,Medium,0.41287934430142753, https://leetcode.com/problems/design-hit-counter
23,Merge k Sorted Lists,40.2%,Hard,0.3459117085230286, https://leetcode.com/problems/merge-k-sorted-lists
403,Frog Jump,39.7%,Hard,0.2789440727446297, https://leetcode.com/problems/frog-jump
56,Merge Intervals,39.3%,Medium,0.27305129764911124, https://leetcode.com/problems/merge-intervals
450,Delete Node in a BST,43.1%,Medium,0.2618604317292985, https://leetcode.com/problems/delete-node-in-a-bst
227,Basic Calculator II,36.9%,Medium,0.22526232820206687, https://leetcode.com/problems/basic-calculator-ii
253,Meeting Rooms II,45.7%,Medium,0.2194457881052731, https://leetcode.com/problems/meeting-rooms-ii
706,Design HashMap,61.3%,Easy,0.1960785423771685, https://leetcode.com/problems/design-hashmap
297,Serialize and Deserialize Binary Tree,47.5%,Hard,0.19461546769967167, https://leetcode.com/problems/serialize-and-deserialize-binary-tree
636,Exclusive Time of Functions,51.9%,Medium,0.17494800586305592, https://leetcode.com/problems/exclusive-time-of-functions
415,Add Strings,47.5%,Easy,0.17429245611868044, https://leetcode.com/problems/add-strings
692,Top K Frequent Words,51.8%,Medium,0.17278293546824908, https://leetcode.com/problems/top-k-frequent-words
200,Number of Islands,46.8%,Medium,0.1699216454242077, https://leetcode.com/problems/number-of-islands
715,Range Module,38.5%,Hard,0.1636294237818021, https://leetcode.com/problems/range-module
1242,Web Crawler Multithreaded,45.9%,Medium,0.14953173397096375, https://leetcode.com/problems/web-crawler-multithreaded
380,Insert Delete GetRandom O(1),47.5%,Medium,0.1466146891661091, https://leetcode.com/problems/insert-delete-getrandom-o1
349,Intersection of Two Arrays,62.5%,Easy,0.13745763880299086, https://leetcode.com/problems/intersection-of-two-arrays
1044,Longest Duplicate Substring,31.9%,Hard,0.1351378186727963, https://leetcode.com/problems/longest-duplicate-substring
33,Search in Rotated Sorted Array,34.5%,Medium,0.1281180285001361, https://leetcode.com/problems/search-in-rotated-sorted-array
54,Spiral Matrix,34.1%,Medium,0.12572728493821236, https://leetcode.com/problems/spiral-matrix
394,Decode String,50.0%,Medium,0.1232801760013658, https://leetcode.com/problems/decode-string
230,Kth Smallest Element in a BST,60.2%,Medium,0.1210793254708764, https://leetcode.com/problems/kth-smallest-element-in-a-bst
75,Sort Colors,47.3%,Medium,0.11789425180508288, https://leetcode.com/problems/sort-colors
1188,Design Bounded Blocking Queue,70.5%,Medium,0.11030454201470608, https://leetcode.com/problems/design-bounded-blocking-queue
73,Set Matrix Zeroes,43.1%,Medium,0.10673233036142979, https://leetcode.com/problems/set-matrix-zeroes
173,Binary Search Tree Iterator,56.6%,Medium,0.0993321513486892, https://leetcode.com/problems/binary-search-tree-iterator
232,Implement Queue using Stacks,49.6%,Easy,0.09690200534777553, https://leetcode.com/problems/implement-queue-using-stacks
1236,Web Crawler,64.3%,Medium,0.09531017980432487, https://leetcode.com/problems/web-crawler
138,Copy List with Random Pointer,36.4%,Medium,0.09473133310488323, https://leetcode.com/problems/copy-list-with-random-pointer
1,Two Sum,45.6%,Easy,0.09470547879560726, https://leetcode.com/problems/two-sum
20,Valid Parentheses,39.0%,Easy,0.09286263438126167, https://leetcode.com/problems/valid-parentheses
794,Valid Tic-Tac-Toe State,32.6%,Medium,0.0922312242160336, https://leetcode.com/problems/valid-tic-tac-toe-state
127,Word Ladder,29.6%,Medium,0.09162341383415479, https://leetcode.com/problems/word-ladder
545,Boundary of Binary Tree,38.9%,Medium,0.091248671465145, https://leetcode.com/problems/boundary-of-binary-tree
652,Find Duplicate Subtrees,50.2%,Medium,0.08907963005368878, https://leetcode.com/problems/find-duplicate-subtrees
722,Remove Comments,34.6%,Medium,0.08890352514166767, https://leetcode.com/problems/remove-comments
17,Letter Combinations of a Phone Number,46.8%,Medium,0.0855673732620712, https://leetcode.com/problems/letter-combinations-of-a-phone-number
1212,Team Scores in Football Tournament,55.8%,Medium,0.08269171584511335, https://leetcode.com/problems/team-scores-in-football-tournament
599,Minimum Index Sum of Two Lists,50.7%,Easy,0.0753494372417868, https://leetcode.com/problems/minimum-index-sum-of-two-lists
53,Maximum Subarray,46.5%,Easy,0.0751998401694112, https://leetcode.com/problems/maximum-subarray
503,Next Greater Element II,56.5%,Medium,0.07339377143296942, https://leetcode.com/problems/next-greater-element-ii
505,The Maze II,47.7%,Medium,0.07133147800542972, https://leetcode.com/problems/the-maze-ii
438,Find All Anagrams in a String,43.3%,Medium,0.07086789751218016, https://leetcode.com/problems/find-all-anagrams-in-a-string
314,Binary Tree Vertical Order Traversal,45.3%,Medium,0.07017345555905126, https://leetcode.com/problems/binary-tree-vertical-order-traversal
126,Word Ladder II,22.1%,Hard,0.07011193038456472, https://leetcode.com/problems/word-ladder-ii
42,Trapping Rain Water,48.9%,Hard,0.0674365414927314, https://leetcode.com/problems/trapping-rain-water
116,Populating Next Right Pointers in Each Node,45.2%,Medium,0.06417026482702023, https://leetcode.com/problems/populating-next-right-pointers-in-each-node
121,Best Time to Buy and Sell Stock,50.5%,Easy,0.06233349258151901, https://leetcode.com/problems/best-time-to-buy-and-sell-stock
195,Tenth Line,33.0%,Easy,0.06127490750055161, https://leetcode.com/problems/tenth-line
238,Product of Array Except Self,60.1%,Medium,0.061105194807639235, https://leetcode.com/problems/product-of-array-except-self
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
1190,Reverse Substrings Between Each Pair of Parentheses,61.5%,Medium,0.06007812394328337, https://leetcode.com/problems/reverse-substrings-between-each-pair-of-parentheses
355,Design Twitter,30.3%,Medium,0.05824061998094904, https://leetcode.com/problems/design-twitter
417,Pacific Atlantic Water Flow,41.1%,Medium,0.057523844138186606, https://leetcode.com/problems/pacific-atlantic-water-flow
741,Cherry Pickup,33.9%,Hard,0.056512210263342307, https://leetcode.com/problems/cherry-pickup
43,Multiply Strings,33.9%,Medium,0.05583052804728052, https://leetcode.com/problems/multiply-strings
21,Merge Two Sorted Lists,53.5%,Easy,0.05490757117845869, https://leetcode.com/problems/merge-two-sorted-lists
836,Rectangle Overlap,48.6%,Easy,0.05371219359052555, https://leetcode.com/problems/rectangle-overlap
426,Convert Binary Search Tree to Sorted Doubly Linked List,59.1%,Medium,0.05368014946362379, https://leetcode.com/problems/convert-binary-search-tree-to-sorted-doubly-linked-list
894,All Possible Full Binary Trees,75.2%,Medium,0.052436651273043935, https://leetcode.com/problems/all-possible-full-binary-trees
34,Find First and Last Position of Element in Sorted Array,36.2%,Medium,0.05083027351406798, https://leetcode.com/problems/find-first-and-last-position-of-element-in-sorted-array
449,Serialize and Deserialize BST,52.0%,Medium,0.049844204077291364, https://leetcode.com/problems/serialize-and-deserialize-bst
139,Word Break,40.1%,Medium,0.04669293281464548, https://leetcode.com/problems/word-break
206,Reverse Linked List,62.5%,Easy,0.046346967254127305, https://leetcode.com/problems/reverse-linked-list
3,Longest Substring Without Repeating Characters,30.4%,Medium,0.04601922329309672, https://leetcode.com/problems/longest-substring-without-repeating-characters
609,Find Duplicate File in System,59.5%,Medium,0.045205436768046794, https://leetcode.com/problems/find-duplicate-file-in-system
5,Longest Palindromic Substring,29.5%,Medium,0.04517328747428837, https://leetcode.com/problems/longest-palindromic-substring
529,Minesweeper,59.1%,Medium,0.044255009004040724, https://leetcode.com/problems/minesweeper
160,Intersection of Two Linked Lists,40.6%,Easy,0.043270781043381126, https://leetcode.com/problems/intersection-of-two-linked-lists
535,Encode and Decode TinyURL,79.9%,Medium,0.041978881338661234, https://leetcode.com/problems/encode-and-decode-tinyurl
236,Lowest Common Ancestor of a Binary Tree,45.7%,Medium,0.041648587234261826, https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-tree
965,Univalued Binary Tree,67.7%,Easy,0.04151887834779356, https://leetcode.com/problems/univalued-binary-tree
92,Reverse Linked List II,38.8%,Medium,0.041073535208287514, https://leetcode.com/problems/reverse-linked-list-ii
243,Shortest Word Distance,61.0%,Easy,0.040780370344928096, https://leetcode.com/problems/shortest-word-distance
37,Sudoku Solver,43.6%,Hard,0.040527833612118376, https://leetcode.com/problems/sudoku-solver
863,All Nodes Distance K in Binary Tree,55.4%,Medium,0.037756162417993476, https://leetcode.com/problems/all-nodes-distance-k-in-binary-tree
71,Simplify Path,32.6%,Medium,0.03622126343431837, https://leetcode.com/problems/simplify-path
128,Longest Consecutive Sequence,45.1%,Hard,0.035726058864721646, https://leetcode.com/problems/longest-consecutive-sequence
295,Find Median from Data Stream,44.3%,Hard,0.035519827248535335, https://leetcode.com/problems/find-median-from-data-stream
4,Median of Two Sorted Arrays,29.6%,Hard,0.034565653112280895, https://leetcode.com/problems/median-of-two-sorted-arrays
214,Shortest Palindrome,29.8%,Hard,0.03419136474827932, https://leetcode.com/problems/shortest-palindrome
12,Integer to Roman,55.1%,Medium,0.03370158881097552, https://leetcode.com/problems/integer-to-roman
209,Minimum Size Subarray Sum,38.2%,Medium,0.033239453928687726, https://leetcode.com/problems/minimum-size-subarray-sum
694,Number of Distinct Islands,56.0%,Medium,0.03278982282299087, https://leetcode.com/problems/number-of-distinct-islands
284,Peeking Iterator,45.7%,Medium,0.03110670713225487, https://leetcode.com/problems/peeking-iterator
163,Missing Ranges,24.3%,Medium,0.030890487019338404, https://leetcode.com/problems/missing-ranges
13,Roman to Integer,55.7%,Easy,0.030443751414723153, https://leetcode.com/problems/roman-to-integer
101,Symmetric Tree,46.8%,Easy,0.030241699823103273, https://leetcode.com/problems/symmetric-tree
94,Binary Tree Inorder Traversal,63.3%,Medium,0.029798596117835863, https://leetcode.com/problems/binary-tree-inorder-traversal
1197,Minimum Knight Moves,36.1%,Medium,0.02969780239174205, https://leetcode.com/problems/minimum-knight-moves
767,Reorganize String,48.7%,Medium,0.02967576814611661, https://leetcode.com/problems/reorganize-string
155,Min Stack,44.5%,Easy,0.029317296678520607, https://leetcode.com/problems/min-stack
456,132 Pattern,28.9%,Medium,0.029306126585499394, https://leetcode.com/problems/132-pattern
57,Insert Interval,33.5%,Hard,0.02927990558056596, https://leetcode.com/problems/insert-interval
10,Regular Expression Matching,26.8%,Hard,0.02844130559772196, https://leetcode.com/problems/regular-expression-matching
695,Max Area of Island,62.7%,Medium,0.028321590863246118, https://leetcode.com/problems/max-area-of-island
204,Count Primes,31.5%,Easy,0.02799343042200216, https://leetcode.com/problems/count-primes
518,Coin Change 2,50.2%,Medium,0.027969505010125056, https://leetcode.com/problems/coin-change-2
114,Flatten Binary Tree to Linked List,49.3%,Medium,0.02730545069026746, https://leetcode.com/problems/flatten-binary-tree-to-linked-list
796,Rotate String,49.6%,Easy,0.02701041988276247, https://leetcode.com/problems/rotate-string
273,Integer to English Words,27.1%,Hard,0.026980053764546055, https://leetcode.com/problems/integer-to-english-words
1305,All Elements in Two Binary Search Trees,76.1%,Medium,0.026282721799194744, https://leetcode.com/problems/all-elements-in-two-binary-search-trees
46,Permutations,63.5%,Medium,0.026064861710547768, https://leetcode.com/problems/permutations
242,Valid Anagram,56.9%,Easy,0.025684584297773504, https://leetcode.com/problems/valid-anagram
41,First Missing Positive,32.0%,Hard,0.02540222313806603, https://leetcode.com/problems/first-missing-positive
322,Coin Change,35.5%,Medium,0.024924029676386045, https://leetcode.com/problems/coin-change
125,Valid Palindrome,36.7%,Easy,0.02462208292471368, https://leetcode.com/problems/valid-palindrome
215,Kth Largest Element in an Array,55.4%,Medium,0.02414409892936099, https://leetcode.com/problems/kth-largest-element-in-an-array
844,Backspace String Compare,46.4%,Easy,0.0235551325028849, https://leetcode.com/problems/backspace-string-compare
49,Group Anagrams,56.9%,Medium,0.02354157682187747, https://leetcode.com/problems/group-anagrams
347,Top K Frequent Elements,61.2%,Medium,0.02350975159825416, https://leetcode.com/problems/top-k-frequent-elements
973,K Closest Points to Origin,63.8%,Medium,0.022897394173017796, https://leetcode.com/problems/k-closest-points-to-origin
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
221,Maximal Square,37.7%,Medium,0.022108490754203434, https://leetcode.com/problems/maximal-square
113,Path Sum II,46.7%,Medium,0.021882711249507664, https://leetcode.com/problems/path-sum-ii
958,Check Completeness of a Binary Tree,52.1%,Medium,0.021763644636359686, https://leetcode.com/problems/check-completeness-of-a-binary-tree
112,Path Sum,41.2%,Easy,0.021701651897460775, https://leetcode.com/problems/path-sum
141,Linked List Cycle,41.1%,Easy,0.021638372380967483, https://leetcode.com/problems/linked-list-cycle
45,Jump Game II,30.6%,Hard,0.021353124470568974, https://leetcode.com/problems/jump-game-ii
543,Diameter of Binary Tree,48.4%,Easy,0.02105617995251665, https://leetcode.com/problems/diameter-of-binary-tree
350,Intersection of Two Arrays II,51.4%,Easy,0.020680587107206983, https://leetcode.com/problems/intersection-of-two-arrays-ii
32,Longest Valid Parentheses,28.4%,Hard,0.020385756924473915, https://leetcode.com/problems/longest-valid-parentheses
208,Implement Trie (Prefix Tree),49.4%,Medium,0.02037191321634931, https://leetcode.com/problems/implement-trie-prefix-tree
341,Flatten Nested List Iterator,52.9%,Medium,0.019980684690483426, https://leetcode.com/problems/flatten-nested-list-iterator
207,Course Schedule,43.1%,Medium,0.019709926055136454, https://leetcode.com/problems/course-schedule
15,3Sum,26.8%,Medium,0.019619157889188592, https://leetcode.com/problems/3sum
19,Remove Nth Node From End of List,35.2%,Medium,0.019074355670058666, https://leetcode.com/problems/remove-nth-node-from-end-of-list
721,Accounts Merge,48.8%,Medium,0.01888630262874805, https://leetcode.com/problems/accounts-merge
184,Department Highest Salary,36.7%,Medium,0.018735911057469818, https://leetcode.com/problems/department-highest-salary
532,K-diff Pairs in an Array,31.6%,Easy,0.018735911057469818, https://leetcode.com/problems/k-diff-pairs-in-an-array
1008,Construct Binary Search Tree from Preorder Traversal,78.4%,Medium,0.01844220088035248, https://leetcode.com/problems/construct-binary-search-tree-from-preorder-traversal
283,Move Zeroes,57.8%,Easy,0.01789853050377608, https://leetcode.com/problems/move-zeroes
38,Count and Say,44.6%,Easy,0.01753063983505879, https://leetcode.com/problems/count-and-say
289,Game of Life,54.5%,Medium,0.0173239499317743, https://leetcode.com/problems/game-of-life
876,Middle of the Linked List,68.4%,Easy,0.01707497375257815, https://leetcode.com/problems/middle-of-the-linked-list
50,Pow(x;n),30.3%,Medium,0.017036779497025166, https://leetcode.com/problems/powx-n
560,Subarray Sum Equals K,43.9%,Medium,0.017009020666013328, https://leetcode.com/problems/subarray-sum-equals-k
402,Remove K Digits,28.4%,Medium,0.016863806052004816, https://leetcode.com/problems/remove-k-digits
51,N-Queens,46.6%,Hard,0.016393809775676407, https://leetcode.com/problems/n-queens
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
412,Fizz Buzz,62.3%,Easy,0.016051709010507904, https://leetcode.com/problems/fizz-buzz
59,Spiral Matrix II,53.9%,Medium,0.01579187969789165, https://leetcode.com/problems/spiral-matrix-ii
938,Range Sum of BST,81.3%,Easy,0.015707129205357877, https://leetcode.com/problems/range-sum-of-bst
2,Add Two Numbers,33.9%,Medium,0.015095892173467356, https://leetcode.com/problems/add-two-numbers
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
109,Convert Sorted List to Binary Search Tree,47.7%,Medium,0.014440684154794336, https://leetcode.com/problems/convert-sorted-list-to-binary-search-tree
315,Count of Smaller Numbers After Self,41.5%,Hard,0.014352596574956585, https://leetcode.com/problems/count-of-smaller-numbers-after-self
150,Evaluate Reverse Polish Notation,36.3%,Medium,0.01413451093490476, https://leetcode.com/problems/evaluate-reverse-polish-notation
76,Minimum Window Substring,34.6%,Hard,0.013966707481708198, https://leetcode.com/problems/minimum-window-substring
179,Largest Number,28.8%,Medium,0.013865040137171665, https://leetcode.com/problems/largest-number
44,Wildcard Matching,24.7%,Hard,0.013703537497261858, https://leetcode.com/problems/wildcard-matching
496,Next Greater Element I,63.8%,Easy,0.013201511858535894, https://leetcode.com/problems/next-greater-element-i
1047,Remove All Adjacent Duplicates In String,68.6%,Easy,0.013059277989179281, https://leetcode.com/problems/remove-all-adjacent-duplicates-in-string
199,Binary Tree Right Side View,54.1%,Medium,0.01274082919906162, https://leetcode.com/problems/binary-tree-right-side-view
445,Add Two Numbers II,54.5%,Medium,0.01233061245747872, https://leetcode.com/problems/add-two-numbers-ii
437,Path Sum III,47.2%,Medium,0.012128711446614806, https://leetcode.com/problems/path-sum-iii
88,Merge Sorted Array,39.4%,Easy,0.011986958032982505, https://leetcode.com/problems/merge-sorted-array
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
300,Longest Increasing Subsequence,42.6%,Medium,0.011806512586989004, https://leetcode.com/problems/longest-increasing-subsequence
98,Validate Binary Search Tree,27.8%,Medium,0.01172346369605921, https://leetcode.com/problems/validate-binary-search-tree
264,Ugly Number II,42.0%,Medium,0.011604423810414601, https://leetcode.com/problems/ugly-number-ii
205,Isomorphic Strings,39.8%,Easy,0.011544139746865315, https://leetcode.com/problems/isomorphic-strings
136,Single Number,65.5%,Easy,0.011429512235126808, https://leetcode.com/problems/single-number
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
55,Jump Game,34.6%,Medium,0.011265609194218986, https://leetcode.com/problems/jump-game
62,Unique Paths,54.1%,Medium,0.010367562048856941, https://leetcode.com/problems/unique-paths
819,Most Common Word,44.8%,Easy,0.010269666637456105, https://leetcode.com/problems/most-common-word
212,Word Search II,34.9%,Hard,0.009845021678804893, https://leetcode.com/problems/word-search-ii
905,Sort Array By Parity,74.1%,Easy,0.009603915354180344, https://leetcode.com/problems/sort-array-by-parity
617,Merge Two Binary Trees,74.1%,Easy,0.008262802639833214, https://leetcode.com/problems/merge-two-binary-trees
235,Lowest Common Ancestor of a Binary Search Tree,49.9%,Easy,0.00821697310228087, https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-search-tree
239,Sliding Window Maximum,43.0%,Hard,0.007898935224534491, https://leetcode.com/problems/sliding-window-maximum
26,Remove Duplicates from Sorted Array,45.1%,Easy,0.007782518973063169, https://leetcode.com/problems/remove-duplicates-from-sorted-array
240,Search a 2D Matrix II,43.2%,Medium,0.0075829747244553335, https://leetcode.com/problems/search-a-2d-matrix-ii
122,Best Time to Buy and Sell Stock II,57.0%,Easy,0.007532046655581962, https://leetcode.com/problems/best-time-to-buy-and-sell-stock-ii
14,Longest Common Prefix,35.4%,Easy,0.00745530292090591, https://leetcode.com/problems/longest-common-prefix
344,Reverse String,68.5%,Easy,0.00734157796234515, https://leetcode.com/problems/reverse-string
36,Valid Sudoku,48.7%,Medium,0.007258242715805398, https://leetcode.com/problems/valid-sudoku
9,Palindrome Number,48.4%,Easy,0.006822343017166543, https://leetcode.com/problems/palindrome-number
103,Binary Tree Zigzag Level Order Traversal,48.3%,Medium,0.006816368572598042, https://leetcode.com/problems/binary-tree-zigzag-level-order-traversal
29,Divide Two Integers,16.4%,Medium,0.006772799340092467, https://leetcode.com/problems/divide-two-integers
79,Word Search,35.6%,Medium,0.006642335946304871, https://leetcode.com/problems/word-search
107,Binary Tree Level Order Traversal II,53.5%,Easy,0.006423661079917184, https://leetcode.com/problems/binary-tree-level-order-traversal-ii
24,Swap Nodes in Pairs,50.4%,Medium,0.0062218275061505365, https://leetcode.com/problems/swap-nodes-in-pairs
91,Decode Ways,24.7%,Medium,0.005968385368349129, https://leetcode.com/problems/decode-ways
105,Construct Binary Tree from Preorder and Inorder Traversal,48.8%,Medium,0.005628268691614718, https://leetcode.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal
152,Maximum Product Subarray,31.7%,Medium,0.005590510716885066, https://leetcode.com/problems/maximum-product-subarray
108,Convert Sorted Array to Binary Search Tree,57.9%,Easy,0.005554027051374908, https://leetcode.com/problems/convert-sorted-array-to-binary-search-tree
287,Find the Duplicate Number,55.5%,Medium,0.005501320434837602, https://leetcode.com/problems/find-the-duplicate-number
268,Missing Number,51.7%,Easy,0.0048804391649084865, https://leetcode.com/problems/missing-number
169,Majority Element,58.7%,Easy,0.004706444738837472, https://leetcode.com/problems/majority-element
210,Course Schedule II,40.7%,Medium,0.0042893974831731225, https://leetcode.com/problems/course-schedule-ii
7,Reverse Integer,25.8%,Easy,0.00418293972984512, https://leetcode.com/problems/reverse-integer
28,Implement strStr(),34.5%,Easy,0.003943222775040032, https://leetcode.com/problems/implement-strstr
977,Squares of a Sorted Array,72.1%,Easy,0.003891055492966611, https://leetcode.com/problems/squares-of-a-sorted-array
217,Contains Duplicate,56.0%,Easy,0.0037979536727587773, https://leetcode.com/problems/contains-duplicate
8,String to Integer (atoi),15.4%,Medium,0.0037925521897059712, https://leetcode.com/problems/string-to-integer-atoi
153,Find Minimum in Rotated Sorted Array,45.1%,Medium,0.0037558729598054378, https://leetcode.com/problems/find-minimum-in-rotated-sorted-array
151,Reverse Words in a String,21.9%,Medium,0.003456091915988908, https://leetcode.com/problems/reverse-words-in-a-string
70,Climbing Stairs,47.8%,Easy,0.00339085548316782, https://leetcode.com/problems/climbing-stairs
11,Container With Most Water,50.8%,Medium,0.0030677223230101427, https://leetcode.com/problems/container-with-most-water
140,Word Break II,32.6%,Hard,0.0027070942357783584, https://leetcode.com/problems/word-break-ii
621,Task Scheduler,50.1%,Medium,0.002341784338144407, https://leetcode.com/problems/task-scheduler
67,Add Binary,45.2%,Easy,0.0016620272243229827, https://leetcode.com/problems/add-binary
ID,Title,Acceptance,Difficulty,Frequency,Leetcode Question Link
352,Data Stream as Disjoint Intervals,47.3%,Hard,0.6265860943271327, https://leetcode.com/problems/data-stream-as-disjoint-intervals
425,Word Squares,47.7%,Hard,0.6033608619091657, https://leetcode.com/problems/word-squares
554,Brick Wall,50.0%,Medium,0.5363932261307668, https://leetcode.com/problems/brick-wall
146,LRU Cache,33.2%,Medium,0.46942559035236786, https://leetcode.com/problems/lru-cache
362,Design Hit Counter,63.7%,Medium,0.41287934430142753, https://leetcode.com/problems/design-hit-counter
23,Merge k Sorted Lists,40.2%,Hard,0.3459117085230286, https://leetcode.com/problems/merge-k-sorted-lists
403,Frog Jump,39.7%,Hard,0.2789440727446297, https://leetcode.com/problems/frog-jump
56,Merge Intervals,39.3%,Medium,0.27305129764911124, https://leetcode.com/problems/merge-intervals
450,Delete Node in a BST,43.1%,Medium,0.2618604317292985, https://leetcode.com/problems/delete-node-in-a-bst
227,Basic Calculator II,36.9%,Medium,0.22526232820206687, https://leetcode.com/problems/basic-calculator-ii
253,Meeting Rooms II,45.7%,Medium,0.2194457881052731, https://leetcode.com/problems/meeting-rooms-ii
706,Design HashMap,61.3%,Easy,0.1960785423771685, https://leetcode.com/problems/design-hashmap
297,Serialize and Deserialize Binary Tree,47.5%,Hard,0.19461546769967167, https://leetcode.com/problems/serialize-and-deserialize-binary-tree
636,Exclusive Time of Functions,51.9%,Medium,0.17494800586305592, https://leetcode.com/problems/exclusive-time-of-functions
415,Add Strings,47.5%,Easy,0.17429245611868044, https://leetcode.com/problems/add-strings
692,Top K Frequent Words,51.8%,Medium,0.17278293546824908, https://leetcode.com/problems/top-k-frequent-words
200,Number of Islands,46.8%,Medium,0.1699216454242077, https://leetcode.com/problems/number-of-islands
715,Range Module,38.5%,Hard,0.1636294237818021, https://leetcode.com/problems/range-module
1242,Web Crawler Multithreaded,45.9%,Medium,0.14953173397096375, https://leetcode.com/problems/web-crawler-multithreaded
380,Insert Delete GetRandom O(1),47.5%,Medium,0.1466146891661091, https://leetcode.com/problems/insert-delete-getrandom-o1
349,Intersection of Two Arrays,62.5%,Easy,0.13745763880299086, https://leetcode.com/problems/intersection-of-two-arrays
1044,Longest Duplicate Substring,31.9%,Hard,0.1351378186727963, https://leetcode.com/problems/longest-duplicate-substring
33,Search in Rotated Sorted Array,34.5%,Medium,0.1281180285001361, https://leetcode.com/problems/search-in-rotated-sorted-array
54,Spiral Matrix,34.1%,Medium,0.12572728493821236, https://leetcode.com/problems/spiral-matrix
394,Decode String,50.0%,Medium,0.1232801760013658, https://leetcode.com/problems/decode-string
230,Kth Smallest Element in a BST,60.2%,Medium,0.1210793254708764, https://leetcode.com/problems/kth-smallest-element-in-a-bst
75,Sort Colors,47.3%,Medium,0.11789425180508288, https://leetcode.com/problems/sort-colors
1188,Design Bounded Blocking Queue,70.5%,Medium,0.11030454201470608, https://leetcode.com/problems/design-bounded-blocking-queue
73,Set Matrix Zeroes,43.1%,Medium,0.10673233036142979, https://leetcode.com/problems/set-matrix-zeroes
173,Binary Search Tree Iterator,56.6%,Medium,0.0993321513486892, https://leetcode.com/problems/binary-search-tree-iterator
232,Implement Queue using Stacks,49.6%,Easy,0.09690200534777553, https://leetcode.com/problems/implement-queue-using-stacks
1236,Web Crawler,64.3%,Medium,0.09531017980432487, https://leetcode.com/problems/web-crawler
138,Copy List with Random Pointer,36.4%,Medium,0.09473133310488323, https://leetcode.com/problems/copy-list-with-random-pointer
1,Two Sum,45.6%,Easy,0.09470547879560726, https://leetcode.com/problems/two-sum
20,Valid Parentheses,39.0%,Easy,0.09286263438126167, https://leetcode.com/problems/valid-parentheses
794,Valid Tic-Tac-Toe State,32.6%,Medium,0.0922312242160336, https://leetcode.com/problems/valid-tic-tac-toe-state
127,Word Ladder,29.6%,Medium,0.09162341383415479, https://leetcode.com/problems/word-ladder
545,Boundary of Binary Tree,38.9%,Medium,0.091248671465145, https://leetcode.com/problems/boundary-of-binary-tree
652,Find Duplicate Subtrees,50.2%,Medium,0.08907963005368878, https://leetcode.com/problems/find-duplicate-subtrees
722,Remove Comments,34.6%,Medium,0.08890352514166767, https://leetcode.com/problems/remove-comments
17,Letter Combinations of a Phone Number,46.8%,Medium,0.0855673732620712, https://leetcode.com/problems/letter-combinations-of-a-phone-number
1212,Team Scores in Football Tournament,55.8%,Medium,0.08269171584511335, https://leetcode.com/problems/team-scores-in-football-tournament
599,Minimum Index Sum of Two Lists,50.7%,Easy,0.0753494372417868, https://leetcode.com/problems/minimum-index-sum-of-two-lists
53,Maximum Subarray,46.5%,Easy,0.0751998401694112, https://leetcode.com/problems/maximum-subarray
503,Next Greater Element II,56.5%,Medium,0.07339377143296942, https://leetcode.com/problems/next-greater-element-ii
505,The Maze II,47.7%,Medium,0.07133147800542972, https://leetcode.com/problems/the-maze-ii
438,Find All Anagrams in a String,43.3%,Medium,0.07086789751218016, https://leetcode.com/problems/find-all-anagrams-in-a-string
314,Binary Tree Vertical Order Traversal,45.3%,Medium,0.07017345555905126, https://leetcode.com/problems/binary-tree-vertical-order-traversal
126,Word Ladder II,22.1%,Hard,0.07011193038456472, https://leetcode.com/problems/word-ladder-ii
42,Trapping Rain Water,48.9%,Hard,0.0674365414927314, https://leetcode.com/problems/trapping-rain-water
116,Populating Next Right Pointers in Each Node,45.2%,Medium,0.06417026482702023, https://leetcode.com/problems/populating-next-right-pointers-in-each-node
121,Best Time to Buy and Sell Stock,50.5%,Easy,0.06233349258151901, https://leetcode.com/problems/best-time-to-buy-and-sell-stock
195,Tenth Line,33.0%,Easy,0.06127490750055161, https://leetcode.com/problems/tenth-line
238,Product of Array Except Self,60.1%,Medium,0.061105194807639235, https://leetcode.com/problems/product-of-array-except-self
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
1190,Reverse Substrings Between Each Pair of Parentheses,61.5%,Medium,0.06007812394328337, https://leetcode.com/problems/reverse-substrings-between-each-pair-of-parentheses
355,Design Twitter,30.3%,Medium,0.05824061998094904, https://leetcode.com/problems/design-twitter
417,Pacific Atlantic Water Flow,41.1%,Medium,0.057523844138186606, https://leetcode.com/problems/pacific-atlantic-water-flow
741,Cherry Pickup,33.9%,Hard,0.056512210263342307, https://leetcode.com/problems/cherry-pickup
43,Multiply Strings,33.9%,Medium,0.05583052804728052, https://leetcode.com/problems/multiply-strings
21,Merge Two Sorted Lists,53.5%,Easy,0.05490757117845869, https://leetcode.com/problems/merge-two-sorted-lists
836,Rectangle Overlap,48.6%,Easy,0.05371219359052555, https://leetcode.com/problems/rectangle-overlap
426,Convert Binary Search Tree to Sorted Doubly Linked List,59.1%,Medium,0.05368014946362379, https://leetcode.com/problems/convert-binary-search-tree-to-sorted-doubly-linked-list
894,All Possible Full Binary Trees,75.2%,Medium,0.052436651273043935, https://leetcode.com/problems/all-possible-full-binary-trees
34,Find First and Last Position of Element in Sorted Array,36.2%,Medium,0.05083027351406798, https://leetcode.com/problems/find-first-and-last-position-of-element-in-sorted-array
449,Serialize and Deserialize BST,52.0%,Medium,0.049844204077291364, https://leetcode.com/problems/serialize-and-deserialize-bst
139,Word Break,40.1%,Medium,0.04669293281464548, https://leetcode.com/problems/word-break
206,Reverse Linked List,62.5%,Easy,0.046346967254127305, https://leetcode.com/problems/reverse-linked-list
3,Longest Substring Without Repeating Characters,30.4%,Medium,0.04601922329309672, https://leetcode.com/problems/longest-substring-without-repeating-characters
609,Find Duplicate File in System,59.5%,Medium,0.045205436768046794, https://leetcode.com/problems/find-duplicate-file-in-system
5,Longest Palindromic Substring,29.5%,Medium,0.04517328747428837, https://leetcode.com/problems/longest-palindromic-substring
529,Minesweeper,59.1%,Medium,0.044255009004040724, https://leetcode.com/problems/minesweeper
160,Intersection of Two Linked Lists,40.6%,Easy,0.043270781043381126, https://leetcode.com/problems/intersection-of-two-linked-lists
535,Encode and Decode TinyURL,79.9%,Medium,0.041978881338661234, https://leetcode.com/problems/encode-and-decode-tinyurl
236,Lowest Common Ancestor of a Binary Tree,45.7%,Medium,0.041648587234261826, https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-tree
965,Univalued Binary Tree,67.7%,Easy,0.04151887834779356, https://leetcode.com/problems/univalued-binary-tree
92,Reverse Linked List II,38.8%,Medium,0.041073535208287514, https://leetcode.com/problems/reverse-linked-list-ii
243,Shortest Word Distance,61.0%,Easy,0.040780370344928096, https://leetcode.com/problems/shortest-word-distance
37,Sudoku Solver,43.6%,Hard,0.040527833612118376, https://leetcode.com/problems/sudoku-solver
863,All Nodes Distance K in Binary Tree,55.4%,Medium,0.037756162417993476, https://leetcode.com/problems/all-nodes-distance-k-in-binary-tree
71,Simplify Path,32.6%,Medium,0.03622126343431837, https://leetcode.com/problems/simplify-path
128,Longest Consecutive Sequence,45.1%,Hard,0.035726058864721646, https://leetcode.com/problems/longest-consecutive-sequence
295,Find Median from Data Stream,44.3%,Hard,0.035519827248535335, https://leetcode.com/problems/find-median-from-data-stream
4,Median of Two Sorted Arrays,29.6%,Hard,0.034565653112280895, https://leetcode.com/problems/median-of-two-sorted-arrays
214,Shortest Palindrome,29.8%,Hard,0.03419136474827932, https://leetcode.com/problems/shortest-palindrome
12,Integer to Roman,55.1%,Medium,0.03370158881097552, https://leetcode.com/problems/integer-to-roman
209,Minimum Size Subarray Sum,38.2%,Medium,0.033239453928687726, https://leetcode.com/problems/minimum-size-subarray-sum
694,Number of Distinct Islands,56.0%,Medium,0.03278982282299087, https://leetcode.com/problems/number-of-distinct-islands
284,Peeking Iterator,45.7%,Medium,0.03110670713225487, https://leetcode.com/problems/peeking-iterator
163,Missing Ranges,24.3%,Medium,0.030890487019338404, https://leetcode.com/problems/missing-ranges
13,Roman to Integer,55.7%,Easy,0.030443751414723153, https://leetcode.com/problems/roman-to-integer
101,Symmetric Tree,46.8%,Easy,0.030241699823103273, https://leetcode.com/problems/symmetric-tree
94,Binary Tree Inorder Traversal,63.3%,Medium,0.029798596117835863, https://leetcode.com/problems/binary-tree-inorder-traversal
1197,Minimum Knight Moves,36.1%,Medium,0.02969780239174205, https://leetcode.com/problems/minimum-knight-moves
767,Reorganize String,48.7%,Medium,0.02967576814611661, https://leetcode.com/problems/reorganize-string
155,Min Stack,44.5%,Easy,0.029317296678520607, https://leetcode.com/problems/min-stack
456,132 Pattern,28.9%,Medium,0.029306126585499394, https://leetcode.com/problems/132-pattern
57,Insert Interval,33.5%,Hard,0.02927990558056596, https://leetcode.com/problems/insert-interval
10,Regular Expression Matching,26.8%,Hard,0.02844130559772196, https://leetcode.com/problems/regular-expression-matching
695,Max Area of Island,62.7%,Medium,0.028321590863246118, https://leetcode.com/problems/max-area-of-island
204,Count Primes,31.5%,Easy,0.02799343042200216, https://leetcode.com/problems/count-primes
518,Coin Change 2,50.2%,Medium,0.027969505010125056, https://leetcode.com/problems/coin-change-2
114,Flatten Binary Tree to Linked List,49.3%,Medium,0.02730545069026746, https://leetcode.com/problems/flatten-binary-tree-to-linked-list
796,Rotate String,49.6%,Easy,0.02701041988276247, https://leetcode.com/problems/rotate-string
273,Integer to English Words,27.1%,Hard,0.026980053764546055, https://leetcode.com/problems/integer-to-english-words
1305,All Elements in Two Binary Search Trees,76.1%,Medium,0.026282721799194744, https://leetcode.com/problems/all-elements-in-two-binary-search-trees
46,Permutations,63.5%,Medium,0.026064861710547768, https://leetcode.com/problems/permutations
242,Valid Anagram,56.9%,Easy,0.025684584297773504, https://leetcode.com/problems/valid-anagram
41,First Missing Positive,32.0%,Hard,0.02540222313806603, https://leetcode.com/problems/first-missing-positive
322,Coin Change,35.5%,Medium,0.024924029676386045, https://leetcode.com/problems/coin-change
125,Valid Palindrome,36.7%,Easy,0.02462208292471368, https://leetcode.com/problems/valid-palindrome
215,Kth Largest Element in an Array,55.4%,Medium,0.02414409892936099, https://leetcode.com/problems/kth-largest-element-in-an-array
844,Backspace String Compare,46.4%,Easy,0.0235551325028849, https://leetcode.com/problems/backspace-string-compare
49,Group Anagrams,56.9%,Medium,0.02354157682187747, https://leetcode.com/problems/group-anagrams
347,Top K Frequent Elements,61.2%,Medium,0.02350975159825416, https://leetcode.com/problems/top-k-frequent-elements
973,K Closest Points to Origin,63.8%,Medium,0.022897394173017796, https://leetcode.com/problems/k-closest-points-to-origin
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
221,Maximal Square,37.7%,Medium,0.022108490754203434, https://leetcode.com/problems/maximal-square
113,Path Sum II,46.7%,Medium,0.021882711249507664, https://leetcode.com/problems/path-sum-ii
958,Check Completeness of a Binary Tree,52.1%,Medium,0.021763644636359686, https://leetcode.com/problems/check-completeness-of-a-binary-tree
112,Path Sum,41.2%,Easy,0.021701651897460775, https://leetcode.com/problems/path-sum
141,Linked List Cycle,41.1%,Easy,0.021638372380967483, https://leetcode.com/problems/linked-list-cycle
45,Jump Game II,30.6%,Hard,0.021353124470568974, https://leetcode.com/problems/jump-game-ii
543,Diameter of Binary Tree,48.4%,Easy,0.02105617995251665, https://leetcode.com/problems/diameter-of-binary-tree
350,Intersection of Two Arrays II,51.4%,Easy,0.020680587107206983, https://leetcode.com/problems/intersection-of-two-arrays-ii
32,Longest Valid Parentheses,28.4%,Hard,0.020385756924473915, https://leetcode.com/problems/longest-valid-parentheses
208,Implement Trie (Prefix Tree),49.4%,Medium,0.02037191321634931, https://leetcode.com/problems/implement-trie-prefix-tree
341,Flatten Nested List Iterator,52.9%,Medium,0.019980684690483426, https://leetcode.com/problems/flatten-nested-list-iterator
207,Course Schedule,43.1%,Medium,0.019709926055136454, https://leetcode.com/problems/course-schedule
15,3Sum,26.8%,Medium,0.019619157889188592, https://leetcode.com/problems/3sum
19,Remove Nth Node From End of List,35.2%,Medium,0.019074355670058666, https://leetcode.com/problems/remove-nth-node-from-end-of-list
721,Accounts Merge,48.8%,Medium,0.01888630262874805, https://leetcode.com/problems/accounts-merge
184,Department Highest Salary,36.7%,Medium,0.018735911057469818, https://leetcode.com/problems/department-highest-salary
532,K-diff Pairs in an Array,31.6%,Easy,0.018735911057469818, https://leetcode.com/problems/k-diff-pairs-in-an-array
1008,Construct Binary Search Tree from Preorder Traversal,78.4%,Medium,0.01844220088035248, https://leetcode.com/problems/construct-binary-search-tree-from-preorder-traversal
283,Move Zeroes,57.8%,Easy,0.01789853050377608, https://leetcode.com/problems/move-zeroes
38,Count and Say,44.6%,Easy,0.01753063983505879, https://leetcode.com/problems/count-and-say
289,Game of Life,54.5%,Medium,0.0173239499317743, https://leetcode.com/problems/game-of-life
876,Middle of the Linked List,68.4%,Easy,0.01707497375257815, https://leetcode.com/problems/middle-of-the-linked-list
50,Pow(x;n),30.3%,Medium,0.017036779497025166, https://leetcode.com/problems/powx-n
560,Subarray Sum Equals K,43.9%,Medium,0.017009020666013328, https://leetcode.com/problems/subarray-sum-equals-k
402,Remove K Digits,28.4%,Medium,0.016863806052004816, https://leetcode.com/problems/remove-k-digits
51,N-Queens,46.6%,Hard,0.016393809775676407, https://leetcode.com/problems/n-queens
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
412,Fizz Buzz,62.3%,Easy,0.016051709010507904, https://leetcode.com/problems/fizz-buzz
59,Spiral Matrix II,53.9%,Medium,0.01579187969789165, https://leetcode.com/problems/spiral-matrix-ii
938,Range Sum of BST,81.3%,Easy,0.015707129205357877, https://leetcode.com/problems/range-sum-of-bst
2,Add Two Numbers,33.9%,Medium,0.015095892173467356, https://leetcode.com/problems/add-two-numbers
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
109,Convert Sorted List to Binary Search Tree,47.7%,Medium,0.014440684154794336, https://leetcode.com/problems/convert-sorted-list-to-binary-search-tree
315,Count of Smaller Numbers After Self,41.5%,Hard,0.014352596574956585, https://leetcode.com/problems/count-of-smaller-numbers-after-self
150,Evaluate Reverse Polish Notation,36.3%,Medium,0.01413451093490476, https://leetcode.com/problems/evaluate-reverse-polish-notation
76,Minimum Window Substring,34.6%,Hard,0.013966707481708198, https://leetcode.com/problems/minimum-window-substring
179,Largest Number,28.8%,Medium,0.013865040137171665, https://leetcode.com/problems/largest-number
44,Wildcard Matching,24.7%,Hard,0.013703537497261858, https://leetcode.com/problems/wildcard-matching
496,Next Greater Element I,63.8%,Easy,0.013201511858535894, https://leetcode.com/problems/next-greater-element-i
1047,Remove All Adjacent Duplicates In String,68.6%,Easy,0.013059277989179281, https://leetcode.com/problems/remove-all-adjacent-duplicates-in-string
199,Binary Tree Right Side View,54.1%,Medium,0.01274082919906162, https://leetcode.com/problems/binary-tree-right-side-view
445,Add Two Numbers II,54.5%,Medium,0.01233061245747872, https://leetcode.com/problems/add-two-numbers-ii
437,Path Sum III,47.2%,Medium,0.012128711446614806, https://leetcode.com/problems/path-sum-iii
88,Merge Sorted Array,39.4%,Easy,0.011986958032982505, https://leetcode.com/problems/merge-sorted-array
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
300,Longest Increasing Subsequence,42.6%,Medium,0.011806512586989004, https://leetcode.com/problems/longest-increasing-subsequence
98,Validate Binary Search Tree,27.8%,Medium,0.01172346369605921, https://leetcode.com/problems/validate-binary-search-tree
264,Ugly Number II,42.0%,Medium,0.011604423810414601, https://leetcode.com/problems/ugly-number-ii
205,Isomorphic Strings,39.8%,Easy,0.011544139746865315, https://leetcode.com/problems/isomorphic-strings
136,Single Number,65.5%,Easy,0.011429512235126808, https://leetcode.com/problems/single-number
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
55,Jump Game,34.6%,Medium,0.011265609194218986, https://leetcode.com/problems/jump-game
62,Unique Paths,54.1%,Medium,0.010367562048856941, https://leetcode.com/problems/unique-paths
819,Most Common Word,44.8%,Easy,0.010269666637456105, https://leetcode.com/problems/most-common-word
212,Word Search II,34.9%,Hard,0.009845021678804893, https://leetcode.com/problems/word-search-ii
905,Sort Array By Parity,74.1%,Easy,0.009603915354180344, https://leetcode.com/problems/sort-array-by-parity
617,Merge Two Binary Trees,74.1%,Easy,0.008262802639833214, https://leetcode.com/problems/merge-two-binary-trees
235,Lowest Common Ancestor of a Binary Search Tree,49.9%,Easy,0.00821697310228087, https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-search-tree
239,Sliding Window Maximum,43.0%,Hard,0.007898935224534491, https://leetcode.com/problems/sliding-window-maximum
26,Remove Duplicates from Sorted Array,45.1%,Easy,0.007782518973063169, https://leetcode.com/problems/remove-duplicates-from-sorted-array
240,Search a 2D Matrix II,43.2%,Medium,0.0075829747244553335, https://leetcode.com/problems/search-a-2d-matrix-ii
122,Best Time to Buy and Sell Stock II,57.0%,Easy,0.007532046655581962, https://leetcode.com/problems/best-time-to-buy-and-sell-stock-ii
14,Longest Common Prefix,35.4%,Easy,0.00745530292090591, https://leetcode.com/problems/longest-common-prefix
344,Reverse String,68.5%,Easy,0.00734157796234515, https://leetcode.com/problems/reverse-string
36,Valid Sudoku,48.7%,Medium,0.007258242715805398, https://leetcode.com/problems/valid-sudoku
9,Palindrome Number,48.4%,Easy,0.006822343017166543, https://leetcode.com/problems/palindrome-number
103,Binary Tree Zigzag Level Order Traversal,48.3%,Medium,0.006816368572598042, https://leetcode.com/problems/binary-tree-zigzag-level-order-traversal
29,Divide Two Integers,16.4%,Medium,0.006772799340092467, https://leetcode.com/problems/divide-two-integers
79,Word Search,35.6%,Medium,0.006642335946304871, https://leetcode.com/problems/word-search
107,Binary Tree Level Order Traversal II,53.5%,Easy,0.006423661079917184, https://leetcode.com/problems/binary-tree-level-order-traversal-ii
24,Swap Nodes in Pairs,50.4%,Medium,0.0062218275061505365, https://leetcode.com/problems/swap-nodes-in-pairs
91,Decode Ways,24.7%,Medium,0.005968385368349129, https://leetcode.com/problems/decode-ways
105,Construct Binary Tree from Preorder and Inorder Traversal,48.8%,Medium,0.005628268691614718, https://leetcode.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal
152,Maximum Product Subarray,31.7%,Medium,0.005590510716885066, https://leetcode.com/problems/maximum-product-subarray
108,Convert Sorted Array to Binary Search Tree,57.9%,Easy,0.005554027051374908, https://leetcode.com/problems/convert-sorted-array-to-binary-search-tree
287,Find the Duplicate Number,55.5%,Medium,0.005501320434837602, https://leetcode.com/problems/find-the-duplicate-number
268,Missing Number,51.7%,Easy,0.0048804391649084865, https://leetcode.com/problems/missing-number
169,Majority Element,58.7%,Easy,0.004706444738837472, https://leetcode.com/problems/majority-element
210,Course Schedule II,40.7%,Medium,0.0042893974831731225, https://leetcode.com/problems/course-schedule-ii
7,Reverse Integer,25.8%,Easy,0.00418293972984512, https://leetcode.com/problems/reverse-integer
28,Implement strStr(),34.5%,Easy,0.003943222775040032, https://leetcode.com/problems/implement-strstr
977,Squares of a Sorted Array,72.1%,Easy,0.003891055492966611, https://leetcode.com/problems/squares-of-a-sorted-array
217,Contains Duplicate,56.0%,Easy,0.0037979536727587773, https://leetcode.com/problems/contains-duplicate
8,String to Integer (atoi),15.4%,Medium,0.0037925521897059712, https://leetcode.com/problems/string-to-integer-atoi
153,Find Minimum in Rotated Sorted Array,45.1%,Medium,0.0037558729598054378, https://leetcode.com/problems/find-minimum-in-rotated-sorted-array
151,Reverse Words in a String,21.9%,Medium,0.003456091915988908, https://leetcode.com/problems/reverse-words-in-a-string
70,Climbing Stairs,47.8%,Easy,0.00339085548316782, https://leetcode.com/problems/climbing-stairs
11,Container With Most Water,50.8%,Medium,0.0030677223230101427, https://leetcode.com/problems/container-with-most-water
140,Word Break II,32.6%,Hard,0.0027070942357783584, https://leetcode.com/problems/word-break-ii
621,Task Scheduler,50.1%,Medium,0.002341784338144407, https://leetcode.com/problems/task-scheduler
67,Add Binary,45.2%,Easy,0.0016620272243229827, https://leetcode.com/problems/add-binary
1 352 ID Data Stream as Disjoint Intervals Title 47.3% Acceptance Hard Difficulty 0.6265860943271327 Frequency https://leetcode.com/problems/data-stream-as-disjoint-intervals Leetcode Question Link
2 425 352 Word Squares Data Stream as Disjoint Intervals 47.7% 47.3% Hard Hard 0.6033608619091657 0.6265860943271327 https://leetcode.com/problems/word-squares https://leetcode.com/problems/data-stream-as-disjoint-intervals
3 554 425 Brick Wall Word Squares 50.0% 47.7% Medium Hard 0.5363932261307668 0.6033608619091657 https://leetcode.com/problems/brick-wall https://leetcode.com/problems/word-squares
4 146 554 LRU Cache Brick Wall 33.2% 50.0% Medium Medium 0.46942559035236786 0.5363932261307668 https://leetcode.com/problems/lru-cache https://leetcode.com/problems/brick-wall
5 362 146 Design Hit Counter LRU Cache 63.7% 33.2% Medium Medium 0.41287934430142753 0.46942559035236786 https://leetcode.com/problems/design-hit-counter https://leetcode.com/problems/lru-cache
6 23 362 Merge k Sorted Lists Design Hit Counter 40.2% 63.7% Hard Medium 0.3459117085230286 0.41287934430142753 https://leetcode.com/problems/merge-k-sorted-lists https://leetcode.com/problems/design-hit-counter
7 403 23 Frog Jump Merge k Sorted Lists 39.7% 40.2% Hard Hard 0.2789440727446297 0.3459117085230286 https://leetcode.com/problems/frog-jump https://leetcode.com/problems/merge-k-sorted-lists
8 56 403 Merge Intervals Frog Jump 39.3% 39.7% Medium Hard 0.27305129764911124 0.2789440727446297 https://leetcode.com/problems/merge-intervals https://leetcode.com/problems/frog-jump
9 450 56 Delete Node in a BST Merge Intervals 43.1% 39.3% Medium Medium 0.2618604317292985 0.27305129764911124 https://leetcode.com/problems/delete-node-in-a-bst https://leetcode.com/problems/merge-intervals
10 227 450 Basic Calculator II Delete Node in a BST 36.9% 43.1% Medium Medium 0.22526232820206687 0.2618604317292985 https://leetcode.com/problems/basic-calculator-ii https://leetcode.com/problems/delete-node-in-a-bst
11 253 227 Meeting Rooms II Basic Calculator II 45.7% 36.9% Medium Medium 0.2194457881052731 0.22526232820206687 https://leetcode.com/problems/meeting-rooms-ii https://leetcode.com/problems/basic-calculator-ii
12 706 253 Design HashMap Meeting Rooms II 61.3% 45.7% Easy Medium 0.1960785423771685 0.2194457881052731 https://leetcode.com/problems/design-hashmap https://leetcode.com/problems/meeting-rooms-ii
13 297 706 Serialize and Deserialize Binary Tree Design HashMap 47.5% 61.3% Hard Easy 0.19461546769967167 0.1960785423771685 https://leetcode.com/problems/serialize-and-deserialize-binary-tree https://leetcode.com/problems/design-hashmap
14 636 297 Exclusive Time of Functions Serialize and Deserialize Binary Tree 51.9% 47.5% Medium Hard 0.17494800586305592 0.19461546769967167 https://leetcode.com/problems/exclusive-time-of-functions https://leetcode.com/problems/serialize-and-deserialize-binary-tree
15 415 636 Add Strings Exclusive Time of Functions 47.5% 51.9% Easy Medium 0.17429245611868044 0.17494800586305592 https://leetcode.com/problems/add-strings https://leetcode.com/problems/exclusive-time-of-functions
16 692 415 Top K Frequent Words Add Strings 51.8% 47.5% Medium Easy 0.17278293546824908 0.17429245611868044 https://leetcode.com/problems/top-k-frequent-words https://leetcode.com/problems/add-strings
17 200 692 Number of Islands Top K Frequent Words 46.8% 51.8% Medium Medium 0.1699216454242077 0.17278293546824908 https://leetcode.com/problems/number-of-islands https://leetcode.com/problems/top-k-frequent-words
18 715 200 Range Module Number of Islands 38.5% 46.8% Hard Medium 0.1636294237818021 0.1699216454242077 https://leetcode.com/problems/range-module https://leetcode.com/problems/number-of-islands
19 1242 715 Web Crawler Multithreaded Range Module 45.9% 38.5% Medium Hard 0.14953173397096375 0.1636294237818021 https://leetcode.com/problems/web-crawler-multithreaded https://leetcode.com/problems/range-module
20 380 1242 Insert Delete GetRandom O(1) Web Crawler Multithreaded 47.5% 45.9% Medium Medium 0.1466146891661091 0.14953173397096375 https://leetcode.com/problems/insert-delete-getrandom-o1 https://leetcode.com/problems/web-crawler-multithreaded
21 349 380 Intersection of Two Arrays Insert Delete GetRandom O(1) 62.5% 47.5% Easy Medium 0.13745763880299086 0.1466146891661091 https://leetcode.com/problems/intersection-of-two-arrays https://leetcode.com/problems/insert-delete-getrandom-o1
22 1044 349 Longest Duplicate Substring Intersection of Two Arrays 31.9% 62.5% Hard Easy 0.1351378186727963 0.13745763880299086 https://leetcode.com/problems/longest-duplicate-substring https://leetcode.com/problems/intersection-of-two-arrays
23 33 1044 Search in Rotated Sorted Array Longest Duplicate Substring 34.5% 31.9% Medium Hard 0.1281180285001361 0.1351378186727963 https://leetcode.com/problems/search-in-rotated-sorted-array https://leetcode.com/problems/longest-duplicate-substring
24 54 33 Spiral Matrix Search in Rotated Sorted Array 34.1% 34.5% Medium Medium 0.12572728493821236 0.1281180285001361 https://leetcode.com/problems/spiral-matrix https://leetcode.com/problems/search-in-rotated-sorted-array
25 394 54 Decode String Spiral Matrix 50.0% 34.1% Medium Medium 0.1232801760013658 0.12572728493821236 https://leetcode.com/problems/decode-string https://leetcode.com/problems/spiral-matrix
26 230 394 Kth Smallest Element in a BST Decode String 60.2% 50.0% Medium Medium 0.1210793254708764 0.1232801760013658 https://leetcode.com/problems/kth-smallest-element-in-a-bst https://leetcode.com/problems/decode-string
27 75 230 Sort Colors Kth Smallest Element in a BST 47.3% 60.2% Medium Medium 0.11789425180508288 0.1210793254708764 https://leetcode.com/problems/sort-colors https://leetcode.com/problems/kth-smallest-element-in-a-bst
28 1188 75 Design Bounded Blocking Queue Sort Colors 70.5% 47.3% Medium Medium 0.11030454201470608 0.11789425180508288 https://leetcode.com/problems/design-bounded-blocking-queue https://leetcode.com/problems/sort-colors
29 73 1188 Set Matrix Zeroes Design Bounded Blocking Queue 43.1% 70.5% Medium Medium 0.10673233036142979 0.11030454201470608 https://leetcode.com/problems/set-matrix-zeroes https://leetcode.com/problems/design-bounded-blocking-queue
30 173 73 Binary Search Tree Iterator Set Matrix Zeroes 56.6% 43.1% Medium Medium 0.0993321513486892 0.10673233036142979 https://leetcode.com/problems/binary-search-tree-iterator https://leetcode.com/problems/set-matrix-zeroes
31 232 173 Implement Queue using Stacks Binary Search Tree Iterator 49.6% 56.6% Easy Medium 0.09690200534777553 0.0993321513486892 https://leetcode.com/problems/implement-queue-using-stacks https://leetcode.com/problems/binary-search-tree-iterator
32 1236 232 Web Crawler Implement Queue using Stacks 64.3% 49.6% Medium Easy 0.09531017980432487 0.09690200534777553 https://leetcode.com/problems/web-crawler https://leetcode.com/problems/implement-queue-using-stacks
33 138 1236 Copy List with Random Pointer Web Crawler 36.4% 64.3% Medium Medium 0.09473133310488323 0.09531017980432487 https://leetcode.com/problems/copy-list-with-random-pointer https://leetcode.com/problems/web-crawler
34 1 138 Two Sum Copy List with Random Pointer 45.6% 36.4% Easy Medium 0.09470547879560726 0.09473133310488323 https://leetcode.com/problems/two-sum https://leetcode.com/problems/copy-list-with-random-pointer
35 20 1 Valid Parentheses Two Sum 39.0% 45.6% Easy Easy 0.09286263438126167 0.09470547879560726 https://leetcode.com/problems/valid-parentheses https://leetcode.com/problems/two-sum
36 794 20 Valid Tic-Tac-Toe State Valid Parentheses 32.6% 39.0% Medium Easy 0.0922312242160336 0.09286263438126167 https://leetcode.com/problems/valid-tic-tac-toe-state https://leetcode.com/problems/valid-parentheses
37 127 794 Word Ladder Valid Tic-Tac-Toe State 29.6% 32.6% Medium Medium 0.09162341383415479 0.0922312242160336 https://leetcode.com/problems/word-ladder https://leetcode.com/problems/valid-tic-tac-toe-state
38 545 127 Boundary of Binary Tree Word Ladder 38.9% 29.6% Medium Medium 0.091248671465145 0.09162341383415479 https://leetcode.com/problems/boundary-of-binary-tree https://leetcode.com/problems/word-ladder
39 652 545 Find Duplicate Subtrees Boundary of Binary Tree 50.2% 38.9% Medium Medium 0.08907963005368878 0.091248671465145 https://leetcode.com/problems/find-duplicate-subtrees https://leetcode.com/problems/boundary-of-binary-tree
40 722 652 Remove Comments Find Duplicate Subtrees 34.6% 50.2% Medium Medium 0.08890352514166767 0.08907963005368878 https://leetcode.com/problems/remove-comments https://leetcode.com/problems/find-duplicate-subtrees
41 17 722 Letter Combinations of a Phone Number Remove Comments 46.8% 34.6% Medium Medium 0.0855673732620712 0.08890352514166767 https://leetcode.com/problems/letter-combinations-of-a-phone-number https://leetcode.com/problems/remove-comments
42 1212 17 Team Scores in Football Tournament Letter Combinations of a Phone Number 55.8% 46.8% Medium Medium 0.08269171584511335 0.0855673732620712 https://leetcode.com/problems/team-scores-in-football-tournament https://leetcode.com/problems/letter-combinations-of-a-phone-number
43 599 1212 Minimum Index Sum of Two Lists Team Scores in Football Tournament 50.7% 55.8% Easy Medium 0.0753494372417868 0.08269171584511335 https://leetcode.com/problems/minimum-index-sum-of-two-lists https://leetcode.com/problems/team-scores-in-football-tournament
44 53 599 Maximum Subarray Minimum Index Sum of Two Lists 46.5% 50.7% Easy Easy 0.0751998401694112 0.0753494372417868 https://leetcode.com/problems/maximum-subarray https://leetcode.com/problems/minimum-index-sum-of-two-lists
45 503 53 Next Greater Element II Maximum Subarray 56.5% 46.5% Medium Easy 0.07339377143296942 0.0751998401694112 https://leetcode.com/problems/next-greater-element-ii https://leetcode.com/problems/maximum-subarray
46 505 503 The Maze II Next Greater Element II 47.7% 56.5% Medium Medium 0.07133147800542972 0.07339377143296942 https://leetcode.com/problems/the-maze-ii https://leetcode.com/problems/next-greater-element-ii
47 438 505 Find All Anagrams in a String The Maze II 43.3% 47.7% Medium Medium 0.07086789751218016 0.07133147800542972 https://leetcode.com/problems/find-all-anagrams-in-a-string https://leetcode.com/problems/the-maze-ii
48 314 438 Binary Tree Vertical Order Traversal Find All Anagrams in a String 45.3% 43.3% Medium Medium 0.07017345555905126 0.07086789751218016 https://leetcode.com/problems/binary-tree-vertical-order-traversal https://leetcode.com/problems/find-all-anagrams-in-a-string
49 126 314 Word Ladder II Binary Tree Vertical Order Traversal 22.1% 45.3% Hard Medium 0.07011193038456472 0.07017345555905126 https://leetcode.com/problems/word-ladder-ii https://leetcode.com/problems/binary-tree-vertical-order-traversal
50 42 126 Trapping Rain Water Word Ladder II 48.9% 22.1% Hard Hard 0.0674365414927314 0.07011193038456472 https://leetcode.com/problems/trapping-rain-water https://leetcode.com/problems/word-ladder-ii
51 116 42 Populating Next Right Pointers in Each Node Trapping Rain Water 45.2% 48.9% Medium Hard 0.06417026482702023 0.0674365414927314 https://leetcode.com/problems/populating-next-right-pointers-in-each-node https://leetcode.com/problems/trapping-rain-water
52 121 116 Best Time to Buy and Sell Stock Populating Next Right Pointers in Each Node 50.5% 45.2% Easy Medium 0.06233349258151901 0.06417026482702023 https://leetcode.com/problems/best-time-to-buy-and-sell-stock https://leetcode.com/problems/populating-next-right-pointers-in-each-node
53 195 121 Tenth Line Best Time to Buy and Sell Stock 33.0% 50.5% Easy Easy 0.06127490750055161 0.06233349258151901 https://leetcode.com/problems/tenth-line https://leetcode.com/problems/best-time-to-buy-and-sell-stock
54 238 195 Product of Array Except Self Tenth Line 60.1% 33.0% Medium Easy 0.061105194807639235 0.06127490750055161 https://leetcode.com/problems/product-of-array-except-self https://leetcode.com/problems/tenth-line
55 1170 238 Compare Strings by Frequency of the Smallest Character Product of Array Except Self 58.7% 60.1% Easy Medium 0.060901617340111645 0.061105194807639235 https://leetcode.com/problems/compare-strings-by-frequency-of-the-smallest-character https://leetcode.com/problems/product-of-array-except-self
56 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
57 1190 305 Reverse Substrings Between Each Pair of Parentheses Number of Islands II 61.5% 40.1% Medium Hard 0.06007812394328337 0.06007812394328337 https://leetcode.com/problems/reverse-substrings-between-each-pair-of-parentheses https://leetcode.com/problems/number-of-islands-ii
58 355 1190 Design Twitter Reverse Substrings Between Each Pair of Parentheses 30.3% 61.5% Medium Medium 0.05824061998094904 0.06007812394328337 https://leetcode.com/problems/design-twitter https://leetcode.com/problems/reverse-substrings-between-each-pair-of-parentheses
59 417 355 Pacific Atlantic Water Flow Design Twitter 41.1% 30.3% Medium Medium 0.057523844138186606 0.05824061998094904 https://leetcode.com/problems/pacific-atlantic-water-flow https://leetcode.com/problems/design-twitter
60 741 417 Cherry Pickup Pacific Atlantic Water Flow 33.9% 41.1% Hard Medium 0.056512210263342307 0.057523844138186606 https://leetcode.com/problems/cherry-pickup https://leetcode.com/problems/pacific-atlantic-water-flow
61 43 741 Multiply Strings Cherry Pickup 33.9% 33.9% Medium Hard 0.05583052804728052 0.056512210263342307 https://leetcode.com/problems/multiply-strings https://leetcode.com/problems/cherry-pickup
62 21 43 Merge Two Sorted Lists Multiply Strings 53.5% 33.9% Easy Medium 0.05490757117845869 0.05583052804728052 https://leetcode.com/problems/merge-two-sorted-lists https://leetcode.com/problems/multiply-strings
63 836 21 Rectangle Overlap Merge Two Sorted Lists 48.6% 53.5% Easy Easy 0.05371219359052555 0.05490757117845869 https://leetcode.com/problems/rectangle-overlap https://leetcode.com/problems/merge-two-sorted-lists
64 426 836 Convert Binary Search Tree to Sorted Doubly Linked List Rectangle Overlap 59.1% 48.6% Medium Easy 0.05368014946362379 0.05371219359052555 https://leetcode.com/problems/convert-binary-search-tree-to-sorted-doubly-linked-list https://leetcode.com/problems/rectangle-overlap
65 894 426 All Possible Full Binary Trees Convert Binary Search Tree to Sorted Doubly Linked List 75.2% 59.1% Medium Medium 0.052436651273043935 0.05368014946362379 https://leetcode.com/problems/all-possible-full-binary-trees https://leetcode.com/problems/convert-binary-search-tree-to-sorted-doubly-linked-list
66 34 894 Find First and Last Position of Element in Sorted Array All Possible Full Binary Trees 36.2% 75.2% Medium Medium 0.05083027351406798 0.052436651273043935 https://leetcode.com/problems/find-first-and-last-position-of-element-in-sorted-array https://leetcode.com/problems/all-possible-full-binary-trees
67 449 34 Serialize and Deserialize BST Find First and Last Position of Element in Sorted Array 52.0% 36.2% Medium Medium 0.049844204077291364 0.05083027351406798 https://leetcode.com/problems/serialize-and-deserialize-bst https://leetcode.com/problems/find-first-and-last-position-of-element-in-sorted-array
68 139 449 Word Break Serialize and Deserialize BST 40.1% 52.0% Medium Medium 0.04669293281464548 0.049844204077291364 https://leetcode.com/problems/word-break https://leetcode.com/problems/serialize-and-deserialize-bst
69 206 139 Reverse Linked List Word Break 62.5% 40.1% Easy Medium 0.046346967254127305 0.04669293281464548 https://leetcode.com/problems/reverse-linked-list https://leetcode.com/problems/word-break
70 3 206 Longest Substring Without Repeating Characters Reverse Linked List 30.4% 62.5% Medium Easy 0.04601922329309672 0.046346967254127305 https://leetcode.com/problems/longest-substring-without-repeating-characters https://leetcode.com/problems/reverse-linked-list
71 609 3 Find Duplicate File in System Longest Substring Without Repeating Characters 59.5% 30.4% Medium Medium 0.045205436768046794 0.04601922329309672 https://leetcode.com/problems/find-duplicate-file-in-system https://leetcode.com/problems/longest-substring-without-repeating-characters
72 5 609 Longest Palindromic Substring Find Duplicate File in System 29.5% 59.5% Medium Medium 0.04517328747428837 0.045205436768046794 https://leetcode.com/problems/longest-palindromic-substring https://leetcode.com/problems/find-duplicate-file-in-system
73 529 5 Minesweeper Longest Palindromic Substring 59.1% 29.5% Medium Medium 0.044255009004040724 0.04517328747428837 https://leetcode.com/problems/minesweeper https://leetcode.com/problems/longest-palindromic-substring
74 160 529 Intersection of Two Linked Lists Minesweeper 40.6% 59.1% Easy Medium 0.043270781043381126 0.044255009004040724 https://leetcode.com/problems/intersection-of-two-linked-lists https://leetcode.com/problems/minesweeper
75 535 160 Encode and Decode TinyURL Intersection of Two Linked Lists 79.9% 40.6% Medium Easy 0.041978881338661234 0.043270781043381126 https://leetcode.com/problems/encode-and-decode-tinyurl https://leetcode.com/problems/intersection-of-two-linked-lists
76 236 535 Lowest Common Ancestor of a Binary Tree Encode and Decode TinyURL 45.7% 79.9% Medium Medium 0.041648587234261826 0.041978881338661234 https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-tree https://leetcode.com/problems/encode-and-decode-tinyurl
77 965 236 Univalued Binary Tree Lowest Common Ancestor of a Binary Tree 67.7% 45.7% Easy Medium 0.04151887834779356 0.041648587234261826 https://leetcode.com/problems/univalued-binary-tree https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-tree
78 92 965 Reverse Linked List II Univalued Binary Tree 38.8% 67.7% Medium Easy 0.041073535208287514 0.04151887834779356 https://leetcode.com/problems/reverse-linked-list-ii https://leetcode.com/problems/univalued-binary-tree
79 243 92 Shortest Word Distance Reverse Linked List II 61.0% 38.8% Easy Medium 0.040780370344928096 0.041073535208287514 https://leetcode.com/problems/shortest-word-distance https://leetcode.com/problems/reverse-linked-list-ii
80 37 243 Sudoku Solver Shortest Word Distance 43.6% 61.0% Hard Easy 0.040527833612118376 0.040780370344928096 https://leetcode.com/problems/sudoku-solver https://leetcode.com/problems/shortest-word-distance
81 863 37 All Nodes Distance K in Binary Tree Sudoku Solver 55.4% 43.6% Medium Hard 0.037756162417993476 0.040527833612118376 https://leetcode.com/problems/all-nodes-distance-k-in-binary-tree https://leetcode.com/problems/sudoku-solver
82 71 863 Simplify Path All Nodes Distance K in Binary Tree 32.6% 55.4% Medium Medium 0.03622126343431837 0.037756162417993476 https://leetcode.com/problems/simplify-path https://leetcode.com/problems/all-nodes-distance-k-in-binary-tree
83 128 71 Longest Consecutive Sequence Simplify Path 45.1% 32.6% Hard Medium 0.035726058864721646 0.03622126343431837 https://leetcode.com/problems/longest-consecutive-sequence https://leetcode.com/problems/simplify-path
84 295 128 Find Median from Data Stream Longest Consecutive Sequence 44.3% 45.1% Hard Hard 0.035519827248535335 0.035726058864721646 https://leetcode.com/problems/find-median-from-data-stream https://leetcode.com/problems/longest-consecutive-sequence
85 4 295 Median of Two Sorted Arrays Find Median from Data Stream 29.6% 44.3% Hard Hard 0.034565653112280895 0.035519827248535335 https://leetcode.com/problems/median-of-two-sorted-arrays https://leetcode.com/problems/find-median-from-data-stream
86 214 4 Shortest Palindrome Median of Two Sorted Arrays 29.8% 29.6% Hard Hard 0.03419136474827932 0.034565653112280895 https://leetcode.com/problems/shortest-palindrome https://leetcode.com/problems/median-of-two-sorted-arrays
87 12 214 Integer to Roman Shortest Palindrome 55.1% 29.8% Medium Hard 0.03370158881097552 0.03419136474827932 https://leetcode.com/problems/integer-to-roman https://leetcode.com/problems/shortest-palindrome
88 209 12 Minimum Size Subarray Sum Integer to Roman 38.2% 55.1% Medium Medium 0.033239453928687726 0.03370158881097552 https://leetcode.com/problems/minimum-size-subarray-sum https://leetcode.com/problems/integer-to-roman
89 694 209 Number of Distinct Islands Minimum Size Subarray Sum 56.0% 38.2% Medium Medium 0.03278982282299087 0.033239453928687726 https://leetcode.com/problems/number-of-distinct-islands https://leetcode.com/problems/minimum-size-subarray-sum
90 284 694 Peeking Iterator Number of Distinct Islands 45.7% 56.0% Medium Medium 0.03110670713225487 0.03278982282299087 https://leetcode.com/problems/peeking-iterator https://leetcode.com/problems/number-of-distinct-islands
91 163 284 Missing Ranges Peeking Iterator 24.3% 45.7% Medium Medium 0.030890487019338404 0.03110670713225487 https://leetcode.com/problems/missing-ranges https://leetcode.com/problems/peeking-iterator
92 13 163 Roman to Integer Missing Ranges 55.7% 24.3% Easy Medium 0.030443751414723153 0.030890487019338404 https://leetcode.com/problems/roman-to-integer https://leetcode.com/problems/missing-ranges
93 101 13 Symmetric Tree Roman to Integer 46.8% 55.7% Easy Easy 0.030241699823103273 0.030443751414723153 https://leetcode.com/problems/symmetric-tree https://leetcode.com/problems/roman-to-integer
94 94 101 Binary Tree Inorder Traversal Symmetric Tree 63.3% 46.8% Medium Easy 0.029798596117835863 0.030241699823103273 https://leetcode.com/problems/binary-tree-inorder-traversal https://leetcode.com/problems/symmetric-tree
95 1197 94 Minimum Knight Moves Binary Tree Inorder Traversal 36.1% 63.3% Medium Medium 0.02969780239174205 0.029798596117835863 https://leetcode.com/problems/minimum-knight-moves https://leetcode.com/problems/binary-tree-inorder-traversal
96 767 1197 Reorganize String Minimum Knight Moves 48.7% 36.1% Medium Medium 0.02967576814611661 0.02969780239174205 https://leetcode.com/problems/reorganize-string https://leetcode.com/problems/minimum-knight-moves
97 155 767 Min Stack Reorganize String 44.5% 48.7% Easy Medium 0.029317296678520607 0.02967576814611661 https://leetcode.com/problems/min-stack https://leetcode.com/problems/reorganize-string
98 456 155 132 Pattern Min Stack 28.9% 44.5% Medium Easy 0.029306126585499394 0.029317296678520607 https://leetcode.com/problems/132-pattern https://leetcode.com/problems/min-stack
99 57 456 Insert Interval 132 Pattern 33.5% 28.9% Hard Medium 0.02927990558056596 0.029306126585499394 https://leetcode.com/problems/insert-interval https://leetcode.com/problems/132-pattern
100 10 57 Regular Expression Matching Insert Interval 26.8% 33.5% Hard Hard 0.02844130559772196 0.02927990558056596 https://leetcode.com/problems/regular-expression-matching https://leetcode.com/problems/insert-interval
101 695 10 Max Area of Island Regular Expression Matching 62.7% 26.8% Medium Hard 0.028321590863246118 0.02844130559772196 https://leetcode.com/problems/max-area-of-island https://leetcode.com/problems/regular-expression-matching
102 204 695 Count Primes Max Area of Island 31.5% 62.7% Easy Medium 0.02799343042200216 0.028321590863246118 https://leetcode.com/problems/count-primes https://leetcode.com/problems/max-area-of-island
103 518 204 Coin Change 2 Count Primes 50.2% 31.5% Medium Easy 0.027969505010125056 0.02799343042200216 https://leetcode.com/problems/coin-change-2 https://leetcode.com/problems/count-primes
104 114 518 Flatten Binary Tree to Linked List Coin Change 2 49.3% 50.2% Medium Medium 0.02730545069026746 0.027969505010125056 https://leetcode.com/problems/flatten-binary-tree-to-linked-list https://leetcode.com/problems/coin-change-2
105 796 114 Rotate String Flatten Binary Tree to Linked List 49.6% 49.3% Easy Medium 0.02701041988276247 0.02730545069026746 https://leetcode.com/problems/rotate-string https://leetcode.com/problems/flatten-binary-tree-to-linked-list
106 273 796 Integer to English Words Rotate String 27.1% 49.6% Hard Easy 0.026980053764546055 0.02701041988276247 https://leetcode.com/problems/integer-to-english-words https://leetcode.com/problems/rotate-string
107 1305 273 All Elements in Two Binary Search Trees Integer to English Words 76.1% 27.1% Medium Hard 0.026282721799194744 0.026980053764546055 https://leetcode.com/problems/all-elements-in-two-binary-search-trees https://leetcode.com/problems/integer-to-english-words
108 46 1305 Permutations All Elements in Two Binary Search Trees 63.5% 76.1% Medium Medium 0.026064861710547768 0.026282721799194744 https://leetcode.com/problems/permutations https://leetcode.com/problems/all-elements-in-two-binary-search-trees
109 242 46 Valid Anagram Permutations 56.9% 63.5% Easy Medium 0.025684584297773504 0.026064861710547768 https://leetcode.com/problems/valid-anagram https://leetcode.com/problems/permutations
110 41 242 First Missing Positive Valid Anagram 32.0% 56.9% Hard Easy 0.02540222313806603 0.025684584297773504 https://leetcode.com/problems/first-missing-positive https://leetcode.com/problems/valid-anagram
111 322 41 Coin Change First Missing Positive 35.5% 32.0% Medium Hard 0.024924029676386045 0.02540222313806603 https://leetcode.com/problems/coin-change https://leetcode.com/problems/first-missing-positive
112 125 322 Valid Palindrome Coin Change 36.7% 35.5% Easy Medium 0.02462208292471368 0.024924029676386045 https://leetcode.com/problems/valid-palindrome https://leetcode.com/problems/coin-change
113 215 125 Kth Largest Element in an Array Valid Palindrome 55.4% 36.7% Medium Easy 0.02414409892936099 0.02462208292471368 https://leetcode.com/problems/kth-largest-element-in-an-array https://leetcode.com/problems/valid-palindrome
114 844 215 Backspace String Compare Kth Largest Element in an Array 46.4% 55.4% Easy Medium 0.0235551325028849 0.02414409892936099 https://leetcode.com/problems/backspace-string-compare https://leetcode.com/problems/kth-largest-element-in-an-array
115 49 844 Group Anagrams Backspace String Compare 56.9% 46.4% Medium Easy 0.02354157682187747 0.0235551325028849 https://leetcode.com/problems/group-anagrams https://leetcode.com/problems/backspace-string-compare
116 347 49 Top K Frequent Elements Group Anagrams 61.2% 56.9% Medium Medium 0.02350975159825416 0.02354157682187747 https://leetcode.com/problems/top-k-frequent-elements https://leetcode.com/problems/group-anagrams
117 973 347 K Closest Points to Origin Top K Frequent Elements 63.8% 61.2% Medium Medium 0.022897394173017796 0.02350975159825416 https://leetcode.com/problems/k-closest-points-to-origin https://leetcode.com/problems/top-k-frequent-elements
118 622 973 Design Circular Queue K Closest Points to Origin 43.8% 63.8% Medium Medium 0.02246023667974994 0.022897394173017796 https://leetcode.com/problems/design-circular-queue https://leetcode.com/problems/k-closest-points-to-origin
119 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
120 221 981 Maximal Square Time Based Key-Value Store 37.7% 53.1% Medium Medium 0.022108490754203434 0.02226024024151985 https://leetcode.com/problems/maximal-square https://leetcode.com/problems/time-based-key-value-store
121 113 221 Path Sum II Maximal Square 46.7% 37.7% Medium Medium 0.021882711249507664 0.022108490754203434 https://leetcode.com/problems/path-sum-ii https://leetcode.com/problems/maximal-square
122 958 113 Check Completeness of a Binary Tree Path Sum II 52.1% 46.7% Medium Medium 0.021763644636359686 0.021882711249507664 https://leetcode.com/problems/check-completeness-of-a-binary-tree https://leetcode.com/problems/path-sum-ii
123 112 958 Path Sum Check Completeness of a Binary Tree 41.2% 52.1% Easy Medium 0.021701651897460775 0.021763644636359686 https://leetcode.com/problems/path-sum https://leetcode.com/problems/check-completeness-of-a-binary-tree
124 141 112 Linked List Cycle Path Sum 41.1% 41.2% Easy Easy 0.021638372380967483 0.021701651897460775 https://leetcode.com/problems/linked-list-cycle https://leetcode.com/problems/path-sum
125 45 141 Jump Game II Linked List Cycle 30.6% 41.1% Hard Easy 0.021353124470568974 0.021638372380967483 https://leetcode.com/problems/jump-game-ii https://leetcode.com/problems/linked-list-cycle
126 543 45 Diameter of Binary Tree Jump Game II 48.4% 30.6% Easy Hard 0.02105617995251665 0.021353124470568974 https://leetcode.com/problems/diameter-of-binary-tree https://leetcode.com/problems/jump-game-ii
127 350 543 Intersection of Two Arrays II Diameter of Binary Tree 51.4% 48.4% Easy Easy 0.020680587107206983 0.02105617995251665 https://leetcode.com/problems/intersection-of-two-arrays-ii https://leetcode.com/problems/diameter-of-binary-tree
128 32 350 Longest Valid Parentheses Intersection of Two Arrays II 28.4% 51.4% Hard Easy 0.020385756924473915 0.020680587107206983 https://leetcode.com/problems/longest-valid-parentheses https://leetcode.com/problems/intersection-of-two-arrays-ii
129 208 32 Implement Trie (Prefix Tree) Longest Valid Parentheses 49.4% 28.4% Medium Hard 0.02037191321634931 0.020385756924473915 https://leetcode.com/problems/implement-trie-prefix-tree https://leetcode.com/problems/longest-valid-parentheses
130 341 208 Flatten Nested List Iterator Implement Trie (Prefix Tree) 52.9% 49.4% Medium Medium 0.019980684690483426 0.02037191321634931 https://leetcode.com/problems/flatten-nested-list-iterator https://leetcode.com/problems/implement-trie-prefix-tree
131 207 341 Course Schedule Flatten Nested List Iterator 43.1% 52.9% Medium Medium 0.019709926055136454 0.019980684690483426 https://leetcode.com/problems/course-schedule https://leetcode.com/problems/flatten-nested-list-iterator
132 15 207 3Sum Course Schedule 26.8% 43.1% Medium Medium 0.019619157889188592 0.019709926055136454 https://leetcode.com/problems/3sum https://leetcode.com/problems/course-schedule
133 19 15 Remove Nth Node From End of List 3Sum 35.2% 26.8% Medium Medium 0.019074355670058666 0.019619157889188592 https://leetcode.com/problems/remove-nth-node-from-end-of-list https://leetcode.com/problems/3sum
134 721 19 Accounts Merge Remove Nth Node From End of List 48.8% 35.2% Medium Medium 0.01888630262874805 0.019074355670058666 https://leetcode.com/problems/accounts-merge https://leetcode.com/problems/remove-nth-node-from-end-of-list
135 184 721 Department Highest Salary Accounts Merge 36.7% 48.8% Medium Medium 0.018735911057469818 0.01888630262874805 https://leetcode.com/problems/department-highest-salary https://leetcode.com/problems/accounts-merge
136 532 184 K-diff Pairs in an Array Department Highest Salary 31.6% 36.7% Easy Medium 0.018735911057469818 0.018735911057469818 https://leetcode.com/problems/k-diff-pairs-in-an-array https://leetcode.com/problems/department-highest-salary
137 1008 532 Construct Binary Search Tree from Preorder Traversal K-diff Pairs in an Array 78.4% 31.6% Medium Easy 0.01844220088035248 0.018735911057469818 https://leetcode.com/problems/construct-binary-search-tree-from-preorder-traversal https://leetcode.com/problems/k-diff-pairs-in-an-array
138 283 1008 Move Zeroes Construct Binary Search Tree from Preorder Traversal 57.8% 78.4% Easy Medium 0.01789853050377608 0.01844220088035248 https://leetcode.com/problems/move-zeroes https://leetcode.com/problems/construct-binary-search-tree-from-preorder-traversal
139 38 283 Count and Say Move Zeroes 44.6% 57.8% Easy Easy 0.01753063983505879 0.01789853050377608 https://leetcode.com/problems/count-and-say https://leetcode.com/problems/move-zeroes
140 289 38 Game of Life Count and Say 54.5% 44.6% Medium Easy 0.0173239499317743 0.01753063983505879 https://leetcode.com/problems/game-of-life https://leetcode.com/problems/count-and-say
141 876 289 Middle of the Linked List Game of Life 68.4% 54.5% Easy Medium 0.01707497375257815 0.0173239499317743 https://leetcode.com/problems/middle-of-the-linked-list https://leetcode.com/problems/game-of-life
142 50 876 Pow(x;n) Middle of the Linked List 30.3% 68.4% Medium Easy 0.017036779497025166 0.01707497375257815 https://leetcode.com/problems/powx-n https://leetcode.com/problems/middle-of-the-linked-list
143 560 50 Subarray Sum Equals K Pow(x;n) 43.9% 30.3% Medium Medium 0.017009020666013328 0.017036779497025166 https://leetcode.com/problems/subarray-sum-equals-k https://leetcode.com/problems/powx-n
144 402 560 Remove K Digits Subarray Sum Equals K 28.4% 43.9% Medium Medium 0.016863806052004816 0.017009020666013328 https://leetcode.com/problems/remove-k-digits https://leetcode.com/problems/subarray-sum-equals-k
145 51 402 N-Queens Remove K Digits 46.6% 28.4% Hard Medium 0.016393809775676407 0.016863806052004816 https://leetcode.com/problems/n-queens https://leetcode.com/problems/remove-k-digits
146 340 51 Longest Substring with At Most K Distinct Characters N-Queens 44.1% 46.6% Hard Hard 0.016122880486563188 0.016393809775676407 https://leetcode.com/problems/longest-substring-with-at-most-k-distinct-characters https://leetcode.com/problems/n-queens
147 412 340 Fizz Buzz Longest Substring with At Most K Distinct Characters 62.3% 44.1% Easy Hard 0.016051709010507904 0.016122880486563188 https://leetcode.com/problems/fizz-buzz https://leetcode.com/problems/longest-substring-with-at-most-k-distinct-characters
148 59 412 Spiral Matrix II Fizz Buzz 53.9% 62.3% Medium Easy 0.01579187969789165 0.016051709010507904 https://leetcode.com/problems/spiral-matrix-ii https://leetcode.com/problems/fizz-buzz
149 938 59 Range Sum of BST Spiral Matrix II 81.3% 53.9% Easy Medium 0.015707129205357877 0.01579187969789165 https://leetcode.com/problems/range-sum-of-bst https://leetcode.com/problems/spiral-matrix-ii
150 2 938 Add Two Numbers Range Sum of BST 33.9% 81.3% Medium Easy 0.015095892173467356 0.015707129205357877 https://leetcode.com/problems/add-two-numbers https://leetcode.com/problems/range-sum-of-bst
151 707 2 Design Linked List Add Two Numbers 24.5% 33.9% Medium Medium 0.015054857167065819 0.015095892173467356 https://leetcode.com/problems/design-linked-list https://leetcode.com/problems/add-two-numbers
152 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
153 109 102 Convert Sorted List to Binary Search Tree Binary Tree Level Order Traversal 47.7% 54.6% Medium Medium 0.014440684154794336 0.014477270588287548 https://leetcode.com/problems/convert-sorted-list-to-binary-search-tree https://leetcode.com/problems/binary-tree-level-order-traversal
154 315 109 Count of Smaller Numbers After Self Convert Sorted List to Binary Search Tree 41.5% 47.7% Hard Medium 0.014352596574956585 0.014440684154794336 https://leetcode.com/problems/count-of-smaller-numbers-after-self https://leetcode.com/problems/convert-sorted-list-to-binary-search-tree
155 150 315 Evaluate Reverse Polish Notation Count of Smaller Numbers After Self 36.3% 41.5% Medium Hard 0.01413451093490476 0.014352596574956585 https://leetcode.com/problems/evaluate-reverse-polish-notation https://leetcode.com/problems/count-of-smaller-numbers-after-self
156 76 150 Minimum Window Substring Evaluate Reverse Polish Notation 34.6% 36.3% Hard Medium 0.013966707481708198 0.01413451093490476 https://leetcode.com/problems/minimum-window-substring https://leetcode.com/problems/evaluate-reverse-polish-notation
157 179 76 Largest Number Minimum Window Substring 28.8% 34.6% Medium Hard 0.013865040137171665 0.013966707481708198 https://leetcode.com/problems/largest-number https://leetcode.com/problems/minimum-window-substring
158 44 179 Wildcard Matching Largest Number 24.7% 28.8% Hard Medium 0.013703537497261858 0.013865040137171665 https://leetcode.com/problems/wildcard-matching https://leetcode.com/problems/largest-number
159 496 44 Next Greater Element I Wildcard Matching 63.8% 24.7% Easy Hard 0.013201511858535894 0.013703537497261858 https://leetcode.com/problems/next-greater-element-i https://leetcode.com/problems/wildcard-matching
160 1047 496 Remove All Adjacent Duplicates In String Next Greater Element I 68.6% 63.8% Easy Easy 0.013059277989179281 0.013201511858535894 https://leetcode.com/problems/remove-all-adjacent-duplicates-in-string https://leetcode.com/problems/next-greater-element-i
161 199 1047 Binary Tree Right Side View Remove All Adjacent Duplicates In String 54.1% 68.6% Medium Easy 0.01274082919906162 0.013059277989179281 https://leetcode.com/problems/binary-tree-right-side-view https://leetcode.com/problems/remove-all-adjacent-duplicates-in-string
162 445 199 Add Two Numbers II Binary Tree Right Side View 54.5% 54.1% Medium Medium 0.01233061245747872 0.01274082919906162 https://leetcode.com/problems/add-two-numbers-ii https://leetcode.com/problems/binary-tree-right-side-view
163 437 445 Path Sum III Add Two Numbers II 47.2% 54.5% Medium Medium 0.012128711446614806 0.01233061245747872 https://leetcode.com/problems/path-sum-iii https://leetcode.com/problems/add-two-numbers-ii
164 88 437 Merge Sorted Array Path Sum III 39.4% 47.2% Easy Medium 0.011986958032982505 0.012128711446614806 https://leetcode.com/problems/merge-sorted-array https://leetcode.com/problems/path-sum-iii
165 986 88 Interval List Intersections Merge Sorted Array 67.3% 39.4% Medium Easy 0.011969023795320735 0.011986958032982505 https://leetcode.com/problems/interval-list-intersections https://leetcode.com/problems/merge-sorted-array
166 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
167 300 119 Longest Increasing Subsequence Pascal's Triangle II 42.6% 49.0% Medium Easy 0.011806512586989004 0.011894282360609866 https://leetcode.com/problems/longest-increasing-subsequence https://leetcode.com/problems/pascals-triangle-ii
168 98 300 Validate Binary Search Tree Longest Increasing Subsequence 27.8% 42.6% Medium Medium 0.01172346369605921 0.011806512586989004 https://leetcode.com/problems/validate-binary-search-tree https://leetcode.com/problems/longest-increasing-subsequence
169 264 98 Ugly Number II Validate Binary Search Tree 42.0% 27.8% Medium Medium 0.011604423810414601 0.01172346369605921 https://leetcode.com/problems/ugly-number-ii https://leetcode.com/problems/validate-binary-search-tree
170 205 264 Isomorphic Strings Ugly Number II 39.8% 42.0% Easy Medium 0.011544139746865315 0.011604423810414601 https://leetcode.com/problems/isomorphic-strings https://leetcode.com/problems/ugly-number-ii
171 136 205 Single Number Isomorphic Strings 65.5% 39.8% Easy Easy 0.011429512235126808 0.011544139746865315 https://leetcode.com/problems/single-number https://leetcode.com/problems/isomorphic-strings
172 117 136 Populating Next Right Pointers in Each Node II Single Number 39.1% 65.5% Medium Easy 0.011389644764357807 0.011429512235126808 https://leetcode.com/problems/populating-next-right-pointers-in-each-node-ii https://leetcode.com/problems/single-number
173 55 117 Jump Game Populating Next Right Pointers in Each Node II 34.6% 39.1% Medium Medium 0.011265609194218986 0.011389644764357807 https://leetcode.com/problems/jump-game https://leetcode.com/problems/populating-next-right-pointers-in-each-node-ii
174 62 55 Unique Paths Jump Game 54.1% 34.6% Medium Medium 0.010367562048856941 0.011265609194218986 https://leetcode.com/problems/unique-paths https://leetcode.com/problems/jump-game
175 819 62 Most Common Word Unique Paths 44.8% 54.1% Easy Medium 0.010269666637456105 0.010367562048856941 https://leetcode.com/problems/most-common-word https://leetcode.com/problems/unique-paths
176 212 819 Word Search II Most Common Word 34.9% 44.8% Hard Easy 0.009845021678804893 0.010269666637456105 https://leetcode.com/problems/word-search-ii https://leetcode.com/problems/most-common-word
177 905 212 Sort Array By Parity Word Search II 74.1% 34.9% Easy Hard 0.009603915354180344 0.009845021678804893 https://leetcode.com/problems/sort-array-by-parity https://leetcode.com/problems/word-search-ii
178 617 905 Merge Two Binary Trees Sort Array By Parity 74.1% 74.1% Easy Easy 0.008262802639833214 0.009603915354180344 https://leetcode.com/problems/merge-two-binary-trees https://leetcode.com/problems/sort-array-by-parity
179 235 617 Lowest Common Ancestor of a Binary Search Tree Merge Two Binary Trees 49.9% 74.1% Easy Easy 0.00821697310228087 0.008262802639833214 https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-search-tree https://leetcode.com/problems/merge-two-binary-trees
180 239 235 Sliding Window Maximum Lowest Common Ancestor of a Binary Search Tree 43.0% 49.9% Hard Easy 0.007898935224534491 0.00821697310228087 https://leetcode.com/problems/sliding-window-maximum https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-search-tree
181 26 239 Remove Duplicates from Sorted Array Sliding Window Maximum 45.1% 43.0% Easy Hard 0.007782518973063169 0.007898935224534491 https://leetcode.com/problems/remove-duplicates-from-sorted-array https://leetcode.com/problems/sliding-window-maximum
182 240 26 Search a 2D Matrix II Remove Duplicates from Sorted Array 43.2% 45.1% Medium Easy 0.0075829747244553335 0.007782518973063169 https://leetcode.com/problems/search-a-2d-matrix-ii https://leetcode.com/problems/remove-duplicates-from-sorted-array
183 122 240 Best Time to Buy and Sell Stock II Search a 2D Matrix II 57.0% 43.2% Easy Medium 0.007532046655581962 0.0075829747244553335 https://leetcode.com/problems/best-time-to-buy-and-sell-stock-ii https://leetcode.com/problems/search-a-2d-matrix-ii
184 14 122 Longest Common Prefix Best Time to Buy and Sell Stock II 35.4% 57.0% Easy Easy 0.00745530292090591 0.007532046655581962 https://leetcode.com/problems/longest-common-prefix https://leetcode.com/problems/best-time-to-buy-and-sell-stock-ii
185 344 14 Reverse String Longest Common Prefix 68.5% 35.4% Easy Easy 0.00734157796234515 0.00745530292090591 https://leetcode.com/problems/reverse-string https://leetcode.com/problems/longest-common-prefix
186 36 344 Valid Sudoku Reverse String 48.7% 68.5% Medium Easy 0.007258242715805398 0.00734157796234515 https://leetcode.com/problems/valid-sudoku https://leetcode.com/problems/reverse-string
187 9 36 Palindrome Number Valid Sudoku 48.4% 48.7% Easy Medium 0.006822343017166543 0.007258242715805398 https://leetcode.com/problems/palindrome-number https://leetcode.com/problems/valid-sudoku
188 103 9 Binary Tree Zigzag Level Order Traversal Palindrome Number 48.3% 48.4% Medium Easy 0.006816368572598042 0.006822343017166543 https://leetcode.com/problems/binary-tree-zigzag-level-order-traversal https://leetcode.com/problems/palindrome-number
189 29 103 Divide Two Integers Binary Tree Zigzag Level Order Traversal 16.4% 48.3% Medium Medium 0.006772799340092467 0.006816368572598042 https://leetcode.com/problems/divide-two-integers https://leetcode.com/problems/binary-tree-zigzag-level-order-traversal
190 79 29 Word Search Divide Two Integers 35.6% 16.4% Medium Medium 0.006642335946304871 0.006772799340092467 https://leetcode.com/problems/word-search https://leetcode.com/problems/divide-two-integers
191 107 79 Binary Tree Level Order Traversal II Word Search 53.5% 35.6% Easy Medium 0.006423661079917184 0.006642335946304871 https://leetcode.com/problems/binary-tree-level-order-traversal-ii https://leetcode.com/problems/word-search
192 24 107 Swap Nodes in Pairs Binary Tree Level Order Traversal II 50.4% 53.5% Medium Easy 0.0062218275061505365 0.006423661079917184 https://leetcode.com/problems/swap-nodes-in-pairs https://leetcode.com/problems/binary-tree-level-order-traversal-ii
193 91 24 Decode Ways Swap Nodes in Pairs 24.7% 50.4% Medium Medium 0.005968385368349129 0.0062218275061505365 https://leetcode.com/problems/decode-ways https://leetcode.com/problems/swap-nodes-in-pairs
194 105 91 Construct Binary Tree from Preorder and Inorder Traversal Decode Ways 48.8% 24.7% Medium Medium 0.005628268691614718 0.005968385368349129 https://leetcode.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal https://leetcode.com/problems/decode-ways
195 152 105 Maximum Product Subarray Construct Binary Tree from Preorder and Inorder Traversal 31.7% 48.8% Medium Medium 0.005590510716885066 0.005628268691614718 https://leetcode.com/problems/maximum-product-subarray https://leetcode.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal
196 108 152 Convert Sorted Array to Binary Search Tree Maximum Product Subarray 57.9% 31.7% Easy Medium 0.005554027051374908 0.005590510716885066 https://leetcode.com/problems/convert-sorted-array-to-binary-search-tree https://leetcode.com/problems/maximum-product-subarray
197 287 108 Find the Duplicate Number Convert Sorted Array to Binary Search Tree 55.5% 57.9% Medium Easy 0.005501320434837602 0.005554027051374908 https://leetcode.com/problems/find-the-duplicate-number https://leetcode.com/problems/convert-sorted-array-to-binary-search-tree
198 268 287 Missing Number Find the Duplicate Number 51.7% 55.5% Easy Medium 0.0048804391649084865 0.005501320434837602 https://leetcode.com/problems/missing-number https://leetcode.com/problems/find-the-duplicate-number
199 169 268 Majority Element Missing Number 58.7% 51.7% Easy Easy 0.004706444738837472 0.0048804391649084865 https://leetcode.com/problems/majority-element https://leetcode.com/problems/missing-number
200 210 169 Course Schedule II Majority Element 40.7% 58.7% Medium Easy 0.0042893974831731225 0.004706444738837472 https://leetcode.com/problems/course-schedule-ii https://leetcode.com/problems/majority-element
201 7 210 Reverse Integer Course Schedule II 25.8% 40.7% Easy Medium 0.00418293972984512 0.0042893974831731225 https://leetcode.com/problems/reverse-integer https://leetcode.com/problems/course-schedule-ii
202 28 7 Implement strStr() Reverse Integer 34.5% 25.8% Easy Easy 0.003943222775040032 0.00418293972984512 https://leetcode.com/problems/implement-strstr https://leetcode.com/problems/reverse-integer
203 977 28 Squares of a Sorted Array Implement strStr() 72.1% 34.5% Easy Easy 0.003891055492966611 0.003943222775040032 https://leetcode.com/problems/squares-of-a-sorted-array https://leetcode.com/problems/implement-strstr
204 217 977 Contains Duplicate Squares of a Sorted Array 56.0% 72.1% Easy Easy 0.0037979536727587773 0.003891055492966611 https://leetcode.com/problems/contains-duplicate https://leetcode.com/problems/squares-of-a-sorted-array
205 8 217 String to Integer (atoi) Contains Duplicate 15.4% 56.0% Medium Easy 0.0037925521897059712 0.0037979536727587773 https://leetcode.com/problems/string-to-integer-atoi https://leetcode.com/problems/contains-duplicate
206 153 8 Find Minimum in Rotated Sorted Array String to Integer (atoi) 45.1% 15.4% Medium Medium 0.0037558729598054378 0.0037925521897059712 https://leetcode.com/problems/find-minimum-in-rotated-sorted-array https://leetcode.com/problems/string-to-integer-atoi
207 151 153 Reverse Words in a String Find Minimum in Rotated Sorted Array 21.9% 45.1% Medium Medium 0.003456091915988908 0.0037558729598054378 https://leetcode.com/problems/reverse-words-in-a-string https://leetcode.com/problems/find-minimum-in-rotated-sorted-array
208 70 151 Climbing Stairs Reverse Words in a String 47.8% 21.9% Easy Medium 0.00339085548316782 0.003456091915988908 https://leetcode.com/problems/climbing-stairs https://leetcode.com/problems/reverse-words-in-a-string
209 11 70 Container With Most Water Climbing Stairs 50.8% 47.8% Medium Easy 0.0030677223230101427 0.00339085548316782 https://leetcode.com/problems/container-with-most-water https://leetcode.com/problems/climbing-stairs
210 140 11 Word Break II Container With Most Water 32.6% 50.8% Hard Medium 0.0027070942357783584 0.0030677223230101427 https://leetcode.com/problems/word-break-ii https://leetcode.com/problems/container-with-most-water
211 621 140 Task Scheduler Word Break II 50.1% 32.6% Medium Hard 0.002341784338144407 0.0027070942357783584 https://leetcode.com/problems/task-scheduler https://leetcode.com/problems/word-break-ii
212 67 621 Add Binary Task Scheduler 45.2% 50.1% Easy Medium 0.0016620272243229827 0.002341784338144407 https://leetcode.com/problems/add-binary https://leetcode.com/problems/task-scheduler
213 67 Add Binary 45.2% Easy 0.0016620272243229827 https://leetcode.com/problems/add-binary