Difficulty,Title,Frequency,Acceptance Rate,Link,Topics MEDIUM,LRU Cache,100.0,0.00482572276559634,https://leetcode.com/problems/lru-cache,"Hash Table, Linked List, Design, Doubly-Linked List" MEDIUM,Number of Islands,95.9,0.006531444598966342,https://leetcode.com/problems/number-of-islands,"Array, Depth-First Search, Breadth-First Search, Union-Find, Matrix" MEDIUM,Meeting Rooms II,85.7,0.0052845025342410645,https://leetcode.com/problems/meeting-rooms-ii,"Array, Two Pointers, Greedy, Sorting, Heap (Priority Queue), Prefix Sum" MEDIUM,Longest Increasing Subsequence,85.7,0.006009849100357148,https://leetcode.com/problems/longest-increasing-subsequence,"Array, Binary Search, Dynamic Programming, Longest Increasing Subsequence" MEDIUM,Number of Distinct Islands,85.0,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" MEDIUM,Longest Substring Without Repeating Characters,84.3,0.0040019113351663985,https://leetcode.com/problems/longest-substring-without-repeating-characters,"Hash Table, String, Sliding Window" MEDIUM,Course Schedule,82.7,0.00524117203483536,https://leetcode.com/problems/course-schedule,"Depth-First Search, Breadth-First Search, Graph Theory, Topological Sort, Directed Acyclic Graph" MEDIUM,Merge Intervals,81.9,0.005302563776359825,https://leetcode.com/problems/merge-intervals,"Array, Sorting, Quicksort" HARD,Text Justification,81.0,0.00524533758074244,https://leetcode.com/problems/text-justification,"Array, String, Simulation" HARD,Trapping Rain Water,79.1,0.006842256793921393,https://leetcode.com/problems/trapping-rain-water,"Array, Two Pointers, Dynamic Programming, Stack, Monotonic Stack" HARD,N-Queens,74.9,0.007667716707998083,https://leetcode.com/problems/n-queens,"Array, Backtracking, Algorithm X" HARD,Making A Large Island,74.9,0.005732221093462556,https://leetcode.com/problems/making-a-large-island,"Array, Depth-First Search, Breadth-First Search, Union-Find, Matrix" MEDIUM,Search in Rotated Sorted Array,72.5,0.004579984561801653,https://leetcode.com/problems/search-in-rotated-sorted-array,"Array, Binary Search" MEDIUM,Spiral Matrix,72.5,0.005814592762393077,https://leetcode.com/problems/spiral-matrix,"Array, Matrix, Simulation" HARD,Minimum Window Substring,72.5,0.004869703716946481,https://leetcode.com/problems/minimum-window-substring,"Hash Table, String, Sliding Window" MEDIUM,Decode String,72.5,0.006337500536424176,https://leetcode.com/problems/decode-string,"String, Stack, Recursion" MEDIUM,Course Schedule II,71.1,0.005644355072448565,https://leetcode.com/problems/course-schedule-ii,"Depth-First Search, Breadth-First Search, Graph Theory, Topological Sort" MEDIUM,Subarray Sum Equals K,71.1,0.004835077033290688,https://leetcode.com/problems/subarray-sum-equals-k,"Array, Hash Table, Prefix Sum" MEDIUM,Word Search,69.7,0.004831306159534872,https://leetcode.com/problems/word-search,"Array, String, Backtracking, Depth-First Search, Matrix" MEDIUM,Coin Change,69.7,0.004930615103455254,https://leetcode.com/problems/coin-change,"Array, Dynamic Programming, Breadth-First Search, Knapsack Problem, Complete Knapsack" MEDIUM,3Sum,68.2,0.004007313423086728,https://leetcode.com/problems/3sum,"Array, Two Pointers, Sorting" MEDIUM,House Robber,68.2,0.005368631502111116,https://leetcode.com/problems/house-robber,"Array, Dynamic Programming" MEDIUM,Maximum Swap,68.2,0.005212976453424077,https://leetcode.com/problems/maximum-swap,"Math, Greedy" MEDIUM,Longest Happy String,68.2,0.00655917524590634,https://leetcode.com/problems/longest-happy-string,"String, Greedy, Heap (Priority Queue)" MEDIUM,Snapshot Array,68.2,0.0036822652298054725,https://leetcode.com/problems/snapshot-array,"Array, Hash Table, Binary Search, Design, Persistent Data Structure" EASY,Two Sum,66.5,0.005803622339319185,https://leetcode.com/problems/two-sum,"Array, Hash Table" MEDIUM,Longest Consecutive Sequence,66.5,0.004728614031419659,https://leetcode.com/problems/longest-consecutive-sequence,"Array, Hash Table, Union-Find" MEDIUM,Basic Calculator II,66.5,0.004727709915588692,https://leetcode.com/problems/basic-calculator-ii,"Math, String, Stack" MEDIUM,Top K Frequent Elements,66.5,0.006757427740963738,https://leetcode.com/problems/top-k-frequent-elements,"Array, Hash Table, Divide and Conquer, Sorting, Heap (Priority Queue), Bucket Sort, Counting, Quickselect" HARD,Basic Calculator III,66.5,0.0053578528493796376,https://leetcode.com/problems/basic-calculator-iii,"Math, String, Stack, Recursion" MEDIUM,Longest Palindromic Substring,64.8,0.003886676021209702,https://leetcode.com/problems/longest-palindromic-substring,"Two Pointers, String, Dynamic Programming, Manacher" EASY,Sqrt(x),64.8,0.004236451775094869,https://leetcode.com/problems/sqrtx,"Math, Binary Search, Newton's Method" MEDIUM,Valid Parenthesis String,64.8,0.004294935794687893,https://leetcode.com/problems/valid-parenthesis-string,"String, Dynamic Programming, Stack, Greedy, Bracket Sequences" MEDIUM,Generate Parentheses,62.8,0.007971338523353258,https://leetcode.com/problems/generate-parentheses,"String, Dynamic Programming, Backtracking, Bracket Sequences" HARD,Merge k Sorted Lists,62.8,0.006078444270531141,https://leetcode.com/problems/merge-k-sorted-lists,"Linked List, Divide and Conquer, Heap (Priority Queue), Merge Sort, Tournament Sort" EASY,Best Time to Buy and Sell Stock,62.8,0.00575212444199731,https://leetcode.com/problems/best-time-to-buy-and-sell-stock,"Array, Dynamic Programming" MEDIUM,Kth Largest Element in an Array,62.8,0.006941740220821001,https://leetcode.com/problems/kth-largest-element-in-an-array,"Array, Divide and Conquer, Sorting, Heap (Priority Queue), Quickselect" MEDIUM,Daily Temperatures,62.8,0.006927662468942192,https://leetcode.com/problems/daily-temperatures,"Array, Stack, Monotonic Stack" MEDIUM,Construct Binary Tree from Preorder and Inorder Traversal,60.7,0.006972801654610389,https://leetcode.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal,"Array, Hash Table, Divide and Conquer, Tree, Binary Tree" MEDIUM,Count the Hidden Sequences,60.7,0.005667226555956483,https://leetcode.com/problems/count-the-hidden-sequences,"Array, Prefix Sum" HARD,Minimum Operations to Make Character Frequencies Equal,60.7,0.002611734693877551,https://leetcode.com/problems/minimum-operations-to-make-character-frequencies-equal,"Hash Table, String, Dynamic Programming, Counting, Enumeration" HARD,Minimum Cost Good Caption,60.7,0.002091506546932223,https://leetcode.com/problems/minimum-cost-good-caption,"String, Dynamic Programming" HARD,Lexicographically Smallest Generated String,60.7,0.005347139104659849,https://leetcode.com/problems/lexicographically-smallest-generated-string,"String, Greedy, String Matching" EASY,Valid Parentheses,58.4,0.004534115794435866,https://leetcode.com/problems/valid-parentheses,"String, Stack, Bracket Sequences" HARD,Reverse Nodes in k-Group,58.4,0.006751125279774633,https://leetcode.com/problems/reverse-nodes-in-k-group,"Linked List, Recursion" MEDIUM,Simplify Path,58.4,0.005168688605143443,https://leetcode.com/problems/simplify-path,"String, Stack" HARD,Word Ladder,58.4,0.004677984451108922,https://leetcode.com/problems/word-ladder,"Hash Table, String, Breadth-First Search, Bidirectional Search" MEDIUM,Binary Tree Right Side View,58.4,0.007143265193478498,https://leetcode.com/problems/binary-tree-right-side-view,"Tree, Depth-First Search, Breadth-First Search, Binary Tree" EASY,Reverse Linked List,58.4,0.008116097895751071,https://leetcode.com/problems/reverse-linked-list,"Linked List, Recursion" HARD,Find Median from Data Stream,58.4,0.005512005325213046,https://leetcode.com/problems/find-median-from-data-stream,"Two Pointers, Design, Sorting, Heap (Priority Queue), Data Stream" MEDIUM,Remove Duplicate Letters,58.4,0.005467647876806373,https://leetcode.com/problems/remove-duplicate-letters,"String, Stack, Greedy, Monotonic Stack" MEDIUM,Insert Delete GetRandom O(1),58.4,0.005556926895801967,https://leetcode.com/problems/insert-delete-getrandom-o1,"Array, Hash Table, Math, Design, Randomized" EASY,Add Strings,58.4,0.005226780590060729,https://leetcode.com/problems/add-strings,"Math, String, Simulation" EASY,Design HashMap,58.4,0.00668275803601339,https://leetcode.com/problems/design-hashmap,"Array, Hash Table, Linked List, Design, Hash Function" HARD,Word Search II,58.4,0.0039031215131376563,https://leetcode.com/problems/word-search-ii,"Array, String, Backtracking, Trie, Matrix" MEDIUM,Container With Most Water,55.8,0.006103882721693231,https://leetcode.com/problems/container-with-most-water,"Array, Two Pointers, Greedy" HARD,Binary Tree Maximum Path Sum,55.8,0.00428943831048659,https://leetcode.com/problems/binary-tree-maximum-path-sum,"Dynamic Programming, Tree, Depth-First Search, Binary Tree, DP on Trees" MEDIUM,Word Break,55.8,0.005002418346238424,https://leetcode.com/problems/word-break,"Array, Hash Table, String, Dynamic Programming, Trie, Memoization, Brute-Force Search" MEDIUM,Rotate Array,55.8,0.004571845614623776,https://leetcode.com/problems/rotate-array,"Array, Math, Two Pointers" HARD,Serialize and Deserialize Binary Tree,55.8,0.006127524528629743,https://leetcode.com/problems/serialize-and-deserialize-binary-tree,"String, Tree, Depth-First Search, Breadth-First Search, Design, Binary Tree" HARD,Meeting Rooms III,55.8,0.005133970961732439,https://leetcode.com/problems/meeting-rooms-iii,"Array, Hash Table, Sorting, Heap (Priority Queue), Simulation" MEDIUM,Length of the Longest Alphabetical Continuous Substring,55.8,0.006140674145747808,https://leetcode.com/problems/length-of-the-longest-alphabetical-continuous-substring,String MEDIUM,Most Popular Video Creator,55.8,0.004566885543372957,https://leetcode.com/problems/most-popular-video-creator,"Array, Hash Table, String, Sorting, Heap (Priority Queue)" MEDIUM,Closest Prime Numbers in Range,55.8,0.005205827403069043,https://leetcode.com/problems/closest-prime-numbers-in-range,"Math, Number Theory, Primality Test, Sieve Theory, Prime Number Sieve" MEDIUM,Find the Score of All Prefixes of an Array,55.8,0.007336727714871951,https://leetcode.com/problems/find-the-score-of-all-prefixes-of-an-array,"Array, Prefix Sum" MEDIUM,Max Area of Island,55.8,0.0074323636240198245,https://leetcode.com/problems/max-area-of-island,"Array, Depth-First Search, Breadth-First Search, Union-Find, Matrix" MEDIUM,Count Complete Subarrays in an Array,55.8,0.007584997301672963,https://leetcode.com/problems/count-complete-subarrays-in-an-array,"Array, Hash Table, Sliding Window" HARD,Bus Routes,55.8,0.0047602690011475796,https://leetcode.com/problems/bus-routes,"Array, Hash Table, Breadth-First Search" MEDIUM,Possible Bipartition,55.8,0.005321688544602354,https://leetcode.com/problems/possible-bipartition,"Depth-First Search, Breadth-First Search, Union-Find, Graph Theory, Graph Coloring, Bipartite Graph" HARD,Minimum Moves to Pick K Ones,55.8,0.0021440458579881656,https://leetcode.com/problems/minimum-moves-to-pick-k-ones,"Array, Greedy, Sliding Window, Prefix Sum" HARD,Shortest Path in a Grid with Obstacles Elimination,55.8,0.00467809680976825,https://leetcode.com/problems/shortest-path-in-a-grid-with-obstacles-elimination,"Array, Breadth-First Search, Matrix" MEDIUM,Incremental Memory Leak,55.8,0.00729539792841222,https://leetcode.com/problems/incremental-memory-leak,"Math, Simulation" MEDIUM,Shortest Bridge,55.8,0.005986790330488956,https://leetcode.com/problems/shortest-bridge,"Array, Depth-First Search, Breadth-First Search, Matrix" MEDIUM,Design Add and Search Words Data Structure,55.8,0.004917018458844883,https://leetcode.com/problems/design-add-and-search-words-data-structure,"String, Depth-First Search, Design, Trie" HARD,Regular Expression Matching,52.9,0.003198937986683444,https://leetcode.com/problems/regular-expression-matching,"String, Dynamic Programming, Recursion" MEDIUM,Find First and Last Position of Element in Sorted Array,52.9,0.00498056428515181,https://leetcode.com/problems/find-first-and-last-position-of-element-in-sorted-array,"Array, Binary Search" MEDIUM,Reorder List,52.9,0.006651122371153966,https://leetcode.com/problems/reorder-list,"Linked List, Two Pointers, Stack, Recursion" MEDIUM,Find Peak Element,52.9,0.0047267374015848625,https://leetcode.com/problems/find-peak-element,"Array, Binary Search" MEDIUM,Compare Version Numbers,52.9,0.004713094428566315,https://leetcode.com/problems/compare-version-numbers,"Two Pointers, String" MEDIUM,Minimum Size Subarray Sum,52.9,0.0053164431197218085,https://leetcode.com/problems/minimum-size-subarray-sum,"Array, Binary Search, Sliding Window, Prefix Sum" HARD,Basic Calculator,52.9,0.004727958474690424,https://leetcode.com/problems/basic-calculator,"Math, String, Stack, Recursion" MEDIUM,Lowest Common Ancestor of a Binary Tree,52.9,0.007028786259352241,https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-tree,"Tree, Depth-First Search, Binary Tree, Binary Lifting, Lowest Common Ancestor" HARD,Alien Dictionary,52.9,0.0037362035993325974,https://leetcode.com/problems/alien-dictionary,"Array, String, Depth-First Search, Breadth-First Search, Graph Theory, Topological Sort, Directed Acyclic Graph" MEDIUM,Evaluate Division,52.9,0.006467507939132466,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,Subarray Sums Divisible by K,52.9,0.005687790082801398,https://leetcode.com/problems/subarray-sums-divisible-by-k,"Array, Hash Table, Prefix Sum" MEDIUM,Maximum Value at a Given Index in a Bounded Array,52.9,0.0038878018607117165,https://leetcode.com/problems/maximum-value-at-a-given-index-in-a-bounded-array,"Math, Binary Search, Greedy" MEDIUM,Brightest Position on Street,52.9,0.006066923558278168,https://leetcode.com/problems/brightest-position-on-street,"Array, Sorting, Prefix Sum, Ordered Set" EASY,Longest Common Prefix,49.5,0.004853661654726556,https://leetcode.com/problems/longest-common-prefix,"Array, String, Trie" HARD,Longest Valid Parentheses,49.5,0.004136907959177225,https://leetcode.com/problems/longest-valid-parentheses,"String, Dynamic Programming, Stack, Bracket Sequences" MEDIUM,Combination Sum,49.5,0.007727907275581059,https://leetcode.com/problems/combination-sum,"Array, Backtracking" MEDIUM,Permutations,49.5,0.008243486759569313,https://leetcode.com/problems/permutations,"Array, Backtracking" MEDIUM,Maximum Subarray,49.5,0.005399358556125697,https://leetcode.com/problems/maximum-subarray,"Array, Divide and Conquer, Dynamic Programming" MEDIUM,Jump Game,49.5,0.004166918851887404,https://leetcode.com/problems/jump-game,"Array, Dynamic Programming, Greedy" MEDIUM,Edit Distance,49.5,0.006145653852502092,https://leetcode.com/problems/edit-distance,"String, Dynamic Programming" MEDIUM,Subsets,49.5,0.008293247611886554,https://leetcode.com/problems/subsets,"Array, Backtracking, Bit Manipulation" MEDIUM,Restore IP Addresses,49.5,0.005736171163508679,https://leetcode.com/problems/restore-ip-addresses,"String, Backtracking" HARD,Sliding Window Maximum,49.5,0.004936740881363356,https://leetcode.com/problems/sliding-window-maximum,"Array, Queue, Sliding Window, Heap (Priority Queue), Monotonic Queue, Range Minimum/Maximum Query" HARD,Longest Increasing Path in a Matrix,49.5,0.005718818434353904,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,Partition Equal Subset Sum,49.5,0.00500968285967022,https://leetcode.com/problems/partition-equal-subset-sum,"Array, Dynamic Programming, Knapsack Problem, 0-1 Knapsack" MEDIUM,Pacific Atlantic Water Flow,49.5,0.0061618550323156865,https://leetcode.com/problems/pacific-atlantic-water-flow,"Array, Depth-First Search, Breadth-First Search, Matrix" MEDIUM,Koko Eating Bananas,49.5,0.0050717010478791525,https://leetcode.com/problems/koko-eating-bananas,"Array, Binary Search" MEDIUM,Rotting Oranges,49.5,0.0059593960284779245,https://leetcode.com/problems/rotting-oranges,"Array, Breadth-First Search, Matrix" EASY,Kth Missing Positive Number,49.5,0.006402857101763533,https://leetcode.com/problems/kth-missing-positive-number,"Array, Binary Search" HARD,Super Egg Drop,49.5,0.0030961200124323845,https://leetcode.com/problems/super-egg-drop,"Math, Binary Search, Dynamic Programming" MEDIUM,Cheapest Flights Within K Stops,49.5,0.004272271281705025,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,Multiply Strings,45.5,0.004486000467037326,https://leetcode.com/problems/multiply-strings,"Math, String, Simulation" MEDIUM,Jump Game II,45.5,0.004366656323364523,https://leetcode.com/problems/jump-game-ii,"Array, Dynamic Programming, Greedy" MEDIUM,Permutations II,45.5,0.006440265253656201,https://leetcode.com/problems/permutations-ii,"Array, Backtracking, Sorting" MEDIUM,Group Anagrams,45.5,0.007344438491716518,https://leetcode.com/problems/group-anagrams,"Array, Hash Table, String, Sorting" EASY,Climbing Stairs,45.5,0.0054406473309541155,https://leetcode.com/problems/climbing-stairs,"Math, Dynamic Programming, Memoization" MEDIUM,Sort Colors,45.5,0.007029501745184955,https://leetcode.com/problems/sort-colors,"Array, Two Pointers, Sorting, Quicksort, Bubble Sort" HARD,Word Break II,45.5,0.005638990982253106,https://leetcode.com/problems/word-break-ii,"Array, Hash Table, String, Dynamic Programming, Backtracking, Trie, Memoization" EASY,Meeting Rooms,45.5,0.005960931752078753,https://leetcode.com/problems/meeting-rooms,"Array, Sorting, Quicksort" HARD,Remove Invalid Parentheses,45.5,0.005255340182121441,https://leetcode.com/problems/remove-invalid-parentheses,"String, Backtracking, Breadth-First Search" MEDIUM,Longest Substring with At Most K Distinct Characters,45.5,0.005016613504273714,https://leetcode.com/problems/longest-substring-with-at-most-k-distinct-characters,"Hash Table, String, Sliding Window" MEDIUM,Longest Substring with At Least K Repeating Characters,45.5,0.004687528711075074,https://leetcode.com/problems/longest-substring-with-at-least-k-repeating-characters,"Hash Table, String, Divide and Conquer, Sliding Window" HARD,Split Message Based on Limit,45.5,0.004236855002450465,https://leetcode.com/problems/split-message-based-on-limit,"String, Enumeration" MEDIUM,Random Pick with Weight,45.5,0.004931737212757548,https://leetcode.com/problems/random-pick-with-weight,"Array, Math, Binary Search, Prefix Sum, Randomized" MEDIUM,Gas Station,45.5,0.00488887332723141,https://leetcode.com/problems/gas-station,"Array, Greedy" MEDIUM,Reorder Routes to Make All Paths Lead to the City Zero,45.5,0.006623908254902262,https://leetcode.com/problems/reorder-routes-to-make-all-paths-lead-to-the-city-zero,"Depth-First Search, Breadth-First Search, Graph Theory" MEDIUM,All Nodes Distance K in Binary Tree,45.5,0.006818732179822678,https://leetcode.com/problems/all-nodes-distance-k-in-binary-tree,"Hash Table, Tree, Depth-First Search, Breadth-First Search, Binary Tree" HARD,Numbers At Most N Given Digit Set,45.5,0.004621887738132991,https://leetcode.com/problems/numbers-at-most-n-given-digit-set,"Array, Math, String, Binary Search, Dynamic Programming" MEDIUM,Binary Tree Longest Consecutive Sequence,45.5,0.0054893245988152225,https://leetcode.com/problems/binary-tree-longest-consecutive-sequence,"Tree, Depth-First Search, Binary Tree, DP on Trees" MEDIUM,Count Number of Nice Subarrays,45.5,0.007582893273212039,https://leetcode.com/problems/count-number-of-nice-subarrays,"Array, Hash Table, Math, Sliding Window, Prefix Sum" HARD,Largest Rectangle in Histogram,45.5,0.005106156360578037,https://leetcode.com/problems/largest-rectangle-in-histogram,"Array, Stack, Monotonic Stack, Range Minimum/Maximum Query" MEDIUM,Design Memory Allocator,45.5,0.00510366503208994,https://leetcode.com/problems/design-memory-allocator,"Array, Hash Table, Design, Simulation" MEDIUM,Shortest Unsorted Continuous Subarray,45.5,0.003870709820968399,https://leetcode.com/problems/shortest-unsorted-continuous-subarray,"Array, Two Pointers, Stack, Greedy, Sorting, Monotonic Stack" MEDIUM,Minimum Operations to Write the Letter Y on a Grid,45.5,0.006407234000461606,https://leetcode.com/problems/minimum-operations-to-write-the-letter-y-on-a-grid,"Array, Hash Table, Matrix, Counting" MEDIUM,Course Schedule IV,45.5,0.006061125486899719,https://leetcode.com/problems/course-schedule-iv,"Depth-First Search, Breadth-First Search, Graph Theory, Topological Sort" MEDIUM,Longest Mountain in Array,45.5,0.004258729715906449,https://leetcode.com/problems/longest-mountain-in-array,"Array, Two Pointers, Dynamic Programming, Enumeration" HARD,All O`one Data Structure,45.5,0.004469073016352057,https://leetcode.com/problems/all-oone-data-structure,"Hash Table, Linked List, Design, Doubly-Linked List" MEDIUM,Swap Nodes in Pairs,40.7,0.007042718072445011,https://leetcode.com/problems/swap-nodes-in-pairs,"Linked List, Recursion" MEDIUM,Minimum Path Sum,40.7,0.006903300642253736,https://leetcode.com/problems/minimum-path-sum,"Array, Dynamic Programming, Matrix" MEDIUM,Reverse Words in a String,40.7,0.005813325965106182,https://leetcode.com/problems/reverse-words-in-a-string,"Two Pointers, String" MEDIUM,Find Minimum in Rotated Sorted Array,40.7,0.005546543129072858,https://leetcode.com/problems/find-minimum-in-rotated-sorted-array,"Array, Binary Search" MEDIUM,Longest Substring with At Most Two Distinct Characters,40.7,0.00572091050631428,https://leetcode.com/problems/longest-substring-with-at-most-two-distinct-characters,"Hash Table, String, Sliding Window" MEDIUM,House Robber II,40.7,0.004567988972337256,https://leetcode.com/problems/house-robber-ii,"Array, Dynamic Programming" HARD,Shortest Distance from All Buildings,40.7,0.004502211518468349,https://leetcode.com/problems/shortest-distance-from-all-buildings,"Array, Breadth-First Search, Matrix" MEDIUM,Remove K Digits,40.7,0.0037879972887011836,https://leetcode.com/problems/remove-k-digits,"String, Stack, Greedy, Monotonic Stack" MEDIUM,Asteroid Collision,40.7,0.004932935504284918,https://leetcode.com/problems/asteroid-collision,"Array, Stack, Simulation" MEDIUM,Minimum Remove to Make Valid Parentheses,40.7,0.00716668546139069,https://leetcode.com/problems/minimum-remove-to-make-valid-parentheses,"String, Stack" MEDIUM,Number of Good Leaf Nodes Pairs,40.7,0.00717801333947842,https://leetcode.com/problems/number-of-good-leaf-nodes-pairs,"Tree, Depth-First Search, Binary Tree, DP on Trees" MEDIUM,Min Cost to Connect All Points,40.7,0.007194204141030383,https://leetcode.com/problems/min-cost-to-connect-all-points,"Array, Union-Find, Graph Theory, Minimum Spanning Tree, Prim's Algorithm, Kruskal's Algorithm, Borůvka's Algorithm" MEDIUM,Sentence Similarity III,40.7,0.0048390768100068145,https://leetcode.com/problems/sentence-similarity-iii,"Array, Two Pointers, String" MEDIUM,Make Costs of Paths Equal in a Binary Tree,40.7,0.005722796837279351,https://leetcode.com/problems/make-costs-of-paths-equal-in-a-binary-tree,"Array, Dynamic Programming, Greedy, Tree, Binary Tree" MEDIUM,Minimum Cost For Tickets,40.7,0.006751391719440304,https://leetcode.com/problems/minimum-cost-for-tickets,"Array, Dynamic Programming" MEDIUM,Regions Cut By Slashes,40.7,0.007757134879789915,https://leetcode.com/problems/regions-cut-by-slashes,"Array, Hash Table, Depth-First Search, Breadth-First Search, Union-Find, Matrix, Planar Graph" HARD,Robot Room Cleaner,40.7,0.007804571325322976,https://leetcode.com/problems/robot-room-cleaner,"Backtracking, Interactive" MEDIUM,Path Sum III,40.7,0.004673145413890047,https://leetcode.com/problems/path-sum-iii,"Tree, Depth-First Search, Binary Tree" HARD,Block Placement Queries,40.7,0.004097031700798273,https://leetcode.com/problems/block-placement-queries,"Array, Binary Search, Binary Indexed Tree, Segment Tree, Ordered Set" EASY,Merge Two Sorted Lists,34.5,0.0069017875285517375,https://leetcode.com/problems/merge-two-sorted-lists,"Linked List, Recursion" MEDIUM,Combination Sum II,34.5,0.006034421411361775,https://leetcode.com/problems/combination-sum-ii,"Array, Backtracking" MEDIUM,Binary Tree Zigzag Level Order Traversal,34.5,0.006466049681181186,https://leetcode.com/problems/binary-tree-zigzag-level-order-traversal,"Tree, Breadth-First Search, Binary Tree" MEDIUM,Best Time to Buy and Sell Stock II,34.5,0.007176549495764439,https://leetcode.com/problems/best-time-to-buy-and-sell-stock-ii,"Array, Dynamic Programming, Greedy" HARD,Best Time to Buy and Sell Stock III,34.5,0.005496297664936471,https://leetcode.com/problems/best-time-to-buy-and-sell-stock-iii,"Array, Dynamic Programming" EASY,Valid Palindrome,34.5,0.005452922111462224,https://leetcode.com/problems/valid-palindrome,"Two Pointers, String" MEDIUM,Step-By-Step Directions From a Binary Tree Node to Another,34.5,0.005652518289412114,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" MEDIUM,Find All Possible Recipes from Given Supplies,34.5,0.005718488377206688,https://leetcode.com/problems/find-all-possible-recipes-from-given-supplies,"Array, Hash Table, String, Graph Theory, Topological Sort, Directed Acyclic Graph" MEDIUM,Largest Number,34.5,0.004399287421821326,https://leetcode.com/problems/largest-number,"Array, String, Greedy, Sorting" HARD,Best Time to Buy and Sell Stock IV,34.5,0.005157275450572116,https://leetcode.com/problems/best-time-to-buy-and-sell-stock-iv,"Array, Dynamic Programming" MEDIUM,Maximal Square,34.5,0.005105151617759079,https://leetcode.com/problems/maximal-square,"Array, Dynamic Programming, Matrix" MEDIUM,Search a 2D Matrix,34.5,0.005434076143405345,https://leetcode.com/problems/search-a-2d-matrix,"Array, Binary Search, Matrix" MEDIUM,Non-overlapping Intervals,34.5,0.005789037258174443,https://leetcode.com/problems/non-overlapping-intervals,"Array, Dynamic Programming, Greedy, Sorting" MEDIUM,String Compression,34.5,0.006096659272018342,https://leetcode.com/problems/string-compression,"Two Pointers, String" HARD,LFU Cache,34.5,0.005051298260124657,https://leetcode.com/problems/lfu-cache,"Hash Table, Linked List, Design, Doubly-Linked List" MEDIUM,Coin Change II,34.5,0.005909033418145254,https://leetcode.com/problems/coin-change-ii,"Array, Dynamic Programming, Knapsack Problem, Complete Knapsack" MEDIUM,Contiguous Array,34.5,0.0052618979612210496,https://leetcode.com/problems/contiguous-array,"Array, Hash Table, Prefix Sum" HARD,Design In-Memory File System,34.5,0.004834519864833831,https://leetcode.com/problems/design-in-memory-file-system,"Hash Table, String, Design, Trie, Sorting" MEDIUM,Task Scheduler,34.5,0.006400144169775477,https://leetcode.com/problems/task-scheduler,"Array, Hash Table, Greedy, Sorting, Heap (Priority Queue), Counting" MEDIUM,Maximum Width of Binary Tree,34.5,0.004620526423121943,https://leetcode.com/problems/maximum-width-of-binary-tree,"Tree, Depth-First Search, Breadth-First Search, Binary Tree" EASY,Valid Palindrome II,34.5,0.004491376325828373,https://leetcode.com/problems/valid-palindrome-ii,"Two Pointers, String, Greedy" MEDIUM,Open the Lock,34.5,0.006162140141227593,https://leetcode.com/problems/open-the-lock,"Array, Hash Table, String, Breadth-First Search, Bidirectional Search" MEDIUM,Convert Binary Search Tree to Sorted Doubly Linked List,34.5,0.006564015187370502,https://leetcode.com/problems/convert-binary-search-tree-to-sorted-doubly-linked-list,"Linked List, Stack, Tree, Depth-First Search, Binary Search Tree, Binary Tree, Doubly-Linked List" MEDIUM,Is Graph Bipartite?,34.5,0.006004135504504237,https://leetcode.com/problems/is-graph-bipartite,"Depth-First Search, Breadth-First Search, Union-Find, Graph Theory, Graph Coloring, Bipartite Graph" MEDIUM,Champagne Tower,34.5,0.0063875537629080525,https://leetcode.com/problems/champagne-tower,Dynamic Programming HARD,Minimize Malware Spread,34.5,0.004354806557800992,https://leetcode.com/problems/minimize-malware-spread,"Array, Hash Table, Depth-First Search, Breadth-First Search, Union-Find, Graph Theory" MEDIUM,Pairs of Songs With Total Durations Divisible by 60,34.5,0.005358126149836467,https://leetcode.com/problems/pairs-of-songs-with-total-durations-divisible-by-60,"Array, Hash Table, Counting" MEDIUM,Shortest Path in Binary Matrix,34.5,0.005229651853578713,https://leetcode.com/problems/shortest-path-in-binary-matrix,"Array, Breadth-First Search, Matrix" MEDIUM,Longest Common Subsequence,34.5,0.005966796536398839,https://leetcode.com/problems/longest-common-subsequence,"String, Dynamic Programming, Longest Common Subsequence" MEDIUM,Remove All Adjacent Duplicates in String II,34.5,0.006203668377768259,https://leetcode.com/problems/remove-all-adjacent-duplicates-in-string-ii,"String, Stack" MEDIUM,Search Suggestions System,34.5,0.006524807686648009,https://leetcode.com/problems/search-suggestions-system,"Array, String, Binary Search, Trie, Sorting, Heap (Priority Queue)" MEDIUM,Maximum Points You Can Obtain from Cards,34.5,0.005853498175442612,https://leetcode.com/problems/maximum-points-you-can-obtain-from-cards,"Array, Sliding Window, Prefix Sum" MEDIUM,Matchsticks to Square,34.5,0.004243465234011778,https://leetcode.com/problems/matchsticks-to-square,"Array, Dynamic Programming, Backtracking, Bit Manipulation, Bitmask" MEDIUM,Water and Jug Problem,34.5,0.004662287146685107,https://leetcode.com/problems/water-and-jug-problem,"Math, Depth-First Search, Breadth-First Search, Bézout's Lemma, Euclidean Algorithm, Greatest Common Divisor, Extended Euclidean Algorithm" MEDIUM,Replace Words,34.5,0.006905214405823805,https://leetcode.com/problems/replace-words,"Array, Hash Table, String, Trie" HARD,Candy,34.5,0.004941951655854013,https://leetcode.com/problems/candy,"Array, Greedy" MEDIUM,Delete and Earn,34.5,0.0057648439637667595,https://leetcode.com/problems/delete-and-earn,"Array, Hash Table, Dynamic Programming" HARD,Max Stack,34.5,0.004605380336660356,https://leetcode.com/problems/max-stack,"Linked List, Stack, Design, Doubly-Linked List, Ordered Set" MEDIUM,House Robber III,34.5,0.005647724381458007,https://leetcode.com/problems/house-robber-iii,"Dynamic Programming, Tree, Depth-First Search, Binary Tree, DP on Trees" MEDIUM,Time Based Key-Value Store,34.5,0.005025873329693489,https://leetcode.com/problems/time-based-key-value-store,"Hash Table, String, Binary Search, Design" MEDIUM,Unique Paths II,34.5,0.004523941350133254,https://leetcode.com/problems/unique-paths-ii,"Array, Dynamic Programming, Matrix" MEDIUM,Best Time to Buy and Sell Stock with Cooldown,34.5,0.006289740876651883,https://leetcode.com/problems/best-time-to-buy-and-sell-stock-with-cooldown,"Array, Dynamic Programming" MEDIUM,Minimum Number of Arrows to Burst Balloons,34.5,0.006202267526811579,https://leetcode.com/problems/minimum-number-of-arrows-to-burst-balloons,"Array, Greedy, Sorting" MEDIUM,Add Bold Tag in String,34.5,0.005153145595587633,https://leetcode.com/problems/add-bold-tag-in-string,"Array, Hash Table, String, Trie, String Matching, Aho–Corasick Algorithm" HARD,Longest Duplicate Substring,34.5,0.003151216208668454,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,Roman to Integer,34.5,0.00673104403707293,https://leetcode.com/problems/roman-to-integer,"Hash Table, Math, String" MEDIUM,Deepest Leaves Sum,34.5,0.008663842515932073,https://leetcode.com/problems/deepest-leaves-sum,"Tree, Depth-First Search, Breadth-First Search, Binary Tree" MEDIUM,Recover Binary Search Tree,34.5,0.00612410559141632,https://leetcode.com/problems/recover-binary-search-tree,"Tree, Depth-First Search, Binary Search Tree, Binary Tree" MEDIUM,Flatten Deeply Nested Array,34.5,0.006628767451614837,https://leetcode.com/problems/flatten-deeply-nested-array, MEDIUM,Nth Digit,34.5,0.003923392924261113,https://leetcode.com/problems/nth-digit,"Math, Binary Search" MEDIUM,Product of the Last K Numbers,34.5,0.006308162635677758,https://leetcode.com/problems/product-of-the-last-k-numbers,"Array, Math, Design, Data Stream, Prefix Sum" MEDIUM,Fruit Into Baskets,34.5,0.005276160523509217,https://leetcode.com/problems/fruit-into-baskets,"Array, Hash Table, Sliding Window" MEDIUM,Rotate Image,34.5,0.008083482348106776,https://leetcode.com/problems/rotate-image,"Array, Math, Matrix" HARD,Serialize and Deserialize N-ary Tree,34.5,0.006902255233678874,https://leetcode.com/problems/serialize-and-deserialize-n-ary-tree,"String, Tree, Depth-First Search, Breadth-First Search" MEDIUM,Partition Array for Maximum Sum,34.5,0.007758727224716133,https://leetcode.com/problems/partition-array-for-maximum-sum,"Array, Dynamic Programming" MEDIUM,Single-Threaded CPU,34.5,0.004829672636674814,https://leetcode.com/problems/single-threaded-cpu,"Array, Sorting, Heap (Priority Queue)" HARD,Median of Two Sorted Arrays,26.1,0.004785840965194264,https://leetcode.com/problems/median-of-two-sorted-arrays,"Array, Binary Search, Divide and Conquer" MEDIUM,Integer to Roman,26.1,0.007185729393490961,https://leetcode.com/problems/integer-to-roman,"Hash Table, Math, String" MEDIUM,Insert Interval,26.1,0.004619850747323084,https://leetcode.com/problems/insert-interval,Array MEDIUM,Unique Paths,26.1,0.006736981362233574,https://leetcode.com/problems/unique-paths,"Math, Dynamic Programming, Combinatorics" MEDIUM,Remove Duplicates from Sorted Array II,26.1,0.006542137365930497,https://leetcode.com/problems/remove-duplicates-from-sorted-array-ii,"Array, Two Pointers" MEDIUM,Reverse Linked List II,26.1,0.00526381307704386,https://leetcode.com/problems/reverse-linked-list-ii,Linked List MEDIUM,Unique Binary Search Trees,26.1,0.00643645565111155,https://leetcode.com/problems/unique-binary-search-trees,"Math, Dynamic Programming, Tree, Binary Search Tree, Binary Tree" MEDIUM,Path Sum II,26.1,0.006311150449189185,https://leetcode.com/problems/path-sum-ii,"Backtracking, Tree, Depth-First Search, Binary Tree" HARD,Parallel Courses III,26.1,0.00667874352378537,https://leetcode.com/problems/parallel-courses-iii,"Array, Dynamic Programming, Graph Theory, Topological Sort, Directed Acyclic Graph" MEDIUM,Sort List,26.1,0.00655802396346381,https://leetcode.com/problems/sort-list,"Linked List, Two Pointers, Divide and Conquer, Sorting, Merge Sort" MEDIUM,Maximum Product Subarray,26.1,0.003722388828252331,https://leetcode.com/problems/maximum-product-subarray,"Array, Dynamic Programming" EASY,Intersection of Two Linked Lists,26.1,0.006488762046725983,https://leetcode.com/problems/intersection-of-two-linked-lists,"Hash Table, Linked List, Two Pointers" EASY,Happy Number,26.1,0.006042661170976193,https://leetcode.com/problems/happy-number,"Hash Table, Math, Two Pointers, Floyd's Cycle Finding Algorithm" MEDIUM,Implement Trie (Prefix Tree),26.1,0.007017756696366832,https://leetcode.com/problems/implement-trie-prefix-tree,"Hash Table, String, Design, Trie" MEDIUM,Search a 2D Matrix II,26.1,0.005828698523866629,https://leetcode.com/problems/search-a-2d-matrix-ii,"Array, Binary Search, Divide and Conquer, Matrix" EASY,Move Zeroes,26.1,0.006450129668722811,https://leetcode.com/problems/move-zeroes,"Array, Two Pointers" MEDIUM,Walls and Gates,26.1,0.006424430829254617,https://leetcode.com/problems/walls-and-gates,"Array, Breadth-First Search, Matrix" MEDIUM,Design Tic-Tac-Toe,26.1,0.0058769802589026246,https://leetcode.com/problems/design-tic-tac-toe,"Array, Hash Table, Design, Matrix, Simulation" MEDIUM,Kth Smallest Element in a Sorted Matrix,26.1,0.0065191731664640115,https://leetcode.com/problems/kth-smallest-element-in-a-sorted-matrix,"Array, Binary Search, Sorting, Heap (Priority Queue), Matrix" HARD,Insert Delete GetRandom O(1) - Duplicates allowed,26.1,0.003716146933975266,https://leetcode.com/problems/insert-delete-getrandom-o1-duplicates-allowed,"Array, Hash Table, Math, Design, Randomized" HARD,Frog Jump,26.1,0.00477470032727287,https://leetcode.com/problems/frog-jump,"Array, Dynamic Programming" MEDIUM,Heaters,26.1,0.004283082038375395,https://leetcode.com/problems/heaters,"Array, Two Pointers, Binary Search, Sorting" MEDIUM,Find K Closest Elements,26.1,0.0050199934995376425,https://leetcode.com/problems/find-k-closest-elements,"Array, Two Pointers, Binary Search, Sliding Window, Sorting, Heap (Priority Queue)" MEDIUM,Number of Longest Increasing Subsequence,26.1,0.005287162138221626,https://leetcode.com/problems/number-of-longest-increasing-subsequence,"Array, Dynamic Programming, Binary Indexed Tree, Segment Tree, Longest Increasing Subsequence" HARD,Stickers to Spell Word,26.1,0.005135349058097198,https://leetcode.com/problems/stickers-to-spell-word,"Array, Hash Table, String, Dynamic Programming, Backtracking, Bit Manipulation, Memoization, Bitmask" MEDIUM,Best Time to Buy and Sell Stock with Transaction Fee,26.1,0.007269266214961497,https://leetcode.com/problems/best-time-to-buy-and-sell-stock-with-transaction-fee,"Array, Dynamic Programming, Greedy" MEDIUM,Score of Parentheses,26.1,0.006593742555387913,https://leetcode.com/problems/score-of-parentheses,"String, Stack, Bracket Sequences" MEDIUM,Sum of Subarray Minimums,26.1,0.003907148483730506,https://leetcode.com/problems/sum-of-subarray-minimums,"Array, Dynamic Programming, Stack, Monotonic Stack" MEDIUM,Minimum Increment to Make Array Unique,26.1,0.006086219900095096,https://leetcode.com/problems/minimum-increment-to-make-array-unique,"Array, Greedy, Sorting, Counting" HARD,Subarrays with K Different Integers,26.1,0.006918480637589581,https://leetcode.com/problems/subarrays-with-k-different-integers,"Array, Hash Table, Sliding Window, Counting" MEDIUM,Max Consecutive Ones III,26.1,0.006860489539277908,https://leetcode.com/problems/max-consecutive-ones-iii,"Array, Binary Search, Sliding Window, Prefix Sum" MEDIUM,Dot Product of Two Sparse Vectors,26.1,0.008987146834093468,https://leetcode.com/problems/dot-product-of-two-sparse-vectors,"Array, Hash Table, Two Pointers, Design, Linear Algebra" MEDIUM,Furthest Building You Can Reach,26.1,0.005120214163959792,https://leetcode.com/problems/furthest-building-you-can-reach,"Array, Greedy, Heap (Priority Queue)" MEDIUM,Remove Nth Node From End of List,26.1,0.005289997204219672,https://leetcode.com/problems/remove-nth-node-from-end-of-list,"Linked List, Two Pointers" MEDIUM,Minimum Moves to Spread Stones Over Grid,26.1,0.004621872725456336,https://leetcode.com/problems/minimum-moves-to-spread-stones-over-grid,"Array, Dynamic Programming, Backtracking, Bit Manipulation, Matrix, Bitmask" MEDIUM,Minimum Swaps to Group All 1's Together,26.1,0.006131062544227315,https://leetcode.com/problems/minimum-swaps-to-group-all-1s-together,"Array, Sliding Window" MEDIUM,Tree Diameter,26.1,0.0061287214669885235,https://leetcode.com/problems/tree-diameter,"Tree, Depth-First Search, Breadth-First Search, Graph Theory, Topological Sort, DP on Trees" MEDIUM,Snakes and Ladders,26.1,0.0048299764845093586,https://leetcode.com/problems/snakes-and-ladders,"Array, Breadth-First Search, Matrix" MEDIUM,Number of Connected Components in an Undirected Graph,26.1,0.006519930542517051,https://leetcode.com/problems/number-of-connected-components-in-an-undirected-graph,"Depth-First Search, Breadth-First Search, Union-Find, Graph Theory" MEDIUM,Insert into a Sorted Circular Linked List,26.1,0.0038591362996839816,https://leetcode.com/problems/insert-into-a-sorted-circular-linked-list,Linked List MEDIUM,2 Keys Keyboard,26.1,0.005954649921069737,https://leetcode.com/problems/2-keys-keyboard,"Math, Dynamic Programming" MEDIUM,Copy List with Random Pointer,26.1,0.00638845439139361,https://leetcode.com/problems/copy-list-with-random-pointer,"Hash Table, Linked List" MEDIUM,The Maze II,26.1,0.005525921448629317,https://leetcode.com/problems/the-maze-ii,"Array, Depth-First Search, Breadth-First Search, Graph Theory, Heap (Priority Queue), Matrix, Shortest Path, Dijkstra's Algorithm, Heuristic Search, A* Search" EASY,Diameter of Binary Tree,26.1,0.006639927286716018,https://leetcode.com/problems/diameter-of-binary-tree,"Tree, Depth-First Search, Binary Tree, DP on Trees" MEDIUM,Maximum Width Ramp,26.1,0.005597561225850801,https://leetcode.com/problems/maximum-width-ramp,"Array, Two Pointers, Stack, Monotonic Stack" MEDIUM,Find the Duplicate Number,26.1,0.006500948257570872,https://leetcode.com/problems/find-the-duplicate-number,"Array, Two Pointers, Binary Search, Bit Manipulation, Pigeonhole Principle, Floyd's Cycle Finding Algorithm" HARD,Maximum Spending After Buying Items,26.1,0.006028346566374147,https://leetcode.com/problems/maximum-spending-after-buying-items,"Array, Greedy, Sorting, Heap (Priority Queue), Matrix" HARD,K-th Smallest in Lexicographical Order,26.1,0.004670590753424657,https://leetcode.com/problems/k-th-smallest-in-lexicographical-order,Trie HARD,Rearranging Fruits,26.1,0.0057221525043979525,https://leetcode.com/problems/rearranging-fruits,"Array, Hash Table, Greedy, Sort" MEDIUM,Parallel Courses,26.1,0.006246916107346397,https://leetcode.com/problems/parallel-courses,"Graph Theory, Topological Sort, Directed Acyclic Graph" MEDIUM,Letter Case Permutation,26.1,0.007617047417630038,https://leetcode.com/problems/letter-case-permutation,"String, Backtracking, Bit Manipulation" EASY,Convert Sorted Array to Binary Search Tree,26.1,0.007624239676262075,https://leetcode.com/problems/convert-sorted-array-to-binary-search-tree,"Array, Divide and Conquer, Tree, Binary Search Tree, Binary Tree" HARD,Maximum Performance of a Team,26.1,0.00481805782757214,https://leetcode.com/problems/maximum-performance-of-a-team,"Array, Greedy, Sorting, Heap (Priority Queue)" MEDIUM,Two Sum II - Input Array Is Sorted,26.1,0.006603657646487041,https://leetcode.com/problems/two-sum-ii-input-array-is-sorted,"Array, Two Pointers, Binary Search" HARD,Maximum Profit in Job Scheduling,26.1,0.005487886347613014,https://leetcode.com/problems/maximum-profit-in-job-scheduling,"Array, Binary Search, Dynamic Programming, Sorting" MEDIUM,Kth Smallest Element in a BST,26.1,0.007743589371517403,https://leetcode.com/problems/kth-smallest-element-in-a-bst,"Tree, Depth-First Search, Binary Search Tree, Binary Tree" EASY,Add Two Integers,26.1,0.00879595356011442,https://leetcode.com/problems/add-two-integers,Math HARD,Put Marbles in Bags,26.1,0.007203281257200793,https://leetcode.com/problems/put-marbles-in-bags,"Array, Greedy, Sorting, Heap (Priority Queue)" MEDIUM,Remove Duplicates from Sorted List II,26.1,0.005274021694496013,https://leetcode.com/problems/remove-duplicates-from-sorted-list-ii,"Linked List, Two Pointers" EASY,Valid Mountain Array,26.1,0.0035903193433497876,https://leetcode.com/problems/valid-mountain-array,Array HARD,Human Traffic of Stadium,26.1,0.005247835224240382,https://leetcode.com/problems/human-traffic-of-stadium,Database MEDIUM,Sparse Matrix Multiplication,26.1,0.006940022265089505,https://leetcode.com/problems/sparse-matrix-multiplication,"Array, Hash Table, Matrix, Linear Algebra" MEDIUM,Event Emitter,26.1,0.0075305543592865945,https://leetcode.com/problems/event-emitter, MEDIUM,Minesweeper,26.1,0.006902232236938091,https://leetcode.com/problems/minesweeper,"Array, Depth-First Search, Breadth-First Search, Matrix" MEDIUM,Valid Square,26.1,0.004565822898002577,https://leetcode.com/problems/valid-square,"Math, Geometry" HARD,Find Maximum Non-decreasing Array Length,26.1,0.0019354165579842453,https://leetcode.com/problems/find-maximum-non-decreasing-array-length,"Array, Binary Search, Dynamic Programming, Stack, Queue, Monotonic Stack, Prefix Sum, Monotonic Queue" MEDIUM,Candy Crush,26.1,0.0077582419350945096,https://leetcode.com/problems/candy-crush,"Array, Two Pointers, Matrix, Simulation" MEDIUM,Shortest Subarray to be Removed to Make Array Sorted,26.1,0.005137318814118949,https://leetcode.com/problems/shortest-subarray-to-be-removed-to-make-array-sorted,"Array, Two Pointers, Binary Search, Stack, Monotonic Stack" MEDIUM,Count the Number of Good Subarrays,26.1,0.006576765085915954,https://leetcode.com/problems/count-the-number-of-good-subarrays,"Array, Hash Table, Sliding Window" HARD,Consecutive Numbers Sum,26.1,0.0043108005812988555,https://leetcode.com/problems/consecutive-numbers-sum,"Math, Enumeration" MEDIUM,Wiggle Sort,26.1,0.006852189159743974,https://leetcode.com/problems/wiggle-sort,"Array, Greedy, Sorting" EASY,Implement Queue using Stacks,26.1,0.007033205230202047,https://leetcode.com/problems/implement-queue-using-stacks,"Stack, Design, Queue" EASY,Next Greater Element I,26.1,0.007697150566207432,https://leetcode.com/problems/next-greater-element-i,"Array, Hash Table, Stack, Monotonic Stack" MEDIUM,Encode and Decode Strings,26.1,0.005209337981343404,https://leetcode.com/problems/encode-and-decode-strings,"Array, String, Design" MEDIUM,Number of Adjacent Elements With the Same Color,26.1,0.006007614991207266,https://leetcode.com/problems/number-of-adjacent-elements-with-the-same-color,Array HARD,24 Game,26.1,0.0059710177495854565,https://leetcode.com/problems/24-game,"Array, Math, Backtracking" MEDIUM,Merge In Between Linked Lists,26.1,0.00832319327256822,https://leetcode.com/problems/merge-in-between-linked-lists,Linked List EASY,Count Binary Substrings,26.1,0.007063877089923181,https://leetcode.com/problems/count-binary-substrings,"Two Pointers, String" MEDIUM,Maximum Size Subarray Sum Equals k,26.1,0.00510183025199056,https://leetcode.com/problems/maximum-size-subarray-sum-equals-k,"Array, Hash Table, Prefix Sum" MEDIUM,Accounts Merge,26.1,0.006219343889038802,https://leetcode.com/problems/accounts-merge,"Array, Hash Table, String, Depth-First Search, Breadth-First Search, Union-Find, Sorting" HARD,Employee Free Time,26.1,0.007300457171486276,https://leetcode.com/problems/employee-free-time,"Array, Sweep Line, Sorting, Heap (Priority Queue)" EASY,Minimum Operations to Make the Array Increasing,26.1,0.008251343853440432,https://leetcode.com/problems/minimum-operations-to-make-the-array-increasing,"Array, Greedy" MEDIUM,Robot Bounded In Circle,26.1,0.005666835279121057,https://leetcode.com/problems/robot-bounded-in-circle,"Math, String, Simulation" MEDIUM,Find All Anagrams in a String,26.1,0.005470404713909133,https://leetcode.com/problems/find-all-anagrams-in-a-string,"Hash Table, String, Sliding Window" MEDIUM,Word Pattern II,26.1,0.004917256067698546,https://leetcode.com/problems/word-pattern-ii,"Hash Table, String, Backtracking" MEDIUM,Minimum Absolute Difference Between Elements With Constraint,26.1,0.0037557167706079504,https://leetcode.com/problems/minimum-absolute-difference-between-elements-with-constraint,"Array, Binary Search, Ordered Set" HARD,Department Top Three Salaries,26.1,0.006218830201766734,https://leetcode.com/problems/department-top-three-salaries,Database MEDIUM,Construct Binary Tree from Inorder and Postorder Traversal,26.1,0.006980951358172188,https://leetcode.com/problems/construct-binary-tree-from-inorder-and-postorder-traversal,"Array, Hash Table, Divide and Conquer, Tree, Binary Tree" MEDIUM,Implement Rand10() Using Rand7(),26.1,0.004698310283314594,https://leetcode.com/problems/implement-rand10-using-rand7,"Math, Rejection Sampling, Randomized, Probability and Statistics" MEDIUM,Lowest Common Ancestor of a Binary Tree IV,26.1,0.007968522650111552,https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-tree-iv,"Hash Table, Tree, Depth-First Search, Binary Tree, Binary Lifting, Lowest Common Ancestor" MEDIUM,Surrounded Regions,26.1,0.004649513176611383,https://leetcode.com/problems/surrounded-regions,"Array, Depth-First Search, Breadth-First Search, Union-Find, Matrix" MEDIUM,Next Greater Element II,26.1,0.006933402844927012,https://leetcode.com/problems/next-greater-element-ii,"Array, Stack, Monotonic Stack" MEDIUM,Unit Conversion II,26.1,0.006123348017621145,https://leetcode.com/problems/unit-conversion-ii,"Array, Math, Depth-First Search, Breadth-First Search, Graph Theory" MEDIUM,Maximum Number of Events That Can Be Attended,26.1,0.003914839644269358,https://leetcode.com/problems/maximum-number-of-events-that-can-be-attended,"Array, Greedy, Sorting, Heap (Priority Queue)" MEDIUM,Maximum Sum Circular Subarray,26.1,0.005174421121437879,https://leetcode.com/problems/maximum-sum-circular-subarray,"Array, Divide and Conquer, Dynamic Programming, Queue, Monotonic Queue" MEDIUM,As Far from Land as Possible,26.1,0.005259333627832885,https://leetcode.com/problems/as-far-from-land-as-possible,"Array, Dynamic Programming, Breadth-First Search, Matrix" MEDIUM,Sort an Array,26.1,0.005551213496991257,https://leetcode.com/problems/sort-an-array,"Array, Divide and Conquer, Sorting, Heap (Priority Queue), Merge Sort, Bucket Sort, Radix Sort, Counting Sort" MEDIUM,Lowest Common Ancestor of a Binary Tree III,26.1,0.00830310198463237,https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-tree-iii,"Hash Table, Two Pointers, Tree, Binary Tree, Binary Lifting, Lowest Common Ancestor" EASY,Merge Sorted Array,26.1,0.005590676732066904,https://leetcode.com/problems/merge-sorted-array,"Array, Two Pointers, Sorting" MEDIUM,Populating Next Right Pointers in Each Node,26.1,0.006792165878286821,https://leetcode.com/problems/populating-next-right-pointers-in-each-node,"Linked List, Tree, Depth-First Search, Breadth-First Search, Binary Tree" MEDIUM,Product of Array Except Self,26.1,0.006937993842479716,https://leetcode.com/problems/product-of-array-except-self,"Array, Prefix Sum" MEDIUM,Decode Ways,26.1,0.0038775240808493956,https://leetcode.com/problems/decode-ways,"String, Dynamic Programming" MEDIUM,Reverse Substrings Between Each Pair of Parentheses,26.1,0.0075312509297709475,https://leetcode.com/problems/reverse-substrings-between-each-pair-of-parentheses,"String, Stack, Bracket Sequences" MEDIUM,Two City Scheduling,26.1,0.006906065542507508,https://leetcode.com/problems/two-city-scheduling,"Array, Greedy, Sorting, Hungarian Algorithm, Successive Shortest Path Algorithm" MEDIUM,Partition to K Equal Sum Subsets,26.1,0.003894424492526134,https://leetcode.com/problems/partition-to-k-equal-sum-subsets,"Array, Dynamic Programming, Backtracking, Bit Manipulation, Memoization, Bitmask" MEDIUM,Binary Tree Level Order Traversal,26.1,0.007365523621226001,https://leetcode.com/problems/binary-tree-level-order-traversal,"Tree, Breadth-First Search, Binary Tree" HARD,Jump Game IV,26.1,0.00511368070308,https://leetcode.com/problems/jump-game-iv,"Array, Hash Table, Breadth-First Search" MEDIUM,Rectangle Area,26.1,0.005039496862718282,https://leetcode.com/problems/rectangle-area,"Math, Geometry" MEDIUM,Design Task Manager,26.1,0.004871309038102483,https://leetcode.com/problems/design-task-manager,"Hash Table, Design, Heap (Priority Queue), Ordered Set" HARD,Russian Doll Envelopes,26.1,0.003833095648975725,https://leetcode.com/problems/russian-doll-envelopes,"Array, Binary Search, Dynamic Programming, Sorting, Longest Increasing Subsequence" MEDIUM,Best Time to Buy and Sell Stock using Strategy,26.1,0.005938619634736009,https://leetcode.com/problems/best-time-to-buy-and-sell-stock-using-strategy,"Array, Sliding Window, Prefix Sum"