Difficulty,Title,Frequency,Acceptance Rate,Link,Topics EASY,Two Sum,100.0,0.005803619569850807,https://leetcode.com/problems/two-sum,"Array, Hash Table" MEDIUM,Merge Intervals,87.9,0.005302580516468156,https://leetcode.com/problems/merge-intervals,"Array, Sorting, Quicksort" MEDIUM,Add Two Numbers,85.2,0.004955382755299649,https://leetcode.com/problems/add-two-numbers,"Linked List, Math, Recursion" MEDIUM,Longest Substring Without Repeating Characters,84.8,0.0040019096716004815,https://leetcode.com/problems/longest-substring-without-repeating-characters,"Hash Table, String, Sliding Window" MEDIUM,Number of Islands,83.9,0.0065314533239114415,https://leetcode.com/problems/number-of-islands,"Array, Depth-First Search, Breadth-First Search, Union-Find, Matrix" EASY,Best Time to Buy and Sell Stock,83.8,0.005752117224113611,https://leetcode.com/problems/best-time-to-buy-and-sell-stock,"Array, Dynamic Programming" MEDIUM,Insert Delete GetRandom O(1),83.5,0.005556958141472283,https://leetcode.com/problems/insert-delete-getrandom-o1,"Array, Hash Table, Math, Design, Randomized" EASY,Valid Parentheses,83.1,0.004534111526114259,https://leetcode.com/problems/valid-parentheses,"String, Stack, Bracket Sequences" HARD,Trapping Rain Water,80.2,0.006842242862390413,https://leetcode.com/problems/trapping-rain-water,"Array, Two Pointers, Dynamic Programming, Stack, Monotonic Stack" MEDIUM,3Sum,79.5,0.004007310841272445,https://leetcode.com/problems/3sum,"Array, Two Pointers, Sorting" MEDIUM,Longest Palindromic Substring,79.4,0.003886672298736387,https://leetcode.com/problems/longest-palindromic-substring,"Two Pointers, String, Dynamic Programming, Manacher" HARD,Median of Two Sorted Arrays,79.0,0.004785842846739875,https://leetcode.com/problems/median-of-two-sorted-arrays,"Array, Binary Search, Divide and Conquer" EASY,Longest Common Prefix,78.5,0.004853664951832472,https://leetcode.com/problems/longest-common-prefix,"Array, String, Trie" MEDIUM,Invalid Transactions,78.1,0.00326421544239195,https://leetcode.com/problems/invalid-transactions,"Array, Hash Table, String, Sorting" MEDIUM,Word Search,77.4,0.00483129685725579,https://leetcode.com/problems/word-search,"Array, String, Backtracking, Depth-First Search, Matrix" MEDIUM,Flatten a Multilevel Doubly Linked List,77.2,0.006360026454705745,https://leetcode.com/problems/flatten-a-multilevel-doubly-linked-list,"Linked List, Depth-First Search, Doubly-Linked List" MEDIUM,Container With Most Water,76.2,0.0061038869759681945,https://leetcode.com/problems/container-with-most-water,"Array, Two Pointers, Greedy" MEDIUM,Decode String,75.8,0.006337488716678541,https://leetcode.com/problems/decode-string,"String, Stack, Recursion" EASY,Majority Element,75.0,0.006653557418745578,https://leetcode.com/problems/majority-element,"Array, Hash Table, Divide and Conquer, Sorting, Counting, Boyer–Moore Majority Vote Algorithm" MEDIUM,Reverse Integer,74.3,0.0032681466375456057,https://leetcode.com/problems/reverse-integer,Math EASY,Valid Anagram,73.9,0.006876754845621371,https://leetcode.com/problems/valid-anagram,"Hash Table, String, Sorting" EASY,Remove Duplicates from Sorted Array,73.2,0.006397704557798579,https://leetcode.com/problems/remove-duplicates-from-sorted-array,"Array, Two Pointers" EASY,Merge Sorted Array,72.9,0.005590677227285328,https://leetcode.com/problems/merge-sorted-array,"Array, Two Pointers, Sorting" EASY,Merge Two Sorted Lists,72.7,0.006901781798830033,https://leetcode.com/problems/merge-two-sorted-lists,"Linked List, Recursion" EASY,Palindrome Number,72.4,0.006104361601095779,https://leetcode.com/problems/palindrome-number,Math MEDIUM,LRU Cache,71.7,0.0048257079210811925,https://leetcode.com/problems/lru-cache,"Hash Table, Linked List, Design, Doubly-Linked List" MEDIUM,Subarray Sum Equals K,71.2,0.00483507311469223,https://leetcode.com/problems/subarray-sum-equals-k,"Array, Hash Table, Prefix Sum" MEDIUM,Design Underground System,70.9,0.007474617631536319,https://leetcode.com/problems/design-underground-system,"Hash Table, String, Design" MEDIUM,Longest Consecutive Sequence,70.6,0.004728602898389214,https://leetcode.com/problems/longest-consecutive-sequence,"Array, Hash Table, Union-Find" MEDIUM,Min Stack,70.6,0.005879055780215578,https://leetcode.com/problems/min-stack,"Stack, Design" EASY,Roman to Integer,70.1,0.006731048355080327,https://leetcode.com/problems/roman-to-integer,"Hash Table, Math, String" MEDIUM,Group Anagrams,69.8,0.007344435827263502,https://leetcode.com/problems/group-anagrams,"Array, Hash Table, String, Sorting" MEDIUM,Subsets,69.5,0.008293246884876884,https://leetcode.com/problems/subsets,"Array, Backtracking, Bit Manipulation" MEDIUM,Search in Rotated Sorted Array,69.2,0.0045799801424739215,https://leetcode.com/problems/search-in-rotated-sorted-array,"Array, Binary Search" MEDIUM,Next Permutation,68.9,0.004639580365103391,https://leetcode.com/problems/next-permutation,"Array, Two Pointers" MEDIUM,Maximum Subarray,68.0,0.005399361962621888,https://leetcode.com/problems/maximum-subarray,"Array, Divide and Conquer, Dynamic Programming" EASY,Climbing Stairs,68.0,0.0054406480120394365,https://leetcode.com/problems/climbing-stairs,"Math, Dynamic Programming, Memoization" MEDIUM,Generate Parentheses,67.4,0.007971332541154535,https://leetcode.com/problems/generate-parentheses,"String, Dynamic Programming, Backtracking, Bracket Sequences" EASY,Move Zeroes,67.1,0.006450129552008339,https://leetcode.com/problems/move-zeroes,"Array, Two Pointers" MEDIUM,Rotate Image,65.7,0.008083477709917058,https://leetcode.com/problems/rotate-image,"Array, Math, Matrix" EASY,Single Number,65.0,0.007843395099374526,https://leetcode.com/problems/single-number,"Array, Bit Manipulation" MEDIUM,Meeting Rooms II,64.6,0.005284527742612777,https://leetcode.com/problems/meeting-rooms-ii,"Array, Two Pointers, Greedy, Sorting, Heap (Priority Queue), Prefix Sum" HARD,Number of Ships in a Rectangle,64.6,0.006873218824616807,https://leetcode.com/problems/number-of-ships-in-a-rectangle,"Array, Divide and Conquer, Interactive" EASY,Reverse Linked List,64.2,0.008116089878383836,https://leetcode.com/problems/reverse-linked-list,"Linked List, Recursion" MEDIUM,Validate Binary Search Tree,63.9,0.0036499019369615154,https://leetcode.com/problems/validate-binary-search-tree,"Tree, Depth-First Search, Binary Search Tree, Binary Tree" HARD,Word Break II,63.9,0.0056389860773422415,https://leetcode.com/problems/word-break-ii,"Array, Hash Table, String, Dynamic Programming, Backtracking, Trie, Memoization" MEDIUM,Find First and Last Position of Element in Sorted Array,63.5,0.004980550568318364,https://leetcode.com/problems/find-first-and-last-position-of-element-in-sorted-array,"Array, Binary Search" EASY,Pascal's Triangle,63.5,0.007947626753055527,https://leetcode.com/problems/pascals-triangle,"Array, Dynamic Programming" EASY,Valid Palindrome,63.5,0.005452912504825345,https://leetcode.com/problems/valid-palindrome,"Two Pointers, String" MEDIUM,Rotate Array,63.5,0.004571838426587616,https://leetcode.com/problems/rotate-array,"Array, Math, Two Pointers" MEDIUM,Koko Eating Bananas,63.5,0.005071672176030875,https://leetcode.com/problems/koko-eating-bananas,"Array, Binary Search" EASY,First Unique Character in a String,63.1,0.006654122410972133,https://leetcode.com/problems/first-unique-character-in-a-string,"Hash Table, String, Queue, Counting" MEDIUM,4Sum,62.7,0.00419427419367053,https://leetcode.com/problems/4sum,"Array, Two Pointers, Sorting" MEDIUM,String to Integer (atoi),62.3,0.002191935122734933,https://leetcode.com/problems/string-to-integer-atoi,String EASY,Remove Element,62.3,0.006270877637084763,https://leetcode.com/problems/remove-element,"Array, Two Pointers" EASY,Sqrt(x),62.3,0.0042364519534457265,https://leetcode.com/problems/sqrtx,"Math, Binary Search, Newton's Method" MEDIUM,Find Peak Element,62.3,0.004726736591652903,https://leetcode.com/problems/find-peak-element,"Array, Binary Search" MEDIUM,Evaluate Division,62.3,0.006467495342109883,https://leetcode.com/problems/evaluate-division,"Array, String, Depth-First Search, Breadth-First Search, Union-Find, Graph Theory, Shortest Path, Bellman–Ford Algorithm, Floyd–Warshall Algorithm" MEDIUM,Longest Repeating Character Replacement,62.3,0.006087651121473387,https://leetcode.com/problems/longest-repeating-character-replacement,"Hash Table, String, Sliding Window" MEDIUM,"Pow(x, n)",61.4,0.003926259177077992,https://leetcode.com/problems/powx-n,"Math, Recursion" EASY,Contains Duplicate,61.4,0.006479964500894849,https://leetcode.com/problems/contains-duplicate,"Array, Hash Table, Sorting" MEDIUM,Coin Change,61.4,0.004930606430928151,https://leetcode.com/problems/coin-change,"Array, Dynamic Programming, Breadth-First Search, Knapsack Problem, Complete Knapsack" MEDIUM,Sort Integers by The Power Value,61.4,0.007185822790537216,https://leetcode.com/problems/sort-integers-by-the-power-value,"Dynamic Programming, Memoization, Sorting" MEDIUM,Sort Colors,60.9,0.007029494846621584,https://leetcode.com/problems/sort-colors,"Array, Two Pointers, Sorting, Quicksort, Bubble Sort" MEDIUM,3Sum Closest,60.5,0.004767382135402843,https://leetcode.com/problems/3sum-closest,"Array, Two Pointers, Sorting" MEDIUM,Jump Game,60.5,0.004166910102142662,https://leetcode.com/problems/jump-game,"Array, Dynamic Programming, Greedy" MEDIUM,House Robber,60.5,0.005368629154982255,https://leetcode.com/problems/house-robber,"Array, Dynamic Programming" MEDIUM,Single Element in a Sorted Array,60.0,0.005945654334430877,https://leetcode.com/problems/single-element-in-a-sorted-array,"Array, Binary Search" MEDIUM,Remove All Adjacent Duplicates in String II,60.0,0.006203663148963834,https://leetcode.com/problems/remove-all-adjacent-duplicates-in-string-ii,"String, Stack" MEDIUM,Zigzag Conversion,59.5,0.005537291873234217,https://leetcode.com/problems/zigzag-conversion,String MEDIUM,Spiral Matrix,59.5,0.00581458382541156,https://leetcode.com/problems/spiral-matrix,"Array, Matrix, Simulation" MEDIUM,Product of Array Except Self,59.5,0.006937972748914706,https://leetcode.com/problems/product-of-array-except-self,"Array, Prefix Sum" EASY,Next Greater Element I,59.5,0.0076971480894582585,https://leetcode.com/problems/next-greater-element-i,"Array, Hash Table, Stack, Monotonic Stack" MEDIUM,Palindrome Partitioning,59.0,0.00748103623660194,https://leetcode.com/problems/palindrome-partitioning,"String, Dynamic Programming, Backtracking" EASY,Check if Array Is Sorted and Rotated,59.0,0.005781118511848661,https://leetcode.com/problems/check-if-array-is-sorted-and-rotated,Array EASY,Palindrome Linked List,58.5,0.005896037487368217,https://leetcode.com/problems/palindrome-linked-list,"Linked List, Two Pointers, Stack, Recursion" MEDIUM,All Paths From Source to Target,58.5,0.008384048033374437,https://leetcode.com/problems/all-paths-from-source-to-target,"Backtracking, Depth-First Search, Breadth-First Search, Graph Theory, Directed Acyclic Graph" EASY,Remove Letter To Equalize Frequency,58.5,0.0019672447524781136,https://leetcode.com/problems/remove-letter-to-equalize-frequency,"Hash Table, String, Counting" EASY,Search Insert Position,58.0,0.005247769012731357,https://leetcode.com/problems/search-insert-position,"Array, Binary Search" EASY,Plus One,58.0,0.005076992794976859,https://leetcode.com/problems/plus-one,"Array, Math" MEDIUM,Top K Frequent Elements,58.0,0.006757407760969295,https://leetcode.com/problems/top-k-frequent-elements,"Array, Hash Table, Divide and Conquer, Sorting, Heap (Priority Queue), Bucket Sort, Counting, Quickselect" MEDIUM,Two City Scheduling,58.0,0.006906065542507508,https://leetcode.com/problems/two-city-scheduling,"Array, Greedy, Sorting, Hungarian Algorithm, Successive Shortest Path Algorithm" HARD,Merge k Sorted Lists,57.5,0.006078421597892625,https://leetcode.com/problems/merge-k-sorted-lists,"Linked List, Divide and Conquer, Heap (Priority Queue), Merge Sort, Tournament Sort" MEDIUM,Set Matrix Zeroes,57.5,0.00637883192980759,https://leetcode.com/problems/set-matrix-zeroes,"Array, Hash Table, Matrix" MEDIUM,Word Break,57.5,0.0050024045329298515,https://leetcode.com/problems/word-break,"Array, Hash Table, String, Dynamic Programming, Trie, Memoization, Brute-Force Search" EASY,Combine Two Tables,57.5,0.00801170967156153,https://leetcode.com/problems/combine-two-tables,Database MEDIUM,Binary Tree Vertical Order Traversal,57.5,0.005789704254795868,https://leetcode.com/problems/binary-tree-vertical-order-traversal,"Hash Table, Tree, Depth-First Search, Breadth-First Search, Sorting, Binary Tree" EASY,Max Consecutive Ones,57.5,0.006632999312683273,https://leetcode.com/problems/max-consecutive-ones,Array EASY,Create Hello World Function,57.5,0.008193146939003294,https://leetcode.com/problems/create-hello-world-function, MEDIUM,Binary Tree Level Order Traversal,56.9,0.0073655236947187805,https://leetcode.com/problems/binary-tree-level-order-traversal,"Tree, Breadth-First Search, Binary Tree" MEDIUM,Kth Largest Element in an Array,56.9,0.006941742121123445,https://leetcode.com/problems/kth-largest-element-in-an-array,"Array, Divide and Conquer, Sorting, Heap (Priority Queue), Quickselect" EASY,Contains Duplicate II,56.9,0.005206167450646901,https://leetcode.com/problems/contains-duplicate-ii,"Array, Hash Table, Sliding Window" MEDIUM,Valid Triangle Number,56.9,0.005733628004612246,https://leetcode.com/problems/valid-triangle-number,"Array, Two Pointers, Binary Search, Greedy, Sorting" MEDIUM,Daily Temperatures,56.9,0.006927660908562558,https://leetcode.com/problems/daily-temperatures,"Array, Stack, Monotonic Stack" EASY,Find the Index of the First Occurrence in a String,56.4,0.004748363948335515,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" HARD,N-Queens,56.4,0.007667728417363772,https://leetcode.com/problems/n-queens,"Array, Backtracking, Algorithm X" HARD,Largest Rectangle in Histogram,56.4,0.0051061481781093255,https://leetcode.com/problems/largest-rectangle-in-histogram,"Array, Stack, Monotonic Stack, Range Minimum/Maximum Query" MEDIUM,Best Time to Buy and Sell Stock II,56.4,0.007176543330576482,https://leetcode.com/problems/best-time-to-buy-and-sell-stock-ii,"Array, Dynamic Programming, Greedy" MEDIUM,Rotting Oranges,56.4,0.005959390567946482,https://leetcode.com/problems/rotting-oranges,"Array, Breadth-First Search, Matrix" MEDIUM,Reorder List,55.8,0.00665110227250015,https://leetcode.com/problems/reorder-list,"Linked List, Two Pointers, Stack, Recursion" EASY,Binary Search,55.8,0.006142062711818922,https://leetcode.com/problems/binary-search,"Array, Binary Search" EASY,Fibonacci Number,55.8,0.007473587099853175,https://leetcode.com/problems/fibonacci-number,"Math, Dynamic Programming, Recursion, Memoization" HARD,Vertical Order Traversal of a Binary Tree,55.8,0.005489259807919105,https://leetcode.com/problems/vertical-order-traversal-of-a-binary-tree,"Hash Table, Tree, Depth-First Search, Breadth-First Search, Sorting, Binary Tree" EASY,Merge Strings Alternately,55.8,0.008214936744983787,https://leetcode.com/problems/merge-strings-alternately,"Two Pointers, String" HARD,Candy,55.2,0.004941931964353309,https://leetcode.com/problems/candy,"Array, Greedy" EASY,Reverse String,55.2,0.00814595615074621,https://leetcode.com/problems/reverse-string,"Two Pointers, String" MEDIUM,Minimum Remove to Make Valid Parentheses,55.2,0.0071666817244478796,https://leetcode.com/problems/minimum-remove-to-make-valid-parentheses,"String, Stack" EASY,Design an Ordered Stream,55.2,0.008278405872948733,https://leetcode.com/problems/design-an-ordered-stream,"Array, Hash Table, Design, Data Stream" EASY,Symmetric Tree,54.6,0.006218967525362452,https://leetcode.com/problems/symmetric-tree,"Tree, Depth-First Search, Breadth-First Search, Binary Tree" MEDIUM,Gas Station,54.6,0.00488886426767656,https://leetcode.com/problems/gas-station,"Array, Greedy" MEDIUM,Copy List with Random Pointer,54.6,0.006388445457763472,https://leetcode.com/problems/copy-list-with-random-pointer,"Hash Table, Linked List" EASY,Isomorphic Strings,54.6,0.004925797853031167,https://leetcode.com/problems/isomorphic-strings,"Hash Table, String" MEDIUM,Minimum Size Subarray Sum,54.6,0.005316430263613997,https://leetcode.com/problems/minimum-size-subarray-sum,"Array, Binary Search, Sliding Window, Prefix Sum" MEDIUM,String Compression,54.6,0.006096658022817522,https://leetcode.com/problems/string-compression,"Two Pointers, String" MEDIUM,Number of Provinces,54.6,0.007120511002475402,https://leetcode.com/problems/number-of-provinces,"Depth-First Search, Breadth-First Search, Union-Find, Graph Theory" HARD,Regular Expression Matching,53.9,0.00319894529506001,https://leetcode.com/problems/regular-expression-matching,"String, Dynamic Programming, Recursion" MEDIUM,Combination Sum,53.9,0.007727898613452125,https://leetcode.com/problems/combination-sum,"Array, Backtracking" MEDIUM,Rotate List,53.9,0.004347111393577039,https://leetcode.com/problems/rotate-list,"Linked List, Two Pointers" EASY,Missing Number,53.9,0.007285154034374538,https://leetcode.com/problems/missing-number,"Array, Hash Table, Math, Binary Search, Bit Manipulation, Sorting" MEDIUM,Letter Combinations of a Phone Number,53.3,0.006703747716480336,https://leetcode.com/problems/letter-combinations-of-a-phone-number,"Hash Table, String, Backtracking" MEDIUM,Swap Nodes in Pairs,53.3,0.007042727090202758,https://leetcode.com/problems/swap-nodes-in-pairs,"Linked List, Recursion" EASY,Balanced Binary Tree,53.3,0.005939470744156499,https://leetcode.com/problems/balanced-binary-tree,"Tree, Depth-First Search, Binary Tree" EASY,Linked List Cycle,53.3,0.005524664361206761,https://leetcode.com/problems/linked-list-cycle,"Hash Table, Linked List, Two Pointers, Floyd's Cycle Finding Algorithm" MEDIUM,Reverse Words in a String,53.3,0.005813312580579345,https://leetcode.com/problems/reverse-words-in-a-string,"Two Pointers, String" HARD,Split Array Largest Sum,53.3,0.006163993543404694,https://leetcode.com/problems/split-array-largest-sum,"Array, Binary Search, Dynamic Programming, Greedy, Prefix Sum" EASY,Squares of a Sorted Array,53.3,0.00742323018604724,https://leetcode.com/problems/squares-of-a-sorted-array,"Array, Two Pointers, Sorting" EASY,Recyclable and Low Fat Products,53.3,0.008865763644426783,https://leetcode.com/problems/recyclable-and-low-fat-products,Database EASY,Add Binary,52.6,0.0058803595651347315,https://leetcode.com/problems/add-binary,"Math, String, Bit Manipulation, Simulation" MEDIUM,Maximum Product Subarray,52.6,0.0037223884530993862,https://leetcode.com/problems/maximum-product-subarray,"Array, Dynamic Programming" HARD,Sliding Window Maximum,52.6,0.004936748112235577,https://leetcode.com/problems/sliding-window-maximum,"Array, Queue, Sliding Window, Heap (Priority Queue), Monotonic Queue, Range Minimum/Maximum Query" MEDIUM,Unique Paths,51.9,0.006736987590988108,https://leetcode.com/problems/unique-paths,"Math, Dynamic Programming, Combinatorics" EASY,Same Tree,51.9,0.006817015426136962,https://leetcode.com/problems/same-tree,"Tree, Depth-First Search, Breadth-First Search, Binary Tree" MEDIUM,Construct Binary Tree from Preorder and Inorder Traversal,51.9,0.006972795729882645,https://leetcode.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal,"Array, Hash Table, Divide and Conquer, Tree, Binary Tree" MEDIUM,Integer to Roman,51.1,0.007185741432650026,https://leetcode.com/problems/integer-to-roman,"Hash Table, Math, String" MEDIUM,Edit Distance,51.1,0.006145648514798889,https://leetcode.com/problems/edit-distance,"String, Dynamic Programming" HARD,Word Ladder,51.1,0.004677964667290124,https://leetcode.com/problems/word-ladder,"Hash Table, String, Breadth-First Search, Bidirectional Search" EASY,Intersection of Two Arrays,51.1,0.007849447787145396,https://leetcode.com/problems/intersection-of-two-arrays,"Array, Hash Table, Two Pointers, Binary Search, Sorting" MEDIUM,Next Greater Element II,51.1,0.006933420320858729,https://leetcode.com/problems/next-greater-element-ii,"Array, Stack, Monotonic Stack" EASY,Number of Recent Calls,51.1,0.007918643343528306,https://leetcode.com/problems/number-of-recent-calls,"Design, Queue, Data Stream" MEDIUM,Design A Leaderboard,51.1,0.006801334834034318,https://leetcode.com/problems/design-a-leaderboard,"Hash Table, Design, Sorting" MEDIUM,Count Unhappy Friends,51.1,0.006271268251478219,https://leetcode.com/problems/count-unhappy-friends,"Array, Simulation" MEDIUM,Frequency of the Most Frequent Element,51.1,0.004529167232151813,https://leetcode.com/problems/frequency-of-the-most-frequent-element,"Array, Binary Search, Greedy, Sliding Window, Sorting, Prefix Sum" EASY,Concatenation of Array,51.1,0.008994195874831868,https://leetcode.com/problems/concatenation-of-array,"Array, Simulation" MEDIUM,Remove Nth Node From End of List,50.4,0.005289986758511445,https://leetcode.com/problems/remove-nth-node-from-end-of-list,"Linked List, Two Pointers" MEDIUM,Valid Sudoku,50.4,0.006525282493413743,https://leetcode.com/problems/valid-sudoku,"Array, Hash Table, Matrix" MEDIUM,Permutations,50.4,0.008243516376656806,https://leetcode.com/problems/permutations,"Array, Backtracking" MEDIUM,Unique Paths II,50.4,0.004523927937968707,https://leetcode.com/problems/unique-paths-ii,"Array, Dynamic Programming, Matrix" MEDIUM,Search a 2D Matrix,50.4,0.005434084286818852,https://leetcode.com/problems/search-a-2d-matrix,"Array, Binary Search, Matrix" MEDIUM,Add Two Numbers II,50.4,0.006303926747666843,https://leetcode.com/problems/add-two-numbers-ii,"Linked List, Math, Stack" EASY,Length of Last Word,49.5,0.00599108246484249,https://leetcode.com/problems/length-of-last-word,String MEDIUM,Subsets II,49.5,0.006213262498742958,https://leetcode.com/problems/subsets-ii,"Array, Backtracking, Bit Manipulation" MEDIUM,Binary Tree Zigzag Level Order Traversal,49.5,0.00646604200853189,https://leetcode.com/problems/binary-tree-zigzag-level-order-traversal,"Tree, Breadth-First Search, Binary Tree" EASY,Happy Number,49.5,0.0060426578872582815,https://leetcode.com/problems/happy-number,"Hash Table, Math, Two Pointers, Floyd's Cycle Finding Algorithm" MEDIUM,Kth Smallest Element in a BST,49.5,0.007743578904864954,https://leetcode.com/problems/kth-smallest-element-in-a-bst,"Tree, Depth-First Search, Binary Search Tree, Binary Tree" MEDIUM,Find the Duplicate Number,49.5,0.006500933307535348,https://leetcode.com/problems/find-the-duplicate-number,"Array, Two Pointers, Binary Search, Bit Manipulation, Pigeonhole Principle, Floyd's Cycle Finding Algorithm" MEDIUM,Longest Increasing Subsequence,49.5,0.006009859762857892,https://leetcode.com/problems/longest-increasing-subsequence,"Array, Binary Search, Dynamic Programming, Longest Increasing Subsequence" HARD,Reverse Nodes in k-Group,48.7,0.006751115079326143,https://leetcode.com/problems/reverse-nodes-in-k-group,"Linked List, Recursion" EASY,Maximum Depth of Binary Tree,48.7,0.007872343942349131,https://leetcode.com/problems/maximum-depth-of-binary-tree,"Tree, Depth-First Search, Breadth-First Search, Binary Tree" HARD,Binary Tree Maximum Path Sum,48.7,0.004289440691024081,https://leetcode.com/problems/binary-tree-maximum-path-sum,"Dynamic Programming, Tree, Depth-First Search, Binary Tree, DP on Trees" MEDIUM,Two Sum II - Input Array Is Sorted,48.7,0.006603648670046235,https://leetcode.com/problems/two-sum-ii-input-array-is-sorted,"Array, Two Pointers, Binary Search" EASY,Rising Temperature,48.7,0.005243880582705981,https://leetcode.com/problems/rising-temperature,Database MEDIUM,Lexicographical Numbers,48.7,0.00764214405976858,https://leetcode.com/problems/lexicographical-numbers,"Depth-First Search, Trie" MEDIUM,Partition Equal Subset Sum,48.7,0.005009688952610246,https://leetcode.com/problems/partition-equal-subset-sum,"Array, Dynamic Programming, Knapsack Problem, 0-1 Knapsack" MEDIUM,Find the Winner of the Circular Game,48.7,0.008237482059060048,https://leetcode.com/problems/find-the-winner-of-the-circular-game,"Array, Math, Recursion, Queue, Simulation" MEDIUM,Fruit Into Baskets,48.7,0.005276145667434428,https://leetcode.com/problems/fruit-into-baskets,"Array, Hash Table, Sliding Window" MEDIUM,Divide Two Integers,47.8,0.0020438073791981624,https://leetcode.com/problems/divide-two-integers,"Math, Bit Manipulation" MEDIUM,Populating Next Right Pointers in Each Node II,47.8,0.005838600285570301,https://leetcode.com/problems/populating-next-right-pointers-in-each-node-ii,"Linked List, Tree, Depth-First Search, Breadth-First Search, Binary Tree" MEDIUM,Evaluate Reverse Polish Notation,47.8,0.005897491477328709,https://leetcode.com/problems/evaluate-reverse-polish-notation,"Array, Math, Stack" MEDIUM,Managers with at Least 5 Direct Reports,47.8,0.00497767959256096,https://leetcode.com/problems/managers-with-at-least-5-direct-reports,Database MEDIUM,Online Stock Span,47.8,0.006994867794836114,https://leetcode.com/problems/online-stock-span,"Stack, Design, Monotonic Stack, Data Stream" MEDIUM,Design Browser History,47.8,0.007860299203319926,https://leetcode.com/problems/design-browser-history,"Array, Linked List, Stack, Design, Doubly-Linked List, Data Stream" MEDIUM,Second Highest Salary,47.8,0.004876276183843549,https://leetcode.com/problems/second-highest-salary,Database HARD,Longest Valid Parentheses,46.9,0.004136894662240599,https://leetcode.com/problems/longest-valid-parentheses,"String, Dynamic Programming, Stack, Bracket Sequences" HARD,Sudoku Solver,46.9,0.006554736586059875,https://leetcode.com/problems/sudoku-solver,"Array, Hash Table, Backtracking, Matrix, Algorithm X, Dancing Links" HARD,Wildcard Matching,46.9,0.0033056195528972866,https://leetcode.com/problems/wildcard-matching,"String, Dynamic Programming, Greedy, Recursion" EASY,Employees Earning More Than Their Managers,46.9,0.007400341480359962,https://leetcode.com/problems/employees-earning-more-than-their-managers,Database EASY,Average Time of Process per Machine,46.9,0.006711090988853602,https://leetcode.com/problems/average-time-of-process-per-machine,Database EASY,Maximum Average Subarray I,45.9,0.004943647518330926,https://leetcode.com/problems/maximum-average-subarray-i,"Array, Sliding Window" EASY,Rotate String,45.9,0.006654064163576702,https://leetcode.com/problems/rotate-string,"String, String Matching" MEDIUM,Max Consecutive Ones III,45.9,0.006860476009041794,https://leetcode.com/problems/max-consecutive-ones-iii,"Array, Binary Search, Sliding Window, Prefix Sum" MEDIUM,Capacity To Ship Packages Within D Days,45.9,0.007481780080425715,https://leetcode.com/problems/capacity-to-ship-packages-within-d-days,"Array, Binary Search" EASY,Article Views I,45.9,0.007696735122940113,https://leetcode.com/problems/article-views-i,Database MEDIUM,Minimum Number of Steps to Make Two Strings Anagram,45.9,0.008261462700472483,https://leetcode.com/problems/minimum-number-of-steps-to-make-two-strings-anagram,"Hash Table, String, Counting" MEDIUM,Rearrange Array Elements by Sign,45.9,0.008486576091312105,https://leetcode.com/problems/rearrange-array-elements-by-sign,"Array, Two Pointers, Simulation" EASY,Students and Examinations,45.9,0.0062248321434190445,https://leetcode.com/problems/students-and-examinations,Database EASY,Find Missing and Repeated Values,45.9,0.00830212282926599,https://leetcode.com/problems/find-missing-and-repeated-values,"Array, Hash Table, Math, Matrix" MEDIUM,Jump Game II,44.9,0.004366657185749645,https://leetcode.com/problems/jump-game-ii,"Array, Dynamic Programming, Greedy" MEDIUM,Search in Rotated Sorted Array II,44.9,0.004071630485096026,https://leetcode.com/problems/search-in-rotated-sorted-array-ii,"Array, Binary Search" EASY,Remove Duplicates from Sorted List,44.9,0.005771236181055513,https://leetcode.com/problems/remove-duplicates-from-sorted-list,Linked List MEDIUM,Populating Next Right Pointers in Each Node,44.9,0.006792156547143183,https://leetcode.com/problems/populating-next-right-pointers-in-each-node,"Linked List, Tree, Depth-First Search, Breadth-First Search, Binary Tree" EASY,Intersection of Two Linked Lists,44.9,0.00648875113007874,https://leetcode.com/problems/intersection-of-two-linked-lists,"Hash Table, Linked List, Two Pointers" MEDIUM,Implement Trie (Prefix Tree),44.9,0.007017742364442931,https://leetcode.com/problems/implement-trie-prefix-tree,"Hash Table, String, Design, Trie" MEDIUM,Lowest Common Ancestor of a Binary Tree,44.9,0.007028779755564841,https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-tree,"Tree, Depth-First Search, Binary Tree, Binary Lifting, Lowest Common Ancestor" MEDIUM,Odd Even Linked List,44.9,0.0062848414031500275,https://leetcode.com/problems/odd-even-linked-list,Linked List MEDIUM,Implement Magic Dictionary,44.9,0.005833185670061185,https://leetcode.com/problems/implement-magic-dictionary,"Hash Table, String, Depth-First Search, Design, Trie" MEDIUM,Top K Frequent Words,44.9,0.006074040840153512,https://leetcode.com/problems/top-k-frequent-words,"Array, Hash Table, String, Trie, Sorting, Heap (Priority Queue), Bucket Sort, Counting" MEDIUM,Peak Index in a Mountain Array,44.9,0.006662175479541382,https://leetcode.com/problems/peak-index-in-a-mountain-array,"Array, Binary Search, Ternary Search" MEDIUM,Minimum Number of Days to Make m Bouquets,44.9,0.005732335666797102,https://leetcode.com/problems/minimum-number-of-days-to-make-m-bouquets,"Array, Binary Search" EASY,Maximum Nesting Depth of the Parentheses,44.9,0.008612869519637403,https://leetcode.com/problems/maximum-nesting-depth-of-the-parentheses,"String, Stack, Bracket Sequences" HARD,Minimum Window Substring,43.9,0.004869689691117284,https://leetcode.com/problems/minimum-window-substring,"Hash Table, String, Sliding Window" MEDIUM,Triangle,43.9,0.005997379943826812,https://leetcode.com/problems/triangle,"Array, Dynamic Programming" MEDIUM,Surrounded Regions,43.9,0.004649494521566553,https://leetcode.com/problems/surrounded-regions,"Array, Depth-First Search, Breadth-First Search, Union-Find, Matrix" MEDIUM,Count Primes,43.9,0.0035791453300368335,https://leetcode.com/problems/count-primes,"Array, Math, Enumeration, Number Theory, Primality Test, Sieve Theory, Prime Number Sieve" EASY,Power of Two,43.9,0.005063824534292592,https://leetcode.com/problems/power-of-two,"Math, Bit Manipulation, Recursion" EASY,Implement Queue using Stacks,43.9,0.007033204904865447,https://leetcode.com/problems/implement-queue-using-stacks,"Stack, Design, Queue" HARD,Serialize and Deserialize Binary Tree,43.9,0.006127515589890523,https://leetcode.com/problems/serialize-and-deserialize-binary-tree,"String, Tree, Depth-First Search, Breadth-First Search, Design, Binary Tree" EASY,Arranging Coins,43.9,0.0048688643663502805,https://leetcode.com/problems/arranging-coins,"Math, Binary Search" HARD,Reverse Pairs,43.9,0.0035446008408803924,https://leetcode.com/problems/reverse-pairs,"Array, Binary Search, Divide and Conquer, Binary Indexed Tree, Segment Tree, Merge Sort, Ordered Set, Treap" EASY,Diameter of Binary Tree,43.9,0.006639927072954421,https://leetcode.com/problems/diameter-of-binary-tree,"Tree, Depth-First Search, Binary Tree, DP on Trees" EASY,Binary Tree Inorder Traversal,42.7,0.008075024983751546,https://leetcode.com/problems/binary-tree-inorder-traversal,"Stack, Tree, Depth-First Search, Binary Tree" MEDIUM,Factorial Trailing Zeroes,42.7,0.004760174960280878,https://leetcode.com/problems/factorial-trailing-zeroes,Math EASY,Remove Linked List Elements,42.7,0.005572662371046346,https://leetcode.com/problems/remove-linked-list-elements,"Linked List, Recursion" MEDIUM,Course Schedule,42.7,0.005241167961366191,https://leetcode.com/problems/course-schedule,"Depth-First Search, Breadth-First Search, Graph Theory, Topological Sort, Directed Acyclic Graph" HARD,Basic Calculator,42.7,0.0047279544899225005,https://leetcode.com/problems/basic-calculator,"Math, String, Stack, Recursion" MEDIUM,Lowest Common Ancestor of a Binary Search Tree,42.7,0.0071541981609617574,https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-search-tree,"Tree, Depth-First Search, Binary Search Tree, Binary Tree, Binary Lifting, Lowest Common Ancestor" MEDIUM,Delete Node in a Linked List,42.7,0.008451683214495518,https://leetcode.com/problems/delete-node-in-a-linked-list,Linked List MEDIUM,Search a 2D Matrix II,42.7,0.005828688854564518,https://leetcode.com/problems/search-a-2d-matrix-ii,"Array, Binary Search, Divide and Conquer, Matrix" EASY,Reverse Vowels of a String,42.7,0.006261257508993779,https://leetcode.com/problems/reverse-vowels-of-a-string,"Two Pointers, String" EASY,Big Countries,42.7,0.006898195090929381,https://leetcode.com/problems/big-countries,Database MEDIUM,Sort an Array,42.7,0.005551220930882895,https://leetcode.com/problems/sort-an-array,"Array, Divide and Conquer, Sorting, Heap (Priority Queue), Merge Sort, Bucket Sort, Radix Sort, Counting Sort" MEDIUM,Find All Anagrams in a String,42.7,0.0054703747458503885,https://leetcode.com/problems/find-all-anagrams-in-a-string,"Hash Table, String, Sliding Window" MEDIUM,Simplify Path,41.5,0.00516868386990327,https://leetcode.com/problems/simplify-path,"String, Stack" HARD,Maximal Rectangle,41.5,0.006008937001210587,https://leetcode.com/problems/maximal-rectangle,"Array, Dynamic Programming, Stack, Matrix, Monotonic Stack" MEDIUM,Reverse Linked List II,41.5,0.005263811163908034,https://leetcode.com/problems/reverse-linked-list-ii,Linked List MEDIUM,Sort List,41.5,0.00655802381143404,https://leetcode.com/problems/sort-list,"Linked List, Two Pointers, Divide and Conquer, Sorting, Merge Sort" MEDIUM,Largest Number,41.5,0.004399281696781741,https://leetcode.com/problems/largest-number,"Array, String, Greedy, Sorting" MEDIUM,Course Schedule II,41.5,0.005644346119446289,https://leetcode.com/problems/course-schedule-ii,"Depth-First Search, Breadth-First Search, Graph Theory, Topological Sort" MEDIUM,House Robber II,41.5,0.004567987168038641,https://leetcode.com/problems/house-robber-ii,"Array, Dynamic Programming" MEDIUM,Majority Element II,41.5,0.005692208723186088,https://leetcode.com/problems/majority-element-ii,"Array, Hash Table, Sorting, Counting, Boyer–Moore Majority Vote Algorithm" EASY,Add Digits,41.5,0.00693616013313385,https://leetcode.com/problems/add-digits,"Math, Simulation, Number Theory" MEDIUM,H-Index,41.5,0.004199960905906974,https://leetcode.com/problems/h-index,"Array, Sorting, Counting Sort" MEDIUM,Remove K Digits,41.5,0.003787998687715513,https://leetcode.com/problems/remove-k-digits,"String, Stack, Greedy, Monotonic Stack" MEDIUM,Sort Characters By Frequency,41.5,0.007589002484825259,https://leetcode.com/problems/sort-characters-by-frequency,"Hash Table, String, Sorting, Heap (Priority Queue), Bucket Sort, Counting" MEDIUM,Permutation in String,41.5,0.004992701156659367,https://leetcode.com/problems/permutation-in-string,"Hash Table, Two Pointers, String, Sliding Window" MEDIUM,Accounts Merge,41.5,0.006219320617435493,https://leetcode.com/problems/accounts-merge,"Array, Hash Table, String, Depth-First Search, Breadth-First Search, Union-Find, Sorting" EASY,Middle of the Linked List,41.5,0.008250611273834614,https://leetcode.com/problems/middle-of-the-linked-list,"Linked List, Two Pointers" EASY,Sort Array by Increasing Frequency,41.5,0.008111827256944443,https://leetcode.com/problems/sort-array-by-increasing-frequency,"Array, Hash Table, Sorting" MEDIUM,Diagonal Traverse,41.5,0.006754108693838582,https://leetcode.com/problems/diagonal-traverse,"Array, Matrix, Simulation" HARD,First Missing Positive,40.2,0.0043972737282486525,https://leetcode.com/problems/first-missing-positive,"Array, Hash Table" MEDIUM,Minimum Path Sum,40.2,0.006903301760255138,https://leetcode.com/problems/minimum-path-sum,"Array, Dynamic Programming, Matrix" MEDIUM,Linked List Cycle II,40.2,0.005944745335975015,https://leetcode.com/problems/linked-list-cycle-ii,"Hash Table, Linked List, Two Pointers, Floyd's Cycle Finding Algorithm" MEDIUM,Next Greater Element III,40.2,0.003570292341487866,https://leetcode.com/problems/next-greater-element-iii,"Math, Two Pointers, String" MEDIUM,Shortest Path in Binary Matrix,40.2,0.005229649584758953,https://leetcode.com/problems/shortest-path-in-binary-matrix,"Array, Breadth-First Search, Matrix" EASY,Minimum Absolute Difference,40.2,0.0075163024752197575,https://leetcode.com/problems/minimum-absolute-difference,"Array, Sorting" MEDIUM,Monthly Transactions I,40.2,0.006018760975434841,https://leetcode.com/problems/monthly-transactions-i,Database EASY,Average Selling Price,40.2,0.0038058459331979915,https://leetcode.com/problems/average-selling-price,Database EASY,Kth Missing Positive Number,40.2,0.006402869173575002,https://leetcode.com/problems/kth-missing-positive-number,"Array, Binary Search" HARD,Substring with Concatenation of All Words,38.8,0.0035499233212469487,https://leetcode.com/problems/substring-with-concatenation-of-all-words,"Hash Table, String, Sliding Window" MEDIUM,Count and Say,38.8,0.0064072055978122155,https://leetcode.com/problems/count-and-say,String MEDIUM,Remove Duplicates from Sorted Array II,38.8,0.0065421382333612985,https://leetcode.com/problems/remove-duplicates-from-sorted-array-ii,"Array, Two Pointers" MEDIUM,Remove Duplicates from Sorted List II,38.8,0.005273997405602434,https://leetcode.com/problems/remove-duplicates-from-sorted-list-ii,"Linked List, Two Pointers" MEDIUM,Find Minimum in Rotated Sorted Array,38.8,0.005546538594008351,https://leetcode.com/problems/find-minimum-in-rotated-sorted-array,"Array, Binary Search" EASY,Implement Stack using Queues,38.8,0.007050926599903093,https://leetcode.com/problems/implement-stack-using-queues,"Stack, Design, Queue" MEDIUM,Basic Calculator II,38.8,0.004727704112315025,https://leetcode.com/problems/basic-calculator-ii,"Math, String, Stack" EASY,First Bad Version,38.8,0.0047785298575967645,https://leetcode.com/problems/first-bad-version,"Binary Search, Interactive" HARD,Find Median from Data Stream,38.8,0.005511992744039022,https://leetcode.com/problems/find-median-from-data-stream,"Two Pointers, Design, Sorting, Heap (Priority Queue), Data Stream" MEDIUM,Increasing Triplet Subsequence,38.8,0.003970281057928034,https://leetcode.com/problems/increasing-triplet-subsequence,"Array, Greedy, Longest Increasing Subsequence" EASY,Fizz Buzz,38.8,0.0075992729681351855,https://leetcode.com/problems/fizz-buzz,"Math, String, Simulation" MEDIUM,Non-overlapping Intervals,38.8,0.005789028794141725,https://leetcode.com/problems/non-overlapping-intervals,"Array, Dynamic Programming, Greedy, Sorting" MEDIUM,Contiguous Array,38.8,0.0052618855482160585,https://leetcode.com/problems/contiguous-array,"Array, Hash Table, Prefix Sum" MEDIUM,Asteroid Collision,38.8,0.004932930734742429,https://leetcode.com/problems/asteroid-collision,"Array, Stack, Simulation" MEDIUM,Binary Subarrays With Sum,38.8,0.007003143655459018,https://leetcode.com/problems/binary-subarrays-with-sum,"Array, Hash Table, Sliding Window, Prefix Sum" MEDIUM,Subarray Sums Divisible by K,38.8,0.005687766501551713,https://leetcode.com/problems/subarray-sums-divisible-by-k,"Array, Hash Table, Prefix Sum" EASY,Queries Quality and Percentage,38.8,0.005546003494509275,https://leetcode.com/problems/queries-quality-and-percentage,Database MEDIUM,Flatten Binary Tree to Linked List,38.8,0.007167432345061516,https://leetcode.com/problems/flatten-binary-tree-to-linked-list,"Linked List, Stack, Tree, Depth-First Search, Binary Tree" MEDIUM,Combination Sum II,37.3,0.006034408158598565,https://leetcode.com/problems/combination-sum-ii,"Array, Backtracking" MEDIUM,Multiply Strings,37.3,0.004485991137661445,https://leetcode.com/problems/multiply-strings,"Math, String, Simulation" EASY,Customers Who Never Order,37.3,0.007260610262298843,https://leetcode.com/problems/customers-who-never-order,Database MEDIUM,Binary Tree Right Side View,37.3,0.007143250145306384,https://leetcode.com/problems/binary-tree-right-side-view,"Tree, Depth-First Search, Breadth-First Search, Binary Tree" EASY,Ransom Note,37.3,0.006656108092465858,https://leetcode.com/problems/ransom-note,"Hash Table, String, Counting" EASY,Assign Cookies,37.3,0.005561892179713872,https://leetcode.com/problems/assign-cookies,"Array, Two Pointers, Greedy, Sorting, Quicksort" EASY,Reverse String II,37.3,0.005477013313025684,https://leetcode.com/problems/reverse-string-ii,"Two Pointers, String" MEDIUM,Kill Process,37.3,0.007070944573883675,https://leetcode.com/problems/kill-process,"Array, Hash Table, Tree, Depth-First Search, Breadth-First Search" EASY,Find Customer Referee,37.3,0.007372308298319328,https://leetcode.com/problems/find-customer-referee,Database EASY,Lemonade Change,37.3,0.005954175560006966,https://leetcode.com/problems/lemonade-change,"Array, Greedy" MEDIUM,Sum of Subarray Minimums,37.3,0.003907135428012162,https://leetcode.com/problems/sum-of-subarray-minimums,"Array, Dynamic Programming, Stack, Monotonic Stack" EASY,Remove Outermost Parentheses,37.3,0.008838002346364377,https://leetcode.com/problems/remove-outermost-parentheses,"String, Stack, Bracket Sequences" HARD,Number of Digit One,37.3,0.004016361235780929,https://leetcode.com/problems/number-of-digit-one,"Math, Dynamic Programming, Recursion" MEDIUM,Reordered Power of 2,37.3,0.006586063640805352,https://leetcode.com/problems/reordered-power-of-2,"Hash Table, Math, Sorting, Counting, Enumeration" MEDIUM,Partition List,35.7,0.006234764034485553,https://leetcode.com/problems/partition-list,"Linked List, Two Pointers" MEDIUM,Path Sum II,35.7,0.006311152245716624,https://leetcode.com/problems/path-sum-ii,"Backtracking, Tree, Depth-First Search, Binary Tree" HARD,Distinct Subsequences,35.7,0.0054415969084091395,https://leetcode.com/problems/distinct-subsequences,"String, Dynamic Programming" EASY,Excel Sheet Column Title,35.7,0.004785675789324062,https://leetcode.com/problems/excel-sheet-column-title,"Math, String" MEDIUM,Perfect Squares,35.7,0.005699513341491261,https://leetcode.com/problems/perfect-squares,"Math, Dynamic Programming, Breadth-First Search, Knapsack Problem, Complete Knapsack" EASY,Range Sum Query - Immutable,35.7,0.007376449714536671,https://leetcode.com/problems/range-sum-query-immutable,"Array, Design, Prefix Sum" MEDIUM,Design Hit Counter,35.7,0.006977393130626644,https://leetcode.com/problems/design-hit-counter,"Array, Binary Search, Design, Queue, Data Stream" EASY,Is Subsequence,35.7,0.00495017623350106,https://leetcode.com/problems/is-subsequence,"Two Pointers, String, Dynamic Programming" EASY,Employee Bonus,35.7,0.007830928919583122,https://leetcode.com/problems/employee-bonus,Database MEDIUM,Valid Parenthesis String,35.7,0.004294914026329791,https://leetcode.com/problems/valid-parenthesis-string,"String, Dynamic Programming, Stack, Greedy, Bracket Sequences" MEDIUM,Immediate Food Delivery II,35.7,0.005735800818890281,https://leetcode.com/problems/immediate-food-delivery-ii,Database EASY,Unique Number of Occurrences,35.7,0.007893845268242584,https://leetcode.com/problems/unique-number-of-occurrences,"Array, Hash Table" MEDIUM,Dot Product of Two Sparse Vectors,35.7,0.008987142390186009,https://leetcode.com/problems/dot-product-of-two-sparse-vectors,"Array, Hash Table, Two Pointers, Design, Linear Algebra" EASY,Customer Who Visited but Did Not Make Any Transactions,35.7,0.006889467758348272,https://leetcode.com/problems/customer-who-visited-but-did-not-make-any-transactions,Database EASY,Find if Path Exists in Graph,35.7,0.005598851693562985,https://leetcode.com/problems/find-if-path-exists-in-graph,"Depth-First Search, Breadth-First Search, Union-Find, Graph Theory" EASY,Add Two Integers,35.7,0.008795952821196008,https://leetcode.com/problems/add-two-integers,Math MEDIUM,Product Price at a Given Date,35.7,0.00589135598471548,https://leetcode.com/problems/product-price-at-a-given-date,Database MEDIUM,Maximum Sum of Distinct Subarrays With Length K,35.7,0.00435949417904456,https://leetcode.com/problems/maximum-sum-of-distinct-subarrays-with-length-k,"Array, Hash Table, Sliding Window" MEDIUM,Combinations,34.0,0.007533264634020101,https://leetcode.com/problems/combinations,Backtracking MEDIUM,Single Number II,34.0,0.006805875848119273,https://leetcode.com/problems/single-number-ii,"Array, Bit Manipulation" MEDIUM,Consecutive Numbers,34.0,0.004971499785369096,https://leetcode.com/problems/consecutive-numbers,Database EASY,Ugly Number,34.0,0.004434985147487715,https://leetcode.com/problems/ugly-number,Math MEDIUM,Sum of Two Integers,34.0,0.0055729233256181345,https://leetcode.com/problems/sum-of-two-integers,"Math, Bit Manipulation" EASY,Find All Numbers Disappeared in an Array,34.0,0.006472837076130995,https://leetcode.com/problems/find-all-numbers-disappeared-in-an-array,"Array, Hash Table" MEDIUM,Delete Node in a BST,34.0,0.005558412893539046,https://leetcode.com/problems/delete-node-in-a-bst,"Tree, Binary Search Tree, Binary Tree" MEDIUM,Target Sum,34.0,0.005302999673372822,https://leetcode.com/problems/target-sum,"Array, Dynamic Programming, Backtracking, Knapsack Problem, 0-1 Knapsack" MEDIUM,Shortest Path to Get Food,34.0,0.005764697977558289,https://leetcode.com/problems/shortest-path-to-get-food,"Array, Breadth-First Search, Matrix" MEDIUM,Task Scheduler,34.0,0.006400154948441325,https://leetcode.com/problems/task-scheduler,"Array, Hash Table, Greedy, Sorting, Heap (Priority Queue), Counting" EASY,Set Mismatch,34.0,0.004320739823761391,https://leetcode.com/problems/set-mismatch,"Array, Hash Table, Bit Manipulation, Sorting" MEDIUM,Maximum Width of Binary Tree,34.0,0.004620522136063229,https://leetcode.com/problems/maximum-width-of-binary-tree,"Tree, Depth-First Search, Breadth-First Search, Binary Tree" MEDIUM,Best Time to Buy and Sell Stock with Transaction Fee,34.0,0.007269263073117414,https://leetcode.com/problems/best-time-to-buy-and-sell-stock-with-transaction-fee,"Array, Dynamic Programming, Greedy" EASY,Find Pivot Index,34.0,0.006412528356857446,https://leetcode.com/problems/find-pivot-index,"Array, Prefix Sum" MEDIUM,Boats to Save People,34.0,0.006266557441869114,https://leetcode.com/problems/boats-to-save-people,"Array, Two Pointers, Greedy, Sorting, Timsort" EASY,Cousins in Binary Tree,34.0,0.005992877067388753,https://leetcode.com/problems/cousins-in-binary-tree,"Tree, Depth-First Search, Breadth-First Search, Binary Tree" HARD,Maximum Profit in Job Scheduling,34.0,0.005487835542550334,https://leetcode.com/problems/maximum-profit-in-job-scheduling,"Array, Binary Search, Dynamic Programming, Sorting" MEDIUM,Number of Substrings Containing All Three Characters,34.0,0.007444768721951037,https://leetcode.com/problems/number-of-substrings-containing-all-three-characters,"Hash Table, String, Sliding Window" EASY,Running Sum of 1d Array,34.0,0.008710756683748119,https://leetcode.com/problems/running-sum-of-1d-array,"Array, Prefix Sum" MEDIUM,Even Odd Tree,34.0,0.006738498853883469,https://leetcode.com/problems/even-odd-tree,"Tree, Breadth-First Search, Binary Tree" MEDIUM,Count Good Numbers,34.0,0.005822286422385845,https://leetcode.com/problems/count-good-numbers,"Math, Recursion" HARD,Partition Array Into Two Arrays to Minimize Sum Difference,34.0,0.0024779406932381436,https://leetcode.com/problems/partition-array-into-two-arrays-to-minimize-sum-difference,"Array, Two Pointers, Binary Search, Dynamic Programming, Bit Manipulation, Meet in the Middle, Sorting, Ordered Set, Bitmask" HARD,Shortest Palindrome,34.0,0.004332339880763053,https://leetcode.com/problems/shortest-palindrome,"String, Rolling Hash, String Matching, Hash Function, Manacher, Z Algorithm, Knuth–Morris–Pratt Algorithm" EASY,Power of Three,34.0,0.005179433287703655,https://leetcode.com/problems/power-of-three,"Math, Recursion" HARD,Permutation Sequence,34.0,0.005460012660898924,https://leetcode.com/problems/permutation-sequence,"Math, Recursion" EASY,Duplicate Emails,34.0,0.007458365020181654,https://leetcode.com/problems/duplicate-emails,Database MEDIUM,Repeated DNA Sequences,32.0,0.0054220821499004505,https://leetcode.com/problems/repeated-dna-sequences,"Hash Table, String, Bit Manipulation, Sliding Window, Rolling Hash, Hash Function, Z Algorithm, Boyer–Moore String-Search Algorithm" EASY,Summary Ranges,32.0,0.005487283077176801,https://leetcode.com/problems/summary-ranges,Array MEDIUM,Sparse Matrix Multiplication,32.0,0.006940022265089505,https://leetcode.com/problems/sparse-matrix-multiplication,"Array, Hash Table, Matrix, Linear Algebra" MEDIUM,Remove Duplicate Letters,32.0,0.005467637085109434,https://leetcode.com/problems/remove-duplicate-letters,"String, Stack, Greedy, Monotonic Stack" EASY,Valid Perfect Square,32.0,0.004512676700432351,https://leetcode.com/problems/valid-perfect-square,"Math, Binary Search" EASY,Find the Difference,32.0,0.006081559302307277,https://leetcode.com/problems/find-the-difference,"Hash Table, String, Bit Manipulation, Sorting" MEDIUM,Continuous Subarray Sum,32.0,0.003173985494968321,https://leetcode.com/problems/continuous-subarray-sum,"Array, Hash Table, Math, Prefix Sum, Pigeonhole Principle" EASY,Maximum Product of Three Numbers,32.0,0.004831450231957493,https://leetcode.com/problems/maximum-product-of-three-numbers,"Array, Math, Sorting" HARD,Design Search Autocomplete System,32.0,0.005010226250365223,https://leetcode.com/problems/design-search-autocomplete-system,"String, Depth-First Search, Design, Trie, Sorting, Heap (Priority Queue), Data Stream" MEDIUM,Palindromic Substrings,32.0,0.007333758449619389,https://leetcode.com/problems/palindromic-substrings,"Two Pointers, String, Dynamic Programming" MEDIUM,Trim a Binary Search Tree,32.0,0.00669041211741294,https://leetcode.com/problems/trim-a-binary-search-tree,"Tree, Depth-First Search, Binary Search Tree, Binary Tree" MEDIUM,Subarray Product Less Than K,32.0,0.005490457517162004,https://leetcode.com/problems/subarray-product-less-than-k,"Array, Binary Search, Sliding Window, Prefix Sum" MEDIUM,Find Eventual Safe States,32.0,0.007170505260157314,https://leetcode.com/problems/find-eventual-safe-states,"Depth-First Search, Breadth-First Search, Graph Theory, Topological Sort, Kosaraju's Algorithm, Tarjan's SCC Algorithm" EASY,Transpose Matrix,32.0,0.00774331104344651,https://leetcode.com/problems/transpose-matrix,"Array, Matrix, Simulation" EASY,Remove All Adjacent Duplicates In String,32.0,0.007427655713134287,https://leetcode.com/problems/remove-all-adjacent-duplicates-in-string,"String, Stack" HARD,Find in Mountain Array,32.0,0.004210601757026408,https://leetcode.com/problems/find-in-mountain-array,"Array, Binary Search, Interactive, Ternary Search" EASY,Replace Employee ID With The Unique Identifier,32.0,0.008393679355087592,https://leetcode.com/problems/replace-employee-id-with-the-unique-identifier,Database EASY,Shuffle the Array,32.0,0.00886385051740893,https://leetcode.com/problems/shuffle-the-array,Array EASY,Build Array from Permutation,32.0,0.009111728913540777,https://leetcode.com/problems/build-array-from-permutation,"Array, Simulation" EASY,How Many Numbers Are Smaller Than the Current Number,32.0,0.008747562723299627,https://leetcode.com/problems/how-many-numbers-are-smaller-than-the-current-number,"Array, Hash Table, Sorting, Counting Sort" HARD,Subarrays with K Different Integers,32.0,0.006918476053911981,https://leetcode.com/problems/subarrays-with-k-different-integers,"Array, Hash Table, Sliding Window, Counting" MEDIUM,Heaters,32.0,0.004283082038375395,https://leetcode.com/problems/heaters,"Array, Two Pointers, Binary Search, Sorting" MEDIUM,Interleaving String,32.0,0.004499897965194561,https://leetcode.com/problems/interleaving-string,"String, Dynamic Programming" MEDIUM,Sum of Beauty of All Substrings,32.0,0.007498975930264947,https://leetcode.com/problems/sum-of-beauty-of-all-substrings,"Hash Table, String, Counting" EASY,Jewels and Stones,32.0,0.008969362782106647,https://leetcode.com/problems/jewels-and-stones,"Hash Table, String" MEDIUM,Rank Scores,32.0,0.006914040428525462,https://leetcode.com/problems/rank-scores,Database HARD,Bus Routes,32.0,0.004760304638959436,https://leetcode.com/problems/bus-routes,"Array, Hash Table, Breadth-First Search" EASY,Baseball Game,32.0,0.00812779405237461,https://leetcode.com/problems/baseball-game,"Array, Stack, Simulation" MEDIUM,Insert Interval,29.9,0.004619860951532734,https://leetcode.com/problems/insert-interval,Array MEDIUM,Recover Binary Search Tree,29.9,0.0061240959885303994,https://leetcode.com/problems/recover-binary-search-tree,"Tree, Depth-First Search, Binary Search Tree, Binary Tree" EASY,Path Sum,29.9,0.005590347205216851,https://leetcode.com/problems/path-sum,"Tree, Depth-First Search, Breadth-First Search, Binary Tree" HARD,Read N Characters Given read4 II - Call Multiple Times,29.9,0.004340049881858756,https://leetcode.com/problems/read-n-characters-given-read4-ii-call-multiple-times,"Array, Simulation, Interactive" MEDIUM,Nth Highest Salary,29.9,0.004049932109988096,https://leetcode.com/problems/nth-highest-salary,Database HARD,Department Top Three Salaries,29.9,0.006218828901905805,https://leetcode.com/problems/department-top-three-salaries,Database EASY,Palindrome Permutation,29.9,0.006872735080180701,https://leetcode.com/problems/palindrome-permutation,"Hash Table, String, Bit Manipulation" MEDIUM,Largest Divisible Subset,29.9,0.005019536872896928,https://leetcode.com/problems/largest-divisible-subset,"Array, Math, Dynamic Programming, Sorting" EASY,Longest Palindrome,29.9,0.005632480479089961,https://leetcode.com/problems/longest-palindrome,"Hash Table, String, Greedy" EASY,Third Maximum Number,29.9,0.004061446813418643,https://leetcode.com/problems/third-maximum-number,"Array, Sorting" MEDIUM,Find All Duplicates in an Array,29.9,0.007722460616422923,https://leetcode.com/problems/find-all-duplicates-in-an-array,"Array, Hash Table, Sorting" MEDIUM,Exchange Seats,29.9,0.0075125100491741995,https://leetcode.com/problems/exchange-seats,Database EASY,Valid Palindrome II,29.9,0.004491365211345071,https://leetcode.com/problems/valid-palindrome-ii,"Two Pointers, String, Greedy" MEDIUM,Redundant Connection,29.9,0.00683775195936473,https://leetcode.com/problems/redundant-connection,"Depth-First Search, Breadth-First Search, Union-Find, Graph Theory" MEDIUM,Max Area of Island,29.9,0.007432368135045029,https://leetcode.com/problems/max-area-of-island,"Array, Depth-First Search, Breadth-First Search, Union-Find, Matrix" EASY,Flood Fill,29.9,0.006904095303643112,https://leetcode.com/problems/flood-fill,"Array, Depth-First Search, Breadth-First Search, Matrix" EASY,Min Cost Climbing Stairs,29.9,0.0068841385829324815,https://leetcode.com/problems/min-cost-climbing-stairs,"Array, Dynamic Programming" HARD,Contain Virus,29.9,0.005652886012415798,https://leetcode.com/problems/contain-virus,"Array, Depth-First Search, Breadth-First Search, Matrix, Simulation" MEDIUM,Reorganize String,29.9,0.005768063134288714,https://leetcode.com/problems/reorganize-string,"Hash Table, String, Greedy, Sorting, Heap (Priority Queue), Counting" MEDIUM,Cheapest Flights Within K Stops,29.9,0.004272264680643867,https://leetcode.com/problems/cheapest-flights-within-k-stops,"Dynamic Programming, Depth-First Search, Breadth-First Search, Graph Theory, Heap (Priority Queue), Shortest Path" MEDIUM,Minimum Add to Make Parentheses Valid,29.9,0.007441312474984458,https://leetcode.com/problems/minimum-add-to-make-parentheses-valid,"String, Stack, Greedy, Bracket Sequences" EASY,Complement of Base 10 Integer,29.9,0.006339393309359702,https://leetcode.com/problems/complement-of-base-10-integer,Bit Manipulation MEDIUM,Path In Zigzag Labelled Binary Tree,29.9,0.0075885497122390655,https://leetcode.com/problems/path-in-zigzag-labelled-binary-tree,"Math, Tree, Binary Tree" MEDIUM,Longest Common Subsequence,29.9,0.005966790412599384,https://leetcode.com/problems/longest-common-subsequence,"String, Dynamic Programming, Longest Common Subsequence" MEDIUM,Last Person to Fit in the Bus,29.9,0.007028457244020649,https://leetcode.com/problems/last-person-to-fit-in-the-bus,Database HARD,Allocate Mailboxes,29.9,0.0057174147771093635,https://leetcode.com/problems/allocate-mailboxes,"Array, Math, Dynamic Programming, Sorting" EASY,Number of Students Unable to Eat Lunch,29.9,0.008014424837221736,https://leetcode.com/problems/number-of-students-unable-to-eat-lunch,"Array, Stack, Queue, Simulation" EASY,Truncate Sentence,29.9,0.008716764157326912,https://leetcode.com/problems/truncate-sentence,"Array, String" EASY,Check if the Sentence Is Pangram,29.9,0.00843992210158088,https://leetcode.com/problems/check-if-the-sentence-is-pangram,"Hash Table, String" MEDIUM,Maximum Number of Accepted Invitations,29.9,0.00527961129446278,https://leetcode.com/problems/maximum-number-of-accepted-invitations,"Array, Depth-First Search, Graph Theory, Matrix, Maximum Flow, Maximum Matching, Bipartite Graph, Edmonds–Karp Algorithm, MPM Algorithm, Push-Relabel Algorithm, Matching (Graph), Flow Network, Dinic's Algorithm" EASY,Check if All the Integers in a Range Are Covered,29.9,0.005151347768448961,https://leetcode.com/problems/check-if-all-the-integers-in-a-range-are-covered,"Array, Hash Table, Prefix Sum" MEDIUM,Confirmation Rate,29.9,0.006303268301638405,https://leetcode.com/problems/confirmation-rate,Database EASY,Shortest Distance to Target String in a Circular Array,29.9,0.006502347099671541,https://leetcode.com/problems/shortest-distance-to-target-string-in-a-circular-array,"Array, String" MEDIUM,Product Sales Analysis III,29.9,0.004685193951219339,https://leetcode.com/problems/product-sales-analysis-iii,Database MEDIUM,Maximum Swap,29.9,0.00521297856576811,https://leetcode.com/problems/maximum-swap,"Math, Greedy" MEDIUM,Friend Requests II: Who Has the Most Friends,29.9,0.006405899454605219,https://leetcode.com/problems/friend-requests-ii-who-has-the-most-friends,Database HARD,Serialize and Deserialize N-ary Tree,29.9,0.006902255233678874,https://leetcode.com/problems/serialize-and-deserialize-n-ary-tree,"String, Tree, Depth-First Search, Breadth-First Search" MEDIUM,Restaurant Growth,29.9,0.006024801460070044,https://leetcode.com/problems/restaurant-growth,Database MEDIUM,Partition Array According to Given Pivot,29.9,0.009075350825432033,https://leetcode.com/problems/partition-array-according-to-given-pivot,"Array, Two Pointers, Simulation" EASY,Can Make Arithmetic Progression From Sequence,29.9,0.006865934991522685,https://leetcode.com/problems/can-make-arithmetic-progression-from-sequence,"Array, Sorting" MEDIUM,Permutations II,27.5,0.006440261650270785,https://leetcode.com/problems/permutations-ii,"Array, Backtracking, Sorting" HARD,N-Queens II,27.5,0.007950446094967973,https://leetcode.com/problems/n-queens-ii,"Backtracking, Algorithm X" MEDIUM,Decode Ways,27.5,0.0038775172005557773,https://leetcode.com/problems/decode-ways,"String, Dynamic Programming" EASY,Minimum Depth of Binary Tree,27.5,0.005398547848299667,https://leetcode.com/problems/minimum-depth-of-binary-tree,"Tree, Depth-First Search, Breadth-First Search, Binary Tree" HARD,Best Time to Buy and Sell Stock III,27.5,0.0054962940203482444,https://leetcode.com/problems/best-time-to-buy-and-sell-stock-iii,"Array, Dynamic Programming" HARD,Word Ladder II,27.5,0.0028198434460082146,https://leetcode.com/problems/word-ladder-ii,"Hash Table, String, Backtracking, Breadth-First Search, Bidirectional Search" MEDIUM,Clone Graph,27.5,0.006640731262849919,https://leetcode.com/problems/clone-graph,"Hash Table, Depth-First Search, Breadth-First Search, Graph Theory" HARD,Max Points on a Line,27.5,0.003163721586732806,https://leetcode.com/problems/max-points-on-a-line,"Array, Hash Table, Math, Geometry, Euclidean Algorithm, Greatest Common Divisor" EASY,Word Pattern,27.5,0.004480816189550282,https://leetcode.com/problems/word-pattern,"Hash Table, String" HARD,Count of Smaller Numbers After Self,27.5,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" EASY,Guess Number Higher or Lower,27.5,0.005850430311083221,https://leetcode.com/problems/guess-number-higher-or-lower,"Binary Search, Interactive" EASY,Repeated Substring Pattern,27.5,0.004893996706866628,https://leetcode.com/problems/repeated-substring-pattern,"String, String Matching, Z Algorithm, Knuth–Morris–Pratt Algorithm" EASY,Island Perimeter,27.5,0.007447862206656175,https://leetcode.com/problems/island-perimeter,"Array, Depth-First Search, Breadth-First Search, Matrix" MEDIUM,01 Matrix,27.5,0.005511594413789249,https://leetcode.com/problems/01-matrix,"Array, Dynamic Programming, Breadth-First Search, Matrix" MEDIUM,Sum of Square Numbers,27.5,0.003708671055473789,https://leetcode.com/problems/sum-of-square-numbers,"Math, Two Pointers, Binary Search" MEDIUM,Candy Crush,27.5,0.0077582419350945096,https://leetcode.com/problems/candy-crush,"Array, Two Pointers, Matrix, Simulation" MEDIUM,Time Based Key-Value Store,27.5,0.005025836735682647,https://leetcode.com/problems/time-based-key-value-store,"Hash Table, String, Binary Search, Design" EASY,Kids With the Greatest Number of Candies,27.5,0.008798569123184507,https://leetcode.com/problems/kids-with-the-greatest-number-of-candies,Array MEDIUM,Number of Subsequences That Satisfy the Given Sum Condition,27.5,0.004894570541824028,https://leetcode.com/problems/number-of-subsequences-that-satisfy-the-given-sum-condition,"Array, Two Pointers, Binary Search, Sorting" EASY,Number of Good Pairs,27.5,0.008995546584364187,https://leetcode.com/problems/number-of-good-pairs,"Array, Hash Table, Math, Counting" EASY,The Number of Employees Which Report to Each Employee,27.5,0.005416970861662441,https://leetcode.com/problems/the-number-of-employees-which-report-to-each-employee,Database MEDIUM,House Robber IV,27.5,0.00644774263528976,https://leetcode.com/problems/house-robber-iv,"Array, Binary Search, Dynamic Programming, Greedy" EASY,Counter,27.5,0.008245929181800636,https://leetcode.com/problems/counter, MEDIUM,Remove All Occurrences of a Substring,27.5,0.007873604772839578,https://leetcode.com/problems/remove-all-occurrences-of-a-substring,"String, Stack, Simulation" EASY,Delete Duplicate Emails,27.5,0.0067121374995470625,https://leetcode.com/problems/delete-duplicate-emails,Database EASY,Product Sales Analysis I,27.5,0.008636263871083202,https://leetcode.com/problems/product-sales-analysis-i,Database EASY,Find Numbers with Even Number of Digits,27.5,0.008007145098023409,https://leetcode.com/problems/find-numbers-with-even-number-of-digits,"Array, Math" MEDIUM,Letter Tile Possibilities,27.5,0.008352508241387004,https://leetcode.com/problems/letter-tile-possibilities,"Hash Table, String, Backtracking, Counting" EASY,Finding 3-Digit Even Numbers,27.5,0.007883605438938868,https://leetcode.com/problems/finding-3-digit-even-numbers,"Array, Hash Table, Recursion, Sorting, Enumeration" MEDIUM,Path With Minimum Effort,27.5,0.006418583957546713,https://leetcode.com/problems/path-with-minimum-effort,"Array, Binary Search, Depth-First Search, Breadth-First Search, Union-Find, Heap (Priority Queue), Matrix, Dijkstra's Algorithm" EASY,Perfect Number,27.5,0.005067086297474242,https://leetcode.com/problems/perfect-number,Math EASY,Subtree of Another Tree,27.5,0.005234814724458019,https://leetcode.com/problems/subtree-of-another-tree,"Tree, Depth-First Search, String Matching, Binary Tree, Hash Function" EASY,Count Binary Substrings,27.5,0.007063877089923181,https://leetcode.com/problems/count-binary-substrings,"Two Pointers, String" MEDIUM,Minimum Operations to Reduce X to Zero,27.5,0.004509204373870479,https://leetcode.com/problems/minimum-operations-to-reduce-x-to-zero,"Array, Hash Table, Binary Search, Sliding Window, Prefix Sum" MEDIUM,Sum Root to Leaf Numbers,24.7,0.0070496902817504155,https://leetcode.com/problems/sum-root-to-leaf-numbers,"Tree, Depth-First Search, Binary Tree" EASY,Invert Binary Tree,24.7,0.008054775097083326,https://leetcode.com/problems/invert-binary-tree,"Tree, Depth-First Search, Breadth-First Search, Binary Tree" EASY,Binary Tree Paths,24.7,0.0069528470118797,https://leetcode.com/problems/binary-tree-paths,"String, Backtracking, Tree, Depth-First Search, Binary Tree" MEDIUM,Single Number III,24.7,0.0070084263917863125,https://leetcode.com/problems/single-number-iii,"Array, Bit Manipulation" HARD,Reconstruct Itinerary,24.7,0.004514236792727408,https://leetcode.com/problems/reconstruct-itinerary,"Array, String, Depth-First Search, Graph Theory, Sorting, Heap (Priority Queue), Eulerian Circuit, Eulerian Path, Semi-Eulerian Graph" EASY,Counting Bits,24.7,0.008076769122929829,https://leetcode.com/problems/counting-bits,"Dynamic Programming, Bit Manipulation" MEDIUM,Elimination Game,24.7,0.0046760264692599215,https://leetcode.com/problems/elimination-game,"Math, Recursion" EASY,Convert a Number to Hexadecimal,24.7,0.005517067383092176,https://leetcode.com/problems/convert-a-number-to-hexadecimal,"Math, String, Bit Manipulation" MEDIUM,132 Pattern,24.7,0.0035209952681579874,https://leetcode.com/problems/132-pattern,"Array, Binary Search, Stack, Monotonic Stack, Ordered Set" MEDIUM,Find Largest Value in Each Tree Row,24.7,0.00664266159444988,https://leetcode.com/problems/find-largest-value-in-each-tree-row,"Tree, Depth-First Search, Breadth-First Search, Binary Tree" MEDIUM,Coin Change II,24.7,0.005909019284614732,https://leetcode.com/problems/coin-change-ii,"Array, Dynamic Programming, Knapsack Problem, Complete Knapsack" MEDIUM,Find K Closest Elements,24.7,0.005019970839141471,https://leetcode.com/problems/find-k-closest-elements,"Array, Two Pointers, Binary Search, Sliding Window, Sorting, Heap (Priority Queue)" HARD,Making A Large Island,24.7,0.0057322284492988575,https://leetcode.com/problems/making-a-large-island,"Array, Depth-First Search, Breadth-First Search, Union-Find, Matrix" EASY,Sort Array By Parity,24.7,0.007672955228630672,https://leetcode.com/problems/sort-array-by-parity,"Array, Two Pointers, Sorting" MEDIUM,Construct Binary Search Tree from Preorder Traversal,24.7,0.008469015281931115,https://leetcode.com/problems/construct-binary-search-tree-from-preorder-traversal,"Array, Stack, Tree, Binary Search Tree, Monotonic Stack, Binary Tree" MEDIUM,Partition Array for Maximum Sum,24.7,0.007758721306367327,https://leetcode.com/problems/partition-array-for-maximum-sum,"Array, Dynamic Programming" EASY,Greatest Common Divisor of Strings,24.7,0.005455492723405152,https://leetcode.com/problems/greatest-common-divisor-of-strings,"Math, String, Euclidean Algorithm, Greatest Common Divisor" EASY,Defanging an IP Address,24.7,0.009017839204887907,https://leetcode.com/problems/defanging-an-ip-address,String MEDIUM,Count Number of Nice Subarrays,24.7,0.007582893273212039,https://leetcode.com/problems/count-number-of-nice-subarrays,"Array, Hash Table, Math, Sliding Window, Prefix Sum" EASY,Check If N and Its Double Exist,24.7,0.0042111697266787205,https://leetcode.com/problems/check-if-n-and-its-double-exist,"Array, Hash Table, Two Pointers, Binary Search, Sorting" EASY,Largest Odd Number in String,24.7,0.0068223808360322515,https://leetcode.com/problems/largest-odd-number-in-string,"Math, String, Greedy" MEDIUM,Find a Peak Element II,24.7,0.005575617750882501,https://leetcode.com/problems/find-a-peak-element-ii,"Array, Binary Search, Matrix" EASY,Rank Transform of an Array,24.7,0.0074010207784496055,https://leetcode.com/problems/rank-transform-of-an-array,"Array, Hash Table, Sorting" HARD,Insert Delete GetRandom O(1) - Duplicates allowed,24.7,0.0037161259498148607,https://leetcode.com/problems/insert-delete-getrandom-o1-duplicates-allowed,"Array, Hash Table, Math, Design, Randomized" EASY,Reverse Bits,24.7,0.006959927189832171,https://leetcode.com/problems/reverse-bits,"Divide and Conquer, Bit Manipulation" MEDIUM,Minimum Limit of Balls in a Bag,24.7,0.0065847879091246704,https://leetcode.com/problems/minimum-limit-of-balls-in-a-bag,"Array, Binary Search" EASY,Defuse the Bomb,24.7,0.00795577416073898,https://leetcode.com/problems/defuse-the-bomb,"Array, Sliding Window" EASY,Two Sum IV - Input is a BST,24.7,0.006379742040393961,https://leetcode.com/problems/two-sum-iv-input-is-a-bst,"Hash Table, Two Pointers, Tree, Depth-First Search, Breadth-First Search, Binary Search Tree, Binary Tree" EASY,Primary Department for Each Employee,24.7,0.007582665204119187,https://leetcode.com/problems/primary-department-for-each-employee,Database EASY,Clear Digits,24.7,0.008277725452934035,https://leetcode.com/problems/clear-digits,"String, Stack, Simulation" HARD,Valid Number,24.7,0.0023813215460561405,https://leetcode.com/problems/valid-number,String MEDIUM,Find Root of N-Ary Tree,24.7,0.007859736429822135,https://leetcode.com/problems/find-root-of-n-ary-tree,"Hash Table, Bit Manipulation, Tree, Depth-First Search" MEDIUM,All Nodes Distance K in Binary Tree,24.7,0.006818721449988601,https://leetcode.com/problems/all-nodes-distance-k-in-binary-tree,"Hash Table, Tree, Depth-First Search, Breadth-First Search, Binary Tree" MEDIUM,Rabbits in Forest,24.7,0.0058032743166160465,https://leetcode.com/problems/rabbits-in-forest,"Array, Hash Table, Math, Greedy" MEDIUM,Longest Palindromic Subsequence,24.7,0.006599884041526849,https://leetcode.com/problems/longest-palindromic-subsequence,"String, Dynamic Programming" HARD,Kth Smallest Product of Two Sorted Arrays,24.7,0.004869670526184736,https://leetcode.com/problems/kth-smallest-product-of-two-sorted-arrays,"Array, Binary Search" MEDIUM,K Closest Points to Origin,24.7,0.006948459224805732,https://leetcode.com/problems/k-closest-points-to-origin,"Array, Math, Divide and Conquer, Geometry, Sorting, Heap (Priority Queue), Quickselect, K-D Tree" MEDIUM,Investments in 2016,24.7,0.005221082487977962,https://leetcode.com/problems/investments-in-2016,Database MEDIUM,Maximum Number of Events That Can Be Attended,24.7,0.003914832531180712,https://leetcode.com/problems/maximum-number-of-events-that-can-be-attended,"Array, Greedy, Sorting, Heap (Priority Queue)" EASY,Valid Word,24.7,0.005087176789505611,https://leetcode.com/problems/valid-word,String EASY,Find Winner on a Tic Tac Toe Game,24.7,0.005473794529822576,https://leetcode.com/problems/find-winner-on-a-tic-tac-toe-game,"Array, Hash Table, Matrix, Simulation" HARD,Trips and Users,24.7,0.0039523947322001925,https://leetcode.com/problems/trips-and-users,Database MEDIUM,Best Time to Buy and Sell Stock with Cooldown,24.7,0.006289731675176577,https://leetcode.com/problems/best-time-to-buy-and-sell-stock-with-cooldown,"Array, Dynamic Programming" EASY,Largest Triangle Area,24.7,0.0072288072851114235,https://leetcode.com/problems/largest-triangle-area,"Array, Math, Geometry, Polygons" MEDIUM,Next Greater Numerically Balanced Number,24.7,0.006307811757616493,https://leetcode.com/problems/next-greater-numerically-balanced-number,"Hash Table, Math, Backtracking, Counting, Enumeration" EASY,Last Stone Weight,24.7,0.0066846762322263385,https://leetcode.com/problems/last-stone-weight,"Array, Heap (Priority Queue)" MEDIUM,Number of Longest Increasing Subsequence,24.7,0.005287162138221626,https://leetcode.com/problems/number-of-longest-increasing-subsequence,"Array, Dynamic Programming, Binary Indexed Tree, Segment Tree, Longest Increasing Subsequence" EASY,Sum of Root To Leaf Binary Numbers,24.7,0.007672850924133039,https://leetcode.com/problems/sum-of-root-to-leaf-binary-numbers,"Tree, Depth-First Search, Binary Tree" EASY,Furthest Point From Origin,24.7,0.00768859098952988,https://leetcode.com/problems/furthest-point-from-origin,"String, Counting" HARD,Text Justification,21.6,0.005245326998804115,https://leetcode.com/problems/text-justification,"Array, String, Simulation" MEDIUM,Unique Binary Search Trees II,21.6,0.00635719938526578,https://leetcode.com/problems/unique-binary-search-trees-ii,"Dynamic Programming, Backtracking, Tree, Binary Search Tree, Binary Tree" EASY,Pascal's Triangle II,21.6,0.006818601814816226,https://leetcode.com/problems/pascals-triangle-ii,"Array, Dynamic Programming" MEDIUM,Binary Search Tree Iterator,21.6,0.007712206079662626,https://leetcode.com/problems/binary-search-tree-iterator,"Stack, Tree, Design, Binary Search Tree, Binary Tree, Iterator" EASY,Number of 1 Bits,21.6,0.007775261074493889,https://leetcode.com/problems/number-of-1-bits,"Divide and Conquer, Bit Manipulation" MEDIUM,Count Complete Tree Nodes,21.6,0.007213840721421747,https://leetcode.com/problems/count-complete-tree-nodes,"Binary Search, Bit Manipulation, Tree, Binary Tree" MEDIUM,Different Ways to Add Parentheses,21.6,0.00737699181241506,https://leetcode.com/problems/different-ways-to-add-parentheses,"Math, String, Dynamic Programming, Recursion, Memoization, Bracket Sequences" MEDIUM,Ugly Number II,21.6,0.004986934824142997,https://leetcode.com/problems/ugly-number-ii,"Hash Table, Math, Dynamic Programming, Heap (Priority Queue)" MEDIUM,Range Sum Query 2D - Mutable,21.6,0.004597506968019058,https://leetcode.com/problems/range-sum-query-2d-mutable,"Array, Design, Binary Indexed Tree, Segment Tree, Matrix, Sqrt Decomposition" HARD,Burst Balloons,21.6,0.006457394026692899,https://leetcode.com/problems/burst-balloons,"Array, Dynamic Programming" EASY,Intersection of Two Arrays II,21.6,0.006046898191323079,https://leetcode.com/problems/intersection-of-two-arrays-ii,"Array, Hash Table, Two Pointers, Binary Search, Sorting" MEDIUM,Minimum Genetic Mutation,21.6,0.005729749555632883,https://leetcode.com/problems/minimum-genetic-mutation,"Hash Table, String, Breadth-First Search, Bidirectional Search" MEDIUM,Minimum Number of Arrows to Burst Balloons,21.6,0.006202275265479188,https://leetcode.com/problems/minimum-number-of-arrows-to-burst-balloons,"Array, Greedy, Sorting" MEDIUM,Predict the Winner,21.6,0.00600340898896564,https://leetcode.com/problems/predict-the-winner,"Array, Math, Dynamic Programming, Recursion, Minimax, Game Theory, Zero-Sum Game" HARD,IPO,21.6,0.0053928846262129545,https://leetcode.com/problems/ipo,"Array, Greedy, Sorting, Heap (Priority Queue)" EASY,Array Partition,21.6,0.008229555953785335,https://leetcode.com/problems/array-partition,"Array, Greedy, Sorting, Counting Sort" EASY,Can Place Flowers,21.6,0.0029332849531068226,https://leetcode.com/problems/can-place-flowers,"Array, Greedy" EASY,Triangle Judgement,21.6,0.007547231462287144,https://leetcode.com/problems/triangle-judgement,Database MEDIUM,Network Delay Time,21.6,0.00617992987466753,https://leetcode.com/problems/network-delay-time,"Depth-First Search, Breadth-First Search, Graph Theory, Heap (Priority Queue), Shortest Path, Dijkstra's Algorithm" EASY,Find Smallest Letter Greater Than Target,21.6,0.005980822524777759,https://leetcode.com/problems/find-smallest-letter-greater-than-target,"Array, Binary Search" EASY,Search in a Binary Search Tree,21.6,0.008325093896854435,https://leetcode.com/problems/search-in-a-binary-search-tree,"Tree, Binary Search Tree, Binary Tree" MEDIUM,Design Circular Queue,21.6,0.005571322651926797,https://leetcode.com/problems/design-circular-queue,"Array, Linked List, Design, Queue" MEDIUM,Hand of Straights,21.6,0.005846808119516109,https://leetcode.com/problems/hand-of-straights,"Array, Hash Table, Greedy, Sorting" MEDIUM,Car Fleet,21.6,0.005582488770282246,https://leetcode.com/problems/car-fleet,"Array, Stack, Sorting, Monotonic Stack" MEDIUM,Score of Parentheses,21.6,0.0065937361151813655,https://leetcode.com/problems/score-of-parentheses,"String, Stack, Bracket Sequences" MEDIUM,Stone Game,21.6,0.007716781953297846,https://leetcode.com/problems/stone-game,"Array, Math, Dynamic Programming, Minimax, Game Theory, Zero-Sum Game" MEDIUM,Spiral Matrix III,21.6,0.008461856666775118,https://leetcode.com/problems/spiral-matrix-iii,"Array, Matrix, Simulation" MEDIUM,Snakes and Ladders,21.6,0.0048299821126165585,https://leetcode.com/problems/snakes-and-ladders,"Array, Breadth-First Search, Matrix" MEDIUM,Number of Enclaves,21.6,0.007230428495041804,https://leetcode.com/problems/number-of-enclaves,"Array, Depth-First Search, Breadth-First Search, Union-Find, Matrix" MEDIUM,Reverse Substrings Between Each Pair of Parentheses,21.6,0.007531261954350321,https://leetcode.com/problems/reverse-substrings-between-each-pair-of-parentheses,"String, Stack, Bracket Sequences" HARD,Critical Connections in a Network,21.6,0.006073536573151484,https://leetcode.com/problems/critical-connections-in-a-network,"Depth-First Search, Graph Theory, Biconnected Component, Bridge (Graph)" MEDIUM,Find the Smallest Divisor Given a Threshold,21.6,0.0066928727496116955,https://leetcode.com/problems/find-the-smallest-divisor-given-a-threshold,"Array, Binary Search" EASY,Count Negative Numbers in a Sorted Matrix,21.6,0.007979782930617258,https://leetcode.com/problems/count-negative-numbers-in-a-sorted-matrix,"Array, Binary Search, Matrix" EASY,Find the Highest Altitude,21.6,0.008464444067766369,https://leetcode.com/problems/find-the-highest-altitude,"Array, Prefix Sum" MEDIUM,Delete the Middle Node of a Linked List,21.6,0.006089221872999955,https://leetcode.com/problems/delete-the-middle-node-of-a-linked-list,"Linked List, Two Pointers" EASY,Find the Maximum Achievable Number,21.6,0.009112983244407001,https://leetcode.com/problems/find-the-maximum-achievable-number,Math HARD,Guess the Word,21.6,0.0036545858422984217,https://leetcode.com/problems/guess-the-word,"Array, Math, String, Minimax, Interactive, Game Theory" MEDIUM,Movie Rating,21.6,0.004480713794419142,https://leetcode.com/problems/movie-rating,Database EASY,Array Prototype Last,21.6,0.0074680329454057314,https://leetcode.com/problems/array-prototype-last, MEDIUM,Game Play Analysis IV,21.6,0.004284851956709055,https://leetcode.com/problems/game-play-analysis-iv,Database EASY,Add to Array-Form of Integer,21.6,0.0045730042922809975,https://leetcode.com/problems/add-to-array-form-of-integer,"Array, Math" MEDIUM,Customers Who Bought All Products,21.6,0.006478055055602886,https://leetcode.com/problems/customers-who-bought-all-products,Database HARD,Smallest Range Covering Elements from K Lists,21.6,0.007042661590953031,https://leetcode.com/problems/smallest-range-covering-elements-from-k-lists,"Array, Hash Table, Greedy, Sliding Window, Sorting, Heap (Priority Queue)" MEDIUM,Count the Number of Fair Pairs,21.6,0.005256236850015028,https://leetcode.com/problems/count-the-number-of-fair-pairs,"Array, Two Pointers, Binary Search, Sorting" EASY,Check if All Characters Have Equal Number of Occurrences,21.6,0.007976732698136271,https://leetcode.com/problems/check-if-all-characters-have-equal-number-of-occurrences,"Hash Table, String, Counting" MEDIUM,Best Sightseeing Pair,21.6,0.006273186997003483,https://leetcode.com/problems/best-sightseeing-pair,"Array, Dynamic Programming" HARD,Count the Number of Arrays with K Matching Adjacent Elements,21.6,0.005783004909543346,https://leetcode.com/problems/count-the-number-of-arrays-with-k-matching-adjacent-elements,"Math, Combinatorics, Fermat's Little Theorem" EASY,Filter Elements from Array,21.6,0.008549610581372375,https://leetcode.com/problems/filter-elements-from-array, MEDIUM,Unique Length-3 Palindromic Subsequences,21.6,0.007375484735176565,https://leetcode.com/problems/unique-length-3-palindromic-subsequences,"Hash Table, String, Bit Manipulation, Prefix Sum" HARD,Maximum Score Words Formed by Letters,21.6,0.008152004856754647,https://leetcode.com/problems/maximum-score-words-formed-by-letters,"Array, Hash Table, String, Dynamic Programming, Backtracking, Bit Manipulation, Counting, Bitmask" EASY,Longest Strictly Increasing or Strictly Decreasing Subarray,21.6,0.006480151898293175,https://leetcode.com/problems/longest-strictly-increasing-or-strictly-decreasing-subarray,Array MEDIUM,Next Greater Node In Linked List,21.6,0.006498407894069572,https://leetcode.com/problems/next-greater-node-in-linked-list,"Array, Linked List, Stack, Monotonic Stack" MEDIUM,Find the Punishment Number of an Integer,21.6,0.008155758042888366,https://leetcode.com/problems/find-the-punishment-number-of-an-integer,"Math, Backtracking" MEDIUM,The k-th Lexicographical String of All Happy Strings of Length n,21.6,0.008709206397795974,https://leetcode.com/problems/the-k-th-lexicographical-string-of-all-happy-strings-of-length-n,"String, Backtracking" MEDIUM,Maximum Number of Vowels in a Substring of Given Length,21.6,0.006313754831300429,https://leetcode.com/problems/maximum-number-of-vowels-in-a-substring-of-given-length,"String, Sliding Window" EASY,Minimum Cost to Move Chips to The Same Position,21.6,0.007331549570158882,https://leetcode.com/problems/minimum-cost-to-move-chips-to-the-same-position,"Array, Math, Greedy" EASY,Maximum Population Year,21.6,0.006484985796370019,https://leetcode.com/problems/maximum-population-year,"Array, Counting, Prefix Sum" EASY,User Activity for the Past 30 Days I,21.6,0.005193330343413634,https://leetcode.com/problems/user-activity-for-the-past-30-days-i,Database EASY,Detect Capital,21.6,0.005713795495884041,https://leetcode.com/problems/detect-capital,String MEDIUM,Count the Hidden Sequences,21.6,0.005667226555956483,https://leetcode.com/problems/count-the-hidden-sequences,"Array, Prefix Sum" MEDIUM,Maximum Sum Circular Subarray,21.6,0.005174405454397879,https://leetcode.com/problems/maximum-sum-circular-subarray,"Array, Divide and Conquer, Dynamic Programming, Queue, Monotonic Queue" EASY,Find the K-th Character in String Game I,21.6,0.00816400358437478,https://leetcode.com/problems/find-the-k-th-character-in-string-game-i,"Math, Bit Manipulation, Recursion, Simulation" MEDIUM,Domino and Tromino Tiling,21.6,0.005119316151991536,https://leetcode.com/problems/domino-and-tromino-tiling,Dynamic Programming EASY,Type of Triangle,21.6,0.004395468919620522,https://leetcode.com/problems/type-of-triangle,"Array, Math, Sorting, Polygons" EASY,Find Greatest Common Divisor of Array,21.6,0.008348047316267064,https://leetcode.com/problems/find-greatest-common-divisor-of-array,"Array, Math, Number Theory, Euclidean Algorithm, Greatest Common Divisor" MEDIUM,Zero Array Transformation I,21.6,0.0054581888898283595,https://leetcode.com/problems/zero-array-transformation-i,"Array, Prefix Sum" MEDIUM,Angle Between Hands of a Clock,21.6,0.006993439085192673,https://leetcode.com/problems/angle-between-hands-of-a-clock,Math EASY,Find All K-Distant Indices in an Array,21.6,0.007723138369052766,https://leetcode.com/problems/find-all-k-distant-indices-in-an-array,"Array, Two Pointers" MEDIUM,Longest Binary Subsequence Less Than or Equal to K,21.6,0.005272526743278546,https://leetcode.com/problems/longest-binary-subsequence-less-than-or-equal-to-k,"String, Dynamic Programming, Greedy, Memoization" EASY,Find Subsequence of Length K With the Largest Sum,21.6,0.0057288224623296665,https://leetcode.com/problems/find-subsequence-of-length-k-with-the-largest-sum,"Array, Hash Table, Sorting, Heap (Priority Queue)" EASY,Consecutive Characters,21.6,0.006052254386072009,https://leetcode.com/problems/consecutive-characters,String MEDIUM,Maximum XOR of Two Numbers in an Array,21.6,0.00538484746973465,https://leetcode.com/problems/maximum-xor-of-two-numbers-in-an-array,"Array, Hash Table, Bit Manipulation, Trie" MEDIUM,Bitwise ORs of Subarrays,21.6,0.005705287173891479,https://leetcode.com/problems/bitwise-ors-of-subarrays,"Array, Dynamic Programming, Bit Manipulation" MEDIUM,Ways to Express an Integer as Sum of Powers,21.6,0.004949225056834588,https://leetcode.com/problems/ways-to-express-an-integer-as-sum-of-powers,Dynamic Programming MEDIUM,New 21 Game,21.6,0.005196045015874218,https://leetcode.com/problems/new-21-game,"Math, Dynamic Programming, Sliding Window, Probability and Statistics" EASY,Robot Return to Origin,21.6,0.0078229473443967,https://leetcode.com/problems/robot-return-to-origin,"String, Simulation" MEDIUM,Longest Subarray of 1's After Deleting One Element,21.6,0.007164473791009886,https://leetcode.com/problems/longest-subarray-of-1s-after-deleting-one-element,"Array, Dynamic Programming, Sliding Window" MEDIUM,Count Submatrices With All Ones,21.6,0.007100236882845579,https://leetcode.com/problems/count-submatrices-with-all-ones,"Array, Dynamic Programming, Stack, Matrix, Monotonic Stack" MEDIUM,Find the Minimum Area to Cover All Ones I,21.6,0.00780111993221463,https://leetcode.com/problems/find-the-minimum-area-to-cover-all-ones-i,"Array, Matrix" MEDIUM,Number of People Aware of a Secret,21.6,0.006064024859674416,https://leetcode.com/problems/number-of-people-aware-of-a-secret,"Dynamic Programming, Queue, Simulation" EASY,Count Elements With Maximum Frequency,21.6,0.007970344236573413,https://leetcode.com/problems/count-elements-with-maximum-frequency,"Array, Hash Table, Counting" EASY,Minimum Time Visiting All Points,21.6,0.008485711943339672,https://leetcode.com/problems/minimum-time-visiting-all-points,"Array, Math, Geometry" MEDIUM,Rank Teams by Votes,21.6,0.006010136237329703,https://leetcode.com/problems/rank-teams-by-votes,"Array, Hash Table, String, Sorting, Counting" MEDIUM,Longest Balanced Subarray I,21.6,0.006545514338332018,https://leetcode.com/problems/longest-balanced-subarray-i,"Array, Hash Table, Divide and Conquer, Segment Tree, Prefix Sum" MEDIUM,Delete Nodes From Linked List Present in Array,21.6,0.00691600461175841,https://leetcode.com/problems/delete-nodes-from-linked-list-present-in-array,"Array, Hash Table, Linked List" MEDIUM,Four Divisors,21.6,0.005652044363515974,https://leetcode.com/problems/four-divisors,"Array, Math, Prime Factorization, Sieve Theory" EASY,Divide an Array Into Subarrays With Minimum Cost I,21.6,0.008030449532795973,https://leetcode.com/problems/divide-an-array-into-subarrays-with-minimum-cost-i,"Array, Sorting, Enumeration" MEDIUM,Rotate Function,21.6,0.005404296712991939,https://leetcode.com/problems/rotate-function,"Array, Math, Dynamic Programming" MEDIUM,Using a Robot to Print the Lexicographically Smallest String,21.6,0.00622391310341025,https://leetcode.com/problems/using-a-robot-to-print-the-lexicographically-smallest-string,"Hash Table, String, Stack, Greedy" MEDIUM,Find the Lexicographically Smallest Valid Sequence,21.6,0.005739447500154502,https://leetcode.com/problems/find-the-lexicographically-smallest-valid-sequence,"Two Pointers, String, Dynamic Programming, Greedy" EASY,Smallest Missing Multiple of K,21.6,0.007145987223160372,https://leetcode.com/problems/smallest-missing-multiple-of-k,"Array, Hash Table" EASY,Rectangle Overlap,21.6,0.005349142087314415,https://leetcode.com/problems/rectangle-overlap,"Math, Geometry" MEDIUM,Gray Code,17.9,0.006640907631078923,https://leetcode.com/problems/gray-code,"Math, Backtracking, Bit Manipulation" MEDIUM,Unique Binary Search Trees,17.9,0.006436447732678964,https://leetcode.com/problems/unique-binary-search-trees,"Math, Dynamic Programming, Tree, Binary Search Tree, Binary Tree" EASY,Convert Sorted Array to Binary Search Tree,17.9,0.007624238906025291,https://leetcode.com/problems/convert-sorted-array-to-binary-search-tree,"Array, Divide and Conquer, Tree, Binary Search Tree, Binary Tree" EASY,Binary Tree Preorder Traversal,17.9,0.0076865355834236475,https://leetcode.com/problems/binary-tree-preorder-traversal,"Stack, Tree, Depth-First Search, Binary Tree" MEDIUM,Design Add and Search Words Data Structure,17.9,0.004917028032826507,https://leetcode.com/problems/design-add-and-search-words-data-structure,"String, Depth-First Search, Design, Trie" HARD,Integer to English Words,17.9,0.0035309245732496595,https://leetcode.com/problems/integer-to-english-words,"Math, String, Recursion" MEDIUM,Range Sum Query 2D - Immutable,17.9,0.005922754161507773,https://leetcode.com/problems/range-sum-query-2d-immutable,"Array, Design, Matrix, Prefix Sum" MEDIUM,Integer Break,17.9,0.00628425943401909,https://leetcode.com/problems/integer-break,"Math, Dynamic Programming" HARD,All O`one Data Structure,17.9,0.0044690595725070045,https://leetcode.com/problems/all-oone-data-structure,"Hash Table, Linked List, Design, Doubly-Linked List" EASY,Relative Ranks,17.9,0.007536150259775317,https://leetcode.com/problems/relative-ranks,"Array, Sorting, Heap (Priority Queue)" MEDIUM,Find Bottom Left Tree Value,17.9,0.007270033873210303,https://leetcode.com/problems/find-bottom-left-tree-value,"Tree, Depth-First Search, Breadth-First Search, Binary Tree" MEDIUM,Minimum Time Difference,17.9,0.006276431850347029,https://leetcode.com/problems/minimum-time-difference,"Array, Math, String, Sorting" MEDIUM,Brick Wall,17.9,0.005595874569875961,https://leetcode.com/problems/brick-wall,"Array, Hash Table" EASY,Sales Person,17.9,0.006666424479107539,https://leetcode.com/problems/sales-person,Database EASY,Not Boring Movies,17.9,0.007526775242923036,https://leetcode.com/problems/not-boring-movies,Database EASY,Kth Largest Element in a Stream,17.9,0.006168760834356499,https://leetcode.com/problems/kth-largest-element-in-a-stream,"Tree, Design, Binary Search Tree, Heap (Priority Queue), Binary Tree, Data Stream" MEDIUM,K-th Symbol in Grammar,17.9,0.004884076810719502,https://leetcode.com/problems/k-th-symbol-in-grammar,"Math, Bit Manipulation, Recursion" MEDIUM,Is Graph Bipartite?,17.9,0.00600412436154337,https://leetcode.com/problems/is-graph-bipartite,"Depth-First Search, Breadth-First Search, Union-Find, Graph Theory, Graph Coloring, Bipartite Graph" EASY,Find the Town Judge,17.9,0.005118131049840304,https://leetcode.com/problems/find-the-town-judge,"Array, Hash Table, Graph Theory" EASY,Find Common Characters,17.9,0.00748763267296839,https://leetcode.com/problems/find-common-characters,"Array, Hash Table, String" MEDIUM,Longest String Chain,17.9,0.0063556855597365946,https://leetcode.com/problems/longest-string-chain,"Array, Hash Table, Two Pointers, String, Dynamic Programming, Sorting" EASY,Project Employees I,17.9,0.006756183733581722,https://leetcode.com/problems/project-employees-i,Database EASY,Duplicate Zeros,17.9,0.005415519110643308,https://leetcode.com/problems/duplicate-zeros,"Array, Two Pointers" EASY,Game Play Analysis I,17.9,0.007686100543494995,https://leetcode.com/problems/game-play-analysis-i,Database EASY,Find Users With Valid E-Mails,17.9,0.00351789192428707,https://leetcode.com/problems/find-users-with-valid-e-mails,Database MEDIUM,Minimum Deletions to Make String Balanced,17.9,0.006814893310232286,https://leetcode.com/problems/minimum-deletions-to-make-string-balanced,"String, Dynamic Programming, Stack" MEDIUM,Max Number of K-Sum Pairs,17.9,0.00574715716959469,https://leetcode.com/problems/max-number-of-k-sum-pairs,"Array, Hash Table, Two Pointers, Sorting" MEDIUM,Amount of Time for Binary Tree to Be Infected,17.9,0.006612980098577141,https://leetcode.com/problems/amount-of-time-for-binary-tree-to-be-infected,"Hash Table, Tree, Depth-First Search, Breadth-First Search, Binary Tree" EASY,Left and Right Sum Differences,17.9,0.00897304084092706,https://leetcode.com/problems/left-and-right-sum-differences,"Array, Prefix Sum" EASY,To Be Or Not To Be,17.9,0.006348614388039003,https://leetcode.com/problems/to-be-or-not-to-be, EASY,Score of a String,17.9,0.009121581883482839,https://leetcode.com/problems/score-of-a-string,String EASY,Find N Unique Integers Sum up to Zero,17.9,0.007849235655311905,https://leetcode.com/problems/find-n-unique-integers-sum-up-to-zero,"Array, Math" EASY,Invalid Tweets,17.9,0.008531283800106334,https://leetcode.com/problems/invalid-tweets,Database EASY,Find Closest Number to Zero,17.9,0.004823728540681614,https://leetcode.com/problems/find-closest-number-to-zero,Array EASY,Longest Harmonious Subsequence,17.9,0.006523316783734345,https://leetcode.com/problems/longest-harmonious-subsequence,"Array, Hash Table, Sliding Window, Sorting, Counting" MEDIUM,Maximum Points You Can Obtain from Cards,17.9,0.005853511418328092,https://leetcode.com/problems/maximum-points-you-can-obtain-from-cards,"Array, Sliding Window, Prefix Sum" MEDIUM,Car Pooling,17.9,0.005657425241857692,https://leetcode.com/problems/car-pooling,"Array, Sorting, Heap (Priority Queue), Simulation, Prefix Sum" MEDIUM,Design a Todo List,17.9,0.005995572500307466,https://leetcode.com/problems/design-a-todo-list,"Array, Hash Table, String, Design, Sorting" HARD,Couples Holding Hands,17.9,0.005990851211813172,https://leetcode.com/problems/couples-holding-hands,"Greedy, Depth-First Search, Breadth-First Search, Union-Find, Graph Theory" HARD,Create Maximum Number,17.9,0.003752847555719739,https://leetcode.com/problems/create-maximum-number,"Array, Two Pointers, Stack, Greedy, Monotonic Stack" EASY,Final Prices With a Special Discount in a Shop,17.9,0.008439697856807257,https://leetcode.com/problems/final-prices-with-a-special-discount-in-a-shop,"Array, Stack, Monotonic Stack" EASY,DI String Match,17.9,0.008142206639543985,https://leetcode.com/problems/di-string-match,"Array, Two Pointers, String, Greedy" EASY,Add Strings,17.9,0.005226773325173972,https://leetcode.com/problems/add-strings,"Math, String, Simulation" HARD,Expression Add Operators,17.9,0.004396766177224389,https://leetcode.com/problems/expression-add-operators,"Math, String, Backtracking" MEDIUM,Open the Lock,17.9,0.006162099575453492,https://leetcode.com/problems/open-the-lock,"Array, Hash Table, String, Breadth-First Search, Bidirectional Search" EASY,Excel Sheet Column Number,17.9,0.00685936654714949,https://leetcode.com/problems/excel-sheet-column-number,"Math, String" MEDIUM,Maximum Subarray Sum With Length Divisible by K,17.9,0.004955989748394742,https://leetcode.com/problems/maximum-subarray-sum-with-length-divisible-by-k,"Array, Hash Table, Prefix Sum" MEDIUM,Game of Life,17.9,0.007314679242620763,https://leetcode.com/problems/game-of-life,"Array, Matrix, Simulation" MEDIUM,Random Pick with Weight,17.9,0.004931733647516559,https://leetcode.com/problems/random-pick-with-weight,"Array, Math, Binary Search, Prefix Sum, Randomized" MEDIUM,Minimum Cost For Tickets,17.9,0.0067513828326321145,https://leetcode.com/problems/minimum-cost-for-tickets,"Array, Dynamic Programming" EASY,String Matching in an Array,17.9,0.006987292972514816,https://leetcode.com/problems/string-matching-in-an-array,"Array, String, String Matching" MEDIUM,Restore IP Addresses,17.9,0.005736160337981253,https://leetcode.com/problems/restore-ip-addresses,"String, Backtracking" MEDIUM,Remove Zero Sum Consecutive Nodes from Linked List,17.9,0.005336583324845919,https://leetcode.com/problems/remove-zero-sum-consecutive-nodes-from-linked-list,"Hash Table, Linked List" MEDIUM,Tuple with Same Product,17.9,0.007006598784215597,https://leetcode.com/problems/tuple-with-same-product,"Array, Hash Table, Counting" MEDIUM,Max Sum of a Pair With Equal Sum of Digits,17.9,0.006591164902755204,https://leetcode.com/problems/max-sum-of-a-pair-with-equal-sum-of-digits,"Array, Hash Table, Sorting, Heap (Priority Queue)" MEDIUM,Minimum Height Trees,17.9,0.004291667988254286,https://leetcode.com/problems/minimum-height-trees,"Depth-First Search, Breadth-First Search, Graph Theory, Topological Sort" EASY,Distribute Candies,17.9,0.007178236317108491,https://leetcode.com/problems/distribute-candies,"Array, Hash Table" MEDIUM,Maximum Absolute Sum of Any Subarray,17.9,0.007053011559782382,https://leetcode.com/problems/maximum-absolute-sum-of-any-subarray,"Array, Dynamic Programming" EASY,Backspace String Compare,17.9,0.005032319803393756,https://leetcode.com/problems/backspace-string-compare,"Two Pointers, String, Stack, Simulation" MEDIUM,Maximum Candies Allocated to K Children,17.9,0.004990222030629405,https://leetcode.com/problems/maximum-candies-allocated-to-k-children,"Array, Binary Search" MEDIUM,Longest Nice Subarray,17.9,0.006484336538631816,https://leetcode.com/problems/longest-nice-subarray,"Array, Bit Manipulation, Sliding Window" HARD,Minimum Number of Refueling Stops,17.9,0.004204309953447233,https://leetcode.com/problems/minimum-number-of-refueling-stops,"Array, Dynamic Programming, Greedy, Heap (Priority Queue)" MEDIUM,Check if Grid can be Cut into Sections,17.9,0.0068050491216212206,https://leetcode.com/problems/check-if-grid-can-be-cut-into-sections,"Array, Sorting" MEDIUM,Maximum Value of an Ordered Triplet II,17.9,0.005622838876372411,https://leetcode.com/problems/maximum-value-of-an-ordered-triplet-ii,"Array, Prefix Sum" EASY, Count Symmetric Integers,17.9,0.008252116970520395,https://leetcode.com/problems/count-symmetric-integers,"Math, Enumeration" EASY,Most Frequent Even Element,17.9,0.005438404604389886,https://leetcode.com/problems/most-frequent-even-element,"Array, Hash Table, Counting" MEDIUM,Count Subarrays Where Max Element Appears at Least K Times,17.9,0.006232738582343054,https://leetcode.com/problems/count-subarrays-where-max-element-appears-at-least-k-times,"Array, Sliding Window" MEDIUM,Push Dominoes,17.9,0.0063092659219771315,https://leetcode.com/problems/push-dominoes,"Two Pointers, String, Dynamic Programming" MEDIUM,Zero Array Transformation III,17.9,0.005442137077118065,https://leetcode.com/problems/zero-array-transformation-iii,"Array, Two Pointers, Greedy, Sorting, Heap (Priority Queue), Prefix Sum" EASY,Biggest Single Number,17.9,0.007249854539415144,https://leetcode.com/problems/biggest-single-number,Database EASY,Make The String Great,17.9,0.006880727919802477,https://leetcode.com/problems/make-the-string-great,"String, Stack" EASY,Apply Operations to an Array,17.9,0.007475466704354195,https://leetcode.com/problems/apply-operations-to-an-array,"Array, Two Pointers, Simulation" EASY,Row With Maximum Ones,17.9,0.007414906967016283,https://leetcode.com/problems/row-with-maximum-ones,"Array, Matrix" MEDIUM,Maximum Manhattan Distance After K Changes,17.9,0.005398769127007545,https://leetcode.com/problems/maximum-manhattan-distance-after-k-changes,"Hash Table, Math, String, Counting" MEDIUM,Nearest Exit from Entrance in Maze,17.9,0.00493036891865149,https://leetcode.com/problems/nearest-exit-from-entrance-in-maze,"Array, Breadth-First Search, Matrix" MEDIUM,Number of Matching Subsequences,17.9,0.005055066604706061,https://leetcode.com/problems/number-of-matching-subsequences,"Array, Hash Table, String, Binary Search, Dynamic Programming, Trie, Sorting" MEDIUM,Taking Maximum Energy From the Mystic Dungeon,17.9,0.006088666262911746,https://leetcode.com/problems/taking-maximum-energy-from-the-mystic-dungeon,"Array, Dynamic Programming, Prefix Sum" HARD,Maximum Number of Events That Can Be Attended II,17.9,0.006336537846010175,https://leetcode.com/problems/maximum-number-of-events-that-can-be-attended-ii,"Array, Binary Search, Dynamic Programming, Sorting" HARD,Binary Tree Cameras,17.9,0.00482492092590306,https://leetcode.com/problems/binary-tree-cameras,"Dynamic Programming, Tree, Depth-First Search, Binary Tree, DP on Trees" MEDIUM,Find the Maximum Length of Valid Subsequence II,17.9,0.005687352018060679,https://leetcode.com/problems/find-the-maximum-length-of-valid-subsequence-ii,"Array, Dynamic Programming" MEDIUM,Successful Pairs of Spells and Potions,17.9,0.004993783747770523,https://leetcode.com/problems/successful-pairs-of-spells-and-potions,"Array, Two Pointers, Binary Search, Sorting" EASY,Count Hills and Valleys in an Array,17.9,0.0069126381979746085,https://leetcode.com/problems/count-hills-and-valleys-in-an-array,Array MEDIUM,Smallest Subarrays With Maximum Bitwise OR,17.9,0.006192021818042138,https://leetcode.com/problems/smallest-subarrays-with-maximum-bitwise-or,"Array, Binary Search, Bit Manipulation, Sliding Window" EASY,Largest 3-Same-Digit Number in String,17.9,0.007268470749408225,https://leetcode.com/problems/largest-3-same-digit-number-in-string,String EASY,Power of Four,17.9,0.005278320522679982,https://leetcode.com/problems/power-of-four,"Math, Bit Manipulation, Recursion" EASY,Maximum 69 Number,17.9,0.008463091455659233,https://leetcode.com/problems/maximum-69-number,"Math, Greedy" MEDIUM,Sum of Mutated Array Closest to Target,17.9,0.004680887173852846,https://leetcode.com/problems/sum-of-mutated-array-closest-to-target,"Array, Binary Search, Sorting" MEDIUM,Number of Operations to Make Network Connected,17.9,0.006738824455781754,https://leetcode.com/problems/number-of-operations-to-make-network-connected,"Depth-First Search, Breadth-First Search, Union-Find, Graph Theory" MEDIUM,Minimum Operations to Make the Integer Zero,17.9,0.00580261291085363,https://leetcode.com/problems/minimum-operations-to-make-the-integer-zero,"Bit Manipulation, Brainteaser, Enumeration" MEDIUM,Vowel Spellchecker,17.9,0.006147398149260907,https://leetcode.com/problems/vowel-spellchecker,"Array, Hash Table, String" MEDIUM,Design Task Manager,17.9,0.004871309038102483,https://leetcode.com/problems/design-task-manager,"Hash Table, Design, Heap (Priority Queue), Ordered Set" EASY,Binary Watch,17.9,0.006634840080775303,https://leetcode.com/problems/binary-watch,"Backtracking, Bit Manipulation" MEDIUM,Find the Minimum Amount of Time to Brew Potions,17.9,0.006235458319754013,https://leetcode.com/problems/find-the-minimum-amount-of-time-to-brew-potions,"Array, Simulation, Prefix Sum" MEDIUM,Minimum Operations to Convert All Elements to Zero,17.9,0.005284277209138634,https://leetcode.com/problems/minimum-operations-to-convert-all-elements-to-zero,"Array, Hash Table, Stack, Greedy, Monotonic Stack" MEDIUM,Ones and Zeroes,17.9,0.005394126089645275,https://leetcode.com/problems/ones-and-zeroes,"Array, String, Dynamic Programming, Knapsack Problem, 0-1 Knapsack" MEDIUM,Count Special Triplets,17.9,0.004686121018539721,https://leetcode.com/problems/count-special-triplets,"Array, Hash Table, Counting" MEDIUM,Minimum Score of a Path Between Two Cities,17.9,0.006628517109069333,https://leetcode.com/problems/minimum-score-of-a-path-between-two-cities,"Depth-First Search, Breadth-First Search, Union-Find, Graph Theory" MEDIUM,Magic Squares In Grid,17.9,0.005524084302187407,https://leetcode.com/problems/magic-squares-in-grid,"Array, Hash Table, Math, Matrix" HARD,Number of Ways to Paint N × 3 Grid,17.9,0.008059777395083274,https://leetcode.com/problems/number-of-ways-to-paint-n-3-grid,"Dynamic Programming, Graph Coloring" EASY,Long Pressed Name,17.9,0.0033207764466691553,https://leetcode.com/problems/long-pressed-name,"Two Pointers, String" MEDIUM,Design Linked List,17.9,0.0031031732743246154,https://leetcode.com/problems/design-linked-list,"Linked List, Design" EASY,Minimum Pair Removal to Sort Array I,17.9,0.006510687703439554,https://leetcode.com/problems/minimum-pair-removal-to-sort-array-i,"Array, Hash Table, Linked List, Heap (Priority Queue), Simulation, Doubly-Linked List, Ordered Set" MEDIUM,K-diff Pairs in an Array,17.9,0.004646692019606365,https://leetcode.com/problems/k-diff-pairs-in-an-array,"Array, Hash Table, Two Pointers, Binary Search, Sorting" MEDIUM,Minimum Swaps to Arrange a Binary Grid,17.9,0.007025639022866181,https://leetcode.com/problems/minimum-swaps-to-arrange-a-binary-grid,"Array, Greedy, Matrix" MEDIUM,Binary Tree Level Order Traversal II,17.9,0.006927893546406336,https://leetcode.com/problems/binary-tree-level-order-traversal-ii,"Tree, Breadth-First Search, Binary Tree" EASY,Find the Largest Almost Missing Integer,17.9,0.004925379729681958,https://leetcode.com/problems/find-the-largest-almost-missing-integer,"Array, Hash Table" EASY,Mirror Distance of an Integer,17.9,0.009098204768188286,https://leetcode.com/problems/mirror-distance-of-an-integer,Math HARD,Longest Increasing Path in a Matrix,17.9,0.005718813063448473,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,Jump Game VII,17.9,0.0035738993198292358,https://leetcode.com/problems/jump-game-vii,"String, Dynamic Programming, Sliding Window, Prefix Sum" HARD,Total Waviness of Numbers in Range II,17.9,0.005619465425185571,https://leetcode.com/problems/total-waviness-of-numbers-in-range-ii,"Math, Dynamic Programming" MEDIUM,Create Binary Tree From Descriptions,17.9,0.008391552654893029,https://leetcode.com/problems/create-binary-tree-from-descriptions,"Array, Hash Table, Tree, Binary Tree" HARD,Maximum Building Height,17.9,0.006691708708050011,https://leetcode.com/problems/maximum-building-height,"Array, Math, Sorting" HARD,Number of ZigZag Arrays II,17.9,0.00671877004269667,https://leetcode.com/problems/number-of-zigzag-arrays-ii,"Math, Dynamic Programming" EASY,Unique 3-Digit Even Numbers,17.9,0.007994209037065679,https://leetcode.com/problems/unique-3-digit-even-numbers,"Array, Hash Table, Recursion, Enumeration" MEDIUM,Sequential Digits,17.9,0.006863639311368224,https://leetcode.com/problems/sequential-digits,Enumeration MEDIUM,Smallest Palindromic Rearrangement I,17.9,0.007433692887144801,https://leetcode.com/problems/smallest-palindromic-rearrangement-i,"String, Sorting, Counting Sort" EASY,Minimum Number of Pushes to Type Word I,17.9,0.007744997159395646,https://leetcode.com/problems/minimum-number-of-pushes-to-type-word-i,"Math, String, Greedy" EASY,Smallest Divisible Digit Product I,17.9,0.007278206364513018,https://leetcode.com/problems/smallest-divisible-digit-product-i,"Math, Enumeration" HARD,Stone Game IV,17.9,0.006519841947726884,https://leetcode.com/problems/stone-game-iv,"Math, Dynamic Programming, Minimax, Game Theory, Nim Game, Sprague–Grundy Theorem, Zero-Sum Game" EASY,Customer Placing the Largest Number of Orders,17.9,0.006493634847334954,https://leetcode.com/problems/customer-placing-the-largest-number-of-orders,Database MEDIUM,Make Lexicographically Smallest Array by Swapping Elements,17.9,0.006652271279152522,https://leetcode.com/problems/make-lexicographically-smallest-array-by-swapping-elements,"Array, Union-Find, Sorting" MEDIUM,Delete Operation for Two Strings,17.9,0.006624894126647299,https://leetcode.com/problems/delete-operation-for-two-strings,"String, Dynamic Programming, Longest Common Subsequence" HARD,Distinct Subsequences II,17.9,0.005667618333293009,https://leetcode.com/problems/distinct-subsequences-ii,"String, Dynamic Programming" MEDIUM,Minimum Insertions to Balance a Parentheses String,17.9,0.006196374433813216,https://leetcode.com/problems/minimum-insertions-to-balance-a-parentheses-string,"String, Stack, Greedy, Bracket Sequences" MEDIUM,Spiral Matrix II,13.5,0.0076023117398430085,https://leetcode.com/problems/spiral-matrix-ii,"Array, Matrix, Simulation" MEDIUM,Convert Sorted List to Binary Search Tree,13.5,0.0067593663875137495,https://leetcode.com/problems/convert-sorted-list-to-binary-search-tree,"Linked List, Divide and Conquer, Tree, Binary Search Tree, Binary Tree" HARD,Palindrome Partitioning II,13.5,0.0038195868581151916,https://leetcode.com/problems/palindrome-partitioning-ii,"String, Dynamic Programming" EASY,Binary Tree Postorder Traversal,13.5,0.007919639896071494,https://leetcode.com/problems/binary-tree-postorder-traversal,"Stack, Tree, Depth-First Search, Binary Tree" HARD,Word Search II,13.5,0.003903080104439997,https://leetcode.com/problems/word-search-ii,"Array, String, Backtracking, Trie, Matrix" MEDIUM,Range Sum Query - Mutable,13.5,0.004397667204890077,https://leetcode.com/problems/range-sum-query-mutable,"Array, Divide and Conquer, Design, Binary Indexed Tree, Segment Tree, Sqrt Decomposition" MEDIUM,Bulb Switcher,13.5,0.005667971533889606,https://leetcode.com/problems/bulb-switcher,"Math, Brainteaser" MEDIUM,Design Twitter,13.5,0.004576340190279977,https://leetcode.com/problems/design-twitter,"Hash Table, Linked List, Design, Heap (Priority Queue)" MEDIUM,Kth Smallest Element in a Sorted Matrix,13.5,0.0065191731664640115,https://leetcode.com/problems/kth-smallest-element-in-a-sorted-matrix,"Array, Binary Search, Sorting, Heap (Priority Queue), Matrix" EASY,Sum of Left Leaves,13.5,0.006322820862887792,https://leetcode.com/problems/sum-of-left-leaves,"Tree, Depth-First Search, Breadth-First Search, Binary Tree" MEDIUM,Path Sum III,13.5,0.00467315725505534,https://leetcode.com/problems/path-sum-iii,"Tree, Depth-First Search, Binary Tree" HARD,LFU Cache,13.5,0.0050512870503299605,https://leetcode.com/problems/lfu-cache,"Hash Table, Linked List, Design, Doubly-Linked List" MEDIUM,Delete and Earn,13.5,0.0057648753090271945,https://leetcode.com/problems/delete-and-earn,"Array, Hash Table, Dynamic Programming" MEDIUM,Partition Labels,13.5,0.008209566234718683,https://leetcode.com/problems/partition-labels,"Hash Table, Two Pointers, String, Greedy" MEDIUM,Custom Sort String,13.5,0.007232522531630766,https://leetcode.com/problems/custom-sort-string,"Hash Table, String, Sorting" EASY,Fair Candy Swap,13.5,0.006583993249612523,https://leetcode.com/problems/fair-candy-swap,"Array, Hash Table, Binary Search, Sorting" MEDIUM,Minimum Falling Path Sum,13.5,0.006082274329895476,https://leetcode.com/problems/minimum-falling-path-sum,"Array, Dynamic Programming, Matrix" MEDIUM,Reveal Cards In Increasing Order,13.5,0.008385573565087574,https://leetcode.com/problems/reveal-cards-in-increasing-order,"Array, Queue, Sorting, Simulation" MEDIUM,Distribute Coins in Binary Tree,13.5,0.00774005178882841,https://leetcode.com/problems/distribute-coins-in-binary-tree,"Tree, Depth-First Search, Binary Tree, DP on Trees" HARD,Unique Paths III,13.5,0.008301452854112386,https://leetcode.com/problems/unique-paths-iii,"Array, Backtracking, Bit Manipulation, Matrix, Hamiltonian Path" EASY,N-th Tribonacci Number,13.5,0.006302966193732243,https://leetcode.com/problems/n-th-tribonacci-number,"Math, Dynamic Programming, Memoization" MEDIUM,Balance a Binary Search Tree,13.5,0.008629274988253976,https://leetcode.com/problems/balance-a-binary-search-tree,"Divide and Conquer, Greedy, Tree, Depth-First Search, Binary Search Tree, Binary Tree" EASY,Three Consecutive Odds,13.5,0.006929297355954841,https://leetcode.com/problems/three-consecutive-odds,Array EASY,Special Array With X Elements Greater Than or Equal X,13.5,0.006710824945727255,https://leetcode.com/problems/special-array-with-x-elements-greater-than-or-equal-x,"Array, Binary Search, Sorting" EASY,Richest Customer Wealth,13.5,0.008886996843884557,https://leetcode.com/problems/richest-customer-wealth,"Array, Matrix" MEDIUM,Maximum Score From Removing Substrings,13.5,0.006642226960410372,https://leetcode.com/problems/maximum-score-from-removing-substrings,"String, Stack, Greedy" EASY,Time Needed to Buy Tickets,13.5,0.007350855346969923,https://leetcode.com/problems/time-needed-to-buy-tickets,"Array, Queue, Simulation" MEDIUM,Kth Largest Sum in a Binary Tree,13.5,0.00589235855305924,https://leetcode.com/problems/kth-largest-sum-in-a-binary-tree,"Tree, Breadth-First Search, Sorting, Binary Tree" EASY,Return Length of Arguments Passed,13.5,0.00944428079932133,https://leetcode.com/problems/return-length-of-arguments-passed, EASY,Create a DataFrame from List,13.5,0.00808191490302032,https://leetcode.com/problems/create-a-dataframe-from-list, EASY,Employees Whose Manager Left the Company,13.5,0.004908497202320378,https://leetcode.com/problems/employees-whose-manager-left-the-company,Database EASY,Fix Names in a Table,13.5,0.006084451244853354,https://leetcode.com/problems/fix-names-in-a-table,Database MEDIUM,Repeated String Match,13.5,0.003999352604866254,https://leetcode.com/problems/repeated-string-match,"String, String Matching, Z Algorithm, Knuth–Morris–Pratt Algorithm, Boyer–Moore String-Search Algorithm" HARD,Find K-th Smallest Pair Distance,13.5,0.004692403365752746,https://leetcode.com/problems/find-k-th-smallest-pair-distance,"Array, Two Pointers, Binary Search, Sorting" MEDIUM,Most Stones Removed with Same Row or Column,13.5,0.006355732479483075,https://leetcode.com/problems/most-stones-removed-with-same-row-or-column,"Hash Table, Depth-First Search, Union-Find, Graph Theory, Bipartite Graph" MEDIUM,Maximal Square,13.5,0.005105152817323912,https://leetcode.com/problems/maximal-square,"Array, Dynamic Programming, Matrix" MEDIUM,Sum of Subarray Ranges,13.5,0.006212061435062916,https://leetcode.com/problems/sum-of-subarray-ranges,"Array, Stack, Monotonic Stack" HARD,Trapping Rain Water II,13.5,0.006432132552120841,https://leetcode.com/problems/trapping-rain-water-ii,"Array, Breadth-First Search, Heap (Priority Queue), Matrix" MEDIUM,Find the Power of K-Size Subarrays I,13.5,0.006187537956056619,https://leetcode.com/problems/find-the-power-of-k-size-subarrays-i,"Array, Sliding Window" MEDIUM,Search Suggestions System,13.5,0.006524802816348724,https://leetcode.com/problems/search-suggestions-system,"Array, String, Binary Search, Trie, Sorting, Heap (Priority Queue)" MEDIUM,Find K Pairs with Smallest Sums,13.5,0.00425387717239509,https://leetcode.com/problems/find-k-pairs-with-smallest-sums,"Array, Heap (Priority Queue)" EASY,Maximum Product of Two Elements in an Array,13.5,0.008495628982247915,https://leetcode.com/problems/maximum-product-of-two-elements-in-an-array,"Array, Sorting, Heap (Priority Queue)" EASY,Moving Average from Data Stream,13.5,0.0080236815178883,https://leetcode.com/problems/moving-average-from-data-stream,"Array, Design, Queue, Data Stream" EASY,Find Minimum Operations to Make All Elements Divisible by Three,13.5,0.00906367122539651,https://leetcode.com/problems/find-minimum-operations-to-make-all-elements-divisible-by-three,"Array, Math" HARD,Minimum Number of Removals to Make Mountain Array,13.5,0.005476328917652611,https://leetcode.com/problems/minimum-number-of-removals-to-make-mountain-array,"Array, Binary Search, Dynamic Programming, Greedy" HARD,Minimum Total Distance Traveled,13.5,0.006317331178490752,https://leetcode.com/problems/minimum-total-distance-traveled,"Array, Dynamic Programming, Sorting" MEDIUM,Combination Sum III,13.5,0.007386849821829906,https://leetcode.com/problems/combination-sum-iii,"Array, Backtracking" MEDIUM,Minimum Array End,13.5,0.0055345924258733735,https://leetcode.com/problems/minimum-array-end,Bit Manipulation MEDIUM,Shortest Subarray to be Removed to Make Array Sorted,13.5,0.005137318814118949,https://leetcode.com/problems/shortest-subarray-to-be-removed-to-make-array-sorted,"Array, Two Pointers, Binary Search, Stack, Monotonic Stack" EASY,Nim Game,13.5,0.0060667825905055765,https://leetcode.com/problems/nim-game,"Math, Brainteaser, Minimax, Game Theory, Nim Game, Impartial Game" EASY,Smallest Even Multiple,13.5,0.008848967846345182,https://leetcode.com/problems/smallest-even-multiple,"Math, Number Theory" MEDIUM,Find Score of an Array After Marking All Elements,13.5,0.006426972748293582,https://leetcode.com/problems/find-score-of-an-array-after-marking-all-elements,"Array, Hash Table, Sorting, Heap (Priority Queue), Simulation" MEDIUM,Continuous Subarrays,13.5,0.005747562296858072,https://leetcode.com/problems/continuous-subarrays,"Array, Queue, Sliding Window, Heap (Priority Queue), Ordered Set, Monotonic Queue" MEDIUM,Maximum Average Pass Ratio,13.5,0.007409616699457211,https://leetcode.com/problems/maximum-average-pass-ratio,"Array, Greedy, Heap (Priority Queue)" EASY,Make Array Elements Equal to Zero,13.5,0.0068155752456745015,https://leetcode.com/problems/make-array-elements-equal-to-zero,"Array, Simulation, Prefix Sum" MEDIUM,Max Chunks To Make Sorted,13.5,0.006441347505589534,https://leetcode.com/problems/max-chunks-to-make-sorted,"Array, Stack, Greedy, Sorting, Monotonic Stack" MEDIUM,Count Beautiful Splits in an Array,13.5,0.0019328906753125626,https://leetcode.com/problems/count-beautiful-splits-in-an-array,"Array, Dynamic Programming" EASY,Find Center of Star Graph,13.5,0.008662694205812466,https://leetcode.com/problems/find-center-of-star-graph,Graph Theory HARD,Maximum Sum of 3 Non-Overlapping Subarrays,13.5,0.006008698175540938,https://leetcode.com/problems/maximum-sum-of-3-non-overlapping-subarrays,"Array, Dynamic Programming, Sliding Window, Prefix Sum" MEDIUM,Minimum Number of Operations to Move All Balls to Each Box,13.5,0.00901540037124752,https://leetcode.com/problems/minimum-number-of-operations-to-move-all-balls-to-each-box,"Array, String, Prefix Sum" EASY,Count Prefix and Suffix Pairs I,13.5,0.007770870118381775,https://leetcode.com/problems/count-prefix-and-suffix-pairs-i,"Array, String, Trie, Rolling Hash, String Matching, Hash Function" MEDIUM,Check if a Parentheses String Can Be Valid,13.5,0.004534403631073088,https://leetcode.com/problems/check-if-a-parentheses-string-can-be-valid,"String, Stack, Greedy, Bracket Sequences" MEDIUM,Find the Prefix Common Array of Two Arrays,13.5,0.008788805984353885,https://leetcode.com/problems/find-the-prefix-common-array-of-two-arrays,"Array, Hash Table, Bit Manipulation" EASY,Merge Two Binary Trees,13.5,0.007921909316693693,https://leetcode.com/problems/merge-two-binary-trees,"Tree, Depth-First Search, Breadth-First Search, Binary Tree" HARD,Shortest Path in a Grid with Obstacles Elimination,13.5,0.004678137263147204,https://leetcode.com/problems/shortest-path-in-a-grid-with-obstacles-elimination,"Array, Breadth-First Search, Matrix" HARD,Shortest Distance from All Buildings,13.5,0.004502211518468349,https://leetcode.com/problems/shortest-distance-from-all-buildings,"Array, Breadth-First Search, Matrix" MEDIUM,Shortest Unsorted Continuous Subarray,13.5,0.0038707206044318308,https://leetcode.com/problems/shortest-unsorted-continuous-subarray,"Array, Two Pointers, Stack, Greedy, Sorting, Monotonic Stack" MEDIUM,Find the Number of Distinct Colors Among the Balls,13.5,0.005409157505724612,https://leetcode.com/problems/find-the-number-of-distinct-colors-among-the-balls,"Array, Hash Table, Simulation" MEDIUM,Construct Quad Tree,13.5,0.007878295310969464,https://leetcode.com/problems/construct-quad-tree,"Array, Divide and Conquer, Tree, Matrix" MEDIUM,Product of the Last K Numbers,13.5,0.006308162635677758,https://leetcode.com/problems/product-of-the-last-k-numbers,"Array, Math, Design, Data Stream, Prefix Sum" MEDIUM,Count Salary Categories,13.5,0.006579926263331117,https://leetcode.com/problems/count-salary-categories,Database MEDIUM,Construct Binary Tree from Preorder and Postorder Traversal,13.5,0.007812207020929146,https://leetcode.com/problems/construct-binary-tree-from-preorder-and-postorder-traversal,"Array, Hash Table, Divide and Conquer, Tree, Binary Tree" MEDIUM,Length of Longest Fibonacci Subsequence,13.5,0.0057562876476284375,https://leetcode.com/problems/length-of-longest-fibonacci-subsequence,"Array, Hash Table, Dynamic Programming" MEDIUM,Count Total Number of Colored Cells,13.5,0.006619736445404753,https://leetcode.com/problems/count-total-number-of-colored-cells,Math MEDIUM,Closest Prime Numbers in Range,13.5,0.005205827403069043,https://leetcode.com/problems/closest-prime-numbers-in-range,"Math, Number Theory, Primality Test, Sieve Theory, Prime Number Sieve" MEDIUM,Walls and Gates,13.5,0.006424404724531321,https://leetcode.com/problems/walls-and-gates,"Array, Breadth-First Search, Matrix" MEDIUM,Alternating Groups II,13.5,0.006001519418238133,https://leetcode.com/problems/alternating-groups-ii,"Array, Sliding Window" MEDIUM,Pacific Atlantic Water Flow,13.5,0.006161835626388291,https://leetcode.com/problems/pacific-atlantic-water-flow,"Array, Depth-First Search, Breadth-First Search, Matrix" MEDIUM,Separate Squares I,13.5,0.0057698415155764135,https://leetcode.com/problems/separate-squares-i,"Array, Binary Search" MEDIUM,Lowest Common Ancestor of Deepest Leaves,13.5,0.007957927251749725,https://leetcode.com/problems/lowest-common-ancestor-of-deepest-leaves,"Hash Table, Tree, Depth-First Search, Breadth-First Search, Binary Tree, Binary Lifting, Lowest Common Ancestor, DP on Trees" EASY,Minimum Number of Operations to Make Elements in Array Distinct,13.5,0.007106361874884665,https://leetcode.com/problems/minimum-number-of-operations-to-make-elements-in-array-distinct,"Array, Hash Table" EASY,Count Largest Group,13.5,0.007464797471545188,https://leetcode.com/problems/count-largest-group,"Hash Table, Math, Counting" EASY,Flipping an Image,13.5,0.008406678345449366,https://leetcode.com/problems/flipping-an-image,"Array, Two Pointers, Bit Manipulation, Matrix, Simulation" EASY,Minimum Number Game,13.5,0.008558588156836593,https://leetcode.com/problems/minimum-number-game,"Array, Sorting, Heap (Priority Queue), Simulation" MEDIUM,Remove Methods From Project,13.5,0.006993273485255377,https://leetcode.com/problems/remove-methods-from-project,"Depth-First Search, Breadth-First Search, Graph Theory" MEDIUM,Find Minimum Time to Reach Last Room I,13.5,0.005527207825449313,https://leetcode.com/problems/find-minimum-time-to-reach-last-room-i,"Array, Graph Theory, Heap (Priority Queue), Matrix, Shortest Path" MEDIUM,Furthest Building You Can Reach,13.5,0.005120214163959792,https://leetcode.com/problems/furthest-building-you-can-reach,"Array, Greedy, Heap (Priority Queue)" HARD,Painting a Grid With Three Different Colors,13.5,0.007685811645019507,https://leetcode.com/problems/painting-a-grid-with-three-different-colors,"Dynamic Programming, Graph Coloring" EASY,Divisible and Non-divisible Sums Difference,13.5,0.009099876882856317,https://leetcode.com/problems/divisible-and-non-divisible-sums-difference,Math MEDIUM,Longest Palindrome by Concatenating Two Letter Words,13.5,0.005342990734019386,https://leetcode.com/problems/longest-palindrome-by-concatenating-two-letter-words,"Array, Hash Table, String, Greedy, Counting" MEDIUM,Insert into a Binary Search Tree,13.5,0.00736743684707616,https://leetcode.com/problems/insert-into-a-binary-search-tree,"Tree, Binary Search Tree, Binary Tree" EASY,Count the Number of Consistent Strings,13.5,0.00885669230386014,https://leetcode.com/problems/count-the-number-of-consistent-strings,"Array, Hash Table, String, Bit Manipulation, Counting" MEDIUM,Minimum Moves to Clean the Classroom,13.5,0.005848245212731195,https://leetcode.com/problems/minimum-moves-to-clean-the-classroom,"Array, Hash Table, Bit Manipulation, Breadth-First Search, Matrix" MEDIUM,Lexicographically Minimum String After Removing Stars,13.5,0.0050882070949185045,https://leetcode.com/problems/lexicographically-minimum-string-after-removing-stars,"Hash Table, String, Stack, Greedy, Heap (Priority Queue)" EASY,Maximum Difference Between Increasing Elements,13.5,0.006671308281687195,https://leetcode.com/problems/maximum-difference-between-increasing-elements,Array MEDIUM,Max Difference You Can Get From Changing an Integer,13.5,0.004860729978619169,https://leetcode.com/problems/max-difference-you-can-get-from-changing-an-integer,"Math, Greedy" MEDIUM,Divide Array Into Arrays With Max Difference,13.5,0.007888065635291626,https://leetcode.com/problems/divide-array-into-arrays-with-max-difference,"Array, Greedy, Sorting" EASY,Divide a String Into Groups of Size k,13.5,0.007694999594573256,https://leetcode.com/problems/divide-a-string-into-groups-of-size-k,"String, Simulation" MEDIUM,Minimum Deletions to Make String K-Special,13.5,0.006690583226651582,https://leetcode.com/problems/minimum-deletions-to-make-string-k-special,"Hash Table, String, Greedy, Sorting, Counting" EASY,Find the Original Typed String I,13.5,0.007192760401024013,https://leetcode.com/problems/find-the-original-typed-string-i,String EASY,Height Checker,13.5,0.00821363208675161,https://leetcode.com/problems/height-checker,"Array, Sorting, Counting Sort, Bubble Sort" EASY,Find the Middle Index in Array,13.5,0.007084180122369258,https://leetcode.com/problems/find-the-middle-index-in-array,"Array, Prefix Sum" EASY,Special Array I,13.5,0.008143526022511645,https://leetcode.com/problems/special-array-i,Array EASY,Find Lucky Integer in an Array,13.5,0.007566687164486696,https://leetcode.com/problems/find-lucky-integer-in-an-array,"Array, Hash Table, Counting" MEDIUM,Finding Pairs With a Certain Sum,13.5,0.006153080067224101,https://leetcode.com/problems/finding-pairs-with-a-certain-sum,"Array, Hash Table, Design" MEDIUM,Reschedule Meetings for Maximum Free Time II,13.5,0.006007158075335579,https://leetcode.com/problems/reschedule-meetings-for-maximum-free-time-ii,"Array, Greedy, Enumeration" EASY,Longest Continuous Increasing Subsequence,13.5,0.005254768660280362,https://leetcode.com/problems/longest-continuous-increasing-subsequence,Array EASY,Calculate Amount Paid in Taxes,13.5,0.0069722103270301325,https://leetcode.com/problems/calculate-amount-paid-in-taxes,"Array, Simulation" MEDIUM,Minimum Penalty for a Shop,13.5,0.007125134290958376,https://leetcode.com/problems/minimum-penalty-for-a-shop,"String, Prefix Sum" EASY,Maximum Unique Subarray Sum After Deletion,13.5,0.00405152035966473,https://leetcode.com/problems/maximum-unique-subarray-sum-after-deletion,"Array, Hash Table, Greedy" MEDIUM,Market Analysis I,13.5,0.005821414000461203,https://leetcode.com/problems/market-analysis-i,Database EASY,Sum of Unique Elements,13.5,0.008046510077924098,https://leetcode.com/problems/sum-of-unique-elements,"Array, Hash Table, Counting" EASY,Verifying an Alien Dictionary,13.5,0.005617389753505922,https://leetcode.com/problems/verifying-an-alien-dictionary,"Array, Hash Table, String" MEDIUM,Fruits Into Baskets III,13.5,0.003946299186509839,https://leetcode.com/problems/fruits-into-baskets-iii,"Array, Binary Search, Segment Tree, Ordered Set" HARD,Find the Maximum Number of Fruits Collected,13.5,0.0064617585894314,https://leetcode.com/problems/find-the-maximum-number-of-fruits-collected,"Array, Dynamic Programming, Matrix" MEDIUM,Range Product Queries of Powers,13.5,0.006119820771778668,https://leetcode.com/problems/range-product-queries-of-powers,"Array, Bit Manipulation, Prefix Sum" EASY,Shortest Distance to a Character,13.5,0.00730838142284671,https://leetcode.com/problems/shortest-distance-to-a-character,"Array, Two Pointers, String" HARD,Max Sum of Rectangle No Larger Than K,13.5,0.004623487574952376,https://leetcode.com/problems/max-sum-of-rectangle-no-larger-than-k,"Array, Binary Search, Matrix, Prefix Sum, Ordered Set" HARD,24 Game,13.5,0.0059710177495854565,https://leetcode.com/problems/24-game,"Array, Math, Backtracking" EASY,Number of Steps to Reduce a Number to Zero,13.5,0.008593670798180745,https://leetcode.com/problems/number-of-steps-to-reduce-a-number-to-zero,"Math, Bit Manipulation" EASY,Hamming Distance,13.5,0.007716182397330562,https://leetcode.com/problems/hamming-distance,Bit Manipulation HARD,Minimum Operations to Make Array Elements Zero,13.5,0.006008233234925142,https://leetcode.com/problems/minimum-operations-to-make-array-elements-zero,"Array, Math, Bit Manipulation" EASY,Maximum Repeating Substring,13.5,0.004256045705464394,https://leetcode.com/problems/maximum-repeating-substring,"String, Dynamic Programming, String Matching" MEDIUM,Reverse Nodes in Even Length Groups,13.5,0.006554634438673592,https://leetcode.com/problems/reverse-nodes-in-even-length-groups,Linked List EASY,Largest Perimeter Triangle,13.5,0.006261582447790989,https://leetcode.com/problems/largest-perimeter-triangle,"Array, Math, Greedy, Sorting, Quicksort, Polygons" HARD,Contains Duplicate III,13.5,0.002537384525691343,https://leetcode.com/problems/contains-duplicate-iii,"Array, Sliding Window, Sorting, Bucket Sort, Ordered Set" MEDIUM,Maximum Palindromes After Operations,13.5,0.004751480317086812,https://leetcode.com/problems/maximum-palindromes-after-operations,"Array, Hash Table, String, Greedy, Sorting, Counting" HARD,Super Egg Drop,13.5,0.0030960982968009053,https://leetcode.com/problems/super-egg-drop,"Math, Binary Search, Dynamic Programming" MEDIUM,Maximum Tastiness of Candy Basket,13.5,0.006890517136974687,https://leetcode.com/problems/maximum-tastiness-of-candy-basket,"Array, Binary Search, Greedy, Sorting" MEDIUM,Avoid Flood in The City,13.5,0.0038957340578370148,https://leetcode.com/problems/avoid-flood-in-the-city,"Array, Hash Table, Binary Search, Greedy, Heap (Priority Queue)" MEDIUM,Remove K-Balanced Substrings,13.5,0.0032870056148577775,https://leetcode.com/problems/remove-k-balanced-substrings,"String, Stack, Simulation" EASY,Find the Distance Value Between Two Arrays,13.5,0.00724738691595496,https://leetcode.com/problems/find-the-distance-value-between-two-arrays,"Array, Two Pointers, Binary Search, Sorting" MEDIUM,Longest Balanced Substring I,13.5,0.006910272326002995,https://leetcode.com/problems/longest-balanced-substring-i,"Hash Table, String, Counting, Enumeration" MEDIUM,Simple Bank System,13.5,0.006942714310585578,https://leetcode.com/problems/simple-bank-system,"Array, Hash Table, Design, Simulation" EASY,Range Sum of BST,13.5,0.008764996711925549,https://leetcode.com/problems/range-sum-of-bst,"Tree, Depth-First Search, Binary Search Tree, Binary Tree" HARD,Maximum Frequency Stack,13.5,0.006718534057935105,https://leetcode.com/problems/maximum-frequency-stack,"Hash Table, Stack, Design, Ordered Set" EASY,Find X-Sum of All K-Long Subarrays I,13.5,0.007576488040051921,https://leetcode.com/problems/find-x-sum-of-all-k-long-subarrays-i,"Array, Hash Table, Sliding Window, Heap (Priority Queue)" MEDIUM,Longest Substring with At Least K Repeating Characters,13.5,0.0046874977213299555,https://leetcode.com/problems/longest-substring-with-at-least-k-repeating-characters,"Hash Table, String, Divide and Conquer, Sliding Window" MEDIUM,Determine if Two Strings Are Close,13.5,0.00544642370709096,https://leetcode.com/problems/determine-if-two-strings-are-close,"Hash Table, String, Sorting, Counting" MEDIUM,Number of Distinct Islands,13.5,0.006303565529284062,https://leetcode.com/problems/number-of-distinct-islands,"Array, Hash Table, Depth-First Search, Breadth-First Search, Union-Find, Sorting, Matrix, Hash Function" HARD,The Skyline Problem,13.5,0.004615911306707815,https://leetcode.com/problems/the-skyline-problem,"Array, Divide and Conquer, Binary Indexed Tree, Segment Tree, Sweep Line, Sorting, Heap (Priority Queue), Ordered Set" EASY,Reshape Data: Melt,13.5,0.008600975656339778,https://leetcode.com/problems/reshape-data-melt, MEDIUM,Map of Highest Peak,13.5,0.00763598565426065,https://leetcode.com/problems/map-of-highest-peak,"Array, Breadth-First Search, Matrix" MEDIUM,Soup Servings,13.5,0.005952975351163095,https://leetcode.com/problems/soup-servings,"Math, Dynamic Programming, Probability and Statistics" MEDIUM,Maximum Matrix Sum,13.5,0.006749862694329556,https://leetcode.com/problems/maximum-matrix-sum,"Array, Greedy, Matrix" MEDIUM,Online Election,13.5,0.005328390309434157,https://leetcode.com/problems/online-election,"Array, Hash Table, Binary Search, Design" MEDIUM,Wiggle Sort II,13.5,0.0038581619923140943,https://leetcode.com/problems/wiggle-sort-ii,"Array, Divide and Conquer, Greedy, Sorting, Quickselect" MEDIUM,Maximum Product of Splitted Binary Tree,13.5,0.005578726305511599,https://leetcode.com/problems/maximum-product-of-splitted-binary-tree,"Tree, Depth-First Search, Binary Tree" MEDIUM,Smallest Subtree with all the Deepest Nodes,13.5,0.007775023008059792,https://leetcode.com/problems/smallest-subtree-with-all-the-deepest-nodes,"Hash Table, Tree, Depth-First Search, Breadth-First Search, Binary Tree, Binary Lifting, Lowest Common Ancestor, DP on Trees" MEDIUM,Find the Length of the Longest Common Prefix,13.5,0.006232793561692155,https://leetcode.com/problems/find-the-length-of-the-longest-common-prefix,"Array, Hash Table, String, Trie" MEDIUM,Maximum Square Area by Removing Fences From a Field,13.5,0.0049413462110544796,https://leetcode.com/problems/maximum-square-area-by-removing-fences-from-a-field,"Array, Hash Table, Enumeration" EASY,Find Missing Elements,13.5,0.008821336185998792,https://leetcode.com/problems/find-missing-elements,"Array, Hash Table, Sorting" MEDIUM,Find the Largest Area of Square Inside Two Rectangles,13.5,0.00667915663586239,https://leetcode.com/problems/find-the-largest-area-of-square-inside-two-rectangles,"Array, Math, Geometry" EASY,N-Repeated Element in Size 2N Array,13.5,0.008004390995183013,https://leetcode.com/problems/n-repeated-element-in-size-2n-array,"Array, Hash Table, Pigeonhole Principle" MEDIUM,Take K of Each Character From Left and Right,13.5,0.0051553512758379825,https://leetcode.com/problems/take-k-of-each-character-from-left-and-right,"Hash Table, String, Sliding Window" MEDIUM,Exclusive Time of Functions,13.5,0.006628632909137011,https://leetcode.com/problems/exclusive-time-of-functions,"Array, Stack" EASY,Subtract the Product and Sum of Digits of an Integer,13.5,0.008661711968618672,https://leetcode.com/problems/subtract-the-product-and-sum-of-digits-of-an-integer,Math MEDIUM,Rectangle Area,13.5,0.005039488915263675,https://leetcode.com/problems/rectangle-area,"Math, Geometry" MEDIUM,House Robber III,13.5,0.005647734202459044,https://leetcode.com/problems/house-robber-iii,"Dynamic Programming, Tree, Depth-First Search, Binary Tree, DP on Trees" EASY,Find Words That Can Be Formed by Characters,13.5,0.007180357729218683,https://leetcode.com/problems/find-words-that-can-be-formed-by-characters,"Array, Hash Table, String, Counting" EASY,GCD of Odd and Even Sums,13.5,0.008956819115833969,https://leetcode.com/problems/gcd-of-odd-and-even-sums,"Math, Number Theory" MEDIUM,The Dining Philosophers,13.5,0.005484024594555521,https://leetcode.com/problems/the-dining-philosophers,Concurrency MEDIUM,Longest Balanced Substring II,13.5,0.004165528233151184,https://leetcode.com/problems/longest-balanced-substring-ii,"Hash Table, String, Prefix Sum" MEDIUM,Champagne Tower,13.5,0.0063875537629080525,https://leetcode.com/problems/champagne-tower,Dynamic Programming HARD,Special Binary String,13.5,0.00794166920499543,https://leetcode.com/problems/special-binary-string,"String, Divide and Conquer, Sorting" MEDIUM,Concatenation of Consecutive Binary Numbers,13.5,0.006671860498201354,https://leetcode.com/problems/concatenation-of-consecutive-binary-numbers,"Math, Bit Manipulation, Simulation" HARD,Remove Invalid Parentheses,13.5,0.005255327784610132,https://leetcode.com/problems/remove-invalid-parentheses,"String, Backtracking, Breadth-First Search" MEDIUM,Largest Submatrix With Rearrangements,13.5,0.00801518824518874,https://leetcode.com/problems/largest-submatrix-with-rearrangements,"Array, Greedy, Sorting, Matrix" HARD,Alien Dictionary,13.5,0.0037362128320854184,https://leetcode.com/problems/alien-dictionary,"Array, String, Depth-First Search, Breadth-First Search, Graph Theory, Topological Sort, Directed Acyclic Graph" HARD,Human Traffic of Stadium,13.5,0.0052478122199041384,https://leetcode.com/problems/human-traffic-of-stadium,Database MEDIUM,Maximum Amount of Money Robot Can Earn,13.5,0.0047887023240298,https://leetcode.com/problems/maximum-amount-of-money-robot-can-earn,"Array, Dynamic Programming, Matrix" MEDIUM,Merge In Between Linked Lists,13.5,0.008323188540758362,https://leetcode.com/problems/merge-in-between-linked-lists,Linked List MEDIUM,Closest Equal Element Queries,13.5,0.005137772399419906,https://leetcode.com/problems/closest-equal-element-queries,"Array, Hash Table, Binary Search" MEDIUM,Beautiful Array,13.5,0.007088606307222789,https://leetcode.com/problems/beautiful-array,"Array, Math, Divide and Conquer" EASY,Two Furthest Houses With Different Colors,13.5,0.007162970697684508,https://leetcode.com/problems/two-furthest-houses-with-different-colors,"Array, Greedy" MEDIUM,Words Within Two Edits of Dictionary,13.5,0.007334558612371489,https://leetcode.com/problems/words-within-two-edits-of-dictionary,"Array, String, Trie" HARD,Frog Jump,13.5,0.00477469348413137,https://leetcode.com/problems/frog-jump,"Array, Dynamic Programming" MEDIUM,Minimum Operations to Reduce an Integer to 0,13.5,0.006353253069685856,https://leetcode.com/problems/minimum-operations-to-reduce-an-integer-to-0,"Dynamic Programming, Greedy, Bit Manipulation" MEDIUM,Minimize Hamming Distance After Swap Operations,13.5,0.006976332383173534,https://leetcode.com/problems/minimize-hamming-distance-after-swap-operations,"Array, Depth-First Search, Union-Find" MEDIUM,Guess Number Higher or Lower II,13.5,0.005373499053357906,https://leetcode.com/problems/guess-number-higher-or-lower-ii,"Math, Dynamic Programming, Minimax, Game Theory" MEDIUM,Swapping Nodes in a Linked List,13.5,0.006988926884183858,https://leetcode.com/problems/swapping-nodes-in-a-linked-list,"Linked List, Two Pointers" EASY,Valid Mountain Array,13.5,0.003590314278768369,https://leetcode.com/problems/valid-mountain-array,Array MEDIUM,Total Cost to Hire K Workers,13.5,0.004396174289939818,https://leetcode.com/problems/total-cost-to-hire-k-workers,"Array, Two Pointers, Heap (Priority Queue), Simulation" MEDIUM,Minimum Moves to Equal Array Elements,13.5,0.005926753060492752,https://leetcode.com/problems/minimum-moves-to-equal-array-elements,"Array, Math" EASY,Three Divisors,13.5,0.006516054123690193,https://leetcode.com/problems/three-divisors,"Math, Enumeration, Number Theory, Prime Factorization, Sieve Theory" MEDIUM,Number of Boomerangs,13.5,0.005827590550887196,https://leetcode.com/problems/number-of-boomerangs,"Array, Hash Table, Math" MEDIUM,Nth Digit,13.5,0.003923413694162988,https://leetcode.com/problems/nth-digit,"Math, Binary Search" EASY,Minimum Cost of Buying Candies With Discount,13.5,0.007164475634767565,https://leetcode.com/problems/minimum-cost-of-buying-candies-with-discount,"Array, Greedy, Sorting" MEDIUM,Bulls and Cows,13.5,0.005313798754210995,https://leetcode.com/problems/bulls-and-cows,"Hash Table, String, Counting" EASY,Earliest Finish Time for Land and Water Rides I,13.5,0.007263444359547594,https://leetcode.com/problems/earliest-finish-time-for-land-and-water-rides-i,"Array, Two Pointers, Binary Search, Greedy, Sorting" MEDIUM,Get Equal Substrings Within Budget,13.5,0.006033765290733397,https://leetcode.com/problems/get-equal-substrings-within-budget,"String, Binary Search, Sliding Window, Prefix Sum" HARD,Number of Ways to Assign Edge Weights II,13.5,0.007179455648466961,https://leetcode.com/problems/number-of-ways-to-assign-edge-weights-ii,"Array, Math, Dynamic Programming, Bit Manipulation, Tree, Depth-First Search" MEDIUM,Process String with Special Operations I,13.5,0.0071255716568405965,https://leetcode.com/problems/process-string-with-special-operations-i,"String, Simulation" MEDIUM,Find the Maximum Number of Elements in Subset,13.5,0.004225918175914568,https://leetcode.com/problems/find-the-maximum-number-of-elements-in-subset,"Array, Hash Table, Enumeration" HARD,Number of Paths with Max Score,13.5,0.006297990213093221,https://leetcode.com/problems/number-of-paths-with-max-score,"Array, Dynamic Programming, Matrix" MEDIUM,Remove Covered Intervals,13.5,0.006026430368280006,https://leetcode.com/problems/remove-covered-intervals,"Array, Sorting" MEDIUM,Path Existence Queries in a Graph I,13.5,0.0070095164132047486,https://leetcode.com/problems/path-existence-queries-in-a-graph-i,"Array, Hash Table, Binary Search, Union-Find, Graph Theory" HARD,Find the Number of Subsequences With Equal GCD,13.5,0.0066283049227728276,https://leetcode.com/problems/find-the-number-of-subsequences-with-equal-gcd,"Array, Math, Dynamic Programming, Number Theory, Euclidean Algorithm, Greatest Common Divisor" MEDIUM,Smallest Subsequence of Distinct Characters,13.5,0.007068634265447611,https://leetcode.com/problems/smallest-subsequence-of-distinct-characters,"String, Stack, Greedy, Monotonic Stack" EASY,Shift 2D Grid,13.5,0.007455316287297342,https://leetcode.com/problems/shift-2d-grid,"Array, Matrix, Simulation" EASY,Maximum Product of Two Digits,13.5,0.0075263609569431855,https://leetcode.com/problems/maximum-product-of-two-digits,"Math, Sorting" MEDIUM,Shortest Bridge,13.5,0.005986790330488956,https://leetcode.com/problems/shortest-bridge,"Array, Depth-First Search, Breadth-First Search, Matrix" EASY,Smallest Missing Integer Greater Than Sequential Prefix Sum,13.5,0.005010910358208257,https://leetcode.com/problems/smallest-missing-integer-greater-than-sequential-prefix-sum,"Array, Hash Table, Sorting" EASY,Maximum Length Substring With Two Occurrences,13.5,0.007775085669429222,https://leetcode.com/problems/maximum-length-substring-with-two-occurrences,"Hash Table, String, Sliding Window" HARD,Kth Smallest Amount With Single Denomination Combination,13.5,0.005072417439201318,https://leetcode.com/problems/kth-smallest-amount-with-single-denomination-combination,"Array, Math, Binary Search, Bit Manipulation, Combinatorics, Number Theory" MEDIUM,Sum of Distances,13.5,0.005015233760895636,https://leetcode.com/problems/sum-of-distances,"Array, Hash Table, Prefix Sum" MEDIUM,Removing Minimum and Maximum From Array,13.5,0.006759912773950937,https://leetcode.com/problems/removing-minimum-and-maximum-from-array,"Array, Greedy" EASY,Count Commas in Range,13.5,0.007812957753577763,https://leetcode.com/problems/count-commas-in-range,Math HARD,Maximum Score of Non-overlapping Intervals,13.5,0.006564291082277736,https://leetcode.com/problems/maximum-score-of-non-overlapping-intervals,"Array, Binary Search, Dynamic Programming, Sorting" MEDIUM,Image Overlap,13.5,0.007091599831152385,https://leetcode.com/problems/image-overlap,"Array, Matrix" EASY,Matrix Diagonal Sum,13.5,0.008469618753894709,https://leetcode.com/problems/matrix-diagonal-sum,"Array, Matrix" EASY,Maximum Count of Positive Integer and Negative Integer,13.5,0.007421014616715137,https://leetcode.com/problems/maximum-count-of-positive-integer-and-negative-integer,"Array, Binary Search, Counting" EASY,Reverse Degree of a String,13.5,0.00918713197737673,https://leetcode.com/problems/reverse-degree-of-a-string,"String, Simulation" HARD,Brace Expansion II,13.5,0.007948399772504007,https://leetcode.com/problems/brace-expansion-ii,"Hash Table, String, Backtracking, Stack, Breadth-First Search, Sorting" MEDIUM,Maximum Nesting Depth of Two Valid Parentheses Strings,13.5,0.008301492158317129,https://leetcode.com/problems/maximum-nesting-depth-of-two-valid-parentheses-strings,"String, Stack, Bracket Sequences" MEDIUM,Minimum Sum of Squared Difference,13.5,0.004265830876136668,https://leetcode.com/problems/minimum-sum-of-squared-difference,"Array, Binary Search, Greedy, Sorting, Heap (Priority Queue)" EASY,Sum of Squares of Special Elements ,13.5,0.008693564190034829,https://leetcode.com/problems/sum-of-squares-of-special-elements,"Array, Enumeration" MEDIUM,Construct Binary Tree from Inorder and Postorder Traversal,8.3,0.006980949331786889,https://leetcode.com/problems/construct-binary-tree-from-inorder-and-postorder-traversal,"Array, Hash Table, Divide and Conquer, Tree, Binary Tree" MEDIUM,Find Right Interval,8.3,0.0056823888149998385,https://leetcode.com/problems/find-right-interval,"Array, Binary Search, Sorting" EASY,Find Mode in Binary Search Tree,8.3,0.005951084631487682,https://leetcode.com/problems/find-mode-in-binary-search-tree,"Tree, Depth-First Search, Binary Search Tree, Binary Tree" MEDIUM,Maximum Length of Repeated Subarray,8.3,0.005162348395000762,https://leetcode.com/problems/maximum-length-of-repeated-subarray,"Array, Binary Search, Dynamic Programming, Sliding Window, Rolling Hash, Hash Function" EASY,Design HashSet,8.3,0.006843263508754416,https://leetcode.com/problems/design-hashset,"Array, Hash Table, Linked List, Design, Hash Function" MEDIUM,Knight Dialer,8.3,0.00622703660330901,https://leetcode.com/problems/knight-dialer,Dynamic Programming MEDIUM,Interval List Intersections,8.3,0.007325114539458966,https://leetcode.com/problems/interval-list-intersections,"Array, Two Pointers, Sweep Line" MEDIUM,Longest Arithmetic Subsequence,8.3,0.005022491918561788,https://leetcode.com/problems/longest-arithmetic-subsequence,"Array, Hash Table, Binary Search, Dynamic Programming" MEDIUM,Flower Planting With No Adjacent,8.3,0.005440791958753783,https://leetcode.com/problems/flower-planting-with-no-adjacent,"Depth-First Search, Breadth-First Search, Graph Theory, Graph Coloring" HARD,Longest Duplicate Substring,8.3,0.00315119230057634,https://leetcode.com/problems/longest-duplicate-substring,"String, Binary Search, Sliding Window, Rolling Hash, Suffix Array, Hash Function, Suffix Automaton, Suffix Tree, Z Algorithm, Boyer–Moore String-Search Algorithm" EASY,Relative Sort Array,8.3,0.007550868180778636,https://leetcode.com/problems/relative-sort-array,"Array, Hash Table, Sorting, Counting Sort, Quicksort, Bubble Sort" HARD,Minimum Falling Path Sum II,8.3,0.0062886384142969405,https://leetcode.com/problems/minimum-falling-path-sum-ii,"Array, Dynamic Programming, Matrix" EASY,Find Resultant Array After Removing Anagrams,8.3,0.007002166074305065,https://leetcode.com/problems/find-resultant-array-after-removing-anagrams,"Array, Hash Table, String, Sorting" MEDIUM,Group the People Given the Group Size They Belong To,8.3,0.008754714570965638,https://leetcode.com/problems/group-the-people-given-the-group-size-they-belong-to,"Array, Hash Table, Greedy" EASY,Water Bottles,8.3,0.007254781940973949,https://leetcode.com/problems/water-bottles,"Math, Simulation" HARD,Minimum Cost to Cut a Stick,8.3,0.006350125453762531,https://leetcode.com/problems/minimum-cost-to-cut-a-stick,"Array, Dynamic Programming, Sorting" EASY,Patients With a Condition,8.3,0.0039497448250835785,https://leetcode.com/problems/patients-with-a-condition,Database MEDIUM,Minimum Time to Make Rope Colorful,8.3,0.006516374971832044,https://leetcode.com/problems/minimum-time-to-make-rope-colorful,"Array, String, Dynamic Programming, Greedy" EASY,Percentage of Users Attended a Contest,8.3,0.0061546254113623855,https://leetcode.com/problems/percentage-of-users-attended-a-contest,Database EASY,Sum of All Subset XOR Totals,8.3,0.009014154827595999,https://leetcode.com/problems/sum-of-all-subset-xor-totals,"Array, Math, Backtracking, Bit Manipulation, Combinatorics, Enumeration" HARD,Minimum Number of Operations to Make Array Continuous,8.3,0.005172009647940754,https://leetcode.com/problems/minimum-number-of-operations-to-make-array-continuous,"Array, Hash Table, Binary Search, Sliding Window" MEDIUM,Maximum Twin Sum of a Linked List,8.3,0.00832618733300108,https://leetcode.com/problems/maximum-twin-sum-of-a-linked-list,"Linked List, Two Pointers, Stack" EASY,Find Common Elements Between Two Arrays,8.3,0.008404376103837851,https://leetcode.com/problems/find-common-elements-between-two-arrays,"Array, Hash Table" MEDIUM,Count Numbers with Unique Digits,8.3,0.005640775204645631,https://leetcode.com/problems/count-numbers-with-unique-digits,"Math, Dynamic Programming, Backtracking" EASY,Final Value of Variable After Performing Operations,8.3,0.009061596619968868,https://leetcode.com/problems/final-value-of-variable-after-performing-operations,"Array, String, Simulation" EASY,Create Target Array in the Given Order,8.3,0.008667022915812794,https://leetcode.com/problems/create-target-array-in-the-given-order,"Array, Simulation" MEDIUM,Maximum Total Damage With Spell Casting,8.3,0.004499005379731129,https://leetcode.com/problems/maximum-total-damage-with-spell-casting,"Array, Hash Table, Two Pointers, Binary Search, Dynamic Programming, Sorting, Counting" MEDIUM,Range Sum of Sorted Subarray Sums,8.3,0.00630106213175163,https://leetcode.com/problems/range-sum-of-sorted-subarray-sums,"Array, Two Pointers, Binary Search, Sorting, Prefix Sum" MEDIUM,Split Linked List in Parts,8.3,0.007080319654295259,https://leetcode.com/problems/split-linked-list-in-parts,Linked List HARD,Strange Printer,8.3,0.006104271793979468,https://leetcode.com/problems/strange-printer,"String, Dynamic Programming" EASY,N-ary Tree Postorder Traversal,8.3,0.008127063440869983,https://leetcode.com/problems/n-ary-tree-postorder-traversal,"Stack, Tree, Depth-First Search" MEDIUM,Longest Subarray With Maximum Bitwise AND,8.3,0.006535606738622138,https://leetcode.com/problems/longest-subarray-with-maximum-bitwise-and,"Array, Bit Manipulation, Brainteaser" MEDIUM,Make Sum Divisible by P,8.3,0.00426171515537623,https://leetcode.com/problems/make-sum-divisible-by-p,"Array, Hash Table, Prefix Sum" MEDIUM,Count Servers that Communicate,8.3,0.007361983613070885,https://leetcode.com/problems/count-servers-that-communicate,"Array, Depth-First Search, Breadth-First Search, Union-Find, Matrix, Counting" EASY,Sort By,8.3,0.008303966628601629,https://leetcode.com/problems/sort-by, MEDIUM,Number of Ways to Arrive at Destination,8.3,0.0037818083034809827,https://leetcode.com/problems/number-of-ways-to-arrive-at-destination,"Dynamic Programming, Graph Theory, Topological Sort, Shortest Path, Dijkstra's Algorithm" MEDIUM,Longest Happy String,8.3,0.006559184188490083,https://leetcode.com/problems/longest-happy-string,"String, Greedy, Heap (Priority Queue)" HARD,Parsing A Boolean Expression,8.3,0.0069814546253570645,https://leetcode.com/problems/parsing-a-boolean-expression,"String, Stack, Recursion" MEDIUM,Minimum Number of Changes to Make Binary String Beautiful,8.3,0.007625252608381569,https://leetcode.com/problems/minimum-number-of-changes-to-make-binary-string-beautiful,String EASY,Count Good Triplets,8.3,0.008560365023698576,https://leetcode.com/problems/count-good-triplets,"Array, Enumeration" MEDIUM,Maximum XOR for Each Query,8.3,0.008461942047664399,https://leetcode.com/problems/maximum-xor-for-each-query,"Array, Bit Manipulation, Prefix Sum" MEDIUM,Find a Safe Walk Through a Grid,8.3,0.005543597401153278,https://leetcode.com/problems/find-a-safe-walk-through-a-grid,"Array, Breadth-First Search, Graph Theory, Heap (Priority Queue), Matrix, Shortest Path" EASY,Degree of an Array,8.3,0.005877474324687074,https://leetcode.com/problems/degree-of-an-array,"Array, Hash Table" HARD,Maximum Sum BST in Binary Tree,8.3,0.004915238077077096,https://leetcode.com/problems/maximum-sum-bst-in-binary-tree,"Dynamic Programming, Tree, Depth-First Search, Binary Search Tree, Binary Tree, DP on Trees" EASY,Delete Characters to Make Fancy String,8.3,0.007399829841539934,https://leetcode.com/problems/delete-characters-to-make-fancy-string,String MEDIUM,Special Array II,8.3,0.004579925553536534,https://leetcode.com/problems/special-array-ii,"Array, Binary Search, Prefix Sum" EASY,Counting Words With a Given Prefix,8.3,0.008439923230716255,https://leetcode.com/problems/counting-words-with-a-given-prefix,"Array, String, String Matching" MEDIUM,Word Subsets,8.3,0.005603764124308478,https://leetcode.com/problems/word-subsets,"Array, Hash Table, String" EASY,Swap Sex of Employees,8.3,0.008508972478951054,https://leetcode.com/problems/swap-sex-of-employees,Database MEDIUM,Construct K Palindrome Strings,8.3,0.0068524519059039645,https://leetcode.com/problems/construct-k-palindrome-strings,"Hash Table, String, Greedy, Counting" MEDIUM,Maximum Distance in Arrays,8.3,0.004565961599939028,https://leetcode.com/problems/maximum-distance-in-arrays,"Array, Greedy" MEDIUM,Grid Game,8.3,0.006086128853036561,https://leetcode.com/problems/grid-game,"Array, Matrix, Prefix Sum" MEDIUM,Paint House IV,8.3,0.004461198156682027,https://leetcode.com/problems/paint-house-iv,"Array, Dynamic Programming" EASY,Largest Local Values in a Matrix,8.3,0.008772035891192315,https://leetcode.com/problems/largest-local-values-in-a-matrix,"Array, Matrix" EASY,Convert Binary Number in a Linked List to Integer,8.3,0.008245338329958597,https://leetcode.com/problems/convert-binary-number-in-a-linked-list-to-integer,"Linked List, Math" MEDIUM,Shortest Path in a Hidden Grid,8.3,0.0044771135159565115,https://leetcode.com/problems/shortest-path-in-a-hidden-grid,"Array, Depth-First Search, Breadth-First Search, Matrix, Interactive" EASY,Sort the People,8.3,0.008480528650236439,https://leetcode.com/problems/sort-the-people,"Array, Hash Table, String, Sorting" EASY,Longest Nice Substring,8.3,0.006491096154198837,https://leetcode.com/problems/longest-nice-substring,"Hash Table, String, Divide and Conquer, Bit Manipulation, Sliding Window" MEDIUM,Find Unique Binary String,8.3,0.008124914721680391,https://leetcode.com/problems/find-unique-binary-string,"Array, Hash Table, String, Backtracking" HARD,Recover a Tree From Preorder Traversal,8.3,0.008324016905907328,https://leetcode.com/problems/recover-a-tree-from-preorder-traversal,"String, Tree, Depth-First Search, Binary Tree" MEDIUM,Check if Number is a Sum of Powers of Three,8.3,0.007933446708777546,https://leetcode.com/problems/check-if-number-is-a-sum-of-powers-of-three,Math MEDIUM,Maximum Subsequence Score,8.3,0.0055101879013716,https://leetcode.com/problems/maximum-subsequence-score,"Array, Greedy, Sorting, Heap (Priority Queue)" MEDIUM,Count of Substrings Containing Every Vowel and K Consonants II,8.3,0.0040694752042877876,https://leetcode.com/problems/count-of-substrings-containing-every-vowel-and-k-consonants-ii,"Hash Table, String, Sliding Window" MEDIUM,Zero Array Transformation II,8.3,0.004351727798983796,https://leetcode.com/problems/zero-array-transformation-ii,"Array, Two Pointers, Binary Search, Prefix Sum" EASY,Divide Array Into Equal Pairs,8.3,0.007925372419167324,https://leetcode.com/problems/divide-array-into-equal-pairs,"Array, Hash Table, Bit Manipulation, Counting" MEDIUM,Find the Minimum and Maximum Number of Nodes Between Critical Points,8.3,0.007298741785722297,https://leetcode.com/problems/find-the-minimum-and-maximum-number-of-nodes-between-critical-points,Linked List MEDIUM,Minimum Operations to Make Binary Array Elements Equal to One I,8.3,0.008026283319153012,https://leetcode.com/problems/minimum-operations-to-make-binary-array-elements-equal-to-one-i,"Array, Bit Manipulation, Queue, Sliding Window, Prefix Sum" EASY,Maximum Units on a Truck,8.3,0.007535095596991057,https://leetcode.com/problems/maximum-units-on-a-truck,"Array, Greedy, Sorting" MEDIUM,Shifting Letters,8.3,0.004661919648025935,https://leetcode.com/problems/shifting-letters,"Array, String, Prefix Sum" MEDIUM,Grumpy Bookstore Owner,8.3,0.006421140822453395,https://leetcode.com/problems/grumpy-bookstore-owner,"Array, Sliding Window" EASY,Largest Number At Least Twice of Others,8.3,0.005338042381432896,https://leetcode.com/problems/largest-number-at-least-twice-of-others,"Array, Sorting" HARD,Count Good Triplets in an Array,8.3,0.0065339216321243536,https://leetcode.com/problems/count-good-triplets-in-an-array,"Array, Binary Search, Divide and Conquer, Binary Indexed Tree, Segment Tree, Merge Sort, Ordered Set" EASY,Count Equal and Divisible Pairs in an Array,8.3,0.008377880278872884,https://leetcode.com/problems/count-equal-and-divisible-pairs-in-an-array,Array MEDIUM,Adding Spaces to a String,8.3,0.00718834798695771,https://leetcode.com/problems/adding-spaces-to-a-string,"Array, Two Pointers, String, Simulation" MEDIUM,Count of Interesting Subarrays,8.3,0.00577991459555774,https://leetcode.com/problems/count-of-interesting-subarrays,"Array, Hash Table, Prefix Sum" EASY,Remove Digit From Number to Maximize Result,8.3,0.004890788566809684,https://leetcode.com/problems/remove-digit-from-number-to-maximize-result,"String, Greedy, Enumeration" MEDIUM,Move Pieces to Obtain a String,8.3,0.005656748951209806,https://leetcode.com/problems/move-pieces-to-obtain-a-string,"Two Pointers, String" EASY,Number of Equivalent Domino Pairs,8.3,0.006081477967009457,https://leetcode.com/problems/number-of-equivalent-domino-pairs,"Array, Hash Table, Counting" HARD,Maximum Number of Tasks You Can Assign,8.3,0.004991962606167702,https://leetcode.com/problems/maximum-number-of-tasks-you-can-assign,"Array, Two Pointers, Binary Search, Greedy, Queue, Sorting, Monotonic Queue" HARD,Dungeon Game,8.3,0.004253097027961885,https://leetcode.com/problems/dungeon-game,"Array, Dynamic Programming, Matrix" MEDIUM,Find Maximum Number of Non Intersecting Substrings,8.3,0.003098606569031708,https://leetcode.com/problems/find-maximum-number-of-non-intersecting-substrings,"Hash Table, String, Dynamic Programming, Greedy" HARD,Maximum Sum of Edge Values in a Graph,8.3,0.003490566037735849,https://leetcode.com/problems/maximum-sum-of-edge-values-in-a-graph,"Math, Greedy, Graph Theory" HARD,Maximum Candies You Can Get from Boxes,8.3,0.006696008893292571,https://leetcode.com/problems/maximum-candies-you-can-get-from-boxes,"Array, Breadth-First Search, Graph Theory" MEDIUM,Find the Lexicographically Largest String From the Box I,8.3,0.004072681027059939,https://leetcode.com/problems/find-the-lexicographically-largest-string-from-the-box-i,"Two Pointers, String, Enumeration" MEDIUM,Minimum Operations to Make the Array Alternating,8.3,0.0036013556546265124,https://leetcode.com/problems/minimum-operations-to-make-the-array-alternating,"Array, Hash Table, Greedy, Counting" HARD,Shortest Subarray with Sum at Least K,8.3,0.003327401254183281,https://leetcode.com/problems/shortest-subarray-with-sum-at-least-k,"Array, Binary Search, Queue, Sliding Window, Heap (Priority Queue), Prefix Sum, Monotonic Queue" EASY,Reverse Prefix of Word,8.3,0.008653688338702295,https://leetcode.com/problems/reverse-prefix-of-word,"Two Pointers, String, Stack" HARD,Maximum Difference Between Even and Odd Frequency II,8.3,0.004837973342029104,https://leetcode.com/problems/maximum-difference-between-even-and-odd-frequency-ii,"String, Sliding Window, Enumeration, Prefix Sum" EASY,Maximum Difference Between Adjacent Elements in a Circular Array,8.3,0.007529388447224119,https://leetcode.com/problems/maximum-difference-between-adjacent-elements-in-a-circular-array,Array MEDIUM,Find Closest Node to Given Two Nodes,8.3,0.005313428728673638,https://leetcode.com/problems/find-closest-node-to-given-two-nodes,"Depth-First Search, Graph Theory" EASY,Generate Tag for Video Caption,8.3,0.003257208208727278,https://leetcode.com/problems/generate-tag-for-video-caption,"String, Simulation" HARD,Sum of k-Mirror Numbers,8.3,0.006354734553478712,https://leetcode.com/problems/sum-of-k-mirror-numbers,"Math, Enumeration" MEDIUM,Insert Greatest Common Divisors in Linked List,8.3,0.009127213761088677,https://leetcode.com/problems/insert-greatest-common-divisors-in-linked-list,"Linked List, Math, Number Theory" HARD,Scramble String,8.3,0.004590994505363811,https://leetcode.com/problems/scramble-string,"String, Dynamic Programming" HARD,Find the Original Typed String II,8.3,0.0045177275978338614,https://leetcode.com/problems/find-the-original-typed-string-ii,"String, Dynamic Programming, Prefix Sum" HARD,Find the K-th Character in String Game II,8.3,0.004822107769720609,https://leetcode.com/problems/find-the-k-th-character-in-string-game-ii,"Math, Bit Manipulation, Recursion" EASY,Find Followers Count,8.3,0.006967307738608903,https://leetcode.com/problems/find-followers-count,Database EASY,Student Attendance Record I,8.3,0.005059932378927723,https://leetcode.com/problems/student-attendance-record-i,String MEDIUM,Reschedule Meetings for Maximum Free Time I,8.3,0.005390600790207624,https://leetcode.com/problems/reschedule-meetings-for-maximum-free-time-i,"Array, Greedy, Sliding Window" HARD,The Earliest and Latest Rounds Where Players Compete,8.3,0.00719533640889782,https://leetcode.com/problems/the-earliest-and-latest-rounds-where-players-compete,"Dynamic Programming, Memoization" HARD,Orderly Queue,8.3,0.006735747384945134,https://leetcode.com/problems/orderly-queue,"Math, String, Sorting, Lexicographically Minimal String Rotation" HARD,Minimum Difference in Sums After Removal of Elements,8.3,0.006950706293021889,https://leetcode.com/problems/minimum-difference-in-sums-after-removal-of-elements,"Array, Dynamic Programming, Heap (Priority Queue)" MEDIUM,Memoize,8.3,0.006539264745129436,https://leetcode.com/problems/memoize, MEDIUM,Maximum Erasure Value,8.3,0.006452505252632515,https://leetcode.com/problems/maximum-erasure-value,"Array, Hash Table, Sliding Window" EASY,Check if Two Chessboard Squares Have the Same Color,8.3,0.007235066978118892,https://leetcode.com/problems/check-if-two-chessboard-squares-have-the-same-color,"Math, String" EASY,Add Two Promises,8.3,0.009170095613846387,https://leetcode.com/problems/add-two-promises, HARD,Maximize Subarrays After Removing One Conflicting Pair,8.3,0.006408134441170954,https://leetcode.com/problems/maximize-subarrays-after-removing-one-conflicting-pair,"Array, Segment Tree, Enumeration, Prefix Sum" MEDIUM,Count Number of Maximum Bitwise-OR Subsets,8.3,0.008944715356145888,https://leetcode.com/problems/count-number-of-maximum-bitwise-or-subsets,"Array, Backtracking, Bit Manipulation, Enumeration" MEDIUM,Smallest String With Swaps,8.3,0.0061152257291561315,https://leetcode.com/problems/smallest-string-with-swaps,"Array, Hash Table, String, Depth-First Search, Breadth-First Search, Union-Find, Sorting" HARD,Rearranging Fruits,8.3,0.0057221525043979525,https://leetcode.com/problems/rearranging-fruits,"Array, Hash Table, Greedy, Sort" MEDIUM,Broken Calculator,8.3,0.005654912168831509,https://leetcode.com/problems/broken-calculator,"Math, Greedy" MEDIUM,The Number of Beautiful Subsets,8.3,0.005081129156421199,https://leetcode.com/problems/the-number-of-beautiful-subsets,"Array, Hash Table, Math, Dynamic Programming, Backtracking, Sorting, Combinatorics" EASY,Difference Between Element Sum and Digit Sum of an Array,8.3,0.008556982932648192,https://leetcode.com/problems/difference-between-element-sum-and-digit-sum-of-an-array,"Array, Math" MEDIUM,The Maze,8.3,0.0060561751788321795,https://leetcode.com/problems/the-maze,"Array, Depth-First Search, Breadth-First Search, Matrix" MEDIUM,Number of Distinct Substrings in a String,8.3,0.00644392033542977,https://leetcode.com/problems/number-of-distinct-substrings-in-a-string,"String, Trie, Rolling Hash, Suffix Array, Hash Function" EASY,Pass the Pillow,8.3,0.005675542067053484,https://leetcode.com/problems/pass-the-pillow,"Math, Simulation" HARD,Minimum Interval to Include Each Query,8.3,0.005537839734420124,https://leetcode.com/problems/minimum-interval-to-include-each-query,"Array, Binary Search, Sweep Line, Sorting, Heap (Priority Queue)" MEDIUM,Bitwise AND of Numbers Range,8.3,0.004936510882432966,https://leetcode.com/problems/bitwise-and-of-numbers-range,Bit Manipulation HARD,Sort Items by Groups Respecting Dependencies,8.3,0.006618328820976894,https://leetcode.com/problems/sort-items-by-groups-respecting-dependencies,"Depth-First Search, Breadth-First Search, Graph Theory, Topological Sort, Directed Acyclic Graph" MEDIUM,Letter Case Permutation,8.3,0.007617042755576771,https://leetcode.com/problems/letter-case-permutation,"String, Backtracking, Bit Manipulation" MEDIUM,Alice and Bob Playing Flower Game,8.3,0.006000670127461916,https://leetcode.com/problems/alice-and-bob-playing-flower-game,Math MEDIUM,Generate Binary Strings Without Adjacent Zeros,8.3,0.008876580568464281,https://leetcode.com/problems/generate-binary-strings-without-adjacent-zeros,"String, Backtracking, Bit Manipulation" EASY,Find Closest Person,8.3,0.008873040782718201,https://leetcode.com/problems/find-closest-person,Math MEDIUM,Choose K Elements With Maximum Sum,8.3,0.003467901234567901,https://leetcode.com/problems/choose-k-elements-with-maximum-sum,"Array, Sorting, Heap (Priority Queue)" EASY,A Number After a Double Reversal,8.3,0.00828461263769793,https://leetcode.com/problems/a-number-after-a-double-reversal,Math MEDIUM,Minimum Number of People to Teach,8.3,0.00672602303487076,https://leetcode.com/problems/minimum-number-of-people-to-teach,"Array, Hash Table, Greedy" MEDIUM,Beautiful Arrangement,8.3,0.0065005123617897,https://leetcode.com/problems/beautiful-arrangement,"Array, Dynamic Programming, Backtracking, Bit Manipulation, Bitmask" HARD,Maximum Number of Points From Grid Queries,8.3,0.005921702348575575,https://leetcode.com/problems/maximum-number-of-points-from-grid-queries,"Array, Two Pointers, Breadth-First Search, Union-Find, Sorting, Heap (Priority Queue), Matrix" EASY,Find the Winning Player in Coin Game,8.3,0.0054027465500957024,https://leetcode.com/problems/find-the-winning-player-in-coin-game,"Math, Simulation, Game Theory" MEDIUM,Lexicographically Smallest Equivalent String,8.3,0.008112701870871805,https://leetcode.com/problems/lexicographically-smallest-equivalent-string,"String, Union-Find" MEDIUM,Fraction to Recurring Decimal,8.3,0.003156579841018645,https://leetcode.com/problems/fraction-to-recurring-decimal,"Hash Table, Math, String" EASY,Minimum Common Value,8.3,0.006062907749192104,https://leetcode.com/problems/minimum-common-value,"Array, Hash Table, Two Pointers, Binary Search" EASY,Make Two Arrays Equal by Reversing Subarrays,8.3,0.007585454786528773,https://leetcode.com/problems/make-two-arrays-equal-by-reversing-subarrays,"Array, Hash Table, Sorting" MEDIUM,Count Number of Bad Pairs,8.3,0.0054097754651120135,https://leetcode.com/problems/count-number-of-bad-pairs,"Array, Hash Table, Math, Counting" MEDIUM,Dota2 Senate,8.3,0.005069513674144532,https://leetcode.com/problems/dota2-senate,"String, Greedy, Queue" EASY,Adjacent Increasing Subarrays Detection I,8.3,0.0047814892687375555,https://leetcode.com/problems/adjacent-increasing-subarrays-detection-i,Array MEDIUM,Maximum Number of Distinct Elements After Operations,8.3,0.0052104791205306936,https://leetcode.com/problems/maximum-number-of-distinct-elements-after-operations,"Array, Greedy, Sorting" MEDIUM,K Radius Subarray Averages,8.3,0.004656664148870424,https://leetcode.com/problems/k-radius-subarray-averages,"Array, Sliding Window" HARD,Minimum Moves to Reach Target in Grid,8.3,0.0015387515484461677,https://leetcode.com/problems/minimum-moves-to-reach-target-in-grid,Math EASY,Largest Positive Integer That Exists With Its Negative,8.3,0.0074511755392045985,https://leetcode.com/problems/largest-positive-integer-that-exists-with-its-negative,"Array, Hash Table, Two Pointers, Sorting" EASY,Generate Fibonacci Sequence,8.3,0.008357528620642967,https://leetcode.com/problems/generate-fibonacci-sequence, HARD,Find X-Sum of All K-Long Subarrays II,8.3,0.004112123552123552,https://leetcode.com/problems/find-x-sum-of-all-k-long-subarrays-ii,"Array, Hash Table, Sliding Window, Heap (Priority Queue)" HARD,Number of Ways to Form a Target String Given a Dictionary,8.3,0.005620837795585756,https://leetcode.com/problems/number-of-ways-to-form-a-target-string-given-a-dictionary,"Array, String, Dynamic Programming" HARD,Minimum One Bit Operations to Make Integers Zero,8.3,0.007821166568725951,https://leetcode.com/problems/minimum-one-bit-operations-to-make-integers-zero,"Math, Dynamic Programming, Bit Manipulation, Recursion, Memoization" HARD,Tiling a Rectangle with the Fewest Squares,8.3,0.005550800902099116,https://leetcode.com/problems/tiling-a-rectangle-with-the-fewest-squares,Backtracking MEDIUM,Design Tic-Tac-Toe,8.3,0.005876965234771423,https://leetcode.com/problems/design-tic-tac-toe,"Array, Hash Table, Design, Matrix, Simulation" HARD,Delete Duplicate Folders in System,8.3,0.007717947863561139,https://leetcode.com/problems/delete-duplicate-folders-in-system,"Array, Hash Table, String, Depth-First Search, Trie, Sorting, Hash Function" HARD,Max Chunks To Make Sorted II,8.3,0.005519298497807805,https://leetcode.com/problems/max-chunks-to-make-sorted-ii,"Array, Stack, Greedy, Sorting, Monotonic Stack" MEDIUM,Count the Number of Substrings With Dominant Ones,8.3,0.004177669255264251,https://leetcode.com/problems/count-the-number-of-substrings-with-dominant-ones,"String, Enumeration" EASY,Check If All 1's Are at Least Length K Places Away,8.3,0.006432900432900433,https://leetcode.com/problems/check-if-all-1s-are-at-least-length-k-places-away,Array EASY,1-bit and 2-bit Characters,8.3,0.00497757340935368,https://leetcode.com/problems/1-bit-and-2-bit-characters,Array MEDIUM,Add One Row to Tree,8.3,0.0064224295683426615,https://leetcode.com/problems/add-one-row-to-tree,"Tree, Depth-First Search, Breadth-First Search, Binary Tree" EASY,Keep Multiplying Found Values by Two,8.3,0.007495218910166508,https://leetcode.com/problems/keep-multiplying-found-values-by-two,"Array, Hash Table, Sorting, Simulation" MEDIUM,Decoded String at Index,8.3,0.003759724326933137,https://leetcode.com/problems/decoded-string-at-index,"String, Stack" MEDIUM,Find Beautiful Indices in the Given Array I,8.3,0.004151826615852484,https://leetcode.com/problems/find-beautiful-indices-in-the-given-array-i,"Two Pointers, String, Binary Search, Rolling Hash, String Matching, Hash Function, Z Algorithm, Knuth–Morris–Pratt Algorithm, Boyer–Moore String-Search Algorithm" MEDIUM,Smallest Integer Divisible by K,8.3,0.005411121141486681,https://leetcode.com/problems/smallest-integer-divisible-by-k,"Hash Table, Math, Pigeonhole Principle" HARD,Maximum Running Time of N Computers,8.3,0.005630843674393194,https://leetcode.com/problems/maximum-running-time-of-n-computers,"Array, Binary Search, Greedy, Sorting" HARD,Employee Free Time,8.3,0.007300457171486276,https://leetcode.com/problems/employee-free-time,"Array, Sweep Line, Sorting, Heap (Priority Queue)" EASY,Count Partitions with Even Sum Difference,8.3,0.008520343028419183,https://leetcode.com/problems/count-partitions-with-even-sum-difference,"Array, Math, Prefix Sum" EASY,Closest Binary Search Tree Value,8.3,0.004910417538853242,https://leetcode.com/problems/closest-binary-search-tree-value,"Binary Search, Tree, Depth-First Search, Binary Search Tree, Binary Tree" MEDIUM,Tree Node,8.3,0.007681725134196818,https://leetcode.com/problems/tree-node,Database HARD,Student Attendance Record II,8.3,0.005706623463918236,https://leetcode.com/problems/student-attendance-record-ii,Dynamic Programming MEDIUM,Cinema Seat Allocation,8.3,0.005701152897023289,https://leetcode.com/problems/cinema-seat-allocation,"Array, Hash Table, Greedy, Bit Manipulation" HARD,Put Marbles in Bags,8.3,0.007203301565063504,https://leetcode.com/problems/put-marbles-in-bags,"Array, Greedy, Sorting, Heap (Priority Queue)" MEDIUM,Count Number of Trapezoids I,8.3,0.00481090610413286,https://leetcode.com/problems/count-number-of-trapezoids-i,"Array, Hash Table, Math, Geometry" MEDIUM,Count Mentions Per User,8.3,0.005059025442400909,https://leetcode.com/problems/count-mentions-per-user,"Array, Math, Sorting, Simulation" HARD,Number of Ways to Divide a Long Corridor,8.3,0.005448088280418369,https://leetcode.com/problems/number-of-ways-to-divide-a-long-corridor,"Math, String, Dynamic Programming" MEDIUM,Design Spreadsheet,8.3,0.007329373587529699,https://leetcode.com/problems/design-spreadsheet,"Array, Hash Table, String, Design, Matrix" HARD,Maximum Frequency of an Element After Performing Operations II,8.3,0.005364266724708882,https://leetcode.com/problems/maximum-frequency-of-an-element-after-performing-operations-ii,"Array, Binary Search, Sliding Window, Sorting, Prefix Sum" EASY,Count Square Sum Triples,8.3,0.007719023096439646,https://leetcode.com/problems/count-square-sum-triples,"Math, Enumeration" MEDIUM,Minimum Moves to Balance Circular Array,8.3,0.004003444051909318,https://leetcode.com/problems/minimum-moves-to-balance-circular-array,"Array, Greedy, Sorting" MEDIUM,Delete Columns to Make Sorted II,8.3,0.004977095937770095,https://leetcode.com/problems/delete-columns-to-make-sorted-ii,"Array, String, Greedy" EASY,Check if All A's Appears Before All B's,8.3,0.007344760445937856,https://leetcode.com/problems/check-if-all-as-appears-before-all-bs,String MEDIUM,Circular Array Loop,8.3,0.0038762441863077718,https://leetcode.com/problems/circular-array-loop,"Array, Hash Table, Two Pointers, Floyd's Cycle Finding Algorithm" HARD,Number of Good Paths,8.3,0.0056805023240642585,https://leetcode.com/problems/number-of-good-paths,"Array, Hash Table, Tree, Union-Find, Graph Theory, Sorting" EASY,Apple Redistribution into Boxes,8.3,0.007847541658463245,https://leetcode.com/problems/apple-redistribution-into-boxes,"Array, Greedy, Sorting" MEDIUM,Analyze Subscription Conversion ,8.3,0.007146148431000278,https://leetcode.com/problems/analyze-subscription-conversion,Database HARD,Meeting Rooms III,8.3,0.005133962967769704,https://leetcode.com/problems/meeting-rooms-iii,"Array, Hash Table, Sorting, Heap (Priority Queue), Simulation" MEDIUM,Find Minimum Cost to Remove Array Elements,8.3,0.0022515456744833253,https://leetcode.com/problems/find-minimum-cost-to-remove-array-elements,"Array, Dynamic Programming" MEDIUM,Mini Parser,8.3,0.004403080733466586,https://leetcode.com/problems/mini-parser,"String, Stack, Depth-First Search" MEDIUM,Numbers With Same Consecutive Differences,8.3,0.00594057327233751,https://leetcode.com/problems/numbers-with-same-consecutive-differences,"Backtracking, Breadth-First Search" MEDIUM,Combination Sum IV,8.3,0.005536987353478251,https://leetcode.com/problems/combination-sum-iv,"Array, Dynamic Programming" HARD,Max Dot Product of Two Subsequences,8.3,0.006937803235239357,https://leetcode.com/problems/max-dot-product-of-two-subsequences,"Array, Dynamic Programming, Longest Common Subsequence" HARD,Arithmetic Slices II - Subsequence,8.3,0.0055372491033788464,https://leetcode.com/problems/arithmetic-slices-ii-subsequence,"Array, Dynamic Programming" MEDIUM,Total Hamming Distance,8.3,0.005571530586137238,https://leetcode.com/problems/total-hamming-distance,"Array, Math, Bit Manipulation" MEDIUM,Number of Perfect Pairs,8.3,0.0034693733401141434,https://leetcode.com/problems/number-of-perfect-pairs,"Array, Math, Two Pointers, Sorting" EASY,Construct the Minimum Bitwise Array I,8.3,0.008498906985682715,https://leetcode.com/problems/construct-the-minimum-bitwise-array-i,"Array, Bit Manipulation" EASY,Root Equals Sum of Children,8.3,0.008522221138159732,https://leetcode.com/problems/root-equals-sum-of-children,"Tree, Binary Tree" MEDIUM,Minimum Cost Path with Edge Reversals,8.3,0.006151036429841454,https://leetcode.com/problems/minimum-cost-path-with-edge-reversals,"Graph Theory, Heap (Priority Queue), Shortest Path" EASY,Minimize String Length,8.3,0.008016206921782395,https://leetcode.com/problems/minimize-string-length,"Hash Table, String" MEDIUM,Maximum Difference Between Node and Ancestor,8.3,0.007827404856581842,https://leetcode.com/problems/maximum-difference-between-node-and-ancestor,"Tree, Depth-First Search, Binary Tree" MEDIUM,Find And Replace in String,8.3,0.005068697669139453,https://leetcode.com/problems/find-and-replace-in-string,"Array, Hash Table, String, Sorting" EASY,Binary Gap,8.3,0.00744250346024781,https://leetcode.com/problems/binary-gap,Bit Manipulation HARD,Trionic Array II,8.3,0.004714681951659041,https://leetcode.com/problems/trionic-array-ii,"Array, Dynamic Programming" HARD,Self Crossing,8.3,0.0036875724718758262,https://leetcode.com/problems/self-crossing,"Array, Math, Geometry" HARD,Replace Non-Coprime Numbers in Array,8.3,0.005766035834930168,https://leetcode.com/problems/replace-non-coprime-numbers-in-array,"Array, Math, Stack, Number Theory, Least Common Multiple, Greatest Common Divisor" MEDIUM,Linked List Components,8.3,0.005839292916588964,https://leetcode.com/problems/linked-list-components,"Array, Hash Table, Linked List" EASY,Sort Array By Parity II,8.3,0.0071414903535285176,https://leetcode.com/problems/sort-array-by-parity-ii,"Array, Two Pointers, Sorting" MEDIUM,Max Consecutive Ones II,8.3,0.005220285235085693,https://leetcode.com/problems/max-consecutive-ones-ii,"Array, Dynamic Programming, Sliding Window" MEDIUM,Partition to K Equal Sum Subsets,8.3,0.003894428653858483,https://leetcode.com/problems/partition-to-k-equal-sum-subsets,"Array, Dynamic Programming, Backtracking, Bit Manipulation, Memoization, Bitmask" MEDIUM,Construct the Lexicographically Largest Valid Sequence,8.3,0.007266521874030406,https://leetcode.com/problems/construct-the-lexicographically-largest-valid-sequence,"Array, Backtracking" EASY,Tenth Line,8.3,0.003808794341634856,https://leetcode.com/problems/tenth-line,Shell EASY,Select Data,8.3,0.00783403560944643,https://leetcode.com/problems/select-data, MEDIUM,Check Digitorial Permutation,8.3,0.004615272863117042,https://leetcode.com/problems/check-digitorial-permutation,"Math, Counting" EASY,Minimum Changes To Make Alternating Binary String,8.3,0.0067889442557832295,https://leetcode.com/problems/minimum-changes-to-make-alternating-binary-string,String MEDIUM,Swap Adjacent in LR String,8.3,0.003850507156375681,https://leetcode.com/problems/swap-adjacent-in-lr-string,"Two Pointers, String" MEDIUM,Find the Number of Ways to Place People I,8.3,0.006372147039900549,https://leetcode.com/problems/find-the-number-of-ways-to-place-people-i,"Array, Math, Geometry, Sorting, Enumeration" EASY,The K Weakest Rows in a Matrix,8.3,0.007459993785772135,https://leetcode.com/problems/the-k-weakest-rows-in-a-matrix,"Array, Binary Search, Sorting, Heap (Priority Queue), Matrix" HARD,Fancy Sequence,8.3,0.004166518170669071,https://leetcode.com/problems/fancy-sequence,"Math, Design, Segment Tree, Number Theory, Fermat's Little Theorem" MEDIUM,Maximum Frequency of an Element After Performing Operations I,8.3,0.004026582251035321,https://leetcode.com/problems/maximum-frequency-of-an-element-after-performing-operations-i,"Array, Binary Search, Sliding Window, Sorting, Prefix Sum" EASY,Daily Leads and Partners,8.3,0.00870837121198402,https://leetcode.com/problems/daily-leads-and-partners,Database MEDIUM,Construct Product Matrix,8.3,0.005141647272092113,https://leetcode.com/problems/construct-product-matrix,"Array, Matrix, Prefix Sum" MEDIUM,Equal Sum Grid Partition I,8.3,0.005286087702717132,https://leetcode.com/problems/equal-sum-grid-partition-i,"Array, Matrix, Enumeration, Prefix Sum" MEDIUM,Count Unguarded Cells in the Grid,8.3,0.006915321129138879,https://leetcode.com/problems/count-unguarded-cells-in-the-grid,"Array, Matrix, Simulation" MEDIUM,Smallest Number in Infinite Set,8.3,0.007069185275823392,https://leetcode.com/problems/smallest-number-in-infinite-set,"Hash Table, Design, Heap (Priority Queue), Ordered Set" HARD,Shortest Common Supersequence ,8.3,0.006234472202052711,https://leetcode.com/problems/shortest-common-supersequence,"String, Dynamic Programming, Longest Common Subsequence" EASY,Minimum Distance to the Target Element,8.3,0.006429167575729241,https://leetcode.com/problems/minimum-distance-to-the-target-element,Array HARD,Maximize the Distance Between Points on a Square,8.3,0.005098940563835518,https://leetcode.com/problems/maximize-the-distance-between-points-on-a-square,"Array, Math, Binary Search, Geometry, Sorting" MEDIUM,Insertion Sort List,8.3,0.006059328621146289,https://leetcode.com/problems/insertion-sort-list,"Linked List, Sorting" MEDIUM,Greatest Sum Divisible by Three,8.3,0.005700484221071965,https://leetcode.com/problems/greatest-sum-divisible-by-three,"Array, Dynamic Programming, Greedy, Sorting" EASY,Substrings of Size Three with Distinct Characters,8.3,0.007726609574233126,https://leetcode.com/problems/substrings-of-size-three-with-distinct-characters,"Hash Table, String, Sliding Window, Counting" MEDIUM,Jump Game IX,8.3,0.004627908568660386,https://leetcode.com/problems/jump-game-ix,"Array, Dynamic Programming" MEDIUM,Build an Array With Stack Operations,8.3,0.008083347733425495,https://leetcode.com/problems/build-an-array-with-stack-operations,"Array, Stack, Simulation" MEDIUM,Design Snake Game,8.3,0.004012244565177109,https://leetcode.com/problems/design-snake-game,"Array, Hash Table, Design, Queue, Simulation" MEDIUM,Design Bounded Blocking Queue,8.3,0.007406626776813273,https://leetcode.com/problems/design-bounded-blocking-queue,Concurrency MEDIUM,Flatten Nested List Iterator,8.3,0.006594070204097183,https://leetcode.com/problems/flatten-nested-list-iterator,"Stack, Tree, Depth-First Search, Design, Queue, Iterator" MEDIUM,Check If Array Pairs Are Divisible by k,8.3,0.0046214459142395695,https://leetcode.com/problems/check-if-array-pairs-are-divisible-by-k,"Array, Hash Table, Counting" EASY,Number of Unique Subjects Taught by Each Teacher,8.3,0.008939342411938023,https://leetcode.com/problems/number-of-unique-subjects-taught-by-each-teacher,Database EASY,Range Addition II,8.3,0.005949426160790614,https://leetcode.com/problems/range-addition-ii,"Array, Math" MEDIUM,Minimum Number of Coins to be Added,8.3,0.005823945349952061,https://leetcode.com/problems/minimum-number-of-coins-to-be-added,"Array, Greedy, Sorting" MEDIUM,Minimum Jumps to Reach Home,8.3,0.0031169028340080973,https://leetcode.com/problems/minimum-jumps-to-reach-home,"Array, Hash Table, Breadth-First Search" EASY,Reverse Words in a String III,8.3,0.00842038594713403,https://leetcode.com/problems/reverse-words-in-a-string-iii,"Two Pointers, String" EASY,Weighted Word Mapping,8.3,0.009024637688511035,https://leetcode.com/problems/weighted-word-mapping,"Array, String, Simulation" MEDIUM,Stock Price Fluctuation ,8.3,0.004950602398377403,https://leetcode.com/problems/stock-price-fluctuation,"Hash Table, Design, Heap (Priority Queue), Data Stream, Ordered Set" MEDIUM,Maximum Ice Cream Bars,8.3,0.0077277255414979415,https://leetcode.com/problems/maximum-ice-cream-bars,"Array, Greedy, Sorting, Counting Sort" EASY,Maximum Number of Balloons,8.3,0.006437061327738618,https://leetcode.com/problems/maximum-number-of-balloons,"Hash Table, String, Counting" HARD,Minimum Swaps To Make Sequences Increasing,8.3,0.004203466435301951,https://leetcode.com/problems/minimum-swaps-to-make-sequences-increasing,"Array, Dynamic Programming" HARD,Number of ZigZag Arrays I,8.3,0.005003051123265379,https://leetcode.com/problems/number-of-zigzag-arrays-i,"Dynamic Programming, Prefix Sum" HARD,Count the Number of Inversions,8.3,0.003229128738621586,https://leetcode.com/problems/count-the-number-of-inversions,"Array, Dynamic Programming" MEDIUM,Word Frequency,8.3,0.0030342008917856335,https://leetcode.com/problems/word-frequency,Shell MEDIUM,Employee Importance,8.3,0.006990664206936757,https://leetcode.com/problems/employee-importance,"Array, Hash Table, Tree, Depth-First Search, Breadth-First Search" MEDIUM,Count Square Submatrices with All Ones,8.3,0.00808882915726266,https://leetcode.com/problems/count-square-submatrices-with-all-ones,"Array, Dynamic Programming, Matrix" MEDIUM,Transpose File,8.3,0.003419687434990639,https://leetcode.com/problems/transpose-file,Shell MEDIUM,Count Subarrays With Majority Element I,8.3,0.00752238901616495,https://leetcode.com/problems/count-subarrays-with-majority-element-i,"Array, Hash Table, Divide and Conquer, Segment Tree, Merge Sort, Counting, Prefix Sum" HARD,Maximum Score of a Good Subarray,8.3,0.0064242120110671085,https://leetcode.com/problems/maximum-score-of-a-good-subarray,"Array, Two Pointers, Binary Search, Stack, Monotonic Stack, Cartesian Tree" EASY,Number of Strings That Appear as Substrings in Word,8.3,0.00862526688344426,https://leetcode.com/problems/number-of-strings-that-appear-as-substrings-in-word,"Array, String" HARD,Naming a Company,8.3,0.0046611028399281456,https://leetcode.com/problems/naming-a-company,"Array, Hash Table, String, Bit Manipulation, Enumeration" MEDIUM,Maximum Element After Decreasing and Rearranging,8.3,0.006914646901004956,https://leetcode.com/problems/maximum-element-after-decreasing-and-rearranging,"Array, Greedy, Sorting" EASY,Base 7,8.3,0.005556670620817998,https://leetcode.com/problems/base-7,"Math, String" MEDIUM,Count Ways To Build Good Strings,8.3,0.005878960636150449,https://leetcode.com/problems/count-ways-to-build-good-strings,Dynamic Programming MEDIUM,Find the Safest Path in a Grid,8.3,0.005722838143522548,https://leetcode.com/problems/find-the-safest-path-in-a-grid,"Array, Binary Search, Breadth-First Search, Union-Find, Heap (Priority Queue), Matrix" HARD,Shortest Impossible Sequence of Rolls,8.3,0.006945773246272566,https://leetcode.com/problems/shortest-impossible-sequence-of-rolls,"Array, Hash Table, Greedy" MEDIUM,Minimum Number of Pushes to Type Word II,8.3,0.008312418158009602,https://leetcode.com/problems/minimum-number-of-pushes-to-type-word-ii,"Hash Table, String, Greedy, Sorting, Counting" HARD,Network Recovery Pathways,8.3,0.00504303267085669,https://leetcode.com/problems/network-recovery-pathways,"Array, Binary Search, Dynamic Programming, Graph Theory, Topological Sort, Heap (Priority Queue), Shortest Path" MEDIUM,Most Popular Video Creator,8.3,0.004566885543372957,https://leetcode.com/problems/most-popular-video-creator,"Array, Hash Table, String, Sorting, Heap (Priority Queue)" MEDIUM,Concatenate Non-Zero Digits and Multiply by Sum II,8.3,0.004266019029875574,https://leetcode.com/problems/concatenate-non-zero-digits-and-multiply-by-sum-ii,"Math, String, Prefix Sum" HARD,Path Existence Queries in a Graph II,8.3,0.006368736477301013,https://leetcode.com/problems/path-existence-queries-in-a-graph-ii,"Array, Two Pointers, Binary Search, Dynamic Programming, Greedy, Bit Manipulation, Graph Theory, Sorting" HARD,Kth Ancestor of a Tree Node,8.3,0.003986291531744931,https://leetcode.com/problems/kth-ancestor-of-a-tree-node,"Binary Search, Dynamic Programming, Bit Manipulation, Tree, Depth-First Search, Breadth-First Search, Design, Binary Lifting" MEDIUM,Number of Sub-arrays of Size K and Average Greater than or Equal to Threshold,8.3,0.007465035393244667,https://leetcode.com/problems/number-of-sub-arrays-of-size-k-and-average-greater-than-or-equal-to-threshold,"Array, Sliding Window" HARD,Sorted GCD Pair Queries,8.3,0.005830844924419414,https://leetcode.com/problems/sorted-gcd-pair-queries,"Array, Hash Table, Math, Binary Search, Combinatorics, Counting, Number Theory, Prefix Sum, Euclidean Algorithm, Greatest Common Divisor" HARD,Sum of Distances in Tree,8.3,0.0065891186607582464,https://leetcode.com/problems/sum-of-distances-in-tree,"Dynamic Programming, Tree, Depth-First Search, Graph Theory, DP on Trees" MEDIUM,Maximum Binary Tree,8.3,0.008588322701654348,https://leetcode.com/problems/maximum-binary-tree,"Array, Divide and Conquer, Stack, Tree, Monotonic Stack, Binary Tree, Cartesian Tree" MEDIUM,Maximize Active Section with Trade I,8.3,0.00606710925020829,https://leetcode.com/problems/maximize-active-section-with-trade-i,"String, Enumeration" HARD,Maximize Active Section with Trade II,8.3,0.006456572451581402,https://leetcode.com/problems/maximize-active-section-with-trade-ii,"Array, String, Binary Search, Segment Tree" EASY,Leaf-Similar Trees,8.3,0.007038648624572581,https://leetcode.com/problems/leaf-similar-trees,"Tree, Depth-First Search, Binary Tree" MEDIUM,Number of Unique XOR Triplets II,8.3,0.005271152830615699,https://leetcode.com/problems/number-of-unique-xor-triplets-ii,"Array, Math, Bit Manipulation, Enumeration" MEDIUM,Minimum Operations to Make All Array Elements Equal,8.3,0.003893334918841786,https://leetcode.com/problems/minimum-operations-to-make-all-array-elements-equal,"Array, Binary Search, Sorting, Prefix Sum" HARD,Swim in Rising Water,8.3,0.006833752159825477,https://leetcode.com/problems/swim-in-rising-water,"Array, Binary Search, Depth-First Search, Breadth-First Search, Union-Find, Minimax, Heap (Priority Queue), Matrix, Dijkstra's Algorithm" HARD,Strong Password Checker,8.3,0.0016654440731382616,https://leetcode.com/problems/strong-password-checker,"String, Greedy, Heap (Priority Queue)" EASY,Rearrange Spaces Between Words,8.3,0.0044422047280477306,https://leetcode.com/problems/rearrange-spaces-between-words,String MEDIUM,Maximum Number of Integers to Choose From a Range I,8.3,0.0068055762753119085,https://leetcode.com/problems/maximum-number-of-integers-to-choose-from-a-range-i,"Array, Hash Table, Binary Search, Greedy, Sorting" HARD,K Inverse Pairs Array,8.3,0.0049074325793823405,https://leetcode.com/problems/k-inverse-pairs-array,Dynamic Programming HARD,Stone Game III,8.3,0.006795525797558093,https://leetcode.com/problems/stone-game-iii,"Array, Math, Dynamic Programming, Minimax, Game Theory, Zero-Sum Game" HARD,Maximize the Minimum Powered City,8.3,0.006126555998499612,https://leetcode.com/problems/maximize-the-minimum-powered-city,"Array, Binary Search, Greedy, Queue, Sliding Window, Prefix Sum" EASY,Minimum Difference Between Highest and Lowest of K Scores,8.3,0.006647045168542072,https://leetcode.com/problems/minimum-difference-between-highest-and-lowest-of-k-scores,"Array, Sliding Window, Sorting" MEDIUM,Maximize Distance to Closest Person,8.3,0.005014144723563999,https://leetcode.com/problems/maximize-distance-to-closest-person,Array EASY,Find the Difference of Two Arrays,8.3,0.008171616004051304,https://leetcode.com/problems/find-the-difference-of-two-arrays,"Array, Hash Table" MEDIUM,Sum of GCD of Formed Pairs,8.3,0.007462484333186545,https://leetcode.com/problems/sum-of-gcd-of-formed-pairs,"Array, Math, Two Pointers, Sorting, Simulation, Number Theory" HARD,Optimal Account Balancing,8.3,0.005089892618299192,https://leetcode.com/problems/optimal-account-balancing,"Array, Dynamic Programming, Backtracking, Bit Manipulation, Bitmask" EASY,Actors and Directors Who Cooperated At Least Three Times,8.3,0.007166111633826681,https://leetcode.com/problems/actors-and-directors-who-cooperated-at-least-three-times,Database MEDIUM,Detect Squares,8.3,0.005309394354025637,https://leetcode.com/problems/detect-squares,"Array, Hash Table, Design, Counting, Data Stream" MEDIUM,Maximum Matching of Players With Trainers,8.3,0.007552442487658909,https://leetcode.com/problems/maximum-matching-of-players-with-trainers,"Array, Two Pointers, Greedy, Sorting" MEDIUM,Length of Longest Subarray With at Most K Frequency,8.3,0.006051901443211525,https://leetcode.com/problems/length-of-longest-subarray-with-at-most-k-frequency,"Array, Hash Table, Sliding Window" MEDIUM,Jump Game VI,8.3,0.004664612780363944,https://leetcode.com/problems/jump-game-vi,"Array, Dynamic Programming, Queue, Heap (Priority Queue), Monotonic Queue" HARD,Longest Substring of One Repeating Character,8.3,0.006545370836880418,https://leetcode.com/problems/longest-substring-of-one-repeating-character,"Array, String, Segment Tree, Ordered Set" MEDIUM,Longest Subsequence With Non-Zero Bitwise XOR,8.3,0.00553328227761154,https://leetcode.com/problems/longest-subsequence-with-non-zero-bitwise-xor,"Array, Bit Manipulation" HARD,Frog Position After T Seconds,8.3,0.0038885635405337578,https://leetcode.com/problems/frog-position-after-t-seconds,"Tree, Depth-First Search, Breadth-First Search, Graph Theory" MEDIUM,Make K-Subarray Sums Equal,8.3,0.0039194487057734925,https://leetcode.com/problems/make-k-subarray-sums-equal,"Array, Math, Greedy, Sorting, Number Theory" MEDIUM,Rotated Digits,8.3,0.006418789693492358,https://leetcode.com/problems/rotated-digits,"Math, Dynamic Programming" EASY,Average of Levels in Binary Tree,8.3,0.007526114107294919,https://leetcode.com/problems/average-of-levels-in-binary-tree,"Tree, Depth-First Search, Breadth-First Search, Binary Tree" HARD,Data Stream as Disjoint Intervals,8.3,0.006078583908811049,https://leetcode.com/problems/data-stream-as-disjoint-intervals,"Hash Table, Binary Search, Union-Find, Design, Data Stream, Ordered Set" HARD,Cat and Mouse,8.3,0.0036407514314105893,https://leetcode.com/problems/cat-and-mouse,"Math, Dynamic Programming, Graph Theory, Topological Sort, Memoization, Minimax, Game Theory, Zero-Sum Game" HARD,Find Longest Awesome Substring,8.3,0.004776340267207847,https://leetcode.com/problems/find-longest-awesome-substring,"Hash Table, String, Bit Manipulation" MEDIUM,Number of Ways to Assign Edge Weights I,8.3,0.006358146983055996,https://leetcode.com/problems/number-of-ways-to-assign-edge-weights-i,"Math, Tree, Depth-First Search" MEDIUM,Possible Bipartition,8.3,0.005321680943293502,https://leetcode.com/problems/possible-bipartition,"Depth-First Search, Breadth-First Search, Union-Find, Graph Theory, Graph Coloring, Bipartite Graph" EASY,Monotonic Array,8.3,0.0062763948515199616,https://leetcode.com/problems/monotonic-array,Array HARD,Remove Max Number of Edges to Keep Graph Fully Traversable,8.3,0.007007306094020969,https://leetcode.com/problems/remove-max-number-of-edges-to-keep-graph-fully-traversable,"Union-Find, Graph Theory" MEDIUM,Sum Game,8.3,0.00631720926588201,https://leetcode.com/problems/sum-game,"Math, String, Greedy, Game Theory" MEDIUM,Count Days Without Meetings,8.3,0.004832312165608025,https://leetcode.com/problems/count-days-without-meetings,"Array, Sorting" MEDIUM,Loud and Rich,8.3,0.006426542848126944,https://leetcode.com/problems/loud-and-rich,"Array, Depth-First Search, Graph Theory, Topological Sort, Directed Acyclic Graph" HARD,Minimum Obstacle Removal to Reach Corner,8.3,0.007122784239666938,https://leetcode.com/problems/minimum-obstacle-removal-to-reach-corner,"Array, Breadth-First Search, Graph Theory, Heap (Priority Queue), Matrix, Shortest Path, 0-1 BFS, Dijkstra's Algorithm" EASY,Minimum Value to Get Positive Step by Step Sum,8.3,0.006499316195791125,https://leetcode.com/problems/minimum-value-to-get-positive-step-by-step-sum,"Array, Prefix Sum" EASY,Smallest Stable Index I,8.3,0.00766935985083903,https://leetcode.com/problems/smallest-stable-index-i,"Array, Prefix Sum" MEDIUM,Bag of Tokens,8.3,0.0059955709895565465,https://leetcode.com/problems/bag-of-tokens,"Array, Two Pointers, Greedy, Sorting" HARD,Shortest Distance After Road Addition Queries II,8.3,0.0026952866410697735,https://leetcode.com/problems/shortest-distance-after-road-addition-queries-ii,"Array, Greedy, Graph Theory, Ordered Set" EASY,Fruits Into Baskets II,8.3,0.007024305290131313,https://leetcode.com/problems/fruits-into-baskets-ii,"Array, Binary Search, Segment Tree, Simulation, Ordered Set" MEDIUM,Eliminate Maximum Number of Monsters,8.3,0.0051329260568743935,https://leetcode.com/problems/eliminate-maximum-number-of-monsters,"Array, Greedy, Sorting" EASY,Most Common Word,8.3,0.004546454570586067,https://leetcode.com/problems/most-common-word,"Array, Hash Table, String, Counting" EASY,Determine Whether Matrix Can Be Obtained By Rotation,8.3,0.006861193932775813,https://leetcode.com/problems/determine-whether-matrix-can-be-obtained-by-rotation,"Array, Matrix" EASY,Total Distance Traveled,8.3,0.004214698806891357,https://leetcode.com/problems/total-distance-traveled,"Math, Simulation" HARD,Minimum Cost to Make Array Equal,8.3,0.0046992420577326235,https://leetcode.com/problems/minimum-cost-to-make-array-equal,"Array, Binary Search, Greedy, Sorting, Prefix Sum" MEDIUM,Maximize the Confusion of an Exam,8.3,0.0070667965118852635,https://leetcode.com/problems/maximize-the-confusion-of-an-exam,"String, Binary Search, Sliding Window, Prefix Sum" EASY,Maximum Ascending Subarray Sum,8.3,0.006628084123677779,https://leetcode.com/problems/maximum-ascending-subarray-sum,Array EASY,Cyclically Shift Rows and Columns,8.3,0.007643551797040169,https://leetcode.com/problems/cyclically-shift-rows-and-columns,"Array, Matrix, Simulation" HARD,Minimum Cost to Hire K Workers,8.3,0.006387805137235851,https://leetcode.com/problems/minimum-cost-to-hire-k-workers,"Array, Greedy, Sorting, Heap (Priority Queue)" EASY,Reverse Only Letters,8.3,0.006929945451535786,https://leetcode.com/problems/reverse-only-letters,"Two Pointers, String" MEDIUM,Find X Value of Array I,8.3,0.0066069165585159175,https://leetcode.com/problems/find-x-value-of-array-i,"Array, Math, Dynamic Programming" MEDIUM,Encode and Decode TinyURL,8.3,0.008631419086913865,https://leetcode.com/problems/encode-and-decode-tinyurl,"Hash Table, String, Design, Hash Function" EASY,Smallest Index With Digit Sum Equal to Index,8.3,0.008457907644528796,https://leetcode.com/problems/smallest-index-with-digit-sum-equal-to-index,"Array, Math" EASY,Design Parking System,8.3,0.008720682643030404,https://leetcode.com/problems/design-parking-system,"Design, Simulation, Counting" HARD,Minimize Deviation in Array,8.3,0.00540653765387591,https://leetcode.com/problems/minimize-deviation-in-array,"Array, Greedy, Heap (Priority Queue), Ordered Set" EASY,Count Odd Numbers in an Interval Range,8.3,0.00548680909438253,https://leetcode.com/problems/count-odd-numbers-in-an-interval-range,Math MEDIUM,Minimum Moves to Make Array Complementary,8.3,0.006489322397103377,https://leetcode.com/problems/minimum-moves-to-make-array-complementary,"Array, Hash Table, Prefix Sum" MEDIUM,Maximum Alternating Sum of Squares,8.3,0.007582833093781998,https://leetcode.com/problems/maximum-alternating-sum-of-squares,"Array, Greedy, Sorting" MEDIUM,Department Highest Salary,8.3,0.0059920292399184985,https://leetcode.com/problems/department-highest-salary,Database MEDIUM,Number of Pairs of Interchangeable Rectangles,8.3,0.005323856085836628,https://leetcode.com/problems/number-of-pairs-of-interchangeable-rectangles,"Array, Hash Table, Math, Counting, Number Theory" MEDIUM,Step-By-Step Directions From a Binary Tree Node to Another,8.3,0.0056525212683151745,https://leetcode.com/problems/step-by-step-directions-from-a-binary-tree-node-to-another,"String, Tree, Depth-First Search, Binary Tree, Binary Lifting, Lowest Common Ancestor" EASY,Subarrays Distinct Element Sum of Squares I,8.3,0.008796567347606163,https://leetcode.com/problems/subarrays-distinct-element-sum-of-squares-i,"Array, Hash Table, Binary Indexed Tree, Segment Tree" MEDIUM,Beautiful Arrangement II,8.3,0.006152006327244314,https://leetcode.com/problems/beautiful-arrangement-ii,"Array, Math" MEDIUM,Minimum Sideway Jumps,8.3,0.005203138968908314,https://leetcode.com/problems/minimum-sideway-jumps,"Array, Dynamic Programming, Greedy" HARD,Number of Ways to Reorder Array to Get Same BST,8.3,0.006603656729059033,https://leetcode.com/problems/number-of-ways-to-reorder-array-to-get-same-bst,"Array, Math, Divide and Conquer, Dynamic Programming, Tree, Union-Find, Binary Search Tree, Memoization, Combinatorics, Binary Tree, Fermat's Little Theorem" HARD,Sum of Sortable Integers,8.3,0.005522336744074802,https://leetcode.com/problems/sum-of-sortable-integers,"Array, Math, Sorting, Enumeration"