Difficulty,Title,Frequency,Acceptance Rate,Link,Topics HARD,Collect Coins in a Tree,100.0,0.004018351976288598,https://leetcode.com/problems/collect-coins-in-a-tree,"Array, Tree, Graph Theory, Topological Sort" MEDIUM,Longest Palindromic Substring,91.2,0.003886672341268769,https://leetcode.com/problems/longest-palindromic-substring,"Two Pointers, String, Dynamic Programming, Manacher" MEDIUM,House Robber,85.2,0.005368630423050881,https://leetcode.com/problems/house-robber,"Array, Dynamic Programming" HARD,Word Search II,84.2,0.0039030794116705313,https://leetcode.com/problems/word-search-ii,"Array, String, Backtracking, Trie, Matrix" MEDIUM,Longest Substring Without Repeating Characters,71.9,0.004001908752909742,https://leetcode.com/problems/longest-substring-without-repeating-characters,"Hash Table, String, Sliding Window" MEDIUM,Implement Router,71.9,0.003885164737007767,https://leetcode.com/problems/implement-router,"Array, Hash Table, Binary Search, Design, Queue, Ordered Set" MEDIUM,Power Grid Maintenance,71.9,0.0055895517597558345,https://leetcode.com/problems/power-grid-maintenance,"Array, Hash Table, Depth-First Search, Breadth-First Search, Union-Find, Graph Theory, Heap (Priority Queue), Ordered Set" MEDIUM,Rotate Image,70.0,0.008083476149472767,https://leetcode.com/problems/rotate-image,"Array, Math, Matrix" EASY,Lucky Numbers in a Matrix,70.0,0.00803152898603977,https://leetcode.com/problems/lucky-numbers-in-a-matrix,"Array, Matrix" MEDIUM,Spiral Matrix,67.8,0.005814586226292384,https://leetcode.com/problems/spiral-matrix,"Array, Matrix, Simulation" MEDIUM,LRU Cache,67.8,0.004825707154314651,https://leetcode.com/problems/lru-cache,"Hash Table, Linked List, Design, Doubly-Linked List" HARD,Sum of k-Mirror Numbers,67.8,0.006354734553478712,https://leetcode.com/problems/sum-of-k-mirror-numbers,"Math, Enumeration" HARD,Minimum Cost to Make Array Equal,67.8,0.0046992420577326235,https://leetcode.com/problems/minimum-cost-to-make-array-equal,"Array, Binary Search, Greedy, Sorting, Prefix Sum" EASY,Number of Valid Words in a Sentence,65.4,0.0031555813335942197,https://leetcode.com/problems/number-of-valid-words-in-a-sentence,String MEDIUM,Number of Equal Count Substrings,65.4,0.004511647341481249,https://leetcode.com/problems/number-of-equal-count-substrings,"Hash Table, String, Sliding Window, Counting" MEDIUM,Find the Largest Area of Square Inside Two Rectangles,65.4,0.00667915663586239,https://leetcode.com/problems/find-the-largest-area-of-square-inside-two-rectangles,"Array, Math, Geometry" EASY,Check if Binary String Has at Most One Segment of Ones,65.4,0.004936668393178872,https://leetcode.com/problems/check-if-binary-string-has-at-most-one-segment-of-ones,String MEDIUM,Minimum Sensors to Cover Grid,65.4,0.006757803852114235,https://leetcode.com/problems/minimum-sensors-to-cover-grid,Math MEDIUM,Maximum Subarray,62.6,0.005399361898396496,https://leetcode.com/problems/maximum-subarray,"Array, Divide and Conquer, Dynamic Programming" EASY,Fizz Buzz,62.6,0.007599273914666837,https://leetcode.com/problems/fizz-buzz,"Math, String, Simulation" MEDIUM,Diagonal Traverse,62.6,0.00675409304211807,https://leetcode.com/problems/diagonal-traverse,"Array, Matrix, Simulation" MEDIUM,Edit Distance,59.5,0.006145648514798889,https://leetcode.com/problems/edit-distance,"String, Dynamic Programming" MEDIUM,Minimum Time to Collect All Apples in a Tree,59.5,0.0063938431274564635,https://leetcode.com/problems/minimum-time-to-collect-all-apples-in-a-tree,"Hash Table, Tree, Depth-First Search, Breadth-First Search, DP on Trees" EASY,Two Sum,55.7,0.00580361930498598,https://leetcode.com/problems/two-sum,"Array, Hash Table" EASY,Valid Parentheses,55.7,0.00453411104488547,https://leetcode.com/problems/valid-parentheses,"String, Stack, Bracket Sequences" EASY,Linked List Cycle,55.7,0.005524664820016163,https://leetcode.com/problems/linked-list-cycle,"Hash Table, Linked List, Two Pointers, Floyd's Cycle Finding Algorithm" MEDIUM,Add Two Numbers,51.1,0.004955382778402298,https://leetcode.com/problems/add-two-numbers,"Linked List, Math, Recursion" MEDIUM,3Sum,51.1,0.0040073099882527545,https://leetcode.com/problems/3sum,"Array, Two Pointers, Sorting" HARD,Max Points on a Line,51.1,0.003163721586732806,https://leetcode.com/problems/max-points-on-a-line,"Array, Hash Table, Math, Geometry, Euclidean Algorithm, Greatest Common Divisor" EASY,Happy Number,51.1,0.006042658847649538,https://leetcode.com/problems/happy-number,"Hash Table, Math, Two Pointers, Floyd's Cycle Finding Algorithm" MEDIUM,Decode String,51.1,0.00633748562611614,https://leetcode.com/problems/decode-string,"String, Stack, Recursion" EASY,Remove Duplicates from Sorted Array,51.1,0.006397705088098445,https://leetcode.com/problems/remove-duplicates-from-sorted-array,"Array, Two Pointers" MEDIUM,Merge Intervals,45.3,0.005302584099813788,https://leetcode.com/problems/merge-intervals,"Array, Sorting, Quicksort" EASY,Merge Sorted Array,45.3,0.005590674113987036,https://leetcode.com/problems/merge-sorted-array,"Array, Two Pointers, Sorting" EASY,Maximum Difference Between Increasing Elements,45.3,0.006671308281687195,https://leetcode.com/problems/maximum-difference-between-increasing-elements,Array EASY,Best Time to Buy and Sell Stock,45.3,0.005752117108043863,https://leetcode.com/problems/best-time-to-buy-and-sell-stock,"Array, Dynamic Programming" MEDIUM,Number of Islands,45.3,0.006531455816303713,https://leetcode.com/problems/number-of-islands,"Array, Depth-First Search, Breadth-First Search, Union-Find, Matrix" EASY,Reverse Linked List,45.3,0.008116091223303342,https://leetcode.com/problems/reverse-linked-list,"Linked List, Recursion" MEDIUM,Insert Delete GetRandom O(1),45.3,0.005556958141472283,https://leetcode.com/problems/insert-delete-getrandom-o1,"Array, Hash Table, Math, Design, Randomized" MEDIUM,Group Anagrams,45.3,0.007344436934726527,https://leetcode.com/problems/group-anagrams,"Array, Hash Table, String, Sorting" EASY,Valid Palindrome,45.3,0.005452911531004571,https://leetcode.com/problems/valid-palindrome,"Two Pointers, String" MEDIUM,Meeting Rooms II,45.3,0.005284525197001061,https://leetcode.com/problems/meeting-rooms-ii,"Array, Two Pointers, Greedy, Sorting, Heap (Priority Queue), Prefix Sum" HARD,Reverse Nodes in k-Group,45.3,0.006751115079326143,https://leetcode.com/problems/reverse-nodes-in-k-group,"Linked List, Recursion" MEDIUM,Predict the Winner,45.3,0.00600340898896564,https://leetcode.com/problems/predict-the-winner,"Array, Math, Dynamic Programming, Recursion, Minimax, Game Theory, Zero-Sum Game" MEDIUM,Lowest Common Ancestor of a Binary Tree,45.3,0.0070287769998762135,https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-tree,"Tree, Depth-First Search, Binary Tree, Binary Lifting, Lowest Common Ancestor" MEDIUM,Word Search,45.3,0.004831295125933337,https://leetcode.com/problems/word-search,"Array, String, Backtracking, Depth-First Search, Matrix" EASY,Move Zeroes,37.1,0.006450130021767054,https://leetcode.com/problems/move-zeroes,"Array, Two Pointers" MEDIUM,Reverse Words in a String,37.1,0.005813314784048785,https://leetcode.com/problems/reverse-words-in-a-string,"Two Pointers, String" MEDIUM,Longest Consecutive Sequence,37.1,0.004728605568647922,https://leetcode.com/problems/longest-consecutive-sequence,"Array, Hash Table, Union-Find" MEDIUM,Letter Combinations of a Phone Number,37.1,0.006703748394059305,https://leetcode.com/problems/letter-combinations-of-a-phone-number,"Hash Table, String, Backtracking" MEDIUM,Permutation in String,37.1,0.004992701161013521,https://leetcode.com/problems/permutation-in-string,"Hash Table, Two Pointers, String, Sliding Window" HARD,Sliding Window Maximum,37.1,0.004936745546523217,https://leetcode.com/problems/sliding-window-maximum,"Array, Queue, Sliding Window, Heap (Priority Queue), Monotonic Queue, Range Minimum/Maximum Query" MEDIUM,Search in Rotated Sorted Array II,37.1,0.004071630485096026,https://leetcode.com/problems/search-in-rotated-sorted-array-ii,"Array, Binary Search" MEDIUM,Search in Rotated Sorted Array,37.1,0.004579981624683198,https://leetcode.com/problems/search-in-rotated-sorted-array,"Array, Binary Search" MEDIUM,Sort Colors,37.1,0.00702949466477078,https://leetcode.com/problems/sort-colors,"Array, Two Pointers, Sorting, Quicksort, Bubble Sort" MEDIUM,"Pow(x, n)",37.1,0.003926259461710532,https://leetcode.com/problems/powx-n,"Math, Recursion" MEDIUM,Find the Duplicate Number,37.1,0.006500931086947327,https://leetcode.com/problems/find-the-duplicate-number,"Array, Two Pointers, Binary Search, Bit Manipulation, Pigeonhole Principle, Floyd's Cycle Finding Algorithm" HARD,Integer to English Words,37.1,0.0035309245732496595,https://leetcode.com/problems/integer-to-english-words,"Math, String, Recursion" HARD,Design Search Autocomplete System,37.1,0.005010240685026614,https://leetcode.com/problems/design-search-autocomplete-system,"String, Depth-First Search, Design, Trie, Sorting, Heap (Priority Queue), Data Stream" HARD,Minimum Window Substring,37.1,0.004869690733378163,https://leetcode.com/problems/minimum-window-substring,"Hash Table, String, Sliding Window" MEDIUM,Longest Common Subsequence,37.1,0.0059667910348240715,https://leetcode.com/problems/longest-common-subsequence,"String, Dynamic Programming, Longest Common Subsequence" HARD,Largest Rectangle in Histogram,37.1,0.005106149593008901,https://leetcode.com/problems/largest-rectangle-in-histogram,"Array, Stack, Monotonic Stack, Range Minimum/Maximum Query" EASY,Remove All Adjacent Duplicates In String,37.1,0.007427655713134287,https://leetcode.com/problems/remove-all-adjacent-duplicates-in-string,"String, Stack" MEDIUM,Course Schedule,37.1,0.005241167607637133,https://leetcode.com/problems/course-schedule,"Depth-First Search, Breadth-First Search, Graph Theory, Topological Sort, Directed Acyclic Graph" HARD,Burst Balloons,37.1,0.006457394026692899,https://leetcode.com/problems/burst-balloons,"Array, Dynamic Programming" HARD,Shortest Path in a Grid with Obstacles Elimination,37.1,0.004678137263147204,https://leetcode.com/problems/shortest-path-in-a-grid-with-obstacles-elimination,"Array, Breadth-First Search, Matrix" EASY,Palindrome Number,37.1,0.006104360133264108,https://leetcode.com/problems/palindrome-number,Math MEDIUM,Contiguous Array,37.1,0.0052618855482160585,https://leetcode.com/problems/contiguous-array,"Array, Hash Table, Prefix Sum" MEDIUM,Time Based Key-Value Store,37.1,0.005025839761180977,https://leetcode.com/problems/time-based-key-value-store,"Hash Table, String, Binary Search, Design" HARD,Word Ladder,37.1,0.004677967842824995,https://leetcode.com/problems/word-ladder,"Hash Table, String, Breadth-First Search, Bidirectional Search" MEDIUM,Single Element in a Sorted Array,37.1,0.005945651765293543,https://leetcode.com/problems/single-element-in-a-sorted-array,"Array, Binary Search" EASY,Valid Anagram,37.1,0.006876755778426213,https://leetcode.com/problems/valid-anagram,"Hash Table, String, Sorting" MEDIUM,Maximum Length of Pair Chain,37.1,0.006229192152390063,https://leetcode.com/problems/maximum-length-of-pair-chain,"Array, Dynamic Programming, Greedy, Sorting, Longest Increasing Subsequence" MEDIUM,Cheapest Flights Within K Stops,37.1,0.004272265284293309,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,Container With Most Water,37.1,0.0061038870945200226,https://leetcode.com/problems/container-with-most-water,"Array, Two Pointers, Greedy" MEDIUM,Cache With Time Limit,37.1,0.007636950591846778,https://leetcode.com/problems/cache-with-time-limit, MEDIUM,Network Delay Time,37.1,0.006179936904492442,https://leetcode.com/problems/network-delay-time,"Depth-First Search, Breadth-First Search, Graph Theory, Heap (Priority Queue), Shortest Path, Dijkstra's Algorithm"