Skip to main content
DifficultyTopic303 of 303
No.ProblemDifficultyFrequency
146LRU CacheMedium
100.0%
1Two Sum
Sliding Window
Easy
87.5%
56Merge IntervalsMedium
87.5%
200Number of Islands
GraphMath
Medium
87.5%
3Longest Substring Without Repeating Characters
StringTree
Medium
75.0%
14Longest Common Prefix
DP
Easy
75.0%
20Valid Parentheses
Stack/Queue
Easy
75.0%
36Valid SudokuMedium
75.0%
48Rotate ImageMedium
75.0%
49Group Anagrams
String
Medium
75.0%
121Best Time to Buy and Sell StockEasy
75.0%
125Valid Palindrome
String
Easy
75.0%
151Reverse Words in a String
String
Medium
75.0%
189Rotate Array
Array
Medium
75.0%
206Reverse Linked List
Linked List
Easy
75.0%
207Course ScheduleMedium
75.0%
210Course Schedule IIMedium
75.0%
215Kth Largest Element in an Array
ArrayHeap
Medium
75.0%
238Product of Array Except Self
Array
Medium
75.0%
347Top K Frequent Elements
Heap
Medium
75.0%
362Design Hit CounterMedium
75.0%
4Median of Two Sorted Arrays
ArrayHeap
Hard
62.5%
7Reverse Integer
Math
Medium
62.5%
153SumMedium
62.5%
21Merge Two Sorted ListsEasy
62.5%
23Merge k Sorted ListsHard
62.5%
28Find the Index of the First Occurrence in a String
String
Easy
62.5%
34Find First and Last Position of Element in Sorted Array
Array
Medium
62.5%
42Trapping Rain WaterHard
62.5%
53Maximum Subarray
Array
Medium
62.5%
54Spiral Matrix
Array
Medium
62.5%
70Climbing StairsEasy
62.5%
88Merge Sorted Array
Array
Easy
62.5%
102Binary Tree Level Order Traversal
Tree
Medium
62.5%
118Pascal's TriangleEasy
62.5%
122Best Time to Buy and Sell Stock IIMedium
62.5%
127Word LadderHard
62.5%
139Word BreakMedium
62.5%
155Min Stack
Stack/Queue
Medium
62.5%
165Compare Version Numbers
Math
Medium
62.5%
190Reverse BitsEasy
62.5%
191Number of 1 Bits
Math
Easy
62.5%
208Implement Trie (Prefix Tree)
Tree
Medium
62.5%
227Basic Calculator IIMedium
62.5%
236Lowest Common Ancestor of a Binary Tree
Tree
Medium
62.5%
240Search a 2D Matrix II
Array
Medium
62.5%
253Meeting Rooms IIMedium
62.5%
283Move ZeroesEasy
62.5%
284Peeking IteratorMedium
62.5%
295Find Median from Data Stream
Heap
Hard
62.5%
348Design Tic-Tac-ToeMedium
62.5%
380Insert Delete GetRandom O(1)Medium
62.5%
383Ransom NoteEasy
62.5%
443String Compression
String
Medium
62.5%
560Subarray Sum Equals K
Array
Medium
62.5%
713Subarray Product Less Than K
Array
Medium
62.5%
622Design Circular Queue
Stack/Queue
Medium
62.5%
981Time Based Key-Value StoreMedium
62.5%
1146Snapshot Array
Array
Medium
62.5%
5Longest Palindromic Substring
StringTree
Medium
50.0%
10Regular Expression MatchingHard
50.0%
11Container With Most WaterMedium
50.0%
17Letter Combinations of a Phone Number
Math
Medium
50.0%
19Remove Nth Node From End of List
Linked List
Medium
50.0%
22Generate ParenthesesMedium
50.0%
26Remove Duplicates from Sorted Array
Array
Easy
50.0%
33Search in Rotated Sorted Array
ArrayBinary Search
Medium
50.0%
55Jump GameMedium
50.0%
68Text JustificationHard
50.0%
69Sqrt(x)
Math
Easy
50.0%
104Maximum Depth of Binary Tree
Tree
Easy
50.0%
128Longest Consecutive SequenceMedium
50.0%
149Max Points on a LineHard
50.0%
167Two Sum II - Input Array Is Sorted
ArraySliding Window
Medium
50.0%
221Maximal SquareMedium
50.0%
232Implement Queue using Stacks
Stack/Queue
Easy
50.0%
237Delete Node in a Linked List
Linked List
Medium
50.0%
252Meeting RoomsEasy
50.0%
257Binary Tree Paths
Tree
Easy
50.0%
273Integer to English Words
Math
Hard
50.0%
297Serialize and Deserialize Binary Tree
Tree
Hard
50.0%
341Flatten Nested List IteratorMedium
50.0%
344Reverse String
String
Easy
50.0%
387First Unique Character in a String
String
Easy
50.0%
394Decode String
String
Medium
50.0%
565Array Nesting
Array
Medium
50.0%
621Task SchedulerMedium
50.0%
658Find K Closest ElementsMedium
50.0%
714Best Time to Buy and Sell Stock with Transaction FeeMedium
50.0%
733Flood Fill
Graph
Easy
50.0%
706Design HashMapEasy
50.0%
509Fibonacci Number
DPMath
Easy
50.0%
996Number of Squareful Arrays
ArrayMath
Hard
50.0%
1047Remove All Adjacent Duplicates In String
String
Easy
50.0%
1275Find Winner on a Tic Tac Toe GameEasy
50.0%
2023Number of Pairs of Strings With Concatenation Equal to Target
StringMath
Medium
50.0%
2397Maximum Rows Covered by ColumnsMedium
50.0%
2972Count the Number of Incremovable Subarrays II
ArrayMath
Hard
50.0%
2970Count the Number of Incremovable Subarrays I
ArrayMath
Easy
50.0%
3030Find the Grid of Region AverageMedium
50.0%
3522Calculate Score After Performing InstructionsMedium
50.0%
1606Find Servers That Handled Most Number of Requests
Math
Hard
50.0%
2Add Two Numbers
Math
Medium
37.5%
8String to Integer (atoi)
StringMath
Medium
37.5%
13Roman to Integer
Math
Easy
37.5%
39Combination SumMedium
37.5%
46PermutationsMedium
37.5%
57Insert IntervalMedium
37.5%
71Simplify PathMedium
37.5%
73Set Matrix Zeroes
Array
Medium
37.5%
75Sort ColorsMedium
37.5%
79Word SearchMedium
37.5%
92Reverse Linked List II
Linked List
Medium
37.5%
97Interleaving String
String
Medium
37.5%
123Best Time to Buy and Sell Stock IIIHard
37.5%
124Binary Tree Maximum Path Sum
Tree
Hard
37.5%
134Gas StationMedium
37.5%
143Reorder ListMedium
37.5%
162Find Peak Element
Binary Search
Medium
37.5%
188Best Time to Buy and Sell Stock IVHard
37.5%
198House RobberMedium
37.5%
202Happy Number
Math
Easy
37.5%
239Sliding Window Maximum
Sliding Window
Hard
37.5%
242Valid Anagram
String
Easy
37.5%
268Missing Number
Math
Easy
37.5%
274H-IndexMedium
37.5%
314Binary Tree Vertical Order Traversal
Tree
Medium
37.5%
322Coin Change
DP
Medium
37.5%
328Odd Even Linked List
Linked List
Medium
37.5%
378Kth Smallest Element in a Sorted Matrix
Array
Medium
37.5%
412Fizz BuzzEasy
37.5%
460LFU CacheHard
37.5%
468Validate IP AddressMedium
37.5%
647Palindromic Substrings
StringTree
Medium
37.5%
787Cheapest Flights Within K Stops
Heap
Medium
37.5%
876Middle of the Linked List
Linked List
Easy
37.5%
994Rotting OrangesMedium
37.5%
1011Capacity To Ship Packages Within D DaysMedium
37.5%
3074Apple Redistribution into BoxesEasy
37.5%
688Knight Probability in ChessboardMedium
37.5%
1650Lowest Common Ancestor of a Binary Tree III
Tree
Medium
37.5%
895Maximum Frequency Stack
Stack/Queue
Hard
37.5%
855Exam RoomMedium
37.5%
2591Distribute Money to Maximum ChildrenEasy
37.5%
269Alien DictionaryHard
37.5%
841Keys and RoomsMedium
37.5%
635Design Log Storage SystemMedium
37.5%
211Design Add and Search Words Data StructureMedium
37.5%
112Path SumEasy
37.5%
2065Maximum Path Quality of a Graph
Graph
Hard
37.5%
309Best Time to Buy and Sell Stock with CooldownMedium
37.5%
108Convert Sorted Array to Binary Search Tree
ArrayTreeBinary Search
Easy
37.5%
2150Find All Lonely Numbers in the Array
ArrayMath
Medium
37.5%
2502Design Memory AllocatorMedium
37.5%
477Total Hamming DistanceMedium
37.5%
1087Brace ExpansionMedium
37.5%
428Serialize and Deserialize N-ary Tree
Tree
Hard
37.5%
72Edit Distance
DP
Medium
37.5%
6Zigzag ConversionMedium
25.0%
184SumMedium
25.0%
25Reverse Nodes in k-Group
Linked List
Hard
25.0%
27Remove ElementEasy
25.0%
41First Missing PositiveHard
25.0%
45Jump Game IIMedium
25.0%
47Permutations IIMedium
25.0%
67Add BinaryEasy
25.0%
74Search a 2D Matrix
Array
Medium
25.0%
76Minimum Window Substring
StringTreeSliding Window
Hard
25.0%
84Largest Rectangle in HistogramHard
25.0%
90Subsets IIMedium
25.0%
91Decode WaysMedium
25.0%
98Validate Binary Search Tree
TreeBinary Search
Medium
25.0%
100Same Tree
Tree
Easy
25.0%
101Symmetric Tree
Tree
Easy
25.0%
138Copy List with Random PointerMedium
25.0%
150Evaluate Reverse Polish NotationMedium
25.0%
153Find Minimum in Rotated Sorted Array
ArrayBinary Search
Medium
25.0%
160Intersection of Two Linked Lists
Linked List
Easy
25.0%
176Second Highest SalaryMedium
25.0%
203Remove Linked List Elements
Linked List
Easy
25.0%
204Count Primes
Math
Medium
25.0%
213House Robber IIMedium
25.0%
217Contains DuplicateEasy
25.0%
218The Skyline ProblemHard
25.0%
219Contains Duplicate IIEasy
25.0%
224Basic CalculatorHard
25.0%
225Implement Stack using Queues
Stack/Queue
Easy
25.0%
235Lowest Common Ancestor of a Binary Search Tree
TreeBinary Search
Medium
25.0%
278First Bad VersionEasy
25.0%
332Reconstruct ItineraryHard
25.0%
345Reverse Vowels of a String
String
Easy
25.0%
349Intersection of Two Arrays
Array
Easy
25.0%
355Design TwitterMedium
25.0%
424Longest Repeating Character ReplacementMedium
25.0%
438Find All Anagrams in a String
String
Medium
25.0%
463Island Perimeter
Graph
Easy
25.0%
485Max Consecutive OnesEasy
25.0%
493Reverse PairsHard
25.0%
503Next Greater Element IIMedium
25.0%
515Find Largest Value in Each Tree Row
Tree
Medium
25.0%
523Continuous Subarray Sum
Array
Medium
25.0%
54201 Matrix
Array
Medium
25.0%
543Diameter of Binary Tree
Tree
Easy
25.0%
605Can Place FlowersEasy
25.0%
628Maximum Product of Three Numbers
Math
Easy
25.0%
680Valid Palindrome II
String
Easy
25.0%
692Top K Frequent Words
Heap
Medium
25.0%
839Similar String Groups
String
Hard
25.0%
849Maximize Distance to Closest PersonMedium
25.0%
867Transpose Matrix
Array
Easy
25.0%
528Random Pick with WeightMedium
25.0%
885Spiral Matrix III
Array
Medium
25.0%
907Sum of Subarray Minimums
Array
Medium
25.0%
909Snakes and LaddersMedium
25.0%
953Verifying an Alien DictionaryEasy
25.0%
973K Closest Points to OriginMedium
25.0%
1249Minimum Remove to Make Valid Parentheses
Stack/Queue
Medium
25.0%
1352Product of the Last K Numbers
Math
Medium
25.0%
1570Dot Product of Two Sparse VectorsMedium
25.0%
1657Determine if Two Strings Are Close
String
Medium
25.0%
2104Sum of Subarray Ranges
Array
Medium
25.0%
2351First Letter to Appear TwiceEasy
25.0%
317Shortest Distance from All BuildingsHard
25.0%
1242Web Crawler MultithreadedMedium
25.0%
291Word Pattern IIMedium
25.0%
759Employee Free TimeHard
25.0%
769Max Chunks To Make SortedMedium
25.0%
3163String Compression III
String
Medium
25.0%
103Binary Tree Zigzag Level Order Traversal
Tree
Medium
25.0%
1041Robot Bounded In CircleMedium
25.0%
2788Split Strings by Separator
String
Easy
25.0%
824Goat LatinEasy
25.0%
2347Best Poker HandEasy
25.0%
843Guess the WordHard
25.0%
480Sliding Window Median
Sliding WindowHeap
Hard
25.0%
359Logger Rate LimiterEasy
25.0%
661Image SmootherEasy
25.0%
1197Minimum Knight MovesMedium
25.0%
133Clone Graph
Graph
Medium
25.0%
126Word Ladder IIHard
25.0%
874Walking Robot SimulationMedium
25.0%
340Longest Substring with At Most K Distinct Characters
StringTree
Medium
25.0%
724Find Pivot IndexEasy
25.0%
1213Intersection of Three Sorted Arrays
Array
Easy
25.0%
157Read N Characters Given Read4Easy
25.0%
1472Design Browser HistoryMedium
25.0%
1168Optimize Water Distribution in a VillageHard
25.0%
158Read N Characters Given read4 II - Call Multiple TimesHard
25.0%
1143Longest Common Subsequence
StringDP
Medium
25.0%
3613Minimize Maximum Component CostMedium
25.0%
199Binary Tree Right Side View
Tree
Medium
25.0%
820Short Encoding of WordsMedium
25.0%
30Substring with Concatenation of All Words
StringTree
Hard
25.0%
173Binary Search Tree Iterator
TreeBinary Search
Medium
25.0%
243Shortest Word DistanceEasy
25.0%
1870Minimum Speed to Arrive on TimeMedium
25.0%
37Sudoku SolverHard
25.0%
731My Calendar IIMedium
25.0%
986Interval List IntersectionsMedium
25.0%
1091Shortest Path in Binary Matrix
Array
Medium
25.0%
109Convert Sorted List to Binary Search Tree
TreeBinary Search
Medium
25.0%
1854Maximum Population YearEasy
25.0%
338Counting BitsEasy
25.0%
737Sentence Similarity IIMedium
25.0%
2435Paths in Matrix Whose Sum Is Divisible by K
Array
Hard
25.0%
329Longest Increasing Path in a Matrix
Array
Hard
25.0%
277Find the CelebrityMedium
25.0%
707Design Linked List
Linked List
Medium
25.0%
535Encode and Decode TinyURLMedium
25.0%
365Water and Jug ProblemMedium
25.0%
209Minimum Size Subarray Sum
Array
Medium
25.0%
435Non-overlapping IntervalsMedium
25.0%
490The MazeMedium
25.0%
933Number of Recent Calls
Math
Easy
25.0%
399Evaluate DivisionMedium
25.0%
912Sort an Array
Array
Medium
25.0%
455Assign CookiesEasy
25.0%
212Word Search IIHard
25.0%
1229Meeting SchedulerMedium
25.0%
695Max Area of Island
Graph
Medium
25.0%
3019Number of Changing Keys
Math
Easy
25.0%
161One Edit Distance
DP
Medium
25.0%
636Exclusive Time of FunctionsMedium
25.0%
931Minimum Falling Path SumMedium
25.0%
567Permutation in String
String
Medium
25.0%
918Maximum Sum Circular Subarray
Array
Medium
25.0%
82Remove Duplicates from Sorted List IIMedium
25.0%
889Construct Binary Tree from Preorder and Postorder Traversal
Tree
Medium
25.0%
2633Convert Object to JSON String
String
Medium
25.0%
346Moving Average from Data StreamEasy
25.0%
863All Nodes Distance K in Binary Tree
TreeLinked List
Medium
25.0%
432All O`one Data StructureHard
25.0%
1392Longest Happy PrefixHard
25.0%
736Parse Lisp ExpressionHard
25.0%
110Balanced Binary Tree
Tree
Easy
25.0%
1740Find Distance in a Binary Tree
Tree
Medium
25.0%
678Valid Parenthesis String
String
Medium
25.0%
3408Design Task ManagerMedium
25.0%
875Koko Eating BananasMedium
25.0%
670Maximum SwapMedium
25.0%
496Next Greater Element IEasy
25.0%
729My Calendar IMedium
25.0%
785Is Graph Bipartite?
Graph
Medium
25.0%