Difficulty,Title,Frequency,Acceptance Rate,Link,Topics EASY,Two Sum,100.0,0.005803620444467007,https://leetcode.com/problems/two-sum,"Array, Hash Table" MEDIUM,Longest Substring Without Repeating Characters,92.9,0.0040019092798101895,https://leetcode.com/problems/longest-substring-without-repeating-characters,"Hash Table, String, Sliding Window" MEDIUM,Second Highest Salary,81.5,0.004876279088821522,https://leetcode.com/problems/second-highest-salary,Database EASY,Best Time to Buy and Sell Stock,77.8,0.005752122810086295,https://leetcode.com/problems/best-time-to-buy-and-sell-stock,"Array, Dynamic Programming" MEDIUM,Subarray Sum Equals K,77.8,0.004835080874667018,https://leetcode.com/problems/subarray-sum-equals-k,"Array, Hash Table, Prefix Sum" MEDIUM,Maximum Subarray,76.4,0.005399356046205398,https://leetcode.com/problems/maximum-subarray,"Array, Divide and Conquer, Dynamic Programming" MEDIUM,Gas Station,76.4,0.0048888696011246515,https://leetcode.com/problems/gas-station,"Array, Greedy" EASY,Lemonade Change,76.4,0.005954179100559197,https://leetcode.com/problems/lemonade-change,"Array, Greedy" HARD,Find the Number of Subsequences With Equal GCD,74.9,0.006628332462101412,https://leetcode.com/problems/find-the-number-of-subsequences-with-equal-gcd,"Array, Math, Dynamic Programming, Number Theory, Euclidean Algorithm, Greatest Common Divisor" EASY,Palindrome Number,73.4,0.006104360149806045,https://leetcode.com/problems/palindrome-number,Math MEDIUM,Longest Palindromic Substring,69.8,0.0038866721375916875,https://leetcode.com/problems/longest-palindromic-substring,"Two Pointers, String, Dynamic Programming, Manacher" MEDIUM,House Robber,69.8,0.00536862931281374,https://leetcode.com/problems/house-robber,"Array, Dynamic Programming" MEDIUM,Container With Most Water,67.9,0.00610389213926025,https://leetcode.com/problems/container-with-most-water,"Array, Two Pointers, Greedy" EASY,Valid Parentheses,67.9,0.0045341167600536315,https://leetcode.com/problems/valid-parentheses,"String, Stack, Bracket Sequences" EASY,Climbing Stairs,67.9,0.005440648856407187,https://leetcode.com/problems/climbing-stairs,"Math, Dynamic Programming, Memoization" HARD,Find Building Where Alice and Bob Can Meet,67.9,0.005246007534040689,https://leetcode.com/problems/find-building-where-alice-and-bob-can-meet,"Array, Binary Search, Stack, Binary Indexed Tree, Segment Tree, Heap (Priority Queue), Monotonic Stack" HARD,Stone Game VIII,67.9,0.007482111253186102,https://leetcode.com/problems/stone-game-viii,"Array, Math, Dynamic Programming, Minimax, Prefix Sum, Game Theory, Zero-Sum Game" EASY,Valid Anagram,67.9,0.00687676069062827,https://leetcode.com/problems/valid-anagram,"Hash Table, String, Sorting" EASY,Move Zeroes,67.9,0.00645013262231545,https://leetcode.com/problems/move-zeroes,"Array, Two Pointers" EASY,Transform Array by Parity,67.9,0.008946245300274363,https://leetcode.com/problems/transform-array-by-parity,"Array, Sorting, Counting" HARD,Maximum Good Subtree Score,67.9,0.0044202302631578955,https://leetcode.com/problems/maximum-good-subtree-score,"Array, Dynamic Programming, Bit Manipulation, Tree, Depth-First Search, Bitmask" HARD,Good Subsequence Queries,67.9,0.002007984462667242,https://leetcode.com/problems/good-subsequence-queries,"Array, Math, Segment Tree, Number Theory" MEDIUM,3Sum,65.7,0.004007310206100317,https://leetcode.com/problems/3sum,"Array, Two Pointers, Sorting" HARD,Trapping Rain Water,65.7,0.006842250693302014,https://leetcode.com/problems/trapping-rain-water,"Array, Two Pointers, Dynamic Programming, Stack, Monotonic Stack" MEDIUM,Group Anagrams,65.7,0.007344434650354943,https://leetcode.com/problems/group-anagrams,"Array, Hash Table, String, Sorting" HARD,Count the Number of Ideal Arrays,65.7,0.005684483033296161,https://leetcode.com/problems/count-the-number-of-ideal-arrays,"Math, Dynamic Programming, Combinatorics, Number Theory, Prime Factorization, Fermat's Little Theorem" HARD,Maximize the Minimum Game Score,65.7,0.002618854891802925,https://leetcode.com/problems/maximize-the-minimum-game-score,"Array, Binary Search, Greedy" MEDIUM,Eat Pizzas!,65.7,0.003370250998643587,https://leetcode.com/problems/eat-pizzas,"Array, Greedy, Sorting" EASY,Longest Common Prefix,63.3,0.004853661274518008,https://leetcode.com/problems/longest-common-prefix,"Array, String, Trie" MEDIUM,Next Permutation,63.3,0.0046395804985513685,https://leetcode.com/problems/next-permutation,"Array, Two Pointers" HARD,Maximum Sum of Subsequence With Non-adjacent Elements,63.3,0.0015898832935714747,https://leetcode.com/problems/maximum-sum-of-subsequence-with-non-adjacent-elements,"Array, Divide and Conquer, Dynamic Programming, Segment Tree" MEDIUM,Merge Intervals,63.3,0.0053025728830711945,https://leetcode.com/problems/merge-intervals,"Array, Sorting, Quicksort" HARD,Trionic Array II,63.3,0.004714681951659041,https://leetcode.com/problems/trionic-array-ii,"Array, Dynamic Programming" HARD,Maximum Walls Destroyed by Robots,63.3,0.004788656175042415,https://leetcode.com/problems/maximum-walls-destroyed-by-robots,"Array, Binary Search, Dynamic Programming, Sorting" HARD,Maximum Total Value,63.3,0.0029819559443836903,https://leetcode.com/problems/maximum-total-value,"Array, Math, Binary Search, Greedy" MEDIUM,Largest Number After Mutating Substring,60.6,0.0038544595812061485,https://leetcode.com/problems/largest-number-after-mutating-substring,"Array, String, Greedy" MEDIUM,Edit Distance,60.6,0.00614564329837449,https://leetcode.com/problems/edit-distance,"String, Dynamic Programming" MEDIUM,Longest Well-Performing Interval,60.6,0.0038464348868136843,https://leetcode.com/problems/longest-well-performing-interval,"Array, Hash Table, Stack, Monotonic Stack, Prefix Sum" MEDIUM,Number of Islands,60.6,0.006531451498975973,https://leetcode.com/problems/number-of-islands,"Array, Depth-First Search, Breadth-First Search, Union-Find, Matrix" MEDIUM,Maximum Product After K Increments,60.6,0.004429181628504652,https://leetcode.com/problems/maximum-product-after-k-increments,"Array, Greedy, Heap (Priority Queue)" HARD,Maximum Segment Sum After Removals,60.6,0.005052921884317233,https://leetcode.com/problems/maximum-segment-sum-after-removals,"Array, Union-Find, Prefix Sum, Ordered Set" EASY,Sort the People,60.6,0.008480528650236439,https://leetcode.com/problems/sort-the-people,"Array, Hash Table, String, Sorting" MEDIUM,Minimum Addition to Make Integer Beautiful,60.6,0.003907030965391621,https://leetcode.com/problems/minimum-addition-to-make-integer-beautiful,"Math, Greedy" HARD,Minimum Total Distance Traveled,60.6,0.006317331178490752,https://leetcode.com/problems/minimum-total-distance-traveled,"Array, Dynamic Programming, Sorting" MEDIUM,Number of Nodes With Value One,60.6,0.006590233545647558,https://leetcode.com/problems/number-of-nodes-with-value-one,"Array, Tree, Depth-First Search, Breadth-First Search, Binary Tree" MEDIUM,Can Convert String in K Moves,60.6,0.003813081054554377,https://leetcode.com/problems/can-convert-string-in-k-moves,"Hash Table, String" MEDIUM,The Number of Beautiful Subsets,60.6,0.005081129156421199,https://leetcode.com/problems/the-number-of-beautiful-subsets,"Array, Hash Table, Math, Dynamic Programming, Backtracking, Sorting, Combinatorics" HARD,Minimum Reverse Operations,60.6,0.001754168264783521,https://leetcode.com/problems/minimum-reverse-operations,"Array, Hash Table, Breadth-First Search, Union-Find, Ordered Set" MEDIUM,Determine the Minimum Sum of a k-avoiding Array,60.6,0.005975727679134493,https://leetcode.com/problems/determine-the-minimum-sum-of-a-k-avoiding-array,"Math, Greedy" MEDIUM,Maximum Number of Consecutive Values You Can Make,60.6,0.006461784659769649,https://leetcode.com/problems/maximum-number-of-consecutive-values-you-can-make,"Array, Greedy, Sorting" HARD,Number of Beautiful Integers in the Range,60.6,0.002354891459261593,https://leetcode.com/problems/number-of-beautiful-integers-in-the-range,"Math, Dynamic Programming" MEDIUM,Find the Minimum Possible Sum of a Beautiful Array,60.6,0.003458707260048801,https://leetcode.com/problems/find-the-minimum-possible-sum-of-a-beautiful-array,"Math, Greedy" MEDIUM,Generate Parentheses,60.6,0.007971337001549582,https://leetcode.com/problems/generate-parentheses,"String, Dynamic Programming, Backtracking, Bracket Sequences" EASY,Trionic Array I,60.6,0.004942754270129208,https://leetcode.com/problems/trionic-array-i,Array MEDIUM,Rotting Oranges,60.6,0.005959390474963229,https://leetcode.com/problems/rotting-oranges,"Array, Breadth-First Search, Matrix" MEDIUM,XOR After Range Multiplication Queries I,60.6,0.007289619798001163,https://leetcode.com/problems/xor-after-range-multiplication-queries-i,"Array, Divide and Conquer, Simulation, Prefix Sum" HARD,XOR After Range Multiplication Queries II,60.6,0.0047563862677638515,https://leetcode.com/problems/xor-after-range-multiplication-queries-ii,"Array, Divide and Conquer, Prefix Sum" HARD,Sum of Beautiful Subsequences,60.6,0.003129312336997788,https://leetcode.com/problems/sum-of-beautiful-subsequences,"Array, Math, Binary Indexed Tree, Number Theory" MEDIUM,Max Consecutive Ones III,60.6,0.006860476839397305,https://leetcode.com/problems/max-consecutive-ones-iii,"Array, Binary Search, Sliding Window, Prefix Sum" MEDIUM,Koko Eating Bananas,60.6,0.005071687924396863,https://leetcode.com/problems/koko-eating-bananas,"Array, Binary Search" HARD,Count Non Adjacent Subsets in a Rooted Tree,60.6,0.005188715211589783,https://leetcode.com/problems/count-non-adjacent-subsets-in-a-rooted-tree,"Array, Dynamic Programming, Tree, Depth-First Search" MEDIUM,Divisible Game,60.6,0.004256354618722877,https://leetcode.com/problems/divisible-game,"Array, Math, Dynamic Programming, Enumeration, Number Theory" EASY,Fibonacci Number,57.6,0.007473583393626244,https://leetcode.com/problems/fibonacci-number,"Math, Dynamic Programming, Recursion, Memoization" MEDIUM,Best Time to Buy and Sell Stock II,57.6,0.007176542656941069,https://leetcode.com/problems/best-time-to-buy-and-sell-stock-ii,"Array, Dynamic Programming, Greedy" EASY,Linked List Cycle,57.6,0.005524667307138507,https://leetcode.com/problems/linked-list-cycle,"Hash Table, Linked List, Two Pointers, Floyd's Cycle Finding Algorithm" EASY,Remove Digit From Number to Maximize Result,57.6,0.004890788566809684,https://leetcode.com/problems/remove-digit-from-number-to-maximize-result,"String, Greedy, Enumeration" MEDIUM,Longest Increasing Subsequence,57.6,0.006009841512589324,https://leetcode.com/problems/longest-increasing-subsequence,"Array, Binary Search, Dynamic Programming, Longest Increasing Subsequence" MEDIUM,Jump Game,57.6,0.0041669104994474975,https://leetcode.com/problems/jump-game,"Array, Dynamic Programming, Greedy" MEDIUM,Rotate Array,54.1,0.004571846454730705,https://leetcode.com/problems/rotate-array,"Array, Math, Two Pointers" MEDIUM,Coin Change,54.1,0.004930611502829861,https://leetcode.com/problems/coin-change,"Array, Dynamic Programming, Breadth-First Search, Knapsack Problem, Complete Knapsack" MEDIUM,Rotate Image,54.1,0.008083477498691188,https://leetcode.com/problems/rotate-image,"Array, Math, Matrix" MEDIUM,Reverse Words in a String,54.1,0.005813319190980707,https://leetcode.com/problems/reverse-words-in-a-string,"Two Pointers, String" HARD,Minimum Window Substring,54.1,0.004869698135079508,https://leetcode.com/problems/minimum-window-substring,"Hash Table, String, Sliding Window" MEDIUM,Find Peak Element,54.1,0.004726736722707477,https://leetcode.com/problems/find-peak-element,"Array, Binary Search" MEDIUM,Permutations,54.1,0.00824349467406356,https://leetcode.com/problems/permutations,"Array, Backtracking" EASY,Majority Element,54.1,0.006653558533922809,https://leetcode.com/problems/majority-element,"Array, Hash Table, Divide and Conquer, Sorting, Counting, Boyer–Moore Majority Vote Algorithm" MEDIUM,Minimum Path Sum,54.1,0.006903294574104063,https://leetcode.com/problems/minimum-path-sum,"Array, Dynamic Programming, Matrix" MEDIUM,Longest Repeating Character Replacement,54.1,0.006087660686638922,https://leetcode.com/problems/longest-repeating-character-replacement,"Hash Table, String, Sliding Window" MEDIUM,Add Two Numbers,50.0,0.004955379978429951,https://leetcode.com/problems/add-two-numbers,"Linked List, Math, Recursion" EASY,Merge Two Sorted Lists,50.0,0.006901786395549863,https://leetcode.com/problems/merge-two-sorted-lists,"Linked List, Recursion" EASY,Remove Duplicates from Sorted Array,50.0,0.00639770774381352,https://leetcode.com/problems/remove-duplicates-from-sorted-array,"Array, Two Pointers" MEDIUM,Spiral Matrix,50.0,0.005814594706472489,https://leetcode.com/problems/spiral-matrix,"Array, Matrix, Simulation" MEDIUM,4Sum,50.0,0.00419427398349814,https://leetcode.com/problems/4sum,"Array, Two Pointers, Sorting" MEDIUM,Search in Rotated Sorted Array,50.0,0.004579981896360767,https://leetcode.com/problems/search-in-rotated-sorted-array,"Array, Binary Search" EASY,Range Sum Query - Immutable,50.0,0.007376444878542368,https://leetcode.com/problems/range-sum-query-immutable,"Array, Design, Prefix Sum" MEDIUM,Delete Operation for Two Strings,50.0,0.00662489924970439,https://leetcode.com/problems/delete-operation-for-two-strings,"String, Dynamic Programming, Longest Common Subsequence" MEDIUM,Top K Frequent Elements,50.0,0.006757418871746542,https://leetcode.com/problems/top-k-frequent-elements,"Array, Hash Table, Divide and Conquer, Sorting, Heap (Priority Queue), Bucket Sort, Counting, Quickselect" EASY,Concatenation of Array,50.0,0.008994090272500612,https://leetcode.com/problems/concatenation-of-array,"Array, Simulation" HARD,Split Array Largest Sum,50.0,0.006163981969440854,https://leetcode.com/problems/split-array-largest-sum,"Array, Binary Search, Dynamic Programming, Greedy, Prefix Sum" MEDIUM,Frequency of the Most Frequent Element,50.0,0.004529167232151813,https://leetcode.com/problems/frequency-of-the-most-frequent-element,"Array, Binary Search, Greedy, Sliding Window, Sorting, Prefix Sum" HARD,Candy,50.0,0.004941945009189114,https://leetcode.com/problems/candy,"Array, Greedy" MEDIUM,Largest Number,50.0,0.004399280712146268,https://leetcode.com/problems/largest-number,"Array, String, Greedy, Sorting" MEDIUM,Palindrome Partitioning,50.0,0.0074810375320326725,https://leetcode.com/problems/palindrome-partitioning,"String, Dynamic Programming, Backtracking" HARD,Palindrome Partitioning II,50.0,0.0038195868581151916,https://leetcode.com/problems/palindrome-partitioning-ii,"String, Dynamic Programming" MEDIUM,Maximum Product Subarray,50.0,0.00372239059952596,https://leetcode.com/problems/maximum-product-subarray,"Array, Dynamic Programming" HARD,Frog Jump,50.0,0.00477470032727287,https://leetcode.com/problems/frog-jump,"Array, Dynamic Programming" HARD,Stone Game V,50.0,0.005902069136974382,https://leetcode.com/problems/stone-game-v,"Array, Math, Dynamic Programming, Game Theory" MEDIUM,Reverse Integer,45.0,0.0032681480005517277,https://leetcode.com/problems/reverse-integer,Math EASY,Valid Palindrome,45.0,0.005452915356508979,https://leetcode.com/problems/valid-palindrome,"Two Pointers, String" MEDIUM,Kth Largest Element in an Array,45.0,0.006941743849507587,https://leetcode.com/problems/kth-largest-element-in-an-array,"Array, Divide and Conquer, Sorting, Heap (Priority Queue), Quickselect" MEDIUM,Longest Consecutive Sequence,45.0,0.004728610006261005,https://leetcode.com/problems/longest-consecutive-sequence,"Array, Hash Table, Union-Find" MEDIUM,Product of Array Except Self,45.0,0.006937983506946002,https://leetcode.com/problems/product-of-array-except-self,"Array, Prefix Sum" EASY,Implement Queue using Stacks,45.0,0.007033207419853075,https://leetcode.com/problems/implement-queue-using-stacks,"Stack, Design, Queue" EASY,Binary Search,45.0,0.006142068917067688,https://leetcode.com/problems/binary-search,"Array, Binary Search" HARD,Subarrays with K Different Integers,45.0,0.006918480637589581,https://leetcode.com/problems/subarrays-with-k-different-integers,"Array, Hash Table, Sliding Window, Counting" MEDIUM,Car Pooling,45.0,0.005657425241857692,https://leetcode.com/problems/car-pooling,"Array, Sorting, Heap (Priority Queue), Simulation, Prefix Sum" HARD,Regular Expression Matching,45.0,0.0031989447076652406,https://leetcode.com/problems/regular-expression-matching,"String, Dynamic Programming, Recursion" MEDIUM,Longest Palindromic Subsequence,45.0,0.006599886691203918,https://leetcode.com/problems/longest-palindromic-subsequence,"String, Dynamic Programming" MEDIUM,Reverse Linked List II,45.0,0.005263816148032864,https://leetcode.com/problems/reverse-linked-list-ii,Linked List MEDIUM,Bulb Switcher,45.0,0.005667971533889606,https://leetcode.com/problems/bulb-switcher,"Math, Brainteaser" HARD,Wildcard Matching,45.0,0.0033056207709903475,https://leetcode.com/problems/wildcard-matching,"String, Dynamic Programming, Greedy, Recursion" MEDIUM,Zigzag Conversion,45.0,0.005537299999726853,https://leetcode.com/problems/zigzag-conversion,String MEDIUM,House Robber II,45.0,0.004567981711448381,https://leetcode.com/problems/house-robber-ii,"Array, Dynamic Programming" MEDIUM,Min Stack,45.0,0.005879064995952622,https://leetcode.com/problems/min-stack,"Stack, Design" MEDIUM,Maximum Sum Circular Subarray,45.0,0.0051744158991025154,https://leetcode.com/problems/maximum-sum-circular-subarray,"Array, Divide and Conquer, Dynamic Programming, Queue, Monotonic Queue" MEDIUM,Peak Index in a Mountain Array,45.0,0.006662175479541382,https://leetcode.com/problems/peak-index-in-a-mountain-array,"Array, Binary Search, Ternary Search" HARD,Longest Increasing Path in a Matrix,45.0,0.005718816290777073,https://leetcode.com/problems/longest-increasing-path-in-a-matrix,"Array, Dynamic Programming, Depth-First Search, Breadth-First Search, Graph Theory, Topological Sort, Memoization, Matrix, Directed Acyclic Graph" MEDIUM,Maximum Bags With Full Capacity of Rocks,45.0,0.006838114322473401,https://leetcode.com/problems/maximum-bags-with-full-capacity-of-rocks,"Array, Greedy, Sorting" MEDIUM,Asteroid Collision,45.0,0.0049329289208280384,https://leetcode.com/problems/asteroid-collision,"Array, Stack, Simulation" MEDIUM,Two City Scheduling,45.0,0.006906065542507508,https://leetcode.com/problems/two-city-scheduling,"Array, Greedy, Sorting, Hungarian Algorithm, Successive Shortest Path Algorithm" MEDIUM,Decode Ways,45.0,0.0038775176027509416,https://leetcode.com/problems/decode-ways,"String, Dynamic Programming" MEDIUM,Coin Change II,45.0,0.0059090291062591895,https://leetcode.com/problems/coin-change-ii,"Array, Dynamic Programming, Knapsack Problem, Complete Knapsack" EASY,Maximum Units on a Truck,45.0,0.007535108958837773,https://leetcode.com/problems/maximum-units-on-a-truck,"Array, Greedy, Sorting" MEDIUM,Minimum Cost For Tickets,45.0,0.006751391719440304,https://leetcode.com/problems/minimum-cost-for-tickets,"Array, Dynamic Programming" HARD,Median of Two Sorted Arrays,45.0,0.004785836890335073,https://leetcode.com/problems/median-of-two-sorted-arrays,"Array, Binary Search, Divide and Conquer" HARD,Sliding Window Maximum,45.0,0.00493674188113112,https://leetcode.com/problems/sliding-window-maximum,"Array, Queue, Sliding Window, Heap (Priority Queue), Monotonic Queue, Range Minimum/Maximum Query" MEDIUM,Integer to Roman,38.6,0.0071857374195822684,https://leetcode.com/problems/integer-to-roman,"Hash Table, Math, String" HARD,Reverse Nodes in k-Group,38.6,0.006751117629444272,https://leetcode.com/problems/reverse-nodes-in-k-group,"Linked List, Recursion" EASY,Merge Sorted Array,38.6,0.005590673894726688,https://leetcode.com/problems/merge-sorted-array,"Array, Two Pointers, Sorting" EASY,Maximum Depth of Binary Tree,38.6,0.007872348652918396,https://leetcode.com/problems/maximum-depth-of-binary-tree,"Tree, Depth-First Search, Breadth-First Search, Binary Tree" MEDIUM,Subsets,38.6,0.008293251576361413,https://leetcode.com/problems/subsets,"Array, Backtracking, Bit Manipulation" MEDIUM,Set Matrix Zeroes,38.6,0.006378824750689221,https://leetcode.com/problems/set-matrix-zeroes,"Array, Hash Table, Matrix" MEDIUM,Find First and Last Position of Element in Sorted Array,38.6,0.004980558786804102,https://leetcode.com/problems/find-first-and-last-position-of-element-in-sorted-array,"Array, Binary Search" MEDIUM,Linked List Cycle II,38.6,0.005944748562254398,https://leetcode.com/problems/linked-list-cycle-ii,"Hash Table, Linked List, Two Pointers, Floyd's Cycle Finding Algorithm" MEDIUM,Find Minimum in Rotated Sorted Array,38.6,0.005546539690275856,https://leetcode.com/problems/find-minimum-in-rotated-sorted-array,"Array, Binary Search" EASY,Is Subsequence,38.6,0.0049501782759060545,https://leetcode.com/problems/is-subsequence,"Two Pointers, String, Dynamic Programming" MEDIUM,Delete Node in a BST,38.6,0.005558422493501821,https://leetcode.com/problems/delete-node-in-a-bst,"Tree, Binary Search Tree, Binary Tree" HARD,Minimum Difference in Sums After Removal of Elements,38.6,0.006950731162274799,https://leetcode.com/problems/minimum-difference-in-sums-after-removal-of-elements,"Array, Dynamic Programming, Heap (Priority Queue)" MEDIUM,Combinations,38.6,0.007533269766660372,https://leetcode.com/problems/combinations,Backtracking MEDIUM,Triangle,38.6,0.005997379943826812,https://leetcode.com/problems/triangle,"Array, Dynamic Programming" EASY,Squares of a Sorted Array,38.6,0.007423230847773453,https://leetcode.com/problems/squares-of-a-sorted-array,"Array, Two Pointers, Sorting" MEDIUM,Daily Temperatures,38.6,0.006927658189757728,https://leetcode.com/problems/daily-temperatures,"Array, Stack, Monotonic Stack" HARD,N-Queens,38.6,0.0076677268198542805,https://leetcode.com/problems/n-queens,"Array, Backtracking, Algorithm X" EASY,Contains Duplicate,38.6,0.006479961829195479,https://leetcode.com/problems/contains-duplicate,"Array, Hash Table, Sorting" MEDIUM,Minimum Size Subarray Sum,38.6,0.005316439144884114,https://leetcode.com/problems/minimum-size-subarray-sum,"Array, Binary Search, Sliding Window, Prefix Sum" EASY,Search Insert Position,38.6,0.005247771512859609,https://leetcode.com/problems/search-insert-position,"Array, Binary Search" EASY,Reverse Linked List,38.6,0.008116095861439505,https://leetcode.com/problems/reverse-linked-list,"Linked List, Recursion" EASY,Missing Number,38.6,0.007285157412619881,https://leetcode.com/problems/missing-number,"Array, Hash Table, Math, Binary Search, Bit Manipulation, Sorting" EASY,Symmetric Tree,38.6,0.006218964325429026,https://leetcode.com/problems/symmetric-tree,"Tree, Depth-First Search, Breadth-First Search, Binary Tree" EASY,Rising Temperature,38.6,0.005243867737306507,https://leetcode.com/problems/rising-temperature,Database MEDIUM,Best Time to Buy and Sell Stock with Transaction Fee,38.6,0.007269263073117414,https://leetcode.com/problems/best-time-to-buy-and-sell-stock-with-transaction-fee,"Array, Dynamic Programming, Greedy" HARD,Best Time to Buy and Sell Stock III,38.6,0.0054962929900272735,https://leetcode.com/problems/best-time-to-buy-and-sell-stock-iii,"Array, Dynamic Programming" MEDIUM,Integer Break,38.6,0.006284259067149444,https://leetcode.com/problems/integer-break,"Math, Dynamic Programming" MEDIUM,Letter Combinations of a Phone Number,38.6,0.0067037490259020125,https://leetcode.com/problems/letter-combinations-of-a-phone-number,"Hash Table, String, Backtracking" HARD,Burst Balloons,38.6,0.006457412465209239,https://leetcode.com/problems/burst-balloons,"Array, Dynamic Programming" MEDIUM,Partition Array for Maximum Sum,38.6,0.007758721306367327,https://leetcode.com/problems/partition-array-for-maximum-sum,"Array, Dynamic Programming" MEDIUM,Equal Sum Arrays With Minimum Number of Operations,38.6,0.005499266216612856,https://leetcode.com/problems/equal-sum-arrays-with-minimum-number-of-operations,"Array, Hash Table, Greedy, Counting" MEDIUM,LRU Cache,38.6,0.0048257102904015,https://leetcode.com/problems/lru-cache,"Hash Table, Linked List, Design, Doubly-Linked List" MEDIUM,Longest String Chain,38.6,0.0063556855597365946,https://leetcode.com/problems/longest-string-chain,"Array, Hash Table, Two Pointers, String, Dynamic Programming, Sorting" MEDIUM,Maximum Points You Can Obtain from Cards,38.6,0.005853504796833982,https://leetcode.com/problems/maximum-points-you-can-obtain-from-cards,"Array, Sliding Window, Prefix Sum" MEDIUM,Two Sum II - Input Array Is Sorted,29.8,0.006603655701873773,https://leetcode.com/problems/two-sum-ii-input-array-is-sorted,"Array, Two Pointers, Binary Search" MEDIUM,Sort an Array,29.8,0.005551215470033499,https://leetcode.com/problems/sort-an-array,"Array, Divide and Conquer, Sorting, Heap (Priority Queue), Merge Sort, Bucket Sort, Radix Sort, Counting Sort" EASY,Find the Index of the First Occurrence in a String,29.8,0.004748363230435155,https://leetcode.com/problems/find-the-index-of-the-first-occurrence-in-a-string,"Two Pointers, String, String Matching, Z Algorithm, Knuth–Morris–Pratt Algorithm, Boyer–Moore String-Search Algorithm" EASY,Roman to Integer,29.8,0.00673104786587012,https://leetcode.com/problems/roman-to-integer,"Hash Table, Math, String" EASY,Count Pairs That Form a Complete Day I,29.8,0.007801062801932368,https://leetcode.com/problems/count-pairs-that-form-a-complete-day-i,"Array, Hash Table, Counting" EASY,Palindrome Linked List,29.8,0.00589603978203453,https://leetcode.com/problems/palindrome-linked-list,"Linked List, Two Pointers, Stack, Recursion" EASY,Reverse String II,29.8,0.005477013313025684,https://leetcode.com/problems/reverse-string-ii,"Two Pointers, String" MEDIUM,Count Good Numbers,29.8,0.005822286422385845,https://leetcode.com/problems/count-good-numbers,"Math, Recursion" MEDIUM,Remove All Occurrences of a Substring,29.8,0.007873604772839578,https://leetcode.com/problems/remove-all-occurrences-of-a-substring,"String, Stack, Simulation" MEDIUM,"Pow(x, n)",29.8,0.003926253786233558,https://leetcode.com/problems/powx-n,"Math, Recursion" HARD,Find Sum of Array Product of Magical Sequences,29.8,0.00613786754128546,https://leetcode.com/problems/find-sum-of-array-product-of-magical-sequences,"Array, Math, Dynamic Programming, Bit Manipulation, Combinatorics, Bitmask" HARD,Maximum Number of K-Divisible Components,29.8,0.007366408021011215,https://leetcode.com/problems/maximum-number-of-k-divisible-components,"Tree, Depth-First Search" EASY,Add Digits,29.8,0.006936164785279986,https://leetcode.com/problems/add-digits,"Math, Simulation, Number Theory" HARD,Maximum Profit in Job Scheduling,29.8,0.005487851024832893,https://leetcode.com/problems/maximum-profit-in-job-scheduling,"Array, Binary Search, Dynamic Programming, Sorting" MEDIUM,Magic Squares In Grid,29.8,0.005524084302187407,https://leetcode.com/problems/magic-squares-in-grid,"Array, Hash Table, Math, Matrix" HARD,Substring with Concatenation of All Words,29.8,0.0035499291109267013,https://leetcode.com/problems/substring-with-concatenation-of-all-words,"Hash Table, String, Sliding Window" MEDIUM,Reorder List,29.8,0.006651106307182123,https://leetcode.com/problems/reorder-list,"Linked List, Two Pointers, Stack, Recursion" HARD,Number of Different Subsequences GCDs,29.8,0.004742546574094436,https://leetcode.com/problems/number-of-different-subsequences-gcds,"Array, Math, Counting, Number Theory, Euclidean Algorithm, Greatest Common Divisor" MEDIUM,Contiguous Array,29.8,0.005261884821980716,https://leetcode.com/problems/contiguous-array,"Array, Hash Table, Prefix Sum" MEDIUM,Evaluate Reverse Polish Notation,29.8,0.005897495908064153,https://leetcode.com/problems/evaluate-reverse-polish-notation,"Array, Math, Stack" HARD,Largest Rectangle in Histogram,29.8,0.005106159497283022,https://leetcode.com/problems/largest-rectangle-in-histogram,"Array, Stack, Monotonic Stack, Range Minimum/Maximum Query" EASY,Add Binary,29.8,0.005880365331102014,https://leetcode.com/problems/add-binary,"Math, String, Bit Manipulation, Simulation" HARD,Minimum Operations to Equalize Binary String,29.8,0.004481290579792688,https://leetcode.com/problems/minimum-operations-to-equalize-binary-string,"Math, String, Breadth-First Search, Union-Find, Ordered Set" HARD,Longest Valid Parentheses,29.8,0.004136898151059135,https://leetcode.com/problems/longest-valid-parentheses,"String, Dynamic Programming, Stack, Bracket Sequences" MEDIUM,Number of Subsequences That Satisfy the Given Sum Condition,29.8,0.004894580087162833,https://leetcode.com/problems/number-of-subsequences-that-satisfy-the-given-sum-condition,"Array, Two Pointers, Binary Search, Sorting" HARD,First Missing Positive,29.8,0.004397276566318524,https://leetcode.com/problems/first-missing-positive,"Array, Hash Table" MEDIUM,Odd Even Linked List,29.8,0.006284844665072434,https://leetcode.com/problems/odd-even-linked-list,Linked List MEDIUM,Sort Colors,29.8,0.007029499627522785,https://leetcode.com/problems/sort-colors,"Array, Two Pointers, Sorting, Quicksort, Bubble Sort" MEDIUM,Time Needed to Inform All Employees,29.8,0.006063130038050241,https://leetcode.com/problems/time-needed-to-inform-all-employees,"Tree, Depth-First Search, Breadth-First Search" EASY,Combine Two Tables,29.8,0.008011707328983271,https://leetcode.com/problems/combine-two-tables,Database EASY,Merge Strings Alternately,29.8,0.008214937388095528,https://leetcode.com/problems/merge-strings-alternately,"Two Pointers, String" MEDIUM,Maximum OR,29.8,0.0043163511880789365,https://leetcode.com/problems/maximum-or,"Array, Greedy, Bit Manipulation, Prefix Sum" EASY,Check if Array Is Sorted and Rotated,29.8,0.005781119909115533,https://leetcode.com/problems/check-if-array-is-sorted-and-rotated,Array HARD,Binary Tree Maximum Path Sum,29.8,0.004289442457577845,https://leetcode.com/problems/binary-tree-maximum-path-sum,"Dynamic Programming, Tree, Depth-First Search, Binary Tree, DP on Trees" MEDIUM,Partition Labels,29.8,0.008209571445340048,https://leetcode.com/problems/partition-labels,"Hash Table, Two Pointers, String, Greedy" MEDIUM,Course Schedule,29.8,0.0052411617418610945,https://leetcode.com/problems/course-schedule,"Depth-First Search, Breadth-First Search, Graph Theory, Topological Sort, Directed Acyclic Graph" HARD,Basic Calculator,29.8,0.004727951527788133,https://leetcode.com/problems/basic-calculator,"Math, String, Stack, Recursion" MEDIUM,K-diff Pairs in an Array,29.8,0.004646692019606365,https://leetcode.com/problems/k-diff-pairs-in-an-array,"Array, Hash Table, Two Pointers, Binary Search, Sorting" HARD,Count of Smaller Numbers After Self,29.8,0.004423027004485144,https://leetcode.com/problems/count-of-smaller-numbers-after-self,"Array, Binary Search, Divide and Conquer, Binary Indexed Tree, Segment Tree, Merge Sort, Ordered Set, Treap" MEDIUM,Delete and Earn,29.8,0.005764861472142015,https://leetcode.com/problems/delete-and-earn,"Array, Hash Table, Dynamic Programming" EASY,Maximum Average Subarray I,29.8,0.004943644615328624,https://leetcode.com/problems/maximum-average-subarray-i,"Array, Sliding Window" MEDIUM,Minimum Total Cost to Process All Elements,29.8,0.0024987874957746064,https://leetcode.com/problems/minimum-total-cost-to-process-all-elements,"Array, Math, Simulation" HARD,Number of Flowers in Full Bloom,29.8,0.005814906432572123,https://leetcode.com/problems/number-of-flowers-in-full-bloom,"Array, Hash Table, Binary Search, Sorting, Prefix Sum, Ordered Set" MEDIUM,Sum of Subarray Minimums,29.8,0.003907146451165559,https://leetcode.com/problems/sum-of-subarray-minimums,"Array, Dynamic Programming, Stack, Monotonic Stack" MEDIUM,Smallest Subsequence of Distinct Characters,29.8,0.007068634265447611,https://leetcode.com/problems/smallest-subsequence-of-distinct-characters,"String, Stack, Greedy, Monotonic Stack" MEDIUM,Maximum Subarray Min-Product,29.8,0.004108351315366604,https://leetcode.com/problems/maximum-subarray-min-product,"Array, Stack, Monotonic Stack, Prefix Sum, Cartesian Tree" MEDIUM,Perfect Squares,29.8,0.005699515544277655,https://leetcode.com/problems/perfect-squares,"Math, Dynamic Programming, Breadth-First Search, Knapsack Problem, Complete Knapsack" EASY,Remove Element,29.8,0.006270881687748392,https://leetcode.com/problems/remove-element,"Array, Two Pointers" MEDIUM,Movie Rating,29.8,0.004480713794419142,https://leetcode.com/problems/movie-rating,Database MEDIUM,Sliding Subarray Beauty,29.8,0.0038159270306820253,https://leetcode.com/problems/sliding-subarray-beauty,"Array, Hash Table, Sliding Window" MEDIUM,Minimum Number of Swaps to Make the String Balanced,29.8,0.007811478727324349,https://leetcode.com/problems/minimum-number-of-swaps-to-make-the-string-balanced,"Two Pointers, String, Stack, Greedy, Bracket Sequences" MEDIUM,Last Stone Weight II,29.8,0.006126295543563748,https://leetcode.com/problems/last-stone-weight-ii,"Array, Dynamic Programming, Knapsack Problem, 0-1 Knapsack" MEDIUM,Maximum Absolute Sum of Any Subarray,29.8,0.007053011559782382,https://leetcode.com/problems/maximum-absolute-sum-of-any-subarray,"Array, Dynamic Programming" HARD,Minimum Number of Refueling Stops,29.8,0.004204309953447233,https://leetcode.com/problems/minimum-number-of-refueling-stops,"Array, Dynamic Programming, Greedy, Heap (Priority Queue)" HARD,Best Time to Buy and Sell Stock IV,29.8,0.005157269520612302,https://leetcode.com/problems/best-time-to-buy-and-sell-stock-iv,"Array, Dynamic Programming" EASY,Split a String in Balanced Strings,29.8,0.0087691730141226,https://leetcode.com/problems/split-a-string-in-balanced-strings,"String, Greedy, Counting" EASY,Maximize Sum Of Array After K Negations,29.8,0.00544562093908809,https://leetcode.com/problems/maximize-sum-of-array-after-k-negations,"Array, Greedy, Sorting" HARD,Stone Game IV,29.8,0.006519841947726884,https://leetcode.com/problems/stone-game-iv,"Math, Dynamic Programming, Minimax, Game Theory, Nim Game, Sprague–Grundy Theorem, Zero-Sum Game" HARD,Count of Range Sum,29.8,0.004023243680112944,https://leetcode.com/problems/count-of-range-sum,"Array, Binary Search, Divide and Conquer, Binary Indexed Tree, Segment Tree, Merge Sort, Ordered Set, Treap" MEDIUM,3Sum Closest,29.8,0.0047673713892393615,https://leetcode.com/problems/3sum-closest,"Array, Two Pointers, Sorting" MEDIUM,Continuous Subarray Sum,29.8,0.003173988257417025,https://leetcode.com/problems/continuous-subarray-sum,"Array, Hash Table, Math, Prefix Sum, Pigeonhole Principle" MEDIUM,Longest Continuous Subarray With Absolute Diff Less Than or Equal to Limit,29.8,0.005815238731632716,https://leetcode.com/problems/longest-continuous-subarray-with-absolute-diff-less-than-or-equal-to-limit,"Array, Queue, Sliding Window, Heap (Priority Queue), Ordered Set, Monotonic Queue" MEDIUM,Minimum Moves to Equal Array Elements,29.8,0.0059267739242231,https://leetcode.com/problems/minimum-moves-to-equal-array-elements,"Array, Math" EASY,Minimum Cost to Move Chips to The Same Position,29.8,0.007331581925470858,https://leetcode.com/problems/minimum-cost-to-move-chips-to-the-same-position,"Array, Math, Greedy" MEDIUM,Longest Subsequence With Non-Zero Bitwise XOR,29.8,0.00553328227761154,https://leetcode.com/problems/longest-subsequence-with-non-zero-bitwise-xor,"Array, Bit Manipulation" EASY,Find the Largest Almost Missing Integer,29.8,0.004925379729681958,https://leetcode.com/problems/find-the-largest-almost-missing-integer,"Array, Hash Table" EASY,Pascal's Triangle,29.8,0.00794762788150569,https://leetcode.com/problems/pascals-triangle,"Array, Dynamic Programming" HARD,Russian Doll Envelopes,29.8,0.003833089964475047,https://leetcode.com/problems/russian-doll-envelopes,"Array, Binary Search, Dynamic Programming, Sorting, Longest Increasing Subsequence" MEDIUM,Rotate Function,29.8,0.005404296712991939,https://leetcode.com/problems/rotate-function,"Array, Math, Dynamic Programming" MEDIUM,Longest Ideal Subsequence,29.8,0.004656825216579058,https://leetcode.com/problems/longest-ideal-subsequence,"Hash Table, String, Dynamic Programming" HARD,Minimum Difficulty of a Job Schedule,29.8,0.00598341420780487,https://leetcode.com/problems/minimum-difficulty-of-a-job-schedule,"Array, Dynamic Programming" HARD,Maximum Sum of 3 Non-Overlapping Subarrays,29.8,0.006008698175540938,https://leetcode.com/problems/maximum-sum-of-3-non-overlapping-subarrays,"Array, Dynamic Programming, Sliding Window, Prefix Sum" MEDIUM,Subarray Product Less Than K,29.8,0.005490451658449954,https://leetcode.com/problems/subarray-product-less-than-k,"Array, Binary Search, Sliding Window, Prefix Sum" MEDIUM,Partition Equal Subset Sum,29.8,0.0050096919233771475,https://leetcode.com/problems/partition-equal-subset-sum,"Array, Dynamic Programming, Knapsack Problem, 0-1 Knapsack" HARD,Pizza With 3n Slices,29.8,0.00545389639580083,https://leetcode.com/problems/pizza-with-3n-slices,"Array, Dynamic Programming, Greedy, Heap (Priority Queue)" HARD,Department Top Three Salaries,29.8,0.0062188209449479444,https://leetcode.com/problems/department-top-three-salaries,Database HARD,Minimum Adjacent Swaps for K Consecutive Ones,29.8,0.004284970686537724,https://leetcode.com/problems/minimum-adjacent-swaps-for-k-consecutive-ones,"Array, Greedy, Sliding Window, Prefix Sum" EASY,Minimum Operations to Make the Array Increasing,29.8,0.008251343853440432,https://leetcode.com/problems/minimum-operations-to-make-the-array-increasing,"Array, Greedy" HARD,Minimum Number of Increments on Subarrays to Form a Target Array,29.8,0.007832981179324648,https://leetcode.com/problems/minimum-number-of-increments-on-subarrays-to-form-a-target-array,"Array, Dynamic Programming, Stack, Greedy, Monotonic Stack" MEDIUM,Count Nodes Equal to Average of Subtree,29.8,0.008870139578536117,https://leetcode.com/problems/count-nodes-equal-to-average-of-subtree,"Tree, Depth-First Search, Binary Tree" MEDIUM,Best Time to Buy and Sell Stock with Cooldown,29.8,0.00628974002808114,https://leetcode.com/problems/best-time-to-buy-and-sell-stock-with-cooldown,"Array, Dynamic Programming" MEDIUM,Jump Game II,29.8,0.004366652473052463,https://leetcode.com/problems/jump-game-ii,"Array, Dynamic Programming, Greedy" MEDIUM,Task Scheduler,29.8,0.006400139380499183,https://leetcode.com/problems/task-scheduler,"Array, Hash Table, Greedy, Sorting, Heap (Priority Queue), Counting" HARD,Minimum Cost to Cut a Stick,29.8,0.006350125453762531,https://leetcode.com/problems/minimum-cost-to-cut-a-stick,"Array, Dynamic Programming, Sorting" MEDIUM,Minimum Sideway Jumps,29.8,0.005203138968908314,https://leetcode.com/problems/minimum-sideway-jumps,"Array, Dynamic Programming, Greedy" MEDIUM,Minimum Operations to Reduce X to Zero,29.8,0.004509240171438333,https://leetcode.com/problems/minimum-operations-to-reduce-x-to-zero,"Array, Hash Table, Binary Search, Sliding Window, Prefix Sum" MEDIUM,Validate Binary Search Tree,29.8,0.0036499068750407686,https://leetcode.com/problems/validate-binary-search-tree,"Tree, Depth-First Search, Binary Search Tree, Binary Tree" EASY,Employees Earning More Than Their Managers,29.8,0.007400308160013807,https://leetcode.com/problems/employees-earning-more-than-their-managers,Database MEDIUM,Longest Arithmetic Subsequence,29.8,0.005022491918561788,https://leetcode.com/problems/longest-arithmetic-subsequence,"Array, Hash Table, Binary Search, Dynamic Programming" MEDIUM,Majority Element II,29.8,0.005692215023666439,https://leetcode.com/problems/majority-element-ii,"Array, Hash Table, Sorting, Counting, Boyer–Moore Majority Vote Algorithm" MEDIUM,Minimum Speed to Arrive on Time,29.8,0.004828736991160175,https://leetcode.com/problems/minimum-speed-to-arrive-on-time,"Array, Binary Search" EASY,Can Place Flowers,29.8,0.002933289315948414,https://leetcode.com/problems/can-place-flowers,"Array, Greedy" MEDIUM,Longest Common Subsequence,29.8,0.005966796438000627,https://leetcode.com/problems/longest-common-subsequence,"String, Dynamic Programming, Longest Common Subsequence" EASY,Single Number,29.8,0.00784339814078482,https://leetcode.com/problems/single-number,"Array, Bit Manipulation"