All problems
Every problem on the roadmap is in this list. You can search it, or filter by topic, difficulty, or whether a problem is in the 147.
611 problems
Pattern147 DSA SheetSolve
70Best Time to Buy and Sell StockArrays and HashingOne pass with running state147 DSA SheetEasySolve
170Longest Substring Without Repeating CharactersSliding WindowLongest or shortest window147 DSA SheetMediumSolve
172Longest Repeating Character ReplacementSliding WindowLongest or shortest window147 DSA SheetMediumSolve
173Longest Substring with At Most K Distinct CharactersSliding WindowLongest or shortest windowMediumSolve
229Find First and Last Position of Element in Sorted ArrayBinary SearchLower and upper boundsMediumSolve
235Find Minimum in Rotated Sorted ArrayBinary SearchSearching a sorted array147 DSA SheetMediumSolve
323Letter Combinations of a Phone NumberRecursion and BacktrackingGenerating every choice147 DSA SheetMediumSolve
352Lowest Common Ancestor of a Binary TreeBinary TreesDepth first: return a value up147 DSA SheetMediumSolve
367Binary Tree Level Order TraversalBinary TreesBreadth first: level by level147 DSA SheetMediumSolve
370All Nodes Distance K in Binary TreeBinary TreesBreadth first: level by level147 DSA SheetMediumSolve
371Amount of Time for Binary Tree to Be InfectedBinary TreesBreadth first: level by levelMediumSolve
379Construct Binary Tree from Preorder and Inorder TraversalBinary TreesBuilding and serializing147 DSA SheetMediumSolve
381Construct Binary Tree from Inorder and Postorder TraversalBinary TreesBuilding and serializingMediumSolve
389Lowest Common Ancestor of a Binary Search TreeBinary Search TreesUsing the ordering147 DSA SheetMediumSolve
392Construct Binary Search Tree from Preorder TraversalBinary Search TreesUsing the orderingMediumSolve
475Find the City With the Smallest Number of Neighbors at a Threshold DistanceAdvanced GraphsWeighted shortest pathsMediumSolve
527Longest Increasing Subsequence1-D Dynamic ProgrammingIncreasing subsequences147 DSA SheetMediumSolve
528Number of Longest Increasing Subsequence1-D Dynamic ProgrammingIncreasing subsequencesMediumSolve
533Best Time to Buy and Sell Stock with Cooldown1-D Dynamic ProgrammingBuying and selling with states147 DSA SheetMediumSolve
534Best Time to Buy and Sell Stock with Transaction Fee1-D Dynamic ProgrammingBuying and selling with statesMediumSolve
536Best Time to Buy and Sell Stock II1-D Dynamic ProgrammingBuying and selling with statesMediumSolve
537Best Time to Buy and Sell Stock III1-D Dynamic ProgrammingBuying and selling with statesHardSolve
557Partition Array Into Two Arrays to Minimize Sum Difference2-D Dynamic ProgrammingKnapsackHardSolve
578Find the Index of the First Occurrence in a StringString MatchingPattern matching147 DSA SheetEasySolve