Skip to main content
DifficultyTopic362 of 362
No.ProblemDifficultyFrequency
269Alien DictionaryHard
100.0%
815Bus RoutesHard
100.0%
1438Longest Continuous Subarray With Absolute Diff Less Than or Equal to Limit
Array
Medium
100.0%
200Number of Islands
GraphMath
Medium
87.5%
230Kth Smallest Element in a BST
Tree
Medium
87.5%
305Number of Islands II
GraphMath
Hard
87.5%
427Construct Quad Tree
Tree
Medium
87.5%
977Squares of a Sorted Array
Array
Easy
87.5%
1429First Unique Number
Math
Medium
87.5%
79Word SearchMedium
75.0%
121Best Time to Buy and Sell StockEasy
75.0%
146LRU CacheMedium
75.0%
212Word Search IIHard
75.0%
238Product of Array Except Self
Array
Medium
75.0%
362Design Hit CounterMedium
75.0%
380Insert Delete GetRandom O(1)Medium
75.0%
399Evaluate DivisionMedium
75.0%
564Find the Closest Palindrome
String
Hard
75.0%
729My Calendar IMedium
75.0%
528Random Pick with WeightMedium
75.0%
1428Leftmost Column with at Least a OneMedium
75.0%
2858Minimum Edge Reversals So Every Node Is Reachable
Linked List
Hard
75.0%
2791Count Paths That Can Form a Palindrome in a Tree
StringTree
Hard
75.0%
1Two Sum
Sliding Window
Easy
62.5%
13Roman to Integer
Math
Easy
62.5%
17Letter Combinations of a Phone Number
Math
Medium
62.5%
23Merge k Sorted ListsHard
62.5%
33Search in Rotated Sorted Array
ArrayBinary Search
Medium
62.5%
36Valid SudokuMedium
62.5%
49Group Anagrams
String
Medium
62.5%
54Spiral Matrix
Array
Medium
62.5%
68Text JustificationHard
62.5%
76Minimum Window Substring
StringTreeSliding Window
Hard
62.5%
139Word BreakMedium
62.5%
207Course ScheduleMedium
62.5%
210Course Schedule IIMedium
62.5%
224Basic CalculatorHard
62.5%
242Valid Anagram
String
Easy
62.5%
253Meeting Rooms IIMedium
62.5%
297Serialize and Deserialize Binary Tree
Tree
Hard
62.5%
347Top K Frequent Elements
Heap
Medium
62.5%
384Shuffle an Array
Array
Medium
62.5%
432All O`one Data StructureHard
62.5%
490The MazeMedium
62.5%
588Design In-Memory File SystemHard
62.5%
692Top K Frequent Words
Heap
Medium
62.5%
741Cherry PickupHard
62.5%
827Making A Large Island
Graph
Hard
62.5%
934Shortest BridgeMedium
62.5%
2009Minimum Number of Operations to Make Array Continuous
ArrayMath
Hard
62.5%
2187Minimum Time to Complete TripsMedium
62.5%
2258Escape the Spreading FireHard
62.5%
2468Split Message Based on LimitHard
62.5%
2493Divide Nodes Into the Maximum Number of Groups
Linked ListMath
Hard
62.5%
3161Block Placement QueriesHard
62.5%
3341Find Minimum Time to Reach Last Room IMedium
62.5%
1861Rotating the BoxMedium
62.5%
1475Final Prices With a Special Discount in a ShopEasy
62.5%
1101The Earliest Moment When Everyone Become FriendsMedium
62.5%
8String to Integer (atoi)
StringMath
Medium
50.0%
10Regular Expression MatchingHard
50.0%
22Generate ParenthesesMedium
50.0%
24Swap Nodes in Pairs
Linked List
Medium
50.0%
37Sudoku SolverHard
50.0%
39Combination SumMedium
50.0%
78SubsetsMedium
50.0%
84Largest Rectangle in HistogramHard
50.0%
91Decode WaysMedium
50.0%
104Maximum Depth of Binary Tree
Tree
Easy
50.0%
125Valid Palindrome
String
Easy
50.0%
127Word LadderHard
50.0%
133Clone Graph
Graph
Medium
50.0%
138Copy List with Random PointerMedium
50.0%
140Word Break IIHard
50.0%
155Min Stack
Stack/Queue
Medium
50.0%
161One Edit Distance
DP
Medium
50.0%
162Find Peak Element
Binary Search
Medium
50.0%
171Excel Sheet Column Number
Math
Easy
50.0%
186Reverse Words in a String II
String
Medium
50.0%
199Binary Tree Right Side View
Tree
Medium
50.0%
202Happy Number
Math
Easy
50.0%
206Reverse Linked List
Linked List
Easy
50.0%
208Implement Trie (Prefix Tree)
Tree
Medium
50.0%
239Sliding Window Maximum
Sliding Window
Hard
50.0%
249Group Shifted Strings
String
Medium
50.0%
254Factor CombinationsMedium
50.0%
262Trips and UsersHard
50.0%
266Palindrome Permutation
String
Easy
50.0%
290Word PatternEasy
50.0%
291Word Pattern IIMedium
50.0%
295Find Median from Data Stream
Heap
Hard
50.0%
322Coin Change
DP
Medium
50.0%
337House Robber IIIMedium
50.0%
373Find K Pairs with Smallest SumsMedium
50.0%
410Split Array Largest Sum
Array
Hard
50.0%
450Delete Node in a BST
TreeLinked List
Medium
50.0%
465Optimal Account BalancingHard
50.0%
516Longest Palindromic Subsequence
String
Medium
50.0%
535Encode and Decode TinyURLMedium
50.0%
636Exclusive Time of FunctionsMedium
50.0%
648Replace WordsMedium
50.0%
690Employee ImportanceMedium
50.0%
699Falling SquaresHard
50.0%
733Flood Fill
Graph
Easy
50.0%
735Asteroid CollisionMedium
50.0%
752Open the LockMedium
50.0%
710Random Pick with BlacklistHard
50.0%
875Koko Eating BananasMedium
50.0%
959Regions Cut By SlashesMedium
50.0%
981Time Based Key-Value StoreMedium
50.0%
994Rotting OrangesMedium
50.0%
1064Fixed PointEasy
50.0%
1136Parallel CoursesMedium
50.0%
1039Minimum Score Triangulation of PolygonMedium
50.0%
1171Remove Zero Sum Consecutive Nodes from Linked List
Linked List
Medium
50.0%
1334Find the City With the Smallest Number of Neighbors at a Threshold Distance
Math
Medium
50.0%
1385Find the Distance Value Between Two Arrays
Array
Easy
50.0%
1400Construct K Palindrome Strings
String
Medium
50.0%
1462Course Schedule IVMedium
50.0%
1519Number of Nodes in the Sub-Tree With the Same Label
TreeLinked ListMath
Medium
50.0%
1579Remove Max Number of Edges to Keep Graph Fully Traversable
GraphMath
Hard
50.0%
1635Hopper Company Queries IHard
50.0%
1645Hopper Company Queries IIHard
50.0%
1651Hopper Company Queries IIIHard
50.0%
1719Number Of Ways To Reconstruct A Tree
TreeMath
Hard
50.0%
1705Maximum Number of Eaten Apples
Math
Medium
50.0%
1768Merge Strings Alternately
String
Easy
50.0%
1829Maximum XOR for Each QueryMedium
50.0%
1818Minimum Absolute Sum DifferenceMedium
50.0%
1856Maximum Subarray Min-Product
Array
Medium
50.0%
1926Nearest Exit from Entrance in MazeMedium
50.0%
2307Check for Contradictions in EquationsHard
50.0%
1968Array With Elements Not Equal to Average of Neighbors
Array
Medium
50.0%
1961Check If String Is a Prefix of Array
ArrayString
Easy
50.0%
1967Number of Strings That Appear as Substrings in Word
StringTreeMath
Easy
50.0%
2196Create Binary Tree From Descriptions
Tree
Medium
50.0%
2248Intersection of Multiple Arrays
Array
Easy
50.0%
2261K Divisible Elements Subarrays
Array
Medium
50.0%
2243Calculate Digit Sum of a String
StringMath
Easy
50.0%
2333Minimum Sum of Squared DifferenceMedium
50.0%
2282Number of People That Can Be Seen in a Grid
Math
Medium
50.0%
2402Meeting Rooms IIIHard
50.0%
2444Count Subarrays With Fixed Bounds
Array
Hard
50.0%
2555Maximize Win From Two SegmentsMedium
50.0%
2828Check if a String Is an Acronym of Words
String
Easy
50.0%
2848Points That Intersect With CarsEasy
50.0%
2912Number of Ways to Reach Destination in the Grid
Math
Hard
50.0%
3023Find Pattern in Infinite Stream IMedium
50.0%
3071Minimum Operations to Write the Letter Y on a GridMedium
50.0%
3037Find Pattern in Infinite Stream IIHard
50.0%
3073Maximum Increasing Triplet ValueMedium
50.0%
3078Match Alphanumerical Pattern in Matrix I
Array
Medium
50.0%
3191Minimum Operations to Make Binary Array Elements Equal to One I
Array
Medium
50.0%
3192Minimum Operations to Make Binary Array Elements Equal to One II
Array
Medium
50.0%
3027Find the Number of Ways to Place People II
Math
Hard
50.0%
3342Find Minimum Time to Reach Last Room IIMedium
50.0%
3387Maximize Amount After Two Days of ConversionsMedium
50.0%
2768Number of Black Blocks
Math
Medium
50.0%
3466Maximum Coin CollectionMedium
50.0%
505The Maze IIMedium
50.0%
3652Best Time to Buy and Sell Stock using StrategyMedium
50.0%
2571Minimum Operations to Reduce an Integer to 0
Math
Medium
50.0%
3868Minimum Cost to Equalize Arrays Using Swaps
Array
Medium
50.0%
5Longest Palindromic Substring
StringTree
Medium
37.5%
14Longest Common Prefix
DP
Easy
37.5%
31Next PermutationMedium
37.5%
32Longest Valid Parentheses
Stack/Queue
Hard
37.5%
34Find First and Last Position of Element in Sorted Array
Array
Medium
37.5%
42Trapping Rain WaterHard
37.5%
46PermutationsMedium
37.5%
48Rotate ImageMedium
37.5%
53Maximum Subarray
Array
Medium
37.5%
56Merge IntervalsMedium
37.5%
57Insert IntervalMedium
37.5%
64Minimum Path SumMedium
37.5%
124Binary Tree Maximum Path Sum
Tree
Hard
37.5%
128Longest Consecutive SequenceMedium
37.5%
135CandyHard
37.5%
153Find Minimum in Rotated Sorted Array
ArrayBinary Search
Medium
37.5%
174Dungeon GameHard
37.5%
198House RobberMedium
37.5%
214Shortest Palindrome
String
Hard
37.5%
218The Skyline ProblemHard
37.5%
283Move ZeroesEasy
37.5%
286Walls and GatesMedium
37.5%
329Longest Increasing Path in a Matrix
Array
Hard
37.5%
332Reconstruct ItineraryHard
37.5%
460LFU CacheHard
37.5%
560Subarray Sum Equals K
Array
Medium
37.5%
621Task SchedulerMedium
37.5%
773Sliding PuzzleHard
37.5%
785Is Graph Bipartite?
Graph
Medium
37.5%
787Cheapest Flights Within K Stops
Heap
Medium
37.5%
792Number of Matching Subsequences
StringMath
Medium
37.5%
855Exam RoomMedium
37.5%
953Verifying an Alien DictionaryEasy
37.5%
983Minimum Cost For TicketsMedium
37.5%
992Subarrays with K Different Integers
ArrayMath
Hard
37.5%
1584Min Cost to Connect All PointsMedium
37.5%
1814Count Nice Pairs in an Array
Array
Medium
37.5%
2008Maximum Earnings From TaxiMedium
37.5%
2115Find All Possible Recipes from Given SuppliesMedium
37.5%
2251Number of Flowers in Full Bloom
Math
Hard
37.5%
2603Collect Coins in a Tree
Tree
Hard
37.5%
1202Smallest String With Swaps
String
Medium
37.5%
126Word Ladder IIHard
37.5%
974Subarray Sums Divisible by K
Array
Medium
37.5%
258Add Digits
Math
Easy
37.5%
545Boundary of Binary Tree
Tree
Medium
37.5%
2502Design Memory AllocatorMedium
37.5%
2246Longest Path With Different Adjacent CharactersHard
37.5%
365Water and Jug ProblemMedium
37.5%
2467Most Profitable Path in a Tree
Tree
Medium
37.5%
2021Brightest Position on Street
Tree
Medium
37.5%
788Rotated Digits
Binary SearchMath
Medium
37.5%
2672Number of Adjacent Elements With the Same Color
Math
Medium
37.5%
547Number of Provinces
Math
Medium
37.5%
227Basic Calculator IIMedium
37.5%
67924 GameHard
37.5%
2101Detonate the Maximum BombsMedium
37.5%
1423Maximum Points You Can Obtain from CardsMedium
37.5%
312Burst BalloonsHard
37.5%
1368Minimum Cost to Make at Least One Valid Path in a GridHard
37.5%
1489Find Critical and Pseudo-Critical Edges in Minimum Spanning Tree
Tree
Hard
37.5%
2197Replace Non-Coprime Numbers in Array
ArrayMath
Hard
37.5%
1235Maximum Profit in Job SchedulingHard
37.5%
1353Maximum Number of Events That Can Be Attended
Math
Medium
37.5%
2812Find the Safest Path in a GridMedium
37.5%
2503Maximum Number of Points From Grid Queries
Math
Hard
37.5%
864Shortest Path to Get All KeysHard
37.5%
2861Maximum Number of Alloys
Math
Medium
37.5%
2Add Two Numbers
Math
Medium
25.0%
3Longest Substring Without Repeating Characters
StringTree
Medium
25.0%
4Median of Two Sorted Arrays
ArrayHeap
Hard
25.0%
7Reverse Integer
Math
Medium
25.0%
11Container With Most WaterMedium
25.0%
20Valid Parentheses
Stack/Queue
Easy
25.0%
26Remove Duplicates from Sorted Array
Array
Easy
25.0%
27Remove ElementEasy
25.0%
69Sqrt(x)
Math
Easy
25.0%
70Climbing StairsEasy
25.0%
73Set Matrix Zeroes
Array
Medium
25.0%
215Kth Largest Element in an Array
ArrayHeap
Medium
25.0%
240Search a 2D Matrix II
Array
Medium
25.0%
300Longest Increasing Subsequence
String
Medium
25.0%
330Patching Array
Array
Hard
25.0%
424Longest Repeating Character ReplacementMedium
25.0%
473Matchsticks to SquareMedium
25.0%
486Predict the WinnerMedium
25.0%
496Next Greater Element IEasy
25.0%
514Freedom TrailHard
25.0%
54201 Matrix
Array
Medium
25.0%
658Find K Closest ElementsMedium
25.0%
723Candy CrushMedium
25.0%
778Swim in Rising WaterHard
25.0%
802Find Eventual Safe StatesMedium
25.0%
886Possible Bipartition
DP
Medium
25.0%
986Interval List IntersectionsMedium
25.0%
1011Capacity To Ship Packages Within D DaysMedium
25.0%
1152Analyze User Website Visit PatternMedium
25.0%
1140Stone Game IIMedium
25.0%
1326Minimum Number of Taps to Open to Water a Garden
Math
Hard
25.0%
1603Design Parking SystemEasy
25.0%
1642Furthest Building You Can ReachMedium
25.0%
1838Frequency of the Most Frequent ElementMedium
25.0%
2043Simple Bank SystemMedium
25.0%
2158Amount of New Area Painted Each DayHard
25.0%
2385Amount of Time for Binary Tree to Be Infected
Tree
Medium
25.0%
2537Count the Number of Good Subarrays
ArrayMath
Medium
25.0%
2551Put Marbles in BagsHard
25.0%
3043Find the Length of the Longest Common Prefix
DP
Medium
25.0%
213House Robber IIMedium
25.0%
2817Minimum Absolute Difference Between Elements With ConstraintMedium
25.0%
256Paint HouseMedium
25.0%
1673Find the Most Competitive Subsequence
String
Medium
25.0%
1472Design Browser HistoryMedium
25.0%
1878Get Biggest Three Rhombus Sums in a GridMedium
25.0%
252Meeting RoomsEasy
25.0%
642Design Search Autocomplete SystemHard
25.0%
1229Meeting SchedulerMedium
25.0%
1166Design File SystemMedium
25.0%
895Maximum Frequency Stack
Stack/Queue
Hard
25.0%
277Find the CelebrityMedium
25.0%
730Count Different Palindromic Subsequences
String
Hard
25.0%
885Spiral Matrix III
Array
Medium
25.0%
2296Design a Text EditorHard
25.0%
722Remove CommentsMedium
25.0%
924Minimize Malware SpreadHard
25.0%
928Minimize Malware Spread IIHard
25.0%
130Surrounded RegionsMedium
25.0%
2484Count Palindromic Subsequences
String
Hard
25.0%
3045Count Prefix and Suffix Pairs IIHard
25.0%
1698Number of Distinct Substrings in a String
StringTreeMath
Medium
25.0%
3034Number of Subarrays That Match a Pattern I
ArrayMath
Medium
25.0%
2622Cache With Time LimitMedium
25.0%
415Add Strings
String
Easy
25.0%
2636Promise PoolMedium
25.0%
3443Maximum Manhattan Distance After K ChangesMedium
25.0%
1293Shortest Path in a Grid with Obstacles Elimination
Tree
Hard
25.0%
680Valid Palindrome II
String
Easy
25.0%
1005Maximize Sum Of Array After K Negations
Array
Easy
25.0%
1139Largest 1-Bordered SquareMedium
25.0%
795Number of Subarrays with Bounded Maximum
ArrayMath
Medium
25.0%
1627Graph Connectivity With Threshold
Graph
Hard
25.0%
353Design Snake GameMedium
25.0%
71Simplify PathMedium
25.0%
1091Shortest Path in Binary Matrix
Array
Medium
25.0%
497Random Point in Non-overlapping RectanglesMedium
25.0%
25Reverse Nodes in k-Group
Linked List
Hard
25.0%
3202Find the Maximum Length of Valid Subsequence II
String
Medium
25.0%
397Integer Replacement
Math
Medium
25.0%
6502 Keys KeyboardMedium
25.0%
549Binary Tree Longest Consecutive Sequence II
Tree
Medium
25.0%
643Maximum Average Subarray I
Array
Easy
25.0%
474Ones and ZeroesMedium
25.0%
2276Count Integers in Intervals
Math
Hard
25.0%
601Human Traffic of StadiumHard
25.0%
686Repeated String Match
String
Medium
25.0%
381Insert Delete GetRandom O(1) - Duplicates allowedHard
25.0%
270Closest Binary Search Tree Value
TreeBinary Search
Easy
25.0%
721Accounts MergeMedium
25.0%
2163Minimum Difference in Sums After Removal of ElementsHard
25.0%
204Count Primes
Math
Medium
25.0%
817Linked List Components
Linked List
Medium
25.0%
696Count Binary Substrings
StringTree
Easy
25.0%
361Bomb EnemyMedium
25.0%
2092Find All People With SecretHard
25.0%
1552Magnetic Force Between Two BallsMedium
25.0%
2561Rearranging FruitsHard
25.0%
502IPOHard
25.0%
1244Design A LeaderboardMedium
25.0%
3629Minimum Jumps to Reach End via Prime Teleportation
Math
Medium
25.0%
2076Process Restricted Friend RequestsHard
25.0%
1197Minimum Knight MovesMedium
25.0%
2389Longest Subsequence With Limited Sum
String
Easy
25.0%
987Vertical Order Traversal of a Binary Tree
Tree
Hard
25.0%
1697Checking Existence of Edge Length Limited PathsHard
25.0%
719Find K-th Smallest Pair DistanceHard
25.0%
317Shortest Distance from All BuildingsHard
25.0%
1931Painting a Grid With Three Different ColorsHard
25.0%
438Find All Anagrams in a String
String
Medium
25.0%
3419Minimize the Maximum Edge Weight of Graph
Graph
Medium
25.0%
412Fizz BuzzEasy
25.0%
2954Count the Number of Infection Sequences
Math
Hard
25.0%
1901Find a Peak Element II
Binary Search
Medium
25.0%
1966Binary Searchable Numbers in an Unsorted Array
ArrayBinary SearchMath
Medium
25.0%
261Graph Valid Tree
TreeGraph
Medium
25.0%
117Populating Next Right Pointers in Each Node II
Linked List
Medium
25.0%
2477Minimum Fuel Cost to Report to the CapitalMedium
25.0%
1639Number of Ways to Form a Target String Given a Dictionary
StringMath
Hard
25.0%
74Search a 2D Matrix
Array
Medium
25.0%
1268Search Suggestions SystemMedium
25.0%
3356Zero Array Transformation II
Array
Medium
25.0%
1233Remove Sub-Folders from the FilesystemMedium
25.0%
824Goat LatinEasy
25.0%
2948Make Lexicographically Smallest Array by Swapping Elements
ArrayGraph
Medium
25.0%
1915Number of Wonderful Substrings
StringTreeMath
Medium
25.0%
871Minimum Number of Refueling Stops
Math
Hard
25.0%
75Sort ColorsMedium
25.0%
355Design TwitterMedium
25.0%
345Reverse Vowels of a String
String
Easy
25.0%
2336Smallest Number in Infinite Set
Math
Medium
25.0%