Difficulty,Title,Frequency,Acceptance Rate,Link,Topics MEDIUM,Candy Crush,100.0,0.0077582419350945096,https://leetcode.com/problems/candy-crush,"Array, Two Pointers, Matrix, Simulation" HARD,Number of Ways to Wear Different Hats to Each Other,96.2,0.004704130661161554,https://leetcode.com/problems/number-of-ways-to-wear-different-hats-to-each-other,"Array, Dynamic Programming, Bit Manipulation, Bitmask, Bipartite Graph, Matching (Graph), Perfect Matching" MEDIUM,Reorganize String,88.5,0.00576806793994645,https://leetcode.com/problems/reorganize-string,"Hash Table, String, Greedy, Sorting, Heap (Priority Queue), Counting" MEDIUM,Course Schedule II,82.2,0.00564435884224828,https://leetcode.com/problems/course-schedule-ii,"Depth-First Search, Breadth-First Search, Graph Theory, Topological Sort" MEDIUM,Task Scheduler,80.0,0.006400139859218764,https://leetcode.com/problems/task-scheduler,"Array, Hash Table, Greedy, Sorting, Heap (Priority Queue), Counting" HARD,Text Justification,80.0,0.00524533758074244,https://leetcode.com/problems/text-justification,"Array, String, Simulation" MEDIUM,Maximize Distance to Closest Person,77.4,0.005014144723563999,https://leetcode.com/problems/maximize-distance-to-closest-person,Array HARD,Block Placement Queries,74.5,0.004097031700798273,https://leetcode.com/problems/block-placement-queries,"Array, Binary Search, Binary Indexed Tree, Segment Tree, Ordered Set" MEDIUM,Design Hit Counter,71.2,0.006977334581379982,https://leetcode.com/problems/design-hit-counter,"Array, Binary Search, Design, Queue, Data Stream" HARD,Design Search Autocomplete System,71.2,0.005010255119604491,https://leetcode.com/problems/design-search-autocomplete-system,"String, Depth-First Search, Design, Trie, Sorting, Heap (Priority Queue), Data Stream" MEDIUM,Rotate Image,67.1,0.008083481378225623,https://leetcode.com/problems/rotate-image,"Array, Math, Matrix" MEDIUM,Count Number of Nice Subarrays,67.1,0.007582893273212039,https://leetcode.com/problems/count-number-of-nice-subarrays,"Array, Hash Table, Math, Sliding Window, Prefix Sum" MEDIUM,Group the People Given the Group Size They Belong To,67.1,0.008754714570965638,https://leetcode.com/problems/group-the-people-given-the-group-size-they-belong-to,"Array, Hash Table, Greedy" MEDIUM,Magnetic Force Between Two Balls,64.8,0.007277921753520466,https://leetcode.com/problems/magnetic-force-between-two-balls,"Array, Binary Search, Sorting" MEDIUM,Subdomain Visit Count,64.8,0.007725864879292282,https://leetcode.com/problems/subdomain-visit-count,"Array, Hash Table, String, Counting" EASY,Convert Binary Number in a Linked List to Integer,64.8,0.008245340223833315,https://leetcode.com/problems/convert-binary-number-in-a-linked-list-to-integer,"Linked List, Math" EASY,Students and Examinations,64.8,0.006224853547115094,https://leetcode.com/problems/students-and-examinations,Database MEDIUM,Maximum Number of Occurrences of a Substring,64.8,0.005506267794413966,https://leetcode.com/problems/maximum-number-of-occurrences-of-a-substring,"Hash Table, String, Sliding Window" MEDIUM,Number of Trusted Contacts of a Customer,64.8,0.007459470432992083,https://leetcode.com/problems/number-of-trusted-contacts-of-a-customer,Database MEDIUM,Minimum Operations to Write the Letter Y on a Grid,64.8,0.006407234000461606,https://leetcode.com/problems/minimum-operations-to-write-the-letter-y-on-a-grid,"Array, Hash Table, Matrix, Counting" EASY,Logger Rate Limiter,64.8,0.00769182624217407,https://leetcode.com/problems/logger-rate-limiter,"Hash Table, Design, Data Stream" EASY,Valid Parentheses,62.1,0.004534115623893582,https://leetcode.com/problems/valid-parentheses,"String, Stack, Bracket Sequences" MEDIUM,Minimum Absolute Difference Between Elements With Constraint,62.1,0.0037557167706079504,https://leetcode.com/problems/minimum-absolute-difference-between-elements-with-constraint,"Array, Binary Search, Ordered Set" MEDIUM,Course Schedule,62.1,0.0052411694173813885,https://leetcode.com/problems/course-schedule,"Depth-First Search, Breadth-First Search, Graph Theory, Topological Sort, Directed Acyclic Graph" MEDIUM,Number of Black Blocks,62.1,0.004099050735381835,https://leetcode.com/problems/number-of-black-blocks,"Array, Hash Table, Enumeration" EASY,Diameter of Binary Tree,62.1,0.006639931278853349,https://leetcode.com/problems/diameter-of-binary-tree,"Tree, Depth-First Search, Binary Tree, DP on Trees" HARD,Integer to English Words,55.3,0.0035309245732496595,https://leetcode.com/problems/integer-to-english-words,"Math, String, Recursion" MEDIUM,Brightest Position on Street,55.3,0.006066923558278168,https://leetcode.com/problems/brightest-position-on-street,"Array, Sorting, Prefix Sum, Ordered Set" HARD,Subarrays with K Different Integers,55.3,0.006918480637589581,https://leetcode.com/problems/subarrays-with-k-different-integers,"Array, Hash Table, Sliding Window, Counting" MEDIUM,Number of Adjacent Elements With the Same Color,55.3,0.006007614991207266,https://leetcode.com/problems/number-of-adjacent-elements-with-the-same-color,Array MEDIUM,Rotating the Box,55.3,0.008247366067811563,https://leetcode.com/problems/rotating-the-box,"Array, Two Pointers, Matrix" EASY,Number of Recent Calls,55.3,0.007918660350184905,https://leetcode.com/problems/number-of-recent-calls,"Design, Queue, Data Stream" MEDIUM,Simplify Path,55.3,0.005168686864684139,https://leetcode.com/problems/simplify-path,"String, Stack" MEDIUM,Implement Trie (Prefix Tree),50.9,0.007017750351270916,https://leetcode.com/problems/implement-trie-prefix-tree,"Hash Table, String, Design, Trie" MEDIUM,Find the Length of the Longest Common Prefix,50.9,0.006232793561692155,https://leetcode.com/problems/find-the-length-of-the-longest-common-prefix,"Array, Hash Table, String, Trie" EASY,Two Sum,50.9,0.005803622178749846,https://leetcode.com/problems/two-sum,"Array, Hash Table" HARD,Trapping Rain Water,50.9,0.006842253698048119,https://leetcode.com/problems/trapping-rain-water,"Array, Two Pointers, Dynamic Programming, Stack, Monotonic Stack" MEDIUM,Design Memory Allocator,50.9,0.00510366503208994,https://leetcode.com/problems/design-memory-allocator,"Array, Hash Table, Design, Simulation" MEDIUM,Merge Intervals,45.1,0.005302562102250053,https://leetcode.com/problems/merge-intervals,"Array, Sorting, Quicksort" MEDIUM,Count the Number of Good Subarrays,45.1,0.006576765085915954,https://leetcode.com/problems/count-the-number-of-good-subarrays,"Array, Hash Table, Sliding Window" HARD,Length of Longest V-Shaped Diagonal Segment,45.1,0.005587725588621967,https://leetcode.com/problems/length-of-longest-v-shaped-diagonal-segment,"Array, Dynamic Programming, Memoization, Matrix" EASY,Closest Binary Search Tree Value,45.1,0.004910412677324374,https://leetcode.com/problems/closest-binary-search-tree-value,"Binary Search, Tree, Depth-First Search, Binary Search Tree, Binary Tree" EASY,Longest Common Prefix,37.1,0.004853663857744087,https://leetcode.com/problems/longest-common-prefix,"Array, String, Trie" MEDIUM,Minimum Number of Frogs Croaking,37.1,0.005138347607601535,https://leetcode.com/problems/minimum-number-of-frogs-croaking,"String, Counting" MEDIUM,Spiral Matrix,37.1,0.005814592762393077,https://leetcode.com/problems/spiral-matrix,"Array, Matrix, Simulation" MEDIUM,Longest Substring Without Repeating Characters,37.1,0.004001909731852682,https://leetcode.com/problems/longest-substring-without-repeating-characters,"Hash Table, String, Sliding Window" EASY,Image Smoother,37.1,0.006997763831782442,https://leetcode.com/problems/image-smoother,"Array, Matrix" MEDIUM,Restore the Array From Adjacent Pairs,37.1,0.007519786380633956,https://leetcode.com/problems/restore-the-array-from-adjacent-pairs,"Array, Hash Table, Depth-First Search" MEDIUM,Count Nice Pairs in an Array,37.1,0.004844190596272909,https://leetcode.com/problems/count-nice-pairs-in-an-array,"Array, Hash Table, Math, Counting" MEDIUM,Insert Delete GetRandom O(1),37.1,0.0055569256141588174,https://leetcode.com/problems/insert-delete-getrandom-o1,"Array, Hash Table, Math, Design, Randomized" MEDIUM,Random Pick with Weight,37.1,0.0049317337410403105,https://leetcode.com/problems/random-pick-with-weight,"Array, Math, Binary Search, Prefix Sum, Randomized" HARD,Sliding Window Maximum,37.1,0.004936744746540709,https://leetcode.com/problems/sliding-window-maximum,"Array, Queue, Sliding Window, Heap (Priority Queue), Monotonic Queue, Range Minimum/Maximum Query" EASY,Rotate String,37.1,0.006654064163576702,https://leetcode.com/problems/rotate-string,"String, String Matching" MEDIUM,Non-overlapping Intervals,37.1,0.005789040958288341,https://leetcode.com/problems/non-overlapping-intervals,"Array, Dynamic Programming, Greedy, Sorting" MEDIUM,Match Alphanumerical Pattern in Matrix I,37.1,0.006459627329192546,https://leetcode.com/problems/match-alphanumerical-pattern-in-matrix-i,"Array, Hash Table, String, Matrix" HARD,Number of Flowers in Full Bloom,37.1,0.005814906432572123,https://leetcode.com/problems/number-of-flowers-in-full-bloom,"Array, Hash Table, Binary Search, Sorting, Prefix Sum, Ordered Set" MEDIUM,Get Biggest Three Rhombus Sums in a Grid,37.1,0.007130799373040753,https://leetcode.com/problems/get-biggest-three-rhombus-sums-in-a-grid,"Array, Math, Sorting, Heap (Priority Queue), Matrix, Prefix Sum" MEDIUM,Rotting Oranges,37.1,0.00595939462408144,https://leetcode.com/problems/rotting-oranges,"Array, Breadth-First Search, Matrix"