Difficulty,Title,Frequency,Acceptance Rate,Link,Topics MEDIUM,Longest Substring Without Repeating Characters,100.0,0.004001911635669553,https://leetcode.com/problems/longest-substring-without-repeating-characters,"Hash Table, String, Sliding Window" MEDIUM,Spiral Matrix,98.6,0.005814592762393077,https://leetcode.com/problems/spiral-matrix,"Array, Matrix, Simulation" EASY,Two Sum,95.5,0.0058036233464895245,https://leetcode.com/problems/two-sum,"Array, Hash Table" MEDIUM,Merge Intervals,95.5,0.005302558667894053,https://leetcode.com/problems/merge-intervals,"Array, Sorting, Quicksort" MEDIUM,Decode String,95.5,0.00633750410851753,https://leetcode.com/problems/decode-string,"String, Stack, Recursion" HARD,Trapping Rain Water,93.9,0.006842255882993122,https://leetcode.com/problems/trapping-rain-water,"Array, Two Pointers, Dynamic Programming, Stack, Monotonic Stack" EASY,Valid Parentheses,92.1,0.004534117816457164,https://leetcode.com/problems/valid-parentheses,"String, Stack, Bracket Sequences" MEDIUM,Group Anagrams,90.1,0.007344443377157138,https://leetcode.com/problems/group-anagrams,"Array, Hash Table, String, Sorting" EASY,Best Time to Buy and Sell Stock,88.1,0.005752121173271802,https://leetcode.com/problems/best-time-to-buy-and-sell-stock,"Array, Dynamic Programming" MEDIUM,Compare Version Numbers,85.8,0.004713088404279931,https://leetcode.com/problems/compare-version-numbers,"Two Pointers, String" MEDIUM,Daily Temperatures,85.8,0.006927662468942192,https://leetcode.com/problems/daily-temperatures,"Array, Stack, Monotonic Stack" HARD,Wildcard Matching,83.3,0.0033056230647383455,https://leetcode.com/problems/wildcard-matching,"String, Dynamic Programming, Greedy, Recursion" EASY,Climbing Stairs,83.3,0.00544064637482236,https://leetcode.com/problems/climbing-stairs,"Math, Dynamic Programming, Memoization" EASY,Sort Even and Odd Indices Independently,83.3,0.0063631190255442945,https://leetcode.com/problems/sort-even-and-odd-indices-independently,"Array, Sorting" MEDIUM,Largest Number,83.3,0.004399287421821326,https://leetcode.com/problems/largest-number,"Array, String, Greedy, Sorting" MEDIUM,Zigzag Conversion,80.6,0.005537300526330285,https://leetcode.com/problems/zigzag-conversion,String MEDIUM,Container With Most Water,80.6,0.006103881668010144,https://leetcode.com/problems/container-with-most-water,"Array, Two Pointers, Greedy" HARD,Regular Expression Matching,80.6,0.003198932609918341,https://leetcode.com/problems/regular-expression-matching,"String, Dynamic Programming, Recursion" MEDIUM,Generate Parentheses,80.6,0.007971339018950157,https://leetcode.com/problems/generate-parentheses,"String, Dynamic Programming, Backtracking, Bracket Sequences" MEDIUM,Number of Islands,80.6,0.00653144770638853,https://leetcode.com/problems/number-of-islands,"Array, Depth-First Search, Breadth-First Search, Union-Find, Matrix" EASY,Find Winner on a Tic Tac Toe Game,80.6,0.0054737746780187104,https://leetcode.com/problems/find-winner-on-a-tic-tac-toe-game,"Array, Hash Table, Matrix, Simulation" EASY,Sqrt(x),80.6,0.004236456685919086,https://leetcode.com/problems/sqrtx,"Math, Binary Search, Newton's Method" EASY,Count Monobit Integers,80.6,0.006610941168101302,https://leetcode.com/problems/count-monobit-integers,"Bit Manipulation, Enumeration" MEDIUM,Remove All Occurrences of a Substring,77.5,0.007873604772839578,https://leetcode.com/problems/remove-all-occurrences-of-a-substring,"String, Stack, Simulation" HARD,Longest Valid Parentheses,77.5,0.004136907742886437,https://leetcode.com/problems/longest-valid-parentheses,"String, Dynamic Programming, Stack, Bracket Sequences" MEDIUM,Merge Close Characters,77.5,0.00540313689227158,https://leetcode.com/problems/merge-close-characters,"Hash Table, String, Simulation" MEDIUM,Rotate Image,74.1,0.008083482348106776,https://leetcode.com/problems/rotate-image,"Array, Math, Matrix" EASY,Move Zeroes,74.1,0.00645012931053769,https://leetcode.com/problems/move-zeroes,"Array, Two Pointers" MEDIUM,Angle Between Hands of a Clock,74.1,0.006993451731322551,https://leetcode.com/problems/angle-between-hands-of-a-clock,Math MEDIUM,3Sum,70.1,0.004007316913119723,https://leetcode.com/problems/3sum,"Array, Two Pointers, Sorting" MEDIUM,Search in Rotated Sorted Array,70.1,0.004579985097818582,https://leetcode.com/problems/search-in-rotated-sorted-array,"Array, Binary Search" EASY,Merge Sorted Array,70.1,0.005590675990675991,https://leetcode.com/problems/merge-sorted-array,"Array, Two Pointers, Sorting" MEDIUM,Rotting Oranges,70.1,0.005959402473334403,https://leetcode.com/problems/rotting-oranges,"Array, Breadth-First Search, Matrix" MEDIUM,Jump Game II,70.1,0.004366653329427647,https://leetcode.com/problems/jump-game-ii,"Array, Dynamic Programming, Greedy" MEDIUM,Longest Palindromic Substring,65.4,0.0038866738149183288,https://leetcode.com/problems/longest-palindromic-substring,"Two Pointers, String, Dynamic Programming, Manacher" EASY,Longest Common Prefix,65.4,0.004853661788917336,https://leetcode.com/problems/longest-common-prefix,"Array, String, Trie" MEDIUM,Letter Combinations of a Phone Number,65.4,0.006703754263545655,https://leetcode.com/problems/letter-combinations-of-a-phone-number,"Hash Table, String, Backtracking" MEDIUM,Valid Sudoku,65.4,0.006525288271178316,https://leetcode.com/problems/valid-sudoku,"Array, Hash Table, Matrix" HARD,N-Queens,65.4,0.007667722911106842,https://leetcode.com/problems/n-queens,"Array, Backtracking, Algorithm X" MEDIUM,Jump Game,65.4,0.004166922033060163,https://leetcode.com/problems/jump-game,"Array, Dynamic Programming, Greedy" MEDIUM,Edit Distance,65.4,0.006145642786215762,https://leetcode.com/problems/edit-distance,"String, Dynamic Programming" MEDIUM,Product of Array Except Self,65.4,0.006937998574432514,https://leetcode.com/problems/product-of-array-except-self,"Array, Prefix Sum" MEDIUM,Subarray Sum Equals K,65.4,0.0048350851130487486,https://leetcode.com/problems/subarray-sum-equals-k,"Array, Hash Table, Prefix Sum" MEDIUM,Add Two Numbers,65.4,0.004955363537224387,https://leetcode.com/problems/add-two-numbers,"Linked List, Math, Recursion" EASY,Island Perimeter,65.4,0.007447856082364336,https://leetcode.com/problems/island-perimeter,"Array, Depth-First Search, Breadth-First Search, Matrix" MEDIUM,Single Element in a Sorted Array,65.4,0.005945632381879131,https://leetcode.com/problems/single-element-in-a-sorted-array,"Array, Binary Search" EASY,Roman to Integer,59.6,0.006731046785219925,https://leetcode.com/problems/roman-to-integer,"Hash Table, Math, String" EASY,Find the Index of the First Occurrence in a String,59.6,0.004748366585224202,https://leetcode.com/problems/find-the-index-of-the-first-occurrence-in-a-string,"Two Pointers, String, String Matching, Z Algorithm, Knuth–Morris–Pratt Algorithm, Boyer–Moore String-Search Algorithm" HARD,Median of Two Sorted Arrays,59.6,0.004785843800858168,https://leetcode.com/problems/median-of-two-sorted-arrays,"Array, Binary Search, Divide and Conquer" EASY,Excel Sheet Column Number,59.6,0.0068593710006884575,https://leetcode.com/problems/excel-sheet-column-number,"Math, String" MEDIUM,Multiply Strings,59.6,0.00448600243287143,https://leetcode.com/problems/multiply-strings,"Math, String, Simulation" MEDIUM,Set Matrix Zeroes,59.6,0.006378812475788917,https://leetcode.com/problems/set-matrix-zeroes,"Array, Hash Table, Matrix" HARD,Dungeon Game,59.6,0.004253097027961885,https://leetcode.com/problems/dungeon-game,"Array, Dynamic Programming, Matrix" MEDIUM,Kth Largest Element in an Array,59.6,0.006941737967966537,https://leetcode.com/problems/kth-largest-element-in-an-array,"Array, Divide and Conquer, Sorting, Heap (Priority Queue), Quickselect" MEDIUM,Top K Frequent Elements,59.6,0.006757430346819196,https://leetcode.com/problems/top-k-frequent-elements,"Array, Hash Table, Divide and Conquer, Sorting, Heap (Priority Queue), Bucket Sort, Counting, Quickselect" MEDIUM,Gas Station,59.6,0.00488887332723141,https://leetcode.com/problems/gas-station,"Array, Greedy" EASY,Palindrome Number,52.2,0.006104355842196851,https://leetcode.com/problems/palindrome-number,Math MEDIUM,3Sum Closest,52.2,0.004767378844660359,https://leetcode.com/problems/3sum-closest,"Array, Two Pointers, Sorting" MEDIUM,Count and Say,52.2,0.006407211641370888,https://leetcode.com/problems/count-and-say,String MEDIUM,Maximum Subarray,52.2,0.005399360631877174,https://leetcode.com/problems/maximum-subarray,"Array, Divide and Conquer, Dynamic Programming" MEDIUM,Word Search,52.2,0.004831308132654303,https://leetcode.com/problems/word-search,"Array, String, Backtracking, Depth-First Search, Matrix" MEDIUM,Decode Ways,52.2,0.0038775266721306884,https://leetcode.com/problems/decode-ways,"String, Dynamic Programming" EASY,Isomorphic Strings,52.2,0.004925798130090475,https://leetcode.com/problems/isomorphic-strings,"Hash Table, String" EASY,Replace Elements with Greatest Element on Right Side,52.2,0.007275281766249807,https://leetcode.com/problems/replace-elements-with-greatest-element-on-right-side,Array HARD,Integer to English Words,52.2,0.0035309245732496595,https://leetcode.com/problems/integer-to-english-words,"Math, String, Recursion" MEDIUM,Non-overlapping Intervals,52.2,0.005789034087855671,https://leetcode.com/problems/non-overlapping-intervals,"Array, Dynamic Programming, Greedy, Sorting" MEDIUM,Diagonal Traverse,52.2,0.006754085216285016,https://leetcode.com/problems/diagonal-traverse,"Array, Matrix, Simulation" MEDIUM,Asteroid Collision,52.2,0.004932937660708313,https://leetcode.com/problems/asteroid-collision,"Array, Stack, Simulation" MEDIUM,Basic Calculator II,52.2,0.004727717712179759,https://leetcode.com/problems/basic-calculator-ii,"Math, String, Stack" EASY,Pascal's Triangle,52.2,0.007947631831071488,https://leetcode.com/problems/pascals-triangle,"Array, Dynamic Programming" EASY,Valid Palindrome,52.2,0.005452928537511552,https://leetcode.com/problems/valid-palindrome,"Two Pointers, String" EASY,Buddy Strings,52.2,0.0034302832414891977,https://leetcode.com/problems/buddy-strings,"Hash Table, String" EASY,Merge Two Sorted Lists,52.2,0.006901789280880621,https://leetcode.com/problems/merge-two-sorted-lists,"Linked List, Recursion" MEDIUM,Minimum Path Sum,52.2,0.006903301452726128,https://leetcode.com/problems/minimum-path-sum,"Array, Dynamic Programming, Matrix" MEDIUM,Minimum Number of Arrows to Burst Balloons,52.2,0.0062022685411009275,https://leetcode.com/problems/minimum-number-of-arrows-to-burst-balloons,"Array, Greedy, Sorting" EASY,Find the Highest Altitude,52.2,0.008464456396938583,https://leetcode.com/problems/find-the-highest-altitude,"Array, Prefix Sum" MEDIUM,Fruit Into Baskets,52.2,0.005276168016750915,https://leetcode.com/problems/fruit-into-baskets,"Array, Hash Table, Sliding Window" MEDIUM,Next Greater Element II,52.2,0.0069334050777890965,https://leetcode.com/problems/next-greater-element-ii,"Array, Stack, Monotonic Stack" MEDIUM,Max Area of Island,52.2,0.007432365052865887,https://leetcode.com/problems/max-area-of-island,"Array, Depth-First Search, Breadth-First Search, Union-Find, Matrix" EASY,Excel Sheet Column Title,52.2,0.004785676297058764,https://leetcode.com/problems/excel-sheet-column-title,"Math, String" EASY,Plus One,52.2,0.005077002358382892,https://leetcode.com/problems/plus-one,"Array, Math" EASY,Valid Anagram,52.2,0.006876762542192251,https://leetcode.com/problems/valid-anagram,"Hash Table, String, Sorting" MEDIUM,Partitioning Into Minimum Number Of Deci-Binary Numbers,52.2,0.009049021601669975,https://leetcode.com/problems/partitioning-into-minimum-number-of-deci-binary-numbers,"String, Greedy" HARD,First Missing Positive,52.2,0.004397278674489186,https://leetcode.com/problems/first-missing-positive,"Array, Hash Table" MEDIUM,Koko Eating Bananas,52.2,0.00507170629723235,https://leetcode.com/problems/koko-eating-bananas,"Array, Binary Search" MEDIUM,Longest Repeating Character Replacement,52.2,0.00608767561615917,https://leetcode.com/problems/longest-repeating-character-replacement,"Hash Table, String, Sliding Window" EASY,Fibonacci Number,52.2,0.00747357968743336,https://leetcode.com/problems/fibonacci-number,"Math, Dynamic Programming, Recursion, Memoization" EASY,Remove Duplicates from Sorted Array,42.0,0.006397714285546045,https://leetcode.com/problems/remove-duplicates-from-sorted-array,"Array, Two Pointers" EASY,Search Insert Position,42.0,0.005247771571226465,https://leetcode.com/problems/search-insert-position,"Array, Binary Search" MEDIUM,Combination Sum,42.0,0.0077279093137194435,https://leetcode.com/problems/combination-sum,"Array, Backtracking" MEDIUM,Restore IP Addresses,42.0,0.005736171163508679,https://leetcode.com/problems/restore-ip-addresses,"String, Backtracking" MEDIUM,Best Time to Buy and Sell Stock II,42.0,0.0071765504023618976,https://leetcode.com/problems/best-time-to-buy-and-sell-stock-ii,"Array, Dynamic Programming, Greedy" MEDIUM,Longest Consecutive Sequence,42.0,0.004728615062449416,https://leetcode.com/problems/longest-consecutive-sequence,"Array, Hash Table, Union-Find" MEDIUM,Rotate Array,42.0,0.004571848819770865,https://leetcode.com/problems/rotate-array,"Array, Math, Two Pointers" MEDIUM,House Robber,42.0,0.0053686339372938305,https://leetcode.com/problems/house-robber,"Array, Dynamic Programming" MEDIUM,Find the Duplicate Number,42.0,0.00650094837374408,https://leetcode.com/problems/find-the-duplicate-number,"Array, Two Pointers, Binary Search, Bit Manipulation, Pigeonhole Principle, Floyd's Cycle Finding Algorithm" EASY,Reverse Vowels of a String,42.0,0.0062612725180078484,https://leetcode.com/problems/reverse-vowels-of-a-string,"Two Pointers, String" HARD,Sudoku Solver,42.0,0.006554742515554053,https://leetcode.com/problems/sudoku-solver,"Array, Hash Table, Backtracking, Matrix, Algorithm X, Dancing Links" EASY,Contains Duplicate,42.0,0.006479975421735911,https://leetcode.com/problems/contains-duplicate,"Array, Hash Table, Sorting" HARD,Maximal Rectangle,42.0,0.006008945139648856,https://leetcode.com/problems/maximal-rectangle,"Array, Dynamic Programming, Stack, Matrix, Monotonic Stack" MEDIUM,Largest Time for Given Digits,42.0,0.003623100898615646,https://leetcode.com/problems/largest-time-for-given-digits,"Array, String, Backtracking, Enumeration" MEDIUM,Word Subsets,42.0,0.005603764124308478,https://leetcode.com/problems/word-subsets,"Array, Hash Table, String" MEDIUM,Interleaving String,42.0,0.00449991111447719,https://leetcode.com/problems/interleaving-string,"String, Dynamic Programming" MEDIUM,Fair Distribution of Cookies,42.0,0.007013321139734238,https://leetcode.com/problems/fair-distribution-of-cookies,"Array, Dynamic Programming, Backtracking, Bit Manipulation, Bitmask" EASY,Check if Every Row and Column Contains All Numbers,42.0,0.005446720418391806,https://leetcode.com/problems/check-if-every-row-and-column-contains-all-numbers,"Array, Hash Table, Matrix" EASY,Intersection of Two Arrays,42.0,0.007849455665239504,https://leetcode.com/problems/intersection-of-two-arrays,"Array, Hash Table, Two Pointers, Binary Search, Sorting" MEDIUM,Maximum Number of Events That Can Be Attended,42.0,0.003914849616051443,https://leetcode.com/problems/maximum-number-of-events-that-can-be-attended,"Array, Greedy, Sorting, Heap (Priority Queue)" HARD,Minimum Window Substring,42.0,0.004869714457061293,https://leetcode.com/problems/minimum-window-substring,"Hash Table, String, Sliding Window" MEDIUM,Odd Even Linked List,42.0,0.00628484216852347,https://leetcode.com/problems/odd-even-linked-list,Linked List EASY,Rotate String,42.0,0.006654064187717979,https://leetcode.com/problems/rotate-string,"String, String Matching" EASY,Sort Array by Increasing Frequency,42.0,0.008111715113440318,https://leetcode.com/problems/sort-array-by-increasing-frequency,"Array, Hash Table, Sorting" MEDIUM,Remove Duplicate Letters,42.0,0.005467647876806373,https://leetcode.com/problems/remove-duplicate-letters,"String, Stack, Greedy, Monotonic Stack" MEDIUM,Reorganize String,42.0,0.00576806793994645,https://leetcode.com/problems/reorganize-string,"Hash Table, String, Greedy, Sorting, Heap (Priority Queue), Counting" MEDIUM,4Sum,42.0,0.004194283822627356,https://leetcode.com/problems/4sum,"Array, Two Pointers, Sorting" EASY,Defanging an IP Address,42.0,0.009017843073917085,https://leetcode.com/problems/defanging-an-ip-address,String EASY,Long Pressed Name,42.0,0.003320787190066028,https://leetcode.com/problems/long-pressed-name,"Two Pointers, String" MEDIUM,Two Sum II - Input Array Is Sorted,42.0,0.006603644685653462,https://leetcode.com/problems/two-sum-ii-input-array-is-sorted,"Array, Two Pointers, Binary Search" EASY,Contains Duplicate II,42.0,0.005206155225249749,https://leetcode.com/problems/contains-duplicate-ii,"Array, Hash Table, Sliding Window" EASY,Find Lucky Integer in an Array,42.0,0.007566687164486696,https://leetcode.com/problems/find-lucky-integer-in-an-array,"Array, Hash Table, Counting" MEDIUM,Combination Sum II,42.0,0.006034418816174634,https://leetcode.com/problems/combination-sum-ii,"Array, Backtracking" EASY,First Unique Character in a String,42.0,0.00665413686368964,https://leetcode.com/problems/first-unique-character-in-a-string,"Hash Table, String, Queue, Counting" EASY,N-Repeated Element in Size 2N Array,42.0,0.008004400804138001,https://leetcode.com/problems/n-repeated-element-in-size-2n-array,"Array, Hash Table, Pigeonhole Principle" EASY,Is Subsequence,42.0,0.004950178532676569,https://leetcode.com/problems/is-subsequence,"Two Pointers, String, Dynamic Programming" HARD,Sliding Window Maximum,42.0,0.004936743746762299,https://leetcode.com/problems/sliding-window-maximum,"Array, Queue, Sliding Window, Heap (Priority Queue), Monotonic Queue, Range Minimum/Maximum Query" EASY,Find Missing and Repeated Values,42.0,0.008302137402286962,https://leetcode.com/problems/find-missing-and-repeated-values,"Array, Hash Table, Math, Matrix" EASY,Reverse Words in a String III,42.0,0.008420388164192218,https://leetcode.com/problems/reverse-words-in-a-string-iii,"Two Pointers, String" HARD,Distinct Subsequences,42.0,0.005441601467879892,https://leetcode.com/problems/distinct-subsequences,"String, Dynamic Programming" MEDIUM,Unique Paths,42.0,0.006736986284683628,https://leetcode.com/problems/unique-paths,"Math, Dynamic Programming, Combinatorics" MEDIUM,LRU Cache,42.0,0.004825730979730083,https://leetcode.com/problems/lru-cache,"Hash Table, Linked List, Design, Doubly-Linked List" EASY,Largest Number At Least Twice of Others,42.0,0.0053380559580060135,https://leetcode.com/problems/largest-number-at-least-twice-of-others,"Array, Sorting" EASY,Missing Number,42.0,0.007285163707349463,https://leetcode.com/problems/missing-number,"Array, Hash Table, Math, Binary Search, Bit Manipulation, Sorting" MEDIUM,Find First and Last Position of Element in Sorted Array,42.0,0.004980566349006013,https://leetcode.com/problems/find-first-and-last-position-of-element-in-sorted-array,"Array, Binary Search" EASY,Lemonade Change,42.0,0.005954170951016211,https://leetcode.com/problems/lemonade-change,"Array, Greedy" MEDIUM,Remove K Digits,42.0,0.0037879931636299203,https://leetcode.com/problems/remove-k-digits,"String, Stack, Greedy, Monotonic Stack" EASY,Maximum Number of Words Found in Sentences,42.0,0.008676148165243478,https://leetcode.com/problems/maximum-number-of-words-found-in-sentences,"Array, String" MEDIUM,Course Schedule,42.0,0.005241175955080323,https://leetcode.com/problems/course-schedule,"Depth-First Search, Breadth-First Search, Graph Theory, Topological Sort, Directed Acyclic Graph" EASY,Day of the Week,42.0,0.005988951552130686,https://leetcode.com/problems/day-of-the-week,Math EASY,Ugly Number,42.0,0.004434997071308664,https://leetcode.com/problems/ugly-number,Math MEDIUM,Sequential Digits,42.0,0.006863645293512905,https://leetcode.com/problems/sequential-digits,Enumeration EASY,Add Binary,42.0,0.005880362316474062,https://leetcode.com/problems/add-binary,"Math, String, Bit Manipulation, Simulation" EASY,Maximum Depth of Binary Tree,42.0,0.007872349943415215,https://leetcode.com/problems/maximum-depth-of-binary-tree,"Tree, Depth-First Search, Breadth-First Search, Binary Tree" EASY,Sort Array By Parity,42.0,0.007672943552692831,https://leetcode.com/problems/sort-array-by-parity,"Array, Two Pointers, Sorting" MEDIUM,Integer to Roman,42.0,0.007185732838181222,https://leetcode.com/problems/integer-to-roman,"Hash Table, Math, String" MEDIUM,"Pow(x, n)",42.0,0.003926252802923125,https://leetcode.com/problems/powx-n,"Math, Recursion"