Difficulty,Title,Frequency,Acceptance Rate,Link,Topics MEDIUM,Simple Bank System,100.0,0.006942725173210162,https://leetcode.com/problems/simple-bank-system,"Array, Hash Table, Design, Simulation" HARD,Text Justification,91.9,0.005245330526122124,https://leetcode.com/problems/text-justification,"Array, String, Simulation" HARD,Block Placement Queries,90.2,0.0040969862173133205,https://leetcode.com/problems/block-placement-queries,"Array, Binary Search, Binary Indexed Tree, Segment Tree, Ordered Set" MEDIUM,Candy Crush,82.6,0.0077582419350945096,https://leetcode.com/problems/candy-crush,"Array, Two Pointers, Matrix, Simulation" MEDIUM,Spiral Matrix,81.7,0.005814586226292384,https://leetcode.com/problems/spiral-matrix,"Array, Matrix, Simulation" MEDIUM,Minimum Operations to Write the Letter Y on a Grid,78.8,0.006407174769606147,https://leetcode.com/problems/minimum-operations-to-write-the-letter-y-on-a-grid,"Array, Hash Table, Matrix, Counting" MEDIUM,Find the Length of the Longest Common Prefix,76.7,0.006232793561692155,https://leetcode.com/problems/find-the-length-of-the-longest-common-prefix,"Array, Hash Table, String, Trie" MEDIUM,Restore the Array From Adjacent Pairs,75.5,0.007519786380633956,https://leetcode.com/problems/restore-the-array-from-adjacent-pairs,"Array, Hash Table, Depth-First Search" MEDIUM,Number of Adjacent Elements With the Same Color,72.9,0.006007614991207266,https://leetcode.com/problems/number-of-adjacent-elements-with-the-same-color,Array MEDIUM,Design Memory Allocator,72.9,0.005103623749823919,https://leetcode.com/problems/design-memory-allocator,"Array, Hash Table, Design, Simulation" MEDIUM,Simplify Path,71.4,0.00516868386990327,https://leetcode.com/problems/simplify-path,"String, Stack" MEDIUM,Number of Black Blocks,71.4,0.004099050735381835,https://leetcode.com/problems/number-of-black-blocks,"Array, Hash Table, Enumeration" MEDIUM,Minimize Result by Adding Parentheses to Expression,71.4,0.006865530956157896,https://leetcode.com/problems/minimize-result-by-adding-parentheses-to-expression,"String, Enumeration" MEDIUM,Rotate Image,66.3,0.008083476149472767,https://leetcode.com/problems/rotate-image,"Array, Math, Matrix" MEDIUM,Longest Continuous Subarray With Absolute Diff Less Than or Equal to Limit,66.3,0.005815231524616335,https://leetcode.com/problems/longest-continuous-subarray-with-absolute-diff-less-than-or-equal-to-limit,"Array, Queue, Sliding Window, Heap (Priority Queue), Ordered Set, Monotonic Queue" MEDIUM,Four Divisors,64.2,0.005652044363515974,https://leetcode.com/problems/four-divisors,"Array, Math, Prime Factorization, Sieve Theory" HARD,Largest Rectangle in Histogram,64.2,0.005106149593008901,https://leetcode.com/problems/largest-rectangle-in-histogram,"Array, Stack, Monotonic Stack, Range Minimum/Maximum Query" MEDIUM,Number of Islands,64.2,0.006531455816303713,https://leetcode.com/problems/number-of-islands,"Array, Depth-First Search, Breadth-First Search, Union-Find, Matrix" EASY,Count Operations to Obtain Zero,64.2,0.007980547334818608,https://leetcode.com/problems/count-operations-to-obtain-zero,"Math, Simulation" MEDIUM,Count Alternating Subarrays,61.9,0.005746914695081572,https://leetcode.com/problems/count-alternating-subarrays,"Array, Math" EASY,Binary Tree Paths,59.3,0.0069528470118797,https://leetcode.com/problems/binary-tree-paths,"String, Backtracking, Tree, Depth-First Search, Binary Tree" MEDIUM,Rotating the Box,59.3,0.008247366067811563,https://leetcode.com/problems/rotating-the-box,"Array, Two Pointers, Matrix" EASY,Palindrome Number,56.3,0.006104360133264108,https://leetcode.com/problems/palindrome-number,Math HARD,Count Prefix and Suffix Pairs II,56.3,0.002870202231844919,https://leetcode.com/problems/count-prefix-and-suffix-pairs-ii,"Array, String, Trie, Rolling Hash, String Matching, Hash Function, Z Algorithm" MEDIUM,Number of Subarrays That Match a Pattern I,56.3,0.006814021145249414,https://leetcode.com/problems/number-of-subarrays-that-match-a-pattern-i,"Array, Rolling Hash, String Matching, Hash Function" MEDIUM,Container With Most Water,56.3,0.0061038870945200226,https://leetcode.com/problems/container-with-most-water,"Array, Two Pointers, Greedy" MEDIUM,Brightest Position on Street,56.3,0.006066864295125165,https://leetcode.com/problems/brightest-position-on-street,"Array, Sorting, Prefix Sum, Ordered Set" MEDIUM,Merge Intervals,52.8,0.005302584099813788,https://leetcode.com/problems/merge-intervals,"Array, Sorting, Quicksort" MEDIUM,Minimum Time Difference,52.8,0.00627643833231787,https://leetcode.com/problems/minimum-time-difference,"Array, Math, String, Sorting" MEDIUM,Count Positions on Street With Required Brightness,52.8,0.006244514106583072,https://leetcode.com/problems/count-positions-on-street-with-required-brightness,"Array, Prefix Sum" EASY,Add Strings,48.4,0.005226773325173972,https://leetcode.com/problems/add-strings,"Math, String, Simulation" MEDIUM,Minimum Absolute Difference Between Elements With Constraint,48.4,0.0037557167706079504,https://leetcode.com/problems/minimum-absolute-difference-between-elements-with-constraint,"Array, Binary Search, Ordered Set" EASY,Monotonic Array,48.4,0.0062763948515199616,https://leetcode.com/problems/monotonic-array,Array MEDIUM,Alternating Groups II,48.4,0.006001497498082472,https://leetcode.com/problems/alternating-groups-ii,"Array, Sliding Window" MEDIUM,Add Two Numbers,42.8,0.004955382778402298,https://leetcode.com/problems/add-two-numbers,"Linked List, Math, Recursion" EASY,Best Time to Buy and Sell Stock,42.8,0.005752117108043863,https://leetcode.com/problems/best-time-to-buy-and-sell-stock,"Array, Dynamic Programming" MEDIUM,Design File System,42.8,0.006523791948411897,https://leetcode.com/problems/design-file-system,"Hash Table, String, Design, Trie" EASY,Count Prefix and Suffix Pairs I,42.8,0.007770870118381775,https://leetcode.com/problems/count-prefix-and-suffix-pairs-i,"Array, String, Trie, Rolling Hash, String Matching, Hash Function" MEDIUM,Grumpy Bookstore Owner,42.8,0.006421140822453395,https://leetcode.com/problems/grumpy-bookstore-owner,"Array, Sliding Window" EASY,Number of Changing Keys,42.8,0.008071000312888467,https://leetcode.com/problems/number-of-changing-keys,String MEDIUM,Letter Combinations of a Phone Number,42.8,0.006703748394059305,https://leetcode.com/problems/letter-combinations-of-a-phone-number,"Hash Table, String, Backtracking" MEDIUM,Number of Pairs of Strings With Concatenation Equal to Target,42.8,0.007557182682296041,https://leetcode.com/problems/number-of-pairs-of-strings-with-concatenation-equal-to-target,"Array, Hash Table, String, Counting" HARD,Distribute Elements Into Two Arrays II,42.8,0.0032490801778322863,https://leetcode.com/problems/distribute-elements-into-two-arrays-ii,"Array, Binary Indexed Tree, Segment Tree, Simulation" EASY,Two Sum,42.8,0.00580361930498598,https://leetcode.com/problems/two-sum,"Array, Hash Table" EASY,Calculate Digit Sum of a String,42.8,0.006813563231647541,https://leetcode.com/problems/calculate-digit-sum-of-a-string,"String, Simulation" MEDIUM,LRU Cache,35.0,0.004825707154314651,https://leetcode.com/problems/lru-cache,"Hash Table, Linked List, Design, Doubly-Linked List" HARD,Subarrays with K Different Integers,35.0,0.006918476053911981,https://leetcode.com/problems/subarrays-with-k-different-integers,"Array, Hash Table, Sliding Window, Counting" EASY,Flood Fill,35.0,0.006904095303643112,https://leetcode.com/problems/flood-fill,"Array, Depth-First Search, Breadth-First Search, Matrix" EASY,Alternating Digit Sum,35.0,0.006974729367740285,https://leetcode.com/problems/alternating-digit-sum,Math MEDIUM,Count Nice Pairs in an Array,35.0,0.004844190596272909,https://leetcode.com/problems/count-nice-pairs-in-an-array,"Array, Hash Table, Math, Counting" HARD,Reconstruct Itinerary,35.0,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" HARD,Word Ladder,35.0,0.004677967842824995,https://leetcode.com/problems/word-ladder,"Hash Table, String, Breadth-First Search, Bidirectional Search" MEDIUM,Subarray Sum Equals K,35.0,0.004835074112959921,https://leetcode.com/problems/subarray-sum-equals-k,"Array, Hash Table, Prefix Sum" HARD,Maximum Running Time of N Computers,35.0,0.005630843674393194,https://leetcode.com/problems/maximum-running-time-of-n-computers,"Array, Binary Search, Greedy, Sorting" MEDIUM,Palindromic Substrings,35.0,0.0073337557536477084,https://leetcode.com/problems/palindromic-substrings,"Two Pointers, String, Dynamic Programming" EASY,Fizz Buzz,35.0,0.007599273914666837,https://leetcode.com/problems/fizz-buzz,"Math, String, Simulation" MEDIUM,Sort Colors,35.0,0.00702949466477078,https://leetcode.com/problems/sort-colors,"Array, Two Pointers, Sorting, Quicksort, Bubble Sort" MEDIUM,Finding Pairs With a Certain Sum,35.0,0.006153080067224101,https://leetcode.com/problems/finding-pairs-with-a-certain-sum,"Array, Hash Table, Design" MEDIUM,Longest Palindromic Substring,35.0,0.003886672341268769,https://leetcode.com/problems/longest-palindromic-substring,"Two Pointers, String, Dynamic Programming, Manacher" MEDIUM,Max Consecutive Ones III,35.0,0.0068604773278913445,https://leetcode.com/problems/max-consecutive-ones-iii,"Array, Binary Search, Sliding Window, Prefix Sum" HARD,Employee Free Time,35.0,0.007300457171486276,https://leetcode.com/problems/employee-free-time,"Array, Sweep Line, Sorting, Heap (Priority Queue)"