Difficulty,Title,Frequency,Acceptance Rate,Link,Topics HARD,Special Binary String,100.0,0.007941684879036865,https://leetcode.com/problems/special-binary-string,"String, Divide and Conquer, Sorting" MEDIUM,LRU Cache,93.3,0.004825718862808002,https://leetcode.com/problems/lru-cache,"Hash Table, Linked List, Design, Doubly-Linked List" EASY,Best Time to Buy and Sell Stock,86.9,0.005752124151487595,https://leetcode.com/problems/best-time-to-buy-and-sell-stock,"Array, Dynamic Programming" EASY,Two Sum,85.4,0.005803621249727913,https://leetcode.com/problems/two-sum,"Array, Hash Table" MEDIUM,Longest Substring Without Repeating Characters,85.4,0.004001909582145579,https://leetcode.com/problems/longest-substring-without-repeating-characters,"Hash Table, String, Sliding Window" HARD,Merge k Sorted Lists,82.1,0.006078436333330896,https://leetcode.com/problems/merge-k-sorted-lists,"Linked List, Divide and Conquer, Heap (Priority Queue), Merge Sort, Tournament Sort" MEDIUM,Group Anagrams,82.1,0.007344438059222425,https://leetcode.com/problems/group-anagrams,"Array, Hash Table, String, Sorting" EASY,Valid Parentheses,78.1,0.0045341182507174175,https://leetcode.com/problems/valid-parentheses,"String, Stack, Bracket Sequences" MEDIUM,Restore IP Addresses,78.1,0.005736171163508679,https://leetcode.com/problems/restore-ip-addresses,"String, Backtracking" EASY,Last Stone Weight,75.9,0.006684676092390295,https://leetcode.com/problems/last-stone-weight,"Array, Heap (Priority Queue)" MEDIUM,Maximize Greatness of an Array,75.9,0.006165164440152368,https://leetcode.com/problems/maximize-greatness-of-an-array,"Array, Two Pointers, Greedy, Sorting" MEDIUM,Search in Rotated Sorted Array,73.5,0.004579982432382173,https://leetcode.com/problems/search-in-rotated-sorted-array,"Array, Binary Search" MEDIUM,Maximum Subarray,73.5,0.005399358201600733,https://leetcode.com/problems/maximum-subarray,"Array, Divide and Conquer, Dynamic Programming" MEDIUM,Number of Islands,73.5,0.006531451965346337,https://leetcode.com/problems/number-of-islands,"Array, Depth-First Search, Breadth-First Search, Union-Find, Matrix" MEDIUM,Minimum Operations to Reduce an Integer to 0,73.5,0.006353253069685856,https://leetcode.com/problems/minimum-operations-to-reduce-an-integer-to-0,"Dynamic Programming, Greedy, Bit Manipulation" EASY,Fizz Buzz,73.5,0.007599275494598342,https://leetcode.com/problems/fizz-buzz,"Math, String, Simulation" HARD,Trapping Rain Water,70.7,0.00684225151260494,https://leetcode.com/problems/trapping-rain-water,"Array, Two Pointers, Dynamic Programming, Stack, Monotonic Stack" HARD,Maximum Number of Visible Points,70.7,0.0038597005163980213,https://leetcode.com/problems/maximum-number-of-visible-points,"Array, Math, Geometry, Sliding Window, Sorting" MEDIUM,Container With Most Water,70.7,0.0061038874238673055,https://leetcode.com/problems/container-with-most-water,"Array, Two Pointers, Greedy" EASY,Reverse Bits,67.6,0.006959928412726987,https://leetcode.com/problems/reverse-bits,"Divide and Conquer, Bit Manipulation" MEDIUM,Top K Frequent Elements,67.6,0.0067574267815711415,https://leetcode.com/problems/top-k-frequent-elements,"Array, Hash Table, Divide and Conquer, Sorting, Heap (Priority Queue), Bucket Sort, Counting, Quickselect" MEDIUM,Copy List with Random Pointer,64.0,0.006388453003509523,https://leetcode.com/problems/copy-list-with-random-pointer,"Hash Table, Linked List" MEDIUM,4Sum,64.0,0.004194278449319084,https://leetcode.com/problems/4sum,"Array, Two Pointers, Sorting" HARD,Sliding Window Maximum,64.0,0.004936745979434415,https://leetcode.com/problems/sliding-window-maximum,"Array, Queue, Sliding Window, Heap (Priority Queue), Monotonic Queue, Range Minimum/Maximum Query" MEDIUM,Find The Original Array of Prefix Xor,64.0,0.008847064890567094,https://leetcode.com/problems/find-the-original-array-of-prefix-xor,"Array, Bit Manipulation" MEDIUM,Rotate Image,59.8,0.008083480408343486,https://leetcode.com/problems/rotate-image,"Array, Math, Matrix" MEDIUM,Merge Intervals,59.8,0.005302566992870624,https://leetcode.com/problems/merge-intervals,"Array, Sorting, Quicksort" MEDIUM,Break a Palindrome,59.8,0.005163866550886599,https://leetcode.com/problems/break-a-palindrome,"String, Greedy" MEDIUM,Find the Duplicate Number,59.8,0.006500942534048416,https://leetcode.com/problems/find-the-duplicate-number,"Array, Two Pointers, Binary Search, Bit Manipulation, Pigeonhole Principle, Floyd's Cycle Finding Algorithm" MEDIUM,Dot Product of Two Sparse Vectors,59.8,0.008987142390186009,https://leetcode.com/problems/dot-product-of-two-sparse-vectors,"Array, Hash Table, Two Pointers, Design, Linear Algebra" MEDIUM,Unique Paths II,59.8,0.004523933526266955,https://leetcode.com/problems/unique-paths-ii,"Array, Dynamic Programming, Matrix" MEDIUM,Subarray Sum Equals K,59.8,0.004835078125307959,https://leetcode.com/problems/subarray-sum-equals-k,"Array, Hash Table, Prefix Sum" MEDIUM,Rotate List,59.8,0.004347107083276891,https://leetcode.com/problems/rotate-list,"Linked List, Two Pointers" MEDIUM,Product of Array Except Self,59.8,0.006937985196568629,https://leetcode.com/problems/product-of-array-except-self,"Array, Prefix Sum" MEDIUM,Decode String,59.8,0.006337492910642644,https://leetcode.com/problems/decode-string,"String, Stack, Recursion" MEDIUM,Add Two Numbers,54.6,0.004955376245155477,https://leetcode.com/problems/add-two-numbers,"Linked List, Math, Recursion" MEDIUM,3Sum,54.6,0.004007315142378561,https://leetcode.com/problems/3sum,"Array, Two Pointers, Sorting" MEDIUM,House Robber,54.6,0.005368624297467667,https://leetcode.com/problems/house-robber,"Array, Dynamic Programming" EASY,Missing Number,54.6,0.007285158628384054,https://leetcode.com/problems/missing-number,"Array, Hash Table, Math, Binary Search, Bit Manipulation, Sorting" EASY,Move Zeroes,54.6,0.006450134031583219,https://leetcode.com/problems/move-zeroes,"Array, Two Pointers" MEDIUM,String to Integer (atoi),54.6,0.0021919358732522885,https://leetcode.com/problems/string-to-integer-atoi,String EASY,Merge Sorted Array,54.6,0.0055906764217688466,https://leetcode.com/problems/merge-sorted-array,"Array, Two Pointers, Sorting" MEDIUM,Reverse Words in a String,54.6,0.005813320659955951,https://leetcode.com/problems/reverse-words-in-a-string,"Two Pointers, String" MEDIUM,Sort Colors,54.6,0.007029500438217952,https://leetcode.com/problems/sort-colors,"Array, Two Pointers, Sorting, Quicksort, Bubble Sort" MEDIUM,Remove Stones to Minimize the Total,54.6,0.006629734456727873,https://leetcode.com/problems/remove-stones-to-minimize-the-total,"Array, Greedy, Heap (Priority Queue)" MEDIUM,String Compression,54.6,0.006096661751587557,https://leetcode.com/problems/string-compression,"Two Pointers, String" MEDIUM,Asteroid Collision,54.6,0.004932931077260659,https://leetcode.com/problems/asteroid-collision,"Array, Stack, Simulation" EASY,Power of Two,54.6,0.005063822259214051,https://leetcode.com/problems/power-of-two,"Math, Bit Manipulation, Recursion" EASY,Valid Anagram,54.6,0.006876761931556342,https://leetcode.com/problems/valid-anagram,"Hash Table, String, Sorting" EASY,Linked List Cycle,54.6,0.00552466803809855,https://leetcode.com/problems/linked-list-cycle,"Hash Table, Linked List, Two Pointers, Floyd's Cycle Finding Algorithm" MEDIUM,Maximum Number of Events That Can Be Attended,54.6,0.00391482967245459,https://leetcode.com/problems/maximum-number-of-events-that-can-be-attended,"Array, Greedy, Sorting, Heap (Priority Queue)" EASY,Minimum Absolute Difference,54.6,0.0075163024752197575,https://leetcode.com/problems/minimum-absolute-difference,"Array, Sorting" MEDIUM,Longest Consecutive Sequence,54.6,0.004728616220505487,https://leetcode.com/problems/longest-consecutive-sequence,"Array, Hash Table, Union-Find" MEDIUM,Design Circular Queue,54.6,0.005571319082290607,https://leetcode.com/problems/design-circular-queue,"Array, Linked List, Design, Queue" MEDIUM,Koko Eating Bananas,54.6,0.005071695875997547,https://leetcode.com/problems/koko-eating-bananas,"Array, Binary Search" EASY,Climbing Stairs,47.9,0.0054406494143683015,https://leetcode.com/problems/climbing-stairs,"Math, Dynamic Programming, Memoization" MEDIUM,Set Matrix Zeroes,47.9,0.006378812899903156,https://leetcode.com/problems/set-matrix-zeroes,"Array, Hash Table, Matrix" MEDIUM,Reverse Linked List II,47.9,0.005263815571366639,https://leetcode.com/problems/reverse-linked-list-ii,Linked List MEDIUM,Find Peak Element,47.9,0.0047267344973397196,https://leetcode.com/problems/find-peak-element,"Array, Binary Search" MEDIUM,Maximal Square,47.9,0.00510515999564426,https://leetcode.com/problems/maximal-square,"Array, Dynamic Programming, Matrix" EASY,Counting Bits,47.9,0.008076769122929829,https://leetcode.com/problems/counting-bits,"Dynamic Programming, Bit Manipulation" MEDIUM,Rectangle Area,47.9,0.005039496862718282,https://leetcode.com/problems/rectangle-area,"Math, Geometry" EASY,Reverse Linked List,47.9,0.008116096913130536,https://leetcode.com/problems/reverse-linked-list,"Linked List, Recursion" MEDIUM,Spiral Matrix,47.9,0.005814592762393077,https://leetcode.com/problems/spiral-matrix,"Array, Matrix, Simulation" MEDIUM,Minimum Path Sum,47.9,0.006903297728711252,https://leetcode.com/problems/minimum-path-sum,"Array, Dynamic Programming, Matrix" MEDIUM,Jump Game,47.9,0.004166910996338814,https://leetcode.com/problems/jump-game,"Array, Dynamic Programming, Greedy" HARD,Integer to English Words,47.9,0.0035309245732496595,https://leetcode.com/problems/integer-to-english-words,"Math, String, Recursion" MEDIUM,Max Sum of a Pair With Equal Sum of Digits,47.9,0.006591164902755204,https://leetcode.com/problems/max-sum-of-a-pair-with-equal-sum-of-digits,"Array, Hash Table, Sorting, Heap (Priority Queue)" EASY,First Unique Character in a String,47.9,0.006654131753777084,https://leetcode.com/problems/first-unique-character-in-a-string,"Hash Table, String, Queue, Counting" EASY,Maximum Product of Three Numbers,47.9,0.004831450231957493,https://leetcode.com/problems/maximum-product-of-three-numbers,"Array, Math, Sorting" MEDIUM,Find the Celebrity,47.9,0.004910578437391559,https://leetcode.com/problems/find-the-celebrity,"Two Pointers, Graph Theory, Interactive" MEDIUM,Course Schedule,47.9,0.005241165054951703,https://leetcode.com/problems/course-schedule,"Depth-First Search, Breadth-First Search, Graph Theory, Topological Sort, Directed Acyclic Graph" MEDIUM,Longest Increasing Subsequence,47.9,0.006009845306478856,https://leetcode.com/problems/longest-increasing-subsequence,"Array, Binary Search, Dynamic Programming, Longest Increasing Subsequence" MEDIUM,Unique Paths,47.9,0.006736987361547022,https://leetcode.com/problems/unique-paths,"Math, Dynamic Programming, Combinatorics" MEDIUM,Min Stack,47.9,0.005879065812429445,https://leetcode.com/problems/min-stack,"Stack, Design" MEDIUM,Network Delay Time,47.9,0.006179951307812771,https://leetcode.com/problems/network-delay-time,"Depth-First Search, Breadth-First Search, Graph Theory, Heap (Priority Queue), Shortest Path, Dijkstra's Algorithm" MEDIUM,Minimum Knight Moves,38.7,0.004213211040411993,https://leetcode.com/problems/minimum-knight-moves,"Breadth-First Search, Heuristic Search, Bidirectional Search, A* Search" HARD,Max Points on a Line,38.7,0.0031637331380776706,https://leetcode.com/problems/max-points-on-a-line,"Array, Hash Table, Math, Geometry, Euclidean Algorithm, Greatest Common Divisor" MEDIUM,Kth Largest Element in an Array,38.7,0.006941739868246014,https://leetcode.com/problems/kth-largest-element-in-an-array,"Array, Divide and Conquer, Sorting, Heap (Priority Queue), Quickselect" MEDIUM,Linked List Random Node,38.7,0.006533441894828898,https://leetcode.com/problems/linked-list-random-node,"Linked List, Math, Reservoir Sampling, Randomized" HARD,Sliding Puzzle,38.7,0.007468212228542806,https://leetcode.com/problems/sliding-puzzle,"Array, Dynamic Programming, Backtracking, Breadth-First Search, Memoization, Matrix, Heuristic Search, Bidirectional Search, A* Search" MEDIUM,All Possible Full Binary Trees,38.7,0.008277534125804113,https://leetcode.com/problems/all-possible-full-binary-trees,"Dynamic Programming, Tree, Recursion, Memoization, Binary Tree" EASY,Fibonacci Number,38.7,0.007473585051333876,https://leetcode.com/problems/fibonacci-number,"Math, Dynamic Programming, Recursion, Memoization" MEDIUM,Task Scheduler II,38.7,0.005510435233069636,https://leetcode.com/problems/task-scheduler-ii,"Array, Hash Table, Simulation" MEDIUM,Insert Delete GetRandom O(1),38.7,0.005556924332512708,https://leetcode.com/problems/insert-delete-getrandom-o1,"Array, Hash Table, Math, Design, Randomized" EASY,Longest Common Prefix,38.7,0.0048536634197521526,https://leetcode.com/problems/longest-common-prefix,"Array, String, Trie" HARD,Serialize and Deserialize Binary Tree,38.7,0.006127522680012756,https://leetcode.com/problems/serialize-and-deserialize-binary-tree,"String, Tree, Depth-First Search, Breadth-First Search, Design, Binary Tree" MEDIUM,Course Schedule II,38.7,0.005644356617498297,https://leetcode.com/problems/course-schedule-ii,"Depth-First Search, Breadth-First Search, Graph Theory, Topological Sort" HARD,Delete Duplicate Folders in System,38.7,0.007717947863561139,https://leetcode.com/problems/delete-duplicate-folders-in-system,"Array, Hash Table, String, Depth-First Search, Trie, Sorting, Hash Function" MEDIUM,Count the Number of Good Subsequences,38.7,0.004749343257443082,https://leetcode.com/problems/count-the-number-of-good-subsequences,"Hash Table, Math, String, Combinatorics, Counting" EASY,Reverse String,38.7,0.008145958156631659,https://leetcode.com/problems/reverse-string,"Two Pointers, String" EASY,Number of 1 Bits,38.7,0.007775254301262138,https://leetcode.com/problems/number-of-1-bits,"Divide and Conquer, Bit Manipulation" MEDIUM,Merge In Between Linked Lists,38.7,0.008323188540758362,https://leetcode.com/problems/merge-in-between-linked-lists,Linked List MEDIUM,The Maze,38.7,0.0060561751788321795,https://leetcode.com/problems/the-maze,"Array, Depth-First Search, Breadth-First Search, Matrix" MEDIUM,Largest Number,38.7,0.004399287421821326,https://leetcode.com/problems/largest-number,"Array, String, Greedy, Sorting" MEDIUM,Clone Graph,38.7,0.006640742165124276,https://leetcode.com/problems/clone-graph,"Hash Table, Depth-First Search, Breadth-First Search, Graph Theory" MEDIUM,Daily Temperatures,38.7,0.006927657093911347,https://leetcode.com/problems/daily-temperatures,"Array, Stack, Monotonic Stack" EASY,Middle of the Linked List,38.7,0.008250616029875904,https://leetcode.com/problems/middle-of-the-linked-list,"Linked List, Two Pointers" MEDIUM,Number of Ways to Split Array,38.7,0.005572156319190683,https://leetcode.com/problems/number-of-ways-to-split-array,"Array, Prefix Sum" MEDIUM,"Pow(x, n)",38.7,0.003926251615519003,https://leetcode.com/problems/powx-n,"Math, Recursion" MEDIUM,Rotting Oranges,38.7,0.005959394495835888,https://leetcode.com/problems/rotting-oranges,"Array, Breadth-First Search, Matrix" MEDIUM,Simplify Path,38.7,0.005168685367296402,https://leetcode.com/problems/simplify-path,"String, Stack" EASY,Word Pattern,38.7,0.00448082056105505,https://leetcode.com/problems/word-pattern,"Hash Table, String" EASY,Third Maximum Number,38.7,0.004061449369169618,https://leetcode.com/problems/third-maximum-number,"Array, Sorting" HARD,Median of Two Sorted Arrays,38.7,0.004785839106418478,https://leetcode.com/problems/median-of-two-sorted-arrays,"Array, Binary Search, Divide and Conquer" EASY,Number of Lines To Write String,38.7,0.007338414074482007,https://leetcode.com/problems/number-of-lines-to-write-string,"Array, String" MEDIUM,Longest Palindromic Substring,38.7,0.0038866714720497764,https://leetcode.com/problems/longest-palindromic-substring,"Two Pointers, String, Dynamic Programming, Manacher" MEDIUM,Next Greater Element II,38.7,0.006933423621198717,https://leetcode.com/problems/next-greater-element-ii,"Array, Stack, Monotonic Stack" EASY,Palindrome Linked List,38.7,0.00589603978203453,https://leetcode.com/problems/palindrome-linked-list,"Linked List, Two Pointers, Stack, Recursion" EASY,Diameter of Binary Tree,38.7,0.006639930426019505,https://leetcode.com/problems/diameter-of-binary-tree,"Tree, Depth-First Search, Binary Tree, DP on Trees" MEDIUM,Compare Version Numbers,38.7,0.004713094428566315,https://leetcode.com/problems/compare-version-numbers,"Two Pointers, String" HARD,Number of Visible People in a Queue,38.7,0.007379984166711741,https://leetcode.com/problems/number-of-visible-people-in-a-queue,"Array, Stack, Monotonic Stack" MEDIUM,Count Primes,38.7,0.0035791436348251047,https://leetcode.com/problems/count-primes,"Array, Math, Enumeration, Number Theory, Primality Test, Sieve Theory, Prime Number Sieve" MEDIUM,All Nodes Distance K in Binary Tree,38.7,0.0068187387878375005,https://leetcode.com/problems/all-nodes-distance-k-in-binary-tree,"Hash Table, Tree, Depth-First Search, Breadth-First Search, Binary Tree" EASY,Contains Duplicate,38.7,0.006479962775706981,https://leetcode.com/problems/contains-duplicate,"Array, Hash Table, Sorting" MEDIUM,Design Memory Allocator,38.7,0.0051036668574195535,https://leetcode.com/problems/design-memory-allocator,"Array, Hash Table, Design, Simulation" MEDIUM,Fizz Buzz Multithreaded,38.7,0.007540915141865261,https://leetcode.com/problems/fizz-buzz-multithreaded,Concurrency HARD,Longest Cycle in a Graph,38.7,0.005131973109009527,https://leetcode.com/problems/longest-cycle-in-a-graph,"Depth-First Search, Breadth-First Search, Graph Theory, Topological Sort, Kosaraju's Algorithm, Tarjan's SCC Algorithm" MEDIUM,Binary Subarrays With Sum,38.7,0.007003157348832215,https://leetcode.com/problems/binary-subarrays-with-sum,"Array, Hash Table, Sliding Window, Prefix Sum" MEDIUM,Previous Permutation With One Swap,38.7,0.00493514264756978,https://leetcode.com/problems/previous-permutation-with-one-swap,"Array, Greedy" MEDIUM,Letter Combinations of a Phone Number,38.7,0.006703749680611236,https://leetcode.com/problems/letter-combinations-of-a-phone-number,"Hash Table, String, Backtracking" HARD,Serialize and Deserialize N-ary Tree,38.7,0.006902255233678874,https://leetcode.com/problems/serialize-and-deserialize-n-ary-tree,"String, Tree, Depth-First Search, Breadth-First Search" MEDIUM,Top K Frequent Words,38.7,0.006074061979369109,https://leetcode.com/problems/top-k-frequent-words,"Array, Hash Table, String, Trie, Sorting, Heap (Priority Queue), Bucket Sort, Counting" HARD,First Missing Positive,38.7,0.004397279128728466,https://leetcode.com/problems/first-missing-positive,"Array, Hash Table" MEDIUM,Best Time to Buy and Sell Stock II,38.7,0.007176545765501252,https://leetcode.com/problems/best-time-to-buy-and-sell-stock-ii,"Array, Dynamic Programming, Greedy" MEDIUM,Replace Words,38.7,0.006905214405823805,https://leetcode.com/problems/replace-words,"Array, Hash Table, String, Trie" EASY,Palindrome Number,38.7,0.006104361254202178,https://leetcode.com/problems/palindrome-number,Math MEDIUM,Find First and Last Position of Element in Sorted Array,38.7,0.004980562200143512,https://leetcode.com/problems/find-first-and-last-position-of-element-in-sorted-array,"Array, Binary Search" HARD,Read N Characters Given read4 II - Call Multiple Times,38.7,0.004340062264675189,https://leetcode.com/problems/read-n-characters-given-read4-ii-call-multiple-times,"Array, Simulation, Interactive" MEDIUM,Generate Parentheses,38.7,0.007971336045365134,https://leetcode.com/problems/generate-parentheses,"String, Dynamic Programming, Backtracking, Bracket Sequences" MEDIUM,Longest Substring with At Most K Distinct Characters,38.7,0.005016613504273714,https://leetcode.com/problems/longest-substring-with-at-most-k-distinct-characters,"Hash Table, String, Sliding Window"