Difficulty,Title,Frequency,Acceptance Rate,Link,Topics EASY,Happy Number,100.0,0.006042662637441843,https://leetcode.com/problems/happy-number,"Hash Table, Math, Two Pointers, Floyd's Cycle Finding Algorithm" HARD,Parallel Courses III,99.2,0.00667874352378537,https://leetcode.com/problems/parallel-courses-iii,"Array, Dynamic Programming, Graph Theory, Topological Sort, Directed Acyclic Graph" HARD,Design In-Memory File System,96.7,0.004834519864833831,https://leetcode.com/problems/design-in-memory-file-system,"Hash Table, String, Design, Trie, Sorting" MEDIUM,Course Schedule II,96.7,0.005644353766942836,https://leetcode.com/problems/course-schedule-ii,"Depth-First Search, Breadth-First Search, Graph Theory, Topological Sort" HARD,Minimum Window Substring,91.9,0.004869702568811626,https://leetcode.com/problems/minimum-window-substring,"Hash Table, String, Sliding Window" HARD,Word Search II,89.6,0.003903116570981581,https://leetcode.com/problems/word-search-ii,"Array, String, Backtracking, Trie, Matrix" EASY,Calculate Amount Paid in Taxes,85.7,0.0069722103270301325,https://leetcode.com/problems/calculate-amount-paid-in-taxes,"Array, Simulation" HARD,Trapping Rain Water,85.7,0.006842254153266823,https://leetcode.com/problems/trapping-rain-water,"Array, Two Pointers, Dynamic Programming, Stack, Monotonic Stack" MEDIUM,Throne Inheritance,85.7,0.0068477667128870965,https://leetcode.com/problems/throne-inheritance,"Hash Table, Tree, Depth-First Search, Design" MEDIUM,Step-By-Step Directions From a Binary Tree Node to Another,85.7,0.005652518289412114,https://leetcode.com/problems/step-by-step-directions-from-a-binary-tree-node-to-another,"String, Tree, Depth-First Search, Binary Tree, Binary Lifting, Lowest Common Ancestor" HARD,Painting the Walls,82.6,0.0048766441724808415,https://leetcode.com/problems/painting-the-walls,"Array, Dynamic Programming" MEDIUM,Find All Anagrams in a String,82.6,0.005470399094928323,https://leetcode.com/problems/find-all-anagrams-in-a-string,"Hash Table, String, Sliding Window" HARD,Maximum Profit in Job Scheduling,80.9,0.005487880786131157,https://leetcode.com/problems/maximum-profit-in-job-scheduling,"Array, Binary Search, Dynamic Programming, Sorting" EASY,Count Vowel Substrings of a String,77.1,0.00737415176613257,https://leetcode.com/problems/count-vowel-substrings-of-a-string,"Hash Table, String" MEDIUM,Maximum Number of Upgradable Servers,74.9,0.004397485155431366,https://leetcode.com/problems/maximum-number-of-upgradable-servers,"Array, Math, Binary Search" MEDIUM,Minimum Array Length After Pair Removals,72.5,0.002826056758103923,https://leetcode.com/problems/minimum-array-length-after-pair-removals,"Array, Hash Table, Two Pointers, Binary Search, Greedy, Counting" MEDIUM,Find the Maximum Length of a Good Subsequence I,72.5,0.0033136220201002357,https://leetcode.com/problems/find-the-maximum-length-of-a-good-subsequence-i,"Array, Hash Table, Dynamic Programming" MEDIUM,Course Schedule,72.5,0.005241170289866365,https://leetcode.com/problems/course-schedule,"Depth-First Search, Breadth-First Search, Graph Theory, Topological Sort, Directed Acyclic Graph" HARD,Find the Maximum Length of a Good Subsequence II,69.9,0.0025493445099663723,https://leetcode.com/problems/find-the-maximum-length-of-a-good-subsequence-ii,"Array, Hash Table, Dynamic Programming" HARD,Merge k Sorted Lists,69.9,0.006078441330827581,https://leetcode.com/problems/merge-k-sorted-lists,"Linked List, Divide and Conquer, Heap (Priority Queue), Merge Sort, Tournament Sort" MEDIUM,Parallel Courses,69.9,0.006246916107346397,https://leetcode.com/problems/parallel-courses,"Graph Theory, Topological Sort, Directed Acyclic Graph" EASY,Minimum Absolute Difference Between Two Values,69.9,0.006645927944293068,https://leetcode.com/problems/minimum-absolute-difference-between-two-values,"Array, Enumeration" MEDIUM,Max Area of Island,66.8,0.007432362195172171,https://leetcode.com/problems/max-area-of-island,"Array, Depth-First Search, Breadth-First Search, Union-Find, Matrix" EASY,Two Sum,66.8,0.0058036223610589445,https://leetcode.com/problems/two-sum,"Array, Hash Table" MEDIUM,Simplify Path,66.8,0.005168688605143443,https://leetcode.com/problems/simplify-path,"String, Stack" MEDIUM,Top K Frequent Elements,66.8,0.00675742609449208,https://leetcode.com/problems/top-k-frequent-elements,"Array, Hash Table, Divide and Conquer, Sorting, Heap (Priority Queue), Bucket Sort, Counting, Quickselect" MEDIUM,Time Based Key-Value Store,63.3,0.00502587024009322,https://leetcode.com/problems/time-based-key-value-store,"Hash Table, String, Binary Search, Design" MEDIUM,Boundary of Binary Tree,63.3,0.004822596332099236,https://leetcode.com/problems/boundary-of-binary-tree,"Tree, Depth-First Search, Binary Tree" HARD,String Transformation,63.3,0.0027438501144164762,https://leetcode.com/problems/string-transformation,"Math, String, Dynamic Programming, String Matching" MEDIUM,Maximum Number of Events That Can Be Attended,63.3,0.003914839644269358,https://leetcode.com/problems/maximum-number-of-events-that-can-be-attended,"Array, Greedy, Sorting, Heap (Priority Queue)" EASY,Shortest Word Distance,63.3,0.0066435645665239695,https://leetcode.com/problems/shortest-word-distance,"Array, String" EASY,Merge Two Sorted Lists,59.2,0.006901786264394714,https://leetcode.com/problems/merge-two-sorted-lists,"Linked List, Recursion" MEDIUM,LRU Cache,59.2,0.004825721819748393,https://leetcode.com/problems/lru-cache,"Hash Table, Linked List, Design, Doubly-Linked List" HARD,Number of Ways to Form a Target String Given a Dictionary,59.2,0.00562078657448249,https://leetcode.com/problems/number-of-ways-to-form-a-target-string-given-a-dictionary,"Array, String, Dynamic Programming" HARD,Basic Calculator,59.2,0.004727958474690424,https://leetcode.com/problems/basic-calculator,"Math, String, Stack, Recursion" MEDIUM,Task Scheduler,59.2,0.006400142014498411,https://leetcode.com/problems/task-scheduler,"Array, Hash Table, Greedy, Sorting, Heap (Priority Queue), Counting" MEDIUM,Copy List with Random Pointer,59.2,0.00638845439139361,https://leetcode.com/problems/copy-list-with-random-pointer,"Hash Table, Linked List" MEDIUM,Design Add and Search Words Data Structure,59.2,0.004917041472999328,https://leetcode.com/problems/design-add-and-search-words-data-structure,"String, Depth-First Search, Design, Trie" MEDIUM,Remove Sub-Folders from the Filesystem,59.2,0.007860576084808613,https://leetcode.com/problems/remove-sub-folders-from-the-filesystem,"Array, String, Depth-First Search, Trie" MEDIUM,Web Crawler Multithreaded,59.2,0.005149184767690816,https://leetcode.com/problems/web-crawler-multithreaded,"Depth-First Search, Breadth-First Search, Concurrency" HARD,Maximum Number of Events That Can Be Attended II,59.2,0.006336537846010175,https://leetcode.com/problems/maximum-number-of-events-that-can-be-attended-ii,"Array, Binary Search, Dynamic Programming, Sorting" MEDIUM,Web Crawler,59.2,0.006916142819792887,https://leetcode.com/problems/web-crawler,"String, Depth-First Search, Breadth-First Search, Interactive" MEDIUM,Design Hit Counter,54.1,0.006977334581379982,https://leetcode.com/problems/design-hit-counter,"Array, Binary Search, Design, Queue, Data Stream" MEDIUM,Insert Delete GetRandom O(1),54.1,0.005556927324599951,https://leetcode.com/problems/insert-delete-getrandom-o1,"Array, Hash Table, Math, Design, Randomized" EASY,Design HashMap,54.1,0.00668275803601339,https://leetcode.com/problems/design-hashmap,"Array, Hash Table, Linked List, Design, Hash Function" MEDIUM,Min Stack,54.1,0.005879070302049599,https://leetcode.com/problems/min-stack,"Stack, Design" MEDIUM,Snapshot Array,54.1,0.0036822652298054725,https://leetcode.com/problems/snapshot-array,"Array, Hash Table, Binary Search, Design, Persistent Data Structure" MEDIUM,Maximize Distance to Closest Person,54.1,0.005014144723563999,https://leetcode.com/problems/maximize-distance-to-closest-person,Array MEDIUM,Single Element in a Sorted Array,54.1,0.0059456391545347235,https://leetcode.com/problems/single-element-in-a-sorted-array,"Array, Binary Search" MEDIUM,Design Log Storage System,54.1,0.00597715539494063,https://leetcode.com/problems/design-log-storage-system,"Hash Table, String, Design, Ordered Set" HARD,Regular Expression Matching,47.6,0.0031989393308775437,https://leetcode.com/problems/regular-expression-matching,"String, Dynamic Programming, Recursion" MEDIUM,Cheapest Flights Within K Stops,47.6,0.004272271281705025,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,Count Nodes Equal to Average of Subtree,47.6,0.008870139578536117,https://leetcode.com/problems/count-nodes-equal-to-average-of-subtree,"Tree, Depth-First Search, Binary Tree" MEDIUM,Longest Univalue Path,47.6,0.004460081170560997,https://leetcode.com/problems/longest-univalue-path,"Tree, Depth-First Search, Binary Tree, DP on Trees" EASY,Roman to Integer,47.6,0.006731044790561569,https://leetcode.com/problems/roman-to-integer,"Hash Table, Math, String" HARD,Making A Large Island,47.6,0.005732221093462556,https://leetcode.com/problems/making-a-large-island,"Array, Depth-First Search, Breadth-First Search, Union-Find, Matrix" EASY,Reverse Only Letters,47.6,0.006929945451535786,https://leetcode.com/problems/reverse-only-letters,"Two Pointers, String" MEDIUM,Most Stones Removed with Same Row or Column,47.6,0.006355742991813446,https://leetcode.com/problems/most-stones-removed-with-same-row-or-column,"Hash Table, Depth-First Search, Union-Find, Graph Theory, Bipartite Graph" MEDIUM,Keys and Rooms,47.6,0.007635592834024707,https://leetcode.com/problems/keys-and-rooms,"Depth-First Search, Breadth-First Search, Graph Theory" MEDIUM,Design File System,47.6,0.006523791948411897,https://leetcode.com/problems/design-file-system,"Hash Table, String, Design, Trie" MEDIUM,Rotting Oranges,47.6,0.005959396634493911,https://leetcode.com/problems/rotting-oranges,"Array, Breadth-First Search, Matrix" HARD,Parallel Courses II,47.6,0.0031640058055152393,https://leetcode.com/problems/parallel-courses-ii,"Dynamic Programming, Bit Manipulation, Graph Theory, Bitmask, Directed Acyclic Graph" MEDIUM,Campus Bikes,47.6,0.0059110704156151595,https://leetcode.com/problems/campus-bikes,"Array, Sorting, Heap (Priority Queue)" MEDIUM,Graph Valid Tree,47.6,0.005019221829169965,https://leetcode.com/problems/graph-valid-tree,"Depth-First Search, Breadth-First Search, Union-Find, Graph Theory" MEDIUM,Most Frequent IDs,47.6,0.004345863712400972,https://leetcode.com/problems/most-frequent-ids,"Array, Hash Table, Heap (Priority Queue), Ordered Set" MEDIUM,Populating Next Right Pointers in Each Node,38.6,0.006792164323099985,https://leetcode.com/problems/populating-next-right-pointers-in-each-node,"Linked List, Tree, Depth-First Search, Breadth-First Search, Binary Tree" MEDIUM,Populating Next Right Pointers in Each Node II,38.6,0.0058385986140210774,https://leetcode.com/problems/populating-next-right-pointers-in-each-node-ii,"Linked List, Tree, Depth-First Search, Breadth-First Search, Binary Tree" MEDIUM,Basic Calculator II,38.6,0.004727707403219298,https://leetcode.com/problems/basic-calculator-ii,"Math, String, Stack" MEDIUM,Meeting Rooms II,38.6,0.0052845025342410645,https://leetcode.com/problems/meeting-rooms-ii,"Array, Two Pointers, Greedy, Sorting, Heap (Priority Queue), Prefix Sum" MEDIUM,Encode and Decode Strings,38.6,0.005209337981343404,https://leetcode.com/problems/encode-and-decode-strings,"Array, String, Design" HARD,Integer to English Words,38.6,0.0035309245732496595,https://leetcode.com/problems/integer-to-english-words,"Math, String, Recursion" HARD,Find Median from Data Stream,38.6,0.005512005325213046,https://leetcode.com/problems/find-median-from-data-stream,"Two Pointers, Design, Sorting, Heap (Priority Queue), Data Stream" MEDIUM,Construct Binary Tree from Preorder and Inorder Traversal,38.6,0.006972799574528466,https://leetcode.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal,"Array, Hash Table, Divide and Conquer, Tree, Binary Tree" MEDIUM,Most Profitable Path in a Tree,38.6,0.006729197333620556,https://leetcode.com/problems/most-profitable-path-in-a-tree,"Array, Tree, Depth-First Search, Breadth-First Search, Graph Theory" HARD,N-Queens II,38.6,0.007950453434751831,https://leetcode.com/problems/n-queens-ii,"Backtracking, Algorithm X" EASY,Valid Word Abbreviation,38.6,0.00370389684030397,https://leetcode.com/problems/valid-word-abbreviation,"Two Pointers, String" MEDIUM,Implement Trie (Prefix Tree),38.6,0.007017754158331706,https://leetcode.com/problems/implement-trie-prefix-tree,"Hash Table, String, Design, Trie" MEDIUM,Path With Minimum Effort,38.6,0.006418613940961051,https://leetcode.com/problems/path-with-minimum-effort,"Array, Binary Search, Depth-First Search, Breadth-First Search, Union-Find, Heap (Priority Queue), Matrix, Dijkstra's Algorithm" MEDIUM,Remove K Digits,38.6,0.0037879972887011836,https://leetcode.com/problems/remove-k-digits,"String, Stack, Greedy, Monotonic Stack" EASY,Best Time to Buy and Sell Stock,38.6,0.005752127002489667,https://leetcode.com/problems/best-time-to-buy-and-sell-stock,"Array, Dynamic Programming" MEDIUM,Boats to Save People,38.6,0.00626656109584858,https://leetcode.com/problems/boats-to-save-people,"Array, Two Pointers, Greedy, Sorting, Timsort" MEDIUM,Alert Using Same Key-Card Three or More Times in a One Hour Period,38.6,0.004643479776847977,https://leetcode.com/problems/alert-using-same-key-card-three-or-more-times-in-a-one-hour-period,"Array, Hash Table, String, Sorting" MEDIUM,Design Circular Queue,38.6,0.005571324736127425,https://leetcode.com/problems/design-circular-queue,"Array, Linked List, Design, Queue" MEDIUM,Paint Fence,38.6,0.0048580792049345844,https://leetcode.com/problems/paint-fence,Dynamic Programming MEDIUM,Add Two Numbers,38.6,0.004955366348686421,https://leetcode.com/problems/add-two-numbers,"Linked List, Math, Recursion" MEDIUM,Jump Game II,38.6,0.0043666542411466315,https://leetcode.com/problems/jump-game-ii,"Array, Dynamic Programming, Greedy" MEDIUM,The Maze,38.6,0.0060561751788321795,https://leetcode.com/problems/the-maze,"Array, Depth-First Search, Breadth-First Search, Matrix" HARD,Height of Binary Tree After Subtree Removal Queries,38.6,0.00549459433185123,https://leetcode.com/problems/height-of-binary-tree-after-subtree-removal-queries,"Array, Tree, Depth-First Search, Breadth-First Search, Binary Tree" MEDIUM,Design Circular Deque,38.6,0.006516311090143454,https://leetcode.com/problems/design-circular-deque,"Array, Linked List, Design, Queue" MEDIUM,Design Browser History,38.6,0.007860303770986989,https://leetcode.com/problems/design-browser-history,"Array, Linked List, Stack, Design, Doubly-Linked List, Data Stream" MEDIUM,Number of Islands,38.6,0.006531446359659076,https://leetcode.com/problems/number-of-islands,"Array, Depth-First Search, Breadth-First Search, Union-Find, Matrix" MEDIUM,Possible Bipartition,38.6,0.005321688544602354,https://leetcode.com/problems/possible-bipartition,"Depth-First Search, Breadth-First Search, Union-Find, Graph Theory, Graph Coloring, Bipartite Graph" MEDIUM,Shortest Bridge,38.6,0.005986790330488956,https://leetcode.com/problems/shortest-bridge,"Array, Depth-First Search, Breadth-First Search, Matrix" MEDIUM,Construct Quad Tree,38.6,0.007878302841019999,https://leetcode.com/problems/construct-quad-tree,"Array, Divide and Conquer, Tree, Matrix" MEDIUM,Decode String,38.6,0.006337498750374888,https://leetcode.com/problems/decode-string,"String, Stack, Recursion" MEDIUM,Sort Colors,38.6,0.007029500256364891,https://leetcode.com/problems/sort-colors,"Array, Two Pointers, Sorting, Quicksort, Bubble Sort" EASY,Binary Tree Inorder Traversal,38.6,0.008075023836633064,https://leetcode.com/problems/binary-tree-inorder-traversal,"Stack, Tree, Depth-First Search, Binary Tree" EASY,Shortest Distance to a Character,38.6,0.007308368375836498,https://leetcode.com/problems/shortest-distance-to-a-character,"Array, Two Pointers, String" HARD,Patching Array,38.6,0.005491390082939698,https://leetcode.com/problems/patching-array,"Array, Greedy" MEDIUM,Two Sum II - Input Array Is Sorted,38.6,0.006603655313380043,https://leetcode.com/problems/two-sum-ii-input-array-is-sorted,"Array, Two Pointers, Binary Search"