Difficulty,Title,Frequency,Acceptance Rate,Link,Topics MEDIUM,Walls and Gates,100.0,0.006424415166466381,https://leetcode.com/problems/walls-and-gates,"Array, Breadth-First Search, Matrix" HARD,Longest Increasing Path in a Matrix,92.3,0.005718813063448473,https://leetcode.com/problems/longest-increasing-path-in-a-matrix,"Array, Dynamic Programming, Depth-First Search, Breadth-First Search, Graph Theory, Topological Sort, Memoization, Matrix, Directed Acyclic Graph" HARD,Binary Tree Maximum Path Sum,88.5,0.004289441278079543,https://leetcode.com/problems/binary-tree-maximum-path-sum,"Dynamic Programming, Tree, Depth-First Search, Binary Tree, DP on Trees" MEDIUM,Search Suggestions System,84.7,0.006524802816348724,https://leetcode.com/problems/search-suggestions-system,"Array, String, Binary Search, Trie, Sorting, Heap (Priority Queue)" HARD,Maximum Profit in Job Scheduling,77.3,0.005487839901590162,https://leetcode.com/problems/maximum-profit-in-job-scheduling,"Array, Binary Search, Dynamic Programming, Sorting" MEDIUM,Koko Eating Bananas,75.5,0.005071678679767675,https://leetcode.com/problems/koko-eating-bananas,"Array, Binary Search" MEDIUM,Design File System,74.2,0.006523791948411897,https://leetcode.com/problems/design-file-system,"Hash Table, String, Design, Trie" HARD,Shortest Distance from All Buildings,72.0,0.004502211518468349,https://leetcode.com/problems/shortest-distance-from-all-buildings,"Array, Breadth-First Search, Matrix" MEDIUM,Single-Threaded CPU,71.2,0.0048296841718896855,https://leetcode.com/problems/single-threaded-cpu,"Array, Sorting, Heap (Priority Queue)" HARD,Design In-Memory File System,66.6,0.004834500746378832,https://leetcode.com/problems/design-in-memory-file-system,"Hash Table, String, Design, Trie, Sorting" MEDIUM,Next Greater Element III,65.5,0.0035702808332326043,https://leetcode.com/problems/next-greater-element-iii,"Math, Two Pointers, String" MEDIUM,Find K Closest Elements,65.5,0.005019976515720276,https://leetcode.com/problems/find-k-closest-elements,"Array, Two Pointers, Binary Search, Sliding Window, Sorting, Heap (Priority Queue)" MEDIUM,Most Profit Assigning Work,63.2,0.005640206554298743,https://leetcode.com/problems/most-profit-assigning-work,"Array, Two Pointers, Binary Search, Greedy, Sorting" MEDIUM,Count Nodes With the Highest Score,60.4,0.005308155120033358,https://leetcode.com/problems/count-nodes-with-the-highest-score,"Array, Tree, Depth-First Search, Binary Tree, DP on Trees" MEDIUM,Minimum Number of Steps to Make Two Strings Anagram,60.4,0.008261462700472483,https://leetcode.com/problems/minimum-number-of-steps-to-make-two-strings-anagram,"Hash Table, String, Counting" HARD,Basic Calculator III,57.2,0.0053578708111514895,https://leetcode.com/problems/basic-calculator-iii,"Math, String, Stack, Recursion" HARD,Making A Large Island,57.2,0.005732219412165064,https://leetcode.com/problems/making-a-large-island,"Array, Depth-First Search, Breadth-First Search, Union-Find, Matrix" EASY,Check if One String Swap Can Make Strings Equal,57.2,0.004955174080483964,https://leetcode.com/problems/check-if-one-string-swap-can-make-strings-equal,"Hash Table, String, Counting" HARD,Count All Valid Pickup and Delivery Options,55.3,0.00649658752374051,https://leetcode.com/problems/count-all-valid-pickup-and-delivery-options,"Math, Dynamic Programming, Combinatorics" MEDIUM,Interval List Intersections,53.2,0.007325112137612214,https://leetcode.com/problems/interval-list-intersections,"Array, Two Pointers, Sweep Line" EASY,Immediate Food Delivery I,53.2,0.008056112566450214,https://leetcode.com/problems/immediate-food-delivery-i,Database MEDIUM,Immediate Food Delivery II,53.2,0.005735800818890281,https://leetcode.com/problems/immediate-food-delivery-ii,Database HARD,Subsequence With the Minimum Score,53.2,0.003390184268590852,https://leetcode.com/problems/subsequence-with-the-minimum-score,"Two Pointers, String, Binary Search" MEDIUM,Mice and Cheese,53.2,0.0049174778812708635,https://leetcode.com/problems/mice-and-cheese,"Array, Greedy, Sorting, Heap (Priority Queue)" MEDIUM,132 Pattern,53.2,0.003521014970943051,https://leetcode.com/problems/132-pattern,"Array, Binary Search, Stack, Monotonic Stack, Ordered Set" HARD,Vertical Order Traversal of a Binary Tree,50.9,0.005489259807919105,https://leetcode.com/problems/vertical-order-traversal-of-a-binary-tree,"Hash Table, Tree, Depth-First Search, Breadth-First Search, Sorting, Binary Tree" HARD,Largest Rectangle in Histogram,50.9,0.005106153837702718,https://leetcode.com/problems/largest-rectangle-in-histogram,"Array, Stack, Monotonic Stack, Range Minimum/Maximum Query" MEDIUM,01 Matrix,50.9,0.0055115913642952786,https://leetcode.com/problems/01-matrix,"Array, Dynamic Programming, Breadth-First Search, Matrix" MEDIUM,Minimum Size Subarray Sum,50.9,0.00531643585322797,https://leetcode.com/problems/minimum-size-subarray-sum,"Array, Binary Search, Sliding Window, Prefix Sum" MEDIUM,Course Schedule II,48.1,0.005644351341533157,https://leetcode.com/problems/course-schedule-ii,"Depth-First Search, Breadth-First Search, Graph Theory, Topological Sort" HARD,Basic Calculator,48.1,0.0047279544899225005,https://leetcode.com/problems/basic-calculator,"Math, String, Stack, Recursion" MEDIUM,Basic Calculator II,48.1,0.004727704112315025,https://leetcode.com/problems/basic-calculator-ii,"Math, String, Stack" EASY,Find Nearest Point That Has the Same X or Y Coordinate,48.1,0.007019527971670112,https://leetcode.com/problems/find-nearest-point-that-has-the-same-x-or-y-coordinate,Array EASY,Buddy Strings,48.1,0.0034302800496162807,https://leetcode.com/problems/buddy-strings,"Hash Table, String" EASY,Two Sum,44.9,0.005803618336750189,https://leetcode.com/problems/two-sum,"Array, Hash Table" MEDIUM,Next Permutation,44.9,0.00463957950618413,https://leetcode.com/problems/next-permutation,"Array, Two Pointers" MEDIUM,Longest Common Subsequence,44.9,0.005966793425304469,https://leetcode.com/problems/longest-common-subsequence,"String, Dynamic Programming, Longest Common Subsequence" HARD,Serialize and Deserialize Binary Tree,44.9,0.006127517438518838,https://leetcode.com/problems/serialize-and-deserialize-binary-tree,"String, Tree, Depth-First Search, Breadth-First Search, Design, Binary Tree" MEDIUM,Asteroid Collision,44.9,0.0049329288066519645,https://leetcode.com/problems/asteroid-collision,"Array, Stack, Simulation" MEDIUM,Max Area of Island,44.9,0.007432353019739828,https://leetcode.com/problems/max-area-of-island,"Array, Depth-First Search, Breadth-First Search, Union-Find, Matrix" HARD,Word Search II,41.0,0.0039030967095535786,https://leetcode.com/problems/word-search-ii,"Array, String, Backtracking, Trie, Matrix" HARD,Sliding Window Maximum,41.0,0.0049367391489181355,https://leetcode.com/problems/sliding-window-maximum,"Array, Queue, Sliding Window, Heap (Priority Queue), Monotonic Queue, Range Minimum/Maximum Query" HARD,Best Meeting Point,41.0,0.0061473392419854065,https://leetcode.com/problems/best-meeting-point,"Array, Math, Sorting, Matrix" MEDIUM,Ways to Make a Fair Array,41.0,0.006775100401606425,https://leetcode.com/problems/ways-to-make-a-fair-array,"Array, Prefix Sum" HARD,Minimize Malware Spread,41.0,0.004354806557800992,https://leetcode.com/problems/minimize-malware-spread,"Array, Hash Table, Depth-First Search, Breadth-First Search, Union-Find, Graph Theory" HARD,Sliding Window Median,41.0,0.003920141397115873,https://leetcode.com/problems/sliding-window-median,"Array, Hash Table, Sliding Window, Heap (Priority Queue), Treap" MEDIUM,Course Schedule,41.0,0.005241164371142155,https://leetcode.com/problems/course-schedule,"Depth-First Search, Breadth-First Search, Graph Theory, Topological Sort, Directed Acyclic Graph" MEDIUM,Merge Intervals,41.0,0.005302574263034603,https://leetcode.com/problems/merge-intervals,"Array, Sorting, Quicksort" HARD,Sudoku Solver,35.9,0.006554736586059875,https://leetcode.com/problems/sudoku-solver,"Array, Hash Table, Backtracking, Matrix, Algorithm X, Dancing Links" MEDIUM,Jump Game,35.9,0.0041669100025548775,https://leetcode.com/problems/jump-game,"Array, Dynamic Programming, Greedy" HARD,Maximum Path Quality of a Graph,35.9,0.006323638197713517,https://leetcode.com/problems/maximum-path-quality-of-a-graph,"Array, Backtracking, Graph Theory" MEDIUM,LRU Cache,35.9,0.004825709165442708,https://leetcode.com/problems/lru-cache,"Hash Table, Linked List, Design, Doubly-Linked List" MEDIUM,Number of Islands,35.9,0.00653144390523197,https://leetcode.com/problems/number-of-islands,"Array, Depth-First Search, Breadth-First Search, Union-Find, Matrix" MEDIUM,Binary Tree Vertical Order Traversal,35.9,0.005789704254795868,https://leetcode.com/problems/binary-tree-vertical-order-traversal,"Hash Table, Tree, Depth-First Search, Breadth-First Search, Sorting, Binary Tree" MEDIUM,4Sum,35.9,0.00419427419367053,https://leetcode.com/problems/4sum,"Array, Two Pointers, Sorting" MEDIUM,Insert Delete GetRandom O(1),35.9,0.005556957712644629,https://leetcode.com/problems/insert-delete-getrandom-o1,"Array, Hash Table, Math, Design, Randomized" HARD,Merge k Sorted Lists,35.9,0.006078429277984894,https://leetcode.com/problems/merge-k-sorted-lists,"Linked List, Divide and Conquer, Heap (Priority Queue), Merge Sort, Tournament Sort" HARD,Similar String Groups,35.9,0.005668614709561633,https://leetcode.com/problems/similar-string-groups,"Array, Hash Table, String, Depth-First Search, Breadth-First Search, Union-Find" MEDIUM,Integer to Roman,35.9,0.007185740094959136,https://leetcode.com/problems/integer-to-roman,"Hash Table, Math, String" MEDIUM,Jump Game II,28.9,0.00436665926798107,https://leetcode.com/problems/jump-game-ii,"Array, Dynamic Programming, Greedy" MEDIUM,Shortest Path to Get Food,28.9,0.005764648968978654,https://leetcode.com/problems/shortest-path-to-get-food,"Array, Breadth-First Search, Matrix" HARD,Swim in Rising Water,28.9,0.006833757253703874,https://leetcode.com/problems/swim-in-rising-water,"Array, Binary Search, Depth-First Search, Breadth-First Search, Union-Find, Minimax, Heap (Priority Queue), Matrix, Dijkstra's Algorithm" MEDIUM,Brace Expansion,28.9,0.006690162486075366,https://leetcode.com/problems/brace-expansion,"String, Backtracking, Stack, Breadth-First Search, Sorting" MEDIUM,Longest Palindromic Substring,28.9,0.0038866718003273703,https://leetcode.com/problems/longest-palindromic-substring,"Two Pointers, String, Dynamic Programming, Manacher" EASY,Roman to Integer,28.9,0.006731049006337024,https://leetcode.com/problems/roman-to-integer,"Hash Table, Math, String" HARD,Find Edges in Shortest Paths,28.9,0.004692897647033263,https://leetcode.com/problems/find-edges-in-shortest-paths,"Depth-First Search, Breadth-First Search, Graph Theory, Heap (Priority Queue), Shortest Path" MEDIUM,Rotting Oranges,28.9,0.005959387060065701,https://leetcode.com/problems/rotting-oranges,"Array, Breadth-First Search, Matrix" MEDIUM,Add Two Numbers,28.9,0.0049553799264458265,https://leetcode.com/problems/add-two-numbers,"Linked List, Math, Recursion" EASY,Diameter of Binary Tree,28.9,0.006639931142843716,https://leetcode.com/problems/diameter-of-binary-tree,"Tree, Depth-First Search, Binary Tree, DP on Trees"