Difficulty,Title,Frequency,Acceptance Rate,Link,Topics HARD,Sliding Window Maximum,100.0,0.004936745546523217,https://leetcode.com/problems/sliding-window-maximum,"Array, Queue, Sliding Window, Heap (Priority Queue), Monotonic Queue, Range Minimum/Maximum Query" HARD,Count Palindromic Subsequences,100.0,0.004216031836270609,https://leetcode.com/problems/count-palindromic-subsequences,"String, Dynamic Programming" MEDIUM,Number of Orders in the Backlog,98.5,0.005480298835754105,https://leetcode.com/problems/number-of-orders-in-the-backlog,"Array, Heap (Priority Queue), Simulation" MEDIUM,Palindromic Substrings,95.1,0.0073337557536477084,https://leetcode.com/problems/palindromic-substrings,"Two Pointers, String, Dynamic Programming" EASY,Best Time to Buy and Sell Stock,89.1,0.005752117108043863,https://leetcode.com/problems/best-time-to-buy-and-sell-stock,"Array, Dynamic Programming" HARD,Find Median from Data Stream,89.1,0.005511992744039022,https://leetcode.com/problems/find-median-from-data-stream,"Two Pointers, Design, Sorting, Heap (Priority Queue), Data Stream" HARD,Best Position for a Service Centre,89.1,0.0035832388023787427,https://leetcode.com/problems/best-position-for-a-service-centre,"Array, Math, Geometry, Randomized" MEDIUM,Merge Intervals,89.1,0.005302584099813788,https://leetcode.com/problems/merge-intervals,"Array, Sorting, Quicksort" MEDIUM,Insert Delete GetRandom O(1),86.7,0.005556958141472283,https://leetcode.com/problems/insert-delete-getrandom-o1,"Array, Hash Table, Math, Design, Randomized" HARD,Minimum Costs Using the Train Line,84.1,0.007872931892570507,https://leetcode.com/problems/minimum-costs-using-the-train-line,"Array, Dynamic Programming" MEDIUM,Time Based Key-Value Store,84.1,0.005025839761180977,https://leetcode.com/problems/time-based-key-value-store,"Hash Table, String, Binary Search, Design" MEDIUM,Maximum Total Damage With Spell Casting,81.2,0.004498971024508325,https://leetcode.com/problems/maximum-total-damage-with-spell-casting,"Array, Hash Table, Two Pointers, Binary Search, Dynamic Programming, Sorting, Counting" MEDIUM,Evaluate Division,81.2,0.006467498862166129,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,First Completely Painted Row or Column,81.2,0.006359403878081634,https://leetcode.com/problems/first-completely-painted-row-or-column,"Array, Hash Table, Matrix" MEDIUM,Maximum Length of Repeated Subarray,81.2,0.005162348395000762,https://leetcode.com/problems/maximum-length-of-repeated-subarray,"Array, Binary Search, Dynamic Programming, Sliding Window, Rolling Hash, Hash Function" MEDIUM,Best Time to Buy and Sell Stock with Cooldown II,81.2,0.005764705882352941,https://leetcode.com/problems/best-time-to-buy-and-sell-stock-with-cooldown-ii,"Array, Dynamic Programming" MEDIUM,Evaluate Reverse Polish Notation,77.8,0.005897492721057336,https://leetcode.com/problems/evaluate-reverse-polish-notation,"Array, Math, Stack" MEDIUM,LRU Cache,74.0,0.004825707154314651,https://leetcode.com/problems/lru-cache,"Hash Table, Linked List, Design, Doubly-Linked List" HARD,LFU Cache,74.0,0.0050512870503299605,https://leetcode.com/problems/lfu-cache,"Hash Table, Linked List, Design, Doubly-Linked List" HARD,Parallel Courses III,74.0,0.00667874352378537,https://leetcode.com/problems/parallel-courses-iii,"Array, Dynamic Programming, Graph Theory, Topological Sort, Directed Acyclic Graph" MEDIUM,Design Spreadsheet,74.0,0.007329373587529699,https://leetcode.com/problems/design-spreadsheet,"Array, Hash Table, String, Design, Matrix" MEDIUM,Course Schedule II,69.4,0.0056443487304912885,https://leetcode.com/problems/course-schedule-ii,"Depth-First Search, Breadth-First Search, Graph Theory, Topological Sort" HARD,Employee Free Time,69.4,0.007300457171486276,https://leetcode.com/problems/employee-free-time,"Array, Sweep Line, Sorting, Heap (Priority Queue)" MEDIUM,Meeting Scheduler,69.4,0.005520073598936904,https://leetcode.com/problems/meeting-scheduler,"Array, Two Pointers, Sorting" HARD,Find Servers That Handled Most Number of Requests,69.4,0.004584722423539644,https://leetcode.com/problems/find-servers-that-handled-most-number-of-requests,"Array, Heap (Priority Queue), Simulation, Ordered Set" MEDIUM,Smallest Missing Non-negative Integer After Operations,69.4,0.005568586167967875,https://leetcode.com/problems/smallest-missing-non-negative-integer-after-operations,"Array, Hash Table, Math, Greedy" HARD,Binary Tree Maximum Path Sum,63.9,0.004289441870523479,https://leetcode.com/problems/binary-tree-maximum-path-sum,"Dynamic Programming, Tree, Depth-First Search, Binary Tree, DP on Trees" MEDIUM,Number of Islands,63.9,0.006531455816303713,https://leetcode.com/problems/number-of-islands,"Array, Depth-First Search, Breadth-First Search, Union-Find, Matrix" MEDIUM,Find the Duplicate Number,63.9,0.006500931086947327,https://leetcode.com/problems/find-the-duplicate-number,"Array, Two Pointers, Binary Search, Bit Manipulation, Pigeonhole Principle, Floyd's Cycle Finding Algorithm" EASY,Sqrt(x),63.9,0.00423645232205821,https://leetcode.com/problems/sqrtx,"Math, Binary Search, Newton's Method" HARD,Reconstruct Itinerary,63.9,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" MEDIUM,Max Consecutive Ones III,63.9,0.0068604773278913445,https://leetcode.com/problems/max-consecutive-ones-iii,"Array, Binary Search, Sliding Window, Prefix Sum" HARD,Word Ladder,63.9,0.004677967842824995,https://leetcode.com/problems/word-ladder,"Hash Table, String, Breadth-First Search, Bidirectional Search" HARD,Optimal Account Balancing,63.9,0.005089892618299192,https://leetcode.com/problems/optimal-account-balancing,"Array, Dynamic Programming, Backtracking, Bit Manipulation, Bitmask" MEDIUM,Design Tic-Tac-Toe,63.9,0.005876972746850711,https://leetcode.com/problems/design-tic-tac-toe,"Array, Hash Table, Design, Matrix, Simulation" EASY,Two Sum,63.9,0.00580361930498598,https://leetcode.com/problems/two-sum,"Array, Hash Table" HARD,Merge k Sorted Lists,56.7,0.006078423802706594,https://leetcode.com/problems/merge-k-sorted-lists,"Linked List, Divide and Conquer, Heap (Priority Queue), Merge Sort, Tournament Sort" HARD,Sudoku Solver,56.7,0.006554736586059875,https://leetcode.com/problems/sudoku-solver,"Array, Hash Table, Backtracking, Matrix, Algorithm X, Dancing Links" HARD,Serialize and Deserialize Binary Tree,56.7,0.006127517438518838,https://leetcode.com/problems/serialize-and-deserialize-binary-tree,"String, Tree, Depth-First Search, Breadth-First Search, Design, Binary Tree" MEDIUM,Search Suggestions System,56.7,0.006524802816348724,https://leetcode.com/problems/search-suggestions-system,"Array, String, Binary Search, Trie, Sorting, Heap (Priority Queue)" HARD,Couples Holding Hands,56.7,0.005990851211813172,https://leetcode.com/problems/couples-holding-hands,"Greedy, Depth-First Search, Breadth-First Search, Union-Find, Graph Theory" MEDIUM,Paint House,56.7,0.0064603993532907,https://leetcode.com/problems/paint-house,"Array, Dynamic Programming" HARD,Rank Transform of a Matrix,56.7,0.004272632704789533,https://leetcode.com/problems/rank-transform-of-a-matrix,"Array, Union-Find, Graph Theory, Topological Sort, Sorting, Matrix" MEDIUM,Binary Tree Zigzag Level Order Traversal,56.7,0.006466044365392419,https://leetcode.com/problems/binary-tree-zigzag-level-order-traversal,"Tree, Breadth-First Search, Binary Tree" MEDIUM,Meeting Rooms II,56.7,0.005284525197001061,https://leetcode.com/problems/meeting-rooms-ii,"Array, Two Pointers, Greedy, Sorting, Heap (Priority Queue), Prefix Sum" MEDIUM,Maximum Subarray,56.7,0.005399361898396496,https://leetcode.com/problems/maximum-subarray,"Array, Divide and Conquer, Dynamic Programming" HARD,Design In-Memory File System,56.7,0.0048344837994252045,https://leetcode.com/problems/design-in-memory-file-system,"Hash Table, String, Design, Trie, Sorting" HARD,Trapping Rain Water,56.7,0.0068422460494465855,https://leetcode.com/problems/trapping-rain-water,"Array, Two Pointers, Dynamic Programming, Stack, Monotonic Stack" MEDIUM,Combination Sum,46.8,0.007727899632529546,https://leetcode.com/problems/combination-sum,"Array, Backtracking" MEDIUM,Permutations,46.8,0.008243516810611268,https://leetcode.com/problems/permutations,"Array, Backtracking" HARD,Minimum Operations to Make Numbers Non-positive,46.8,0.004448834196891191,https://leetcode.com/problems/minimum-operations-to-make-numbers-non-positive,"Array, Binary Search" MEDIUM,Length of Longest Subarray With at Most K Frequency,46.8,0.006051901443211525,https://leetcode.com/problems/length-of-longest-subarray-with-at-most-k-frequency,"Array, Hash Table, Sliding Window" MEDIUM,Design Circular Queue,46.8,0.005571322651926797,https://leetcode.com/problems/design-circular-queue,"Array, Linked List, Design, Queue" EASY,Fizz Buzz,46.8,0.007599273914666837,https://leetcode.com/problems/fizz-buzz,"Math, String, Simulation" EASY,Moving Average from Data Stream,46.8,0.0080236815178883,https://leetcode.com/problems/moving-average-from-data-stream,"Array, Design, Queue, Data Stream" EASY,Climbing Stairs,46.8,0.0054406492545849405,https://leetcode.com/problems/climbing-stairs,"Math, Dynamic Programming, Memoization" MEDIUM,"Pow(x, n)",46.8,0.003926259461710532,https://leetcode.com/problems/powx-n,"Math, Recursion" MEDIUM,Koko Eating Bananas,46.8,0.0050716760550364014,https://leetcode.com/problems/koko-eating-bananas,"Array, Binary Search" HARD,Max Points on a Line,46.8,0.003163721586732806,https://leetcode.com/problems/max-points-on-a-line,"Array, Hash Table, Math, Geometry, Euclidean Algorithm, Greatest Common Divisor" MEDIUM,Longest Palindromic Substring,46.8,0.003886672341268769,https://leetcode.com/problems/longest-palindromic-substring,"Two Pointers, String, Dynamic Programming, Manacher" MEDIUM,Count Primes,46.8,0.003579142542077982,https://leetcode.com/problems/count-primes,"Array, Math, Enumeration, Number Theory, Primality Test, Sieve Theory, Prime Number Sieve" MEDIUM,Find First and Last Position of Element in Sorted Array,46.8,0.004980553981673576,https://leetcode.com/problems/find-first-and-last-position-of-element-in-sorted-array,"Array, Binary Search" MEDIUM,Next Permutation,46.8,0.004639580365103391,https://leetcode.com/problems/next-permutation,"Array, Two Pointers" MEDIUM,Validate Binary Search Tree,46.8,0.003649903223352642,https://leetcode.com/problems/validate-binary-search-tree,"Tree, Depth-First Search, Binary Search Tree, Binary Tree" MEDIUM,Number of Dice Rolls With Target Sum,46.8,0.0062733294950616525,https://leetcode.com/problems/number-of-dice-rolls-with-target-sum,Dynamic Programming HARD,Best Time to Buy and Sell Stock IV,46.8,0.005157266349663244,https://leetcode.com/problems/best-time-to-buy-and-sell-stock-iv,"Array, Dynamic Programming" MEDIUM,Min Stack,46.8,0.005879056585774739,https://leetcode.com/problems/min-stack,"Stack, Design" MEDIUM,Design A Leaderboard,46.8,0.006801334834034318,https://leetcode.com/problems/design-a-leaderboard,"Hash Table, Design, Sorting" MEDIUM,Best Time to Buy and Sell Stock with Transaction Fee,46.8,0.007269263073117414,https://leetcode.com/problems/best-time-to-buy-and-sell-stock-with-transaction-fee,"Array, Dynamic Programming, Greedy" MEDIUM,Knight Probability in Chessboard,46.8,0.005738157910408652,https://leetcode.com/problems/knight-probability-in-chessboard,Dynamic Programming HARD,Number of Ways to Paint N × 3 Grid,46.8,0.008059777395083274,https://leetcode.com/problems/number-of-ways-to-paint-n-3-grid,"Dynamic Programming, Graph Coloring" MEDIUM,Find Eventual Safe States,46.8,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" HARD,Design Search Autocomplete System,46.8,0.005010240685026614,https://leetcode.com/problems/design-search-autocomplete-system,"String, Depth-First Search, Design, Trie, Sorting, Heap (Priority Queue), Data Stream" MEDIUM,Knight Dialer,46.8,0.00622703660330901,https://leetcode.com/problems/knight-dialer,Dynamic Programming MEDIUM,Implement Trie (Prefix Tree),46.8,0.007017742364442931,https://leetcode.com/problems/implement-trie-prefix-tree,"Hash Table, String, Design, Trie"