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.

Pattern147 DSA SheetSolve
1User input and output (opens GFG)FoundationsLanguage basicsEasyGFGGFG
2Data types (opens GFG)FoundationsLanguage basicsEasyGFGGFG
3If-else statements (opens GFG)FoundationsLanguage basicsEasyGFGGFG
4Switch statements (opens GFG)FoundationsLanguage basicsEasyGFGGFG
5Square of starsFoundationsLoops through pattern printingEasySolve
6Right triangle of starsFoundationsLoops through pattern printingEasySolve
7Right triangle of numbersFoundationsLoops through pattern printingEasySolve
8Triangle of repeated numbersFoundationsLoops through pattern printingEasySolve
9Inverted right triangle of starsFoundationsLoops through pattern printingEasySolve
10Inverted right triangle of numbersFoundationsLoops through pattern printingEasySolve
11Star pyramidFoundationsLoops through pattern printingEasySolve
12Inverted star pyramidFoundationsLoops through pattern printingEasySolve
13Star diamondFoundationsLoops through pattern printingEasySolve
14Half diamondFoundationsLoops through pattern printingEasySolve
15Triangle of alternating 1s and 0sFoundationsLoops through pattern printingEasySolve
16Number crownFoundationsLoops through pattern printingEasySolve
17Increasing number triangleFoundationsLoops through pattern printingEasySolve
18Increasing letter triangleFoundationsLoops through pattern printingEasySolve
19Reverse letter triangleFoundationsLoops through pattern printingEasySolve
20Letter rampFoundationsLoops through pattern printingEasySolve
21Letter pyramidFoundationsLoops through pattern printingEasySolve
22Letter triangle from the endFoundationsLoops through pattern printingEasySolve
23Symmetric voidFoundationsLoops through pattern printingMediumSolve
24Symmetric butterflyFoundationsLoops through pattern printingMediumSolve
25Hollow squareFoundationsLoops through pattern printingMediumSolve
26Concentric number squaresFoundationsLoops through pattern printingMediumSolve
27Count the digits of a numberFoundationsWorking with digits and divisorsEasySolve
28Count the odd digits of a numberFoundationsWorking with digits and divisorsEasySolve
29Largest digit of a numberFoundationsWorking with digits and divisorsEasySolve
30Palindrome NumberFoundationsWorking with digits and divisorsEasySolve
31Armstrong NumberFoundationsWorking with digits and divisorsEasySolve
32Perfect NumberFoundationsWorking with digits and divisorsEasySolve
33All divisors of a numberFoundationsWorking with digits and divisorsMediumSolve
34Check whether a number is primeFoundationsWorking with digits and divisorsMediumSolve
35GCD of two numbersFoundationsWorking with digits and divisorsMediumSolve
36LCM of two numbersFoundationsWorking with digits and divisorsMediumSolve
38Sum of the first N numbersFoundationsRecursion basicsEasySolve
39Factorial of NFoundationsRecursion basicsEasySolve
40Sum of the digits of a numberFoundationsRecursion basicsEasySolve
41Fibonacci NumberFoundationsRecursion basics147 DSA SheetEasySolve
42Count the frequency of each elementFoundationsCounting with arrays and mapsEasySolve
43Most frequent elementFoundationsCounting with arrays and mapsMediumSolve
44Second most frequent elementFoundationsCounting with arrays and mapsMediumSolve
45Sum of the highest and lowest frequencyFoundationsCounting with arrays and mapsMediumSolve
46Linear searchArrays and HashingArray basicsEasySolve
47Largest elementArrays and HashingArray basicsEasySolve
48Second largest elementArrays and HashingArray basicsEasySolve
49Sum of array elementsArrays and HashingArray basicsEasySolve
50Count the odd numbers in an arrayArrays and HashingArray basicsEasySolve
51Reverse an arrayArrays and HashingArray basicsEasySolve
52Check whether an array is sortedArrays and HashingArray basicsEasySolve
53Max Consecutive OnesArrays and HashingArray basicsEasySolve
54Find All Numbers Disappeared in an ArrayArrays and HashingArray basicsEasySolve
55Left rotate an array by oneArrays and HashingArray basicsEasySolve
56Rotate ArrayArrays and HashingArray basicsMediumSolve
57Leaders in an arrayArrays and HashingArray basicsMediumSolve
58Two SumArrays and HashingHash map lookups147 DSA SheetEasySolve
59Contains DuplicateArrays and HashingHash map lookups147 DSA SheetEasySolve
60Valid AnagramArrays and HashingHash map lookups147 DSA SheetEasySolve
61Group AnagramsArrays and HashingHash map lookups147 DSA SheetMediumSolve
62Longest Consecutive SequenceArrays and HashingHash map lookups147 DSA SheetMediumSolve
63Valid SudokuArrays and HashingHash map lookupsMediumSolve
64Encode and Decode StringsArrays and HashingHash map lookupsMediumSolve
65First Unique Character in a StringArrays and HashingHash map lookupsEasySolve
66First Missing PositiveArrays and HashingHash map lookupsHardSolve
67Top K Frequent ElementsArrays and HashingCounting and voting147 DSA SheetMediumSolve
68Majority ElementArrays and HashingCounting and voting147 DSA SheetEasySolve
69Majority Element IIArrays and HashingCounting and votingMediumSolve
94Detect SquaresArrays and HashingCounting and votingMediumSolve
70Best Time to Buy and Sell StockArrays and HashingOne pass with running state147 DSA SheetEasySolve
71Maximum SubarrayArrays and HashingOne pass with running state147 DSA SheetMediumSolve
72Maximum Product SubarrayArrays and HashingOne pass with running state147 DSA SheetMediumSolve
73Product of Array Except SelfArrays and HashingPrefix sums147 DSA SheetMediumSolve
74Subarray Sum Equals KArrays and HashingPrefix sums147 DSA SheetMediumSolve
75Maximum Size Subarray Sum Equals kArrays and HashingPrefix sumsMediumSolve
76Range Sum Query - ImmutableArrays and HashingPrefix sumsEasySolve
77Range Sum Query 2D - ImmutableArrays and HashingPrefix sumsMediumSolve
78Contiguous ArrayArrays and HashingPrefix sumsMediumSolve
79Subarray Sums Divisible by KArrays and HashingPrefix sumsMediumSolve
80Continuous Subarray SumArrays and HashingPrefix sumsMediumSolve
81Longest subarray with sum 0Arrays and HashingPrefix sumsMediumSolve
82Count subarrays with given xor KArrays and HashingPrefix sumsMediumSolve
83Spiral MatrixArrays and HashingWalking a matrix147 DSA SheetMediumSolve
84Rotate ImageArrays and HashingWalking a matrixMediumSolve
85Set Matrix ZeroesArrays and HashingWalking a matrixMediumSolve
86Reverse PairsArrays and HashingCounting during merge sortHardSolve
87Count InversionsArrays and HashingCounting during merge sortMediumSolve
88Plus OneMathNumber tricks147 DSA SheetEasySolve
89Happy NumberMathNumber tricksEasySolve
90Pow(x, n)MathNumber tricks147 DSA SheetMediumSolve
91Reverse IntegerMathNumber tricksMediumSolve
92Multiply StringsMathNumber tricksMediumSolve
93Count PrimesMathNumber tricksMediumSolve
95Ugly NumberMathNumber tricksEasySolve
96Nim GameMathNumber tricksEasySolve
97Count primes in a rangeMathPrimes and the sieveHardSolve
98Prime factorisationMathPrimes and the sieveMediumSolve
99Count Good NumbersMathFast power and modular arithmeticMediumSolve
100Pascal's TriangleMathPascal's triangle and combinationsEasySolve
101Pascal's Triangle IIMathPascal's triangle and combinationsEasySolve
102Pascal's triangle: a single valueMathPascal's triangle and combinationsMediumSolve
103Is the i-th bit setBit ManipulationBit basicsEasySolve
104Is a number odd, with bitsBit ManipulationBit basicsEasySolve
105Power of TwoBit ManipulationBit basicsEasySolve
106Set the rightmost unset bitBit ManipulationBit basicsEasySolve
107Swap two numbers without a third variableBit ManipulationBit basicsEasySolve
108Hamming DistanceBit ManipulationBit basicsEasySolve
109Minimum Bit Flips to Convert NumberBit ManipulationBit basicsEasySolve
110Single NumberBit ManipulationXOR tricks147 DSA SheetEasySolve
111Missing NumberBit ManipulationXOR tricks147 DSA SheetEasySolve
112Single Number IIBit ManipulationXOR tricksMediumSolve
113Single Number IIIBit ManipulationXOR tricksMediumSolve
114Set MismatchBit ManipulationXOR tricksEasySolve
115XOR of all numbers in a rangeBit ManipulationXOR tricksMediumSolve
116Number of 1 BitsBit ManipulationCounting and shifting bits147 DSA SheetEasySolve
117Counting BitsBit ManipulationCounting and shifting bits147 DSA SheetEasySolve
118Reverse BitsBit ManipulationCounting and shifting bits147 DSA SheetEasySolve
119Sum of Two IntegersBit ManipulationCounting and shifting bitsMediumSolve
120Divide Two IntegersBit ManipulationCounting and shifting bitsMediumSolve
121Bitwise AND of Numbers RangeBit ManipulationCounting and shifting bitsMediumSolve
122All subsets with a bitmaskBit ManipulationBitmasksMediumSolve
123Reverse StringStringsString basicsEasySolve
124Valid Palindrome IIStringsString basicsEasySolve
125Largest Odd Number in StringStringsString basicsEasySolve
126Longest Common PrefixStringsString basics147 DSA SheetEasySolve
127Isomorphic StringsStringsString basicsEasySolve
128Rotate StringStringsString basicsEasySolve
129Longest PalindromeStringsString basicsEasySolve
130Reverse Words in a StringStringsString basicsMediumSolve
131String CompressionStringsString basicsMediumSolve
132Count and SayStringsString basicsMediumSolve
133Remove Outermost ParenthesesStringsParentheses and nestingEasySolve
134Maximum Nesting Depth of the ParenthesesStringsParentheses and nestingEasySolve
135Minimum Add to Make Parentheses ValidStringsParentheses and nestingMediumSolve
136Minimum bracket reversals to balance an expressionStringsParentheses and nestingMediumSolve
137Roman to IntegerStringsParsing and conversionEasySolve
138String to Integer (atoi)StringsParsing and conversionMediumSolve
139Implement atoi with recursionStringsParsing and conversionMediumSolve
140Sort Characters By FrequencyStringsCounting over substringsMediumSolve
141Sum of Beauty of All SubstringsStringsCounting over substringsMediumSolve
142Count substrings with exactly K distinct charactersStringsCounting over substringsMediumSolve
143Selection sortSortingSimple sortsMediumSolve
144Bubble sortSortingSimple sortsMediumSolve
145Insertion sortSortingSimple sortsMediumSolve
146Bubble sort with recursionSortingSimple sortsMediumSolve
147Insertion sort with recursionSortingSimple sortsMediumSolve
148Merge sortSortingDivide-and-conquer sortsMediumSolve
149Quick sortSortingDivide-and-conquer sortsMediumSolve
150Sort an ArraySortingDivide-and-conquer sorts147 DSA SheetMediumSolve
151Largest NumberSortingDivide-and-conquer sortsMediumSolve
152Valid PalindromeTwo PointersPointers from both ends147 DSA SheetEasySolve
153Two Sum II - Input Array Is SortedTwo PointersPointers from both ends147 DSA SheetMediumSolve
1543SumTwo PointersPointers from both ends147 DSA SheetMediumSolve
155Container With Most WaterTwo PointersPointers from both ends147 DSA SheetMediumSolve
1564SumTwo PointersPointers from both endsMediumSolve
157Trapping Rain WaterTwo PointersPointers from both ends147 DSA SheetHardSolve
158Squares of a Sorted ArrayTwo PointersPointers from both endsEasySolve
1593Sum ClosestTwo PointersPointers from both endsMediumSolve
160Boats to Save PeopleTwo PointersPointers from both endsMediumSolve
161Sort ColorsTwo PointersRearranging in place147 DSA SheetMediumSolve
162Next PermutationTwo PointersRearranging in place147 DSA SheetMediumSolve
163Move ZeroesTwo PointersRearranging in placeEasySolve
164Remove Duplicates from Sorted ArrayTwo PointersRearranging in placeEasySolve
165Rearrange Array Elements by SignTwo PointersRearranging in placeMediumSolve
166Union of two sorted arraysTwo PointersMerging sorted arraysMediumSolve
167Intersection of two sorted arraysTwo PointersMerging sorted arraysMediumSolve
168Merge Sorted Array (opens LeetCode)Two PointersMerging sorted arraysEasyLeetCodeLC
170Longest Substring Without Repeating CharactersSliding WindowLongest or shortest window147 DSA SheetMediumSolve
171Max Consecutive Ones IIISliding WindowLongest or shortest window147 DSA SheetMediumSolve
172Longest Repeating Character ReplacementSliding WindowLongest or shortest window147 DSA SheetMediumSolve
174Minimum Window SubstringSliding WindowLongest or shortest window147 DSA SheetHardSolve
175Minimum Size Subarray Sum (opens LeetCode)Sliding WindowLongest or shortest windowMediumLeetCodeLC
176Fruit Into Baskets (opens LeetCode)Sliding WindowLongest or shortest windowMediumLeetCodeLC
177Minimum Window Subsequence (opens LeetCode)Sliding WindowLongest or shortest windowHardLeetCodeLC
178Permutation in StringSliding WindowFixed-size window147 DSA SheetMediumSolve
179Maximum Points You Can Obtain from CardsSliding WindowFixed-size window147 DSA SheetMediumSolve
180Maximum Average Subarray I (opens LeetCode)Sliding WindowFixed-size windowEasyLeetCodeLC
181Find All Anagrams in a String (opens LeetCode)Sliding WindowFixed-size windowMediumLeetCodeLC
182Binary Subarrays With SumSliding WindowCounting windows147 DSA SheetMediumSolve
183Count Number of Nice Subarrays (opens LeetCode)Sliding WindowCounting windowsMediumLeetCodeLC
186Implement a stack with an array (opens GFG)Stacks and QueuesBuilding stacks and queuesMediumGFGGFG
187Implement a queue with an array (opens GFG)Stacks and QueuesBuilding stacks and queuesMediumGFGGFG
188Implement a stack with a linked list (opens GFG)Stacks and QueuesBuilding stacks and queuesMediumGFGGFG
189Implement a queue with a linked list (opens GFG)Stacks and QueuesBuilding stacks and queuesMediumGFGGFG
190Implement Stack using Queues (opens LeetCode)Stacks and QueuesBuilding stacks and queuesEasyLeetCodeLC
191Implement Queue using Stacks (opens LeetCode)Stacks and QueuesBuilding stacks and queuesEasyLeetCodeLC
192Design Circular Queue (opens LeetCode)Stacks and QueuesBuilding stacks and queuesMediumLeetCodeLC
193Design Circular Deque (opens LeetCode)Stacks and QueuesBuilding stacks and queuesMediumLeetCodeLC
194Valid ParenthesesStacks and QueuesMatching and cancelling147 DSA SheetEasySolve
195Min StackStacks and QueuesMatching and cancelling147 DSA SheetMediumSolve
196Evaluate Reverse Polish NotationStacks and QueuesMatching and cancelling147 DSA SheetMediumSolve
197Asteroid Collision (opens LeetCode)Stacks and QueuesMatching and cancellingMediumLeetCodeLC
198Find the Celebrity (opens LeetCode)Stacks and QueuesMatching and cancellingMediumLeetCodeLC
199Baseball Game (opens LeetCode)Stacks and QueuesMatching and cancellingEasyLeetCodeLC
200Backspace String Compare (opens LeetCode)Stacks and QueuesMatching and cancellingEasyLeetCodeLC
201Simplify Path (opens LeetCode)Stacks and QueuesMatching and cancellingMediumLeetCodeLC
202Decode String (opens LeetCode)Stacks and QueuesMatching and cancellingMediumLeetCodeLC
203Basic Calculator II (opens LeetCode)Stacks and QueuesMatching and cancellingMediumLeetCodeLC
204Infix to postfix (opens GFG)Stacks and QueuesInfix, prefix and postfixMediumGFGGFG
205Infix to prefix (opens GFG)Stacks and QueuesInfix, prefix and postfixMediumGFGGFG
206Postfix to infix (opens GFG)Stacks and QueuesInfix, prefix and postfixMediumGFGGFG
207Prefix to infix (opens GFG)Stacks and QueuesInfix, prefix and postfixMediumGFGGFG
208Prefix to postfix (opens GFG)Stacks and QueuesInfix, prefix and postfixMediumGFGGFG
209Postfix to prefix (opens GFG)Stacks and QueuesInfix, prefix and postfixMediumGFGGFG
210Next Greater Element IStacks and QueuesMonotonic stack147 DSA SheetEasySolve
211Daily TemperaturesStacks and QueuesMonotonic stack147 DSA SheetMediumSolve
212Next Greater Element II (opens LeetCode)Stacks and QueuesMonotonic stackMediumLeetCodeLC
213Online Stock Span (opens LeetCode)Stacks and QueuesMonotonic stackMediumLeetCodeLC
214Car FleetStacks and QueuesMonotonic stack147 DSA SheetMediumSolve
215Remove K Digits (opens LeetCode)Stacks and QueuesMonotonic stackMediumLeetCodeLC
216Sum of Subarray Minimums (opens LeetCode)Stacks and QueuesMonotonic stackMediumLeetCodeLC
217Sum of Subarray Ranges (opens LeetCode)Stacks and QueuesMonotonic stackMediumLeetCodeLC
218Largest Rectangle in HistogramStacks and QueuesMonotonic stack147 DSA SheetHardSolve
219Maximal Rectangle (opens LeetCode)Stacks and QueuesMonotonic stackHardLeetCodeLC
220Next smaller element (opens GFG)Stacks and QueuesMonotonic stackMediumGFGGFG
221Number of greater elements to the right (opens GFG)Stacks and QueuesMonotonic stackMediumGFGGFG
222132 Pattern (opens LeetCode)Stacks and QueuesMonotonic stackMediumLeetCodeLC
223Sliding Window MaximumStacks and QueuesMonotonic queue147 DSA SheetHardSolve
224Sliding Window Median (opens LeetCode)Stacks and QueuesMonotonic queueHardLeetCodeLC
225Lower bound (opens GFG)Binary SearchLower and upper boundsMediumGFGGFG
226Upper bound (opens GFG)Binary SearchLower and upper boundsMediumGFGGFG
227Search Insert Position (opens LeetCode)Binary SearchLower and upper boundsEasyLeetCodeLC
228Floor and ceil in a sorted arrayBinary SearchLower and upper boundsMediumComing soonSoon
230Count occurrences in a sorted array (opens GFG)Binary SearchLower and upper boundsMediumGFGGFG
231How many times is a sorted array rotated (opens GFG)Binary SearchLower and upper boundsMediumGFGGFG
232Peak Index in a Mountain Array (opens LeetCode)Binary SearchLower and upper boundsMediumLeetCodeLC
233Binary SearchBinary SearchSearching a sorted array147 DSA SheetEasySolve
234Search in Rotated Sorted ArrayBinary SearchSearching a sorted array147 DSA SheetMediumSolve
235Find Minimum in Rotated Sorted ArrayBinary SearchSearching a sorted array147 DSA SheetMediumSolve
236Search in Rotated Sorted Array II (opens LeetCode)Binary SearchSearching a sorted arrayMediumLeetCodeLC
237Single Element in a Sorted Array (opens LeetCode)Binary SearchSearching a sorted arrayMediumLeetCodeLC
238Find Peak ElementBinary SearchSearching a sorted array147 DSA SheetMediumSolve
239Time Based Key-Value Store (opens LeetCode)Binary SearchSearching a sorted arrayMediumLeetCodeLC
240Sqrt(x)Binary SearchSearching the answer147 DSA SheetEasySolve
241Koko Eating BananasBinary SearchSearching the answer147 DSA SheetMediumSolve
242Magnetic Force Between Two BallsBinary SearchSearching the answer147 DSA SheetMediumSolve
243Split Array Largest SumBinary SearchSearching the answer147 DSA SheetHardSolve
244Nth root of a number (opens GFG)Binary SearchSearching the answerMediumGFGGFG
248Kth Missing Positive Number (opens LeetCode)Binary SearchSearching the answerEasyLeetCodeLC
249Aggressive cows (opens GFG)Binary SearchSearching the answerHardGFGGFG
250Book allocation (opens GFG)Binary SearchSearching the answerHardGFGGFG
251Painter's partition (opens GFG)Binary SearchSearching the answerHardGFGGFG
253Search a 2D Matrix (opens LeetCode)Binary SearchSearching a matrixMediumLeetCodeLC
254Search a 2D Matrix II (opens LeetCode)Binary SearchSearching a matrixMediumLeetCodeLC
256Row with the most 1s (opens GFG)Binary SearchSearching a matrixMediumGFGGFG
257Find a Peak Element II (opens LeetCode)Binary SearchSearching a matrixMediumLeetCodeLC
259Median of Two Sorted ArraysBinary SearchPartition search147 DSA SheetHardSolve
260K-th element of two sorted arrays (opens GFG)Binary SearchPartition searchHardGFGGFG
261Traverse a linked list (opens GFG)Linked ListsSingly linked list basicsEasyGFGGFG
262Length of a linked list (opens GFG)Linked ListsSingly linked list basicsEasyGFGGFG
263Search in a linked list (opens GFG)Linked ListsSingly linked list basicsEasyGFGGFG
264Insert at the head (opens GFG)Linked ListsSingly linked list basicsMediumGFGGFG
265Insert at the tail (opens GFG)Linked ListsSingly linked list basicsMediumGFGGFG
266Insert at position KLinked ListsSingly linked list basicsMediumComing soonSoon
267Insert before the value XLinked ListsSingly linked list basicsMediumComing soonSoon
268Delete the head (opens GFG)Linked ListsSingly linked list basicsMediumGFGGFG
269Delete the tail (opens GFG)Linked ListsSingly linked list basicsMediumGFGGFG
270Delete the K-th nodeLinked ListsSingly linked list basicsMediumComing soonSoon
271Delete the node with value XLinked ListsSingly linked list basicsMediumComing soonSoon
272Delete Node in a Linked List (opens LeetCode)Linked ListsSingly linked list basicsMediumLeetCodeLC
273Remove Linked List Elements (opens LeetCode)Linked ListsSingly linked list basicsEasyLeetCodeLC
274Design Linked List (opens LeetCode)Linked ListsSingly linked list basicsMediumLeetCodeLC
275Build a doubly linked list from an array (opens GFG)Linked ListsDoubly linked listsMediumGFGGFG
276Insert before the head (opens GFG)Linked ListsDoubly linked listsMediumGFGGFG
277Insert before the tailLinked ListsDoubly linked listsMediumComing soonSoon
278Insert before the K-th nodeLinked ListsDoubly linked listsMediumComing soonSoon
279Insert before a given nodeLinked ListsDoubly linked listsMediumComing soonSoon
280Delete the head (opens GFG)Linked ListsDoubly linked listsMediumGFGGFG
281Delete the tailLinked ListsDoubly linked listsMediumComing soonSoon
282Delete the K-th nodeLinked ListsDoubly linked listsMediumComing soonSoon
283Delete a given nodeLinked ListsDoubly linked listsMediumComing soonSoon
284Reverse a doubly linked list (opens GFG)Linked ListsDoubly linked listsMediumGFGGFG
285Delete every occurrence of a key (opens GFG)Linked ListsDoubly linked listsMediumGFGGFG
288Middle of the Linked ListLinked ListsFast and slow pointers147 DSA SheetEasySolve
289Linked List CycleLinked ListsFast and slow pointers147 DSA SheetEasySolve
290Remove Nth Node From End of ListLinked ListsFast and slow pointers147 DSA SheetMediumSolve
291Palindrome Linked List (opens LeetCode)Linked ListsFast and slow pointersEasyLeetCodeLC
292Intersection of Two Linked Lists (opens LeetCode)Linked ListsFast and slow pointersEasyLeetCodeLC
293Linked List Cycle IILinked ListsFast and slow pointers147 DSA SheetMediumSolve
294Find the Duplicate Number (opens LeetCode)Linked ListsFast and slow pointersMediumLeetCodeLC
296Length of the loop in a linked list (opens GFG)Linked ListsFast and slow pointersEasyGFGGFG
297Reverse Linked ListLinked ListsReversing and rewiring147 DSA SheetEasySolve
298Merge Two Sorted ListsLinked ListsReversing and rewiring147 DSA SheetEasySolve
299Reorder ListLinked ListsReversing and rewiring147 DSA SheetMediumSolve
300Add Two NumbersLinked ListsReversing and rewiring147 DSA SheetMediumSolve
301Rotate List (opens LeetCode)Linked ListsReversing and rewiringMediumLeetCodeLC
302Sort List (opens LeetCode)Linked ListsReversing and rewiringMediumLeetCodeLC
303Copy List with Random PointerLinked ListsReversing and rewiring147 DSA SheetMediumSolve
304Reverse Nodes in k-GroupLinked ListsReversing and rewiring147 DSA SheetHardSolve
305Odd Even Linked List (opens LeetCode)Linked ListsReversing and rewiringMediumLeetCodeLC
306Reverse Linked List II (opens LeetCode)Linked ListsReversing and rewiringMediumLeetCodeLC
307Plus One Linked List (opens LeetCode)Linked ListsReversing and rewiringMediumLeetCodeLC
308Next Greater Node In Linked List (opens LeetCode)Linked ListsReversing and rewiringMediumLeetCodeLC
309Sort a linked list of 0s, 1s and 2s (opens GFG)Linked ListsReversing and rewiringMediumGFGGFG
310Flatten a linked list (opens GFG)Linked ListsReversing and rewiringHardGFGGFG
311LRU CacheLinked ListsA list and a map together147 DSA SheetMediumSolve
312LFU Cache (opens LeetCode)Linked ListsA list and a map togetherHardLeetCodeLC
313Does a subsequence with sum K existRecursion and BacktrackingPick or skipMediumComing soonSoon
314Count subsequences with sum K (opens GFG)Recursion and BacktrackingPick or skipMediumGFGGFG
315Binary strings without consecutive 1s (opens GFG)Recursion and BacktrackingPick or skipMediumGFGGFG
316Reverse a stack with recursion (opens GFG)Recursion and BacktrackingRecursion on a stackMediumGFGGFG
317Sort a stack with recursion (opens GFG)Recursion and BacktrackingRecursion on a stackMediumGFGGFG
318SubsetsRecursion and BacktrackingGenerating every choice147 DSA SheetMediumSolve
319PermutationsRecursion and BacktrackingGenerating every choice147 DSA SheetMediumSolve
320Subsets IIRecursion and BacktrackingGenerating every choice147 DSA SheetMediumSolve
321Combination SumRecursion and BacktrackingGenerating every choice147 DSA SheetMediumSolve
322Combination Sum IIRecursion and BacktrackingGenerating every choice147 DSA SheetMediumSolve
323Letter Combinations of a Phone NumberRecursion and BacktrackingGenerating every choice147 DSA SheetMediumSolve
324Generate ParenthesesRecursion and BacktrackingGenerating every choice147 DSA SheetMediumSolve
325Palindrome PartitioningRecursion and BacktrackingGenerating every choice147 DSA SheetMediumSolve
326Combinations (opens LeetCode)Recursion and BacktrackingGenerating every choiceMediumLeetCodeLC
327Permutations II (opens LeetCode)Recursion and BacktrackingGenerating every choiceMediumLeetCodeLC
328Combination Sum III (opens LeetCode)Recursion and BacktrackingGenerating every choiceMediumLeetCodeLC
329Gray Code (opens LeetCode)Recursion and BacktrackingGenerating every choiceMediumLeetCodeLC
330Word SearchRecursion and BacktrackingSearching with constraints147 DSA SheetMediumSolve
331N-QueensRecursion and BacktrackingSearching with constraints147 DSA SheetHardSolve
332Sudoku Solver (opens LeetCode)Recursion and BacktrackingSearching with constraintsHardLeetCodeLC
333Rat in a maze (opens GFG)Recursion and BacktrackingSearching with constraintsHardGFGGFG
334M-coloring (opens GFG)Recursion and BacktrackingSearching with constraintsHardGFGGFG
335Beautiful Arrangement (opens LeetCode)Recursion and BacktrackingSearching with constraintsMediumLeetCodeLC
336Word Break II (opens LeetCode)Recursion and BacktrackingSearching with constraintsHardLeetCodeLC
337Expression Add Operators (opens LeetCode)Recursion and BacktrackingSearching with constraintsHardLeetCodeLC
342Morris inorder traversal (opens GFG)Binary TreesTraversalsHardGFGGFG
343Morris preorder traversal (opens GFG)Binary TreesTraversalsHardGFGGFG
344Maximum Depth of Binary TreeBinary TreesDepth first: return a value up147 DSA SheetEasySolve
345Invert Binary TreeBinary TreesDepth first: return a value up147 DSA SheetEasySolve
346Same TreeBinary TreesDepth first: return a value up147 DSA SheetEasySolve
347Subtree of Another TreeBinary TreesDepth first: return a value up147 DSA SheetEasySolve
348Balanced Binary Tree (opens LeetCode)Binary TreesDepth first: return a value upEasyLeetCodeLC
349Diameter of Binary TreeBinary TreesDepth first: return a value up147 DSA SheetEasySolve
350Count Good Nodes in Binary Tree (opens LeetCode)Binary TreesDepth first: return a value upMediumLeetCodeLC
351Binary Tree Paths (opens LeetCode)Binary TreesDepth first: return a value upEasyLeetCodeLC
352Lowest Common Ancestor of a Binary TreeBinary TreesDepth first: return a value up147 DSA SheetMediumSolve
353Binary Tree Maximum Path SumBinary TreesDepth first: return a value up147 DSA SheetHardSolve
354Boundary of Binary Tree (opens LeetCode)Binary TreesDepth first: return a value upMediumLeetCodeLC
355Minimum Depth of Binary Tree (opens LeetCode)Binary TreesDepth first: return a value upEasyLeetCodeLC
356Symmetric Tree (opens LeetCode)Binary TreesDepth first: return a value upEasyLeetCodeLC
357Merge Two Binary Trees (opens LeetCode)Binary TreesDepth first: return a value upEasyLeetCodeLC
358Path Sum (opens LeetCode)Binary TreesDepth first: return a value upEasyLeetCodeLC
359Path Sum II (opens LeetCode)Binary TreesDepth first: return a value upMediumLeetCodeLC
360Sum Root to Leaf Numbers (opens LeetCode)Binary TreesDepth first: return a value upMediumLeetCodeLC
361Path Sum III (opens LeetCode)Binary TreesDepth first: return a value upMediumLeetCodeLC
362Children sum property (opens GFG)Binary TreesDepth first: return a value upMediumGFGGFG
363Path from the root to a node (opens GFG)Binary TreesDepth first: return a value upMediumGFGGFG
364Count Complete Tree Nodes (opens LeetCode)Binary TreesDepth first: return a value upMediumLeetCodeLC
365Flatten Binary Tree to Linked List (opens LeetCode)Binary TreesDepth first: return a value upMediumLeetCodeLC
366House Robber III (opens LeetCode)Binary TreesDepth first: return a value upMediumLeetCodeLC
367Binary Tree Level Order TraversalBinary TreesBreadth first: level by level147 DSA SheetMediumSolve
368Binary Tree Right Side ViewBinary TreesBreadth first: level by level147 DSA SheetMediumSolve
369Maximum Width of Binary Tree (opens LeetCode)Binary TreesBreadth first: level by levelMediumLeetCodeLC
370All Nodes Distance K in Binary TreeBinary TreesBreadth first: level by level147 DSA SheetMediumSolve
371Amount of Time for Binary Tree to Be Infected (opens LeetCode)Binary TreesBreadth first: level by levelMediumLeetCodeLC
372Vertical Order Traversal of a Binary Tree (opens LeetCode)Binary TreesBreadth first: level by levelHardLeetCodeLC
373Binary Tree Zigzag Level Order Traversal (opens LeetCode)Binary TreesBreadth first: level by levelMediumLeetCodeLC
374Binary Tree Level Order Traversal II (opens LeetCode)Binary TreesBreadth first: level by levelMediumLeetCodeLC
375Average of Levels in Binary Tree (opens LeetCode)Binary TreesBreadth first: level by levelEasyLeetCodeLC
376Populating Next Right Pointers in Each Node (opens LeetCode)Binary TreesBreadth first: level by levelMediumLeetCodeLC
377Top view of a binary tree (opens GFG)Binary TreesBreadth first: level by levelMediumGFGGFG
378Bottom view of a binary tree (opens GFG)Binary TreesBreadth first: level by levelMediumGFGGFG
379Construct Binary Tree from Preorder and Inorder TraversalBinary TreesBuilding and serializing147 DSA SheetMediumSolve
380Serialize and Deserialize Binary TreeBinary TreesBuilding and serializing147 DSA SheetHardSolve
383Minimum and maximum in a BST (opens GFG)Binary Search TreesBST basicsEasyGFGGFG
384Floor and ceil in a BST (opens GFG)Binary Search TreesBST basicsMediumGFGGFG
385Range Sum of BST (opens LeetCode)Binary Search TreesBST basicsEasyLeetCodeLC
387Validate Binary Search TreeBinary Search TreesUsing the ordering147 DSA SheetMediumSolve
388Kth Smallest Element in a BSTBinary Search TreesUsing the ordering147 DSA SheetMediumSolve
389Lowest Common Ancestor of a Binary Search TreeBinary Search TreesUsing the ordering147 DSA SheetMediumSolve
390Insert into a Binary Search Tree (opens LeetCode)Binary Search TreesUsing the orderingMediumLeetCodeLC
391Delete Node in a BSTBinary Search TreesUsing the ordering147 DSA SheetMediumSolve
393Two Sum IV - Input is a BST (opens LeetCode)Binary Search TreesUsing the orderingEasyLeetCodeLC
394Recover Binary Search TreeBinary Search TreesUsing the ordering147 DSA SheetMediumSolve
395Largest BST Subtree (opens LeetCode)Binary Search TreesUsing the orderingMediumLeetCodeLC
396Trim a Binary Search Tree (opens LeetCode)Binary Search TreesUsing the orderingMediumLeetCodeLC
397Inorder Successor in BST (opens LeetCode)Binary Search TreesUsing the orderingMediumLeetCodeLC
398Binary Search Tree Iterator (opens LeetCode)Binary Search TreesUsing the orderingMediumLeetCodeLC
399Maximum Sum BST in Binary Tree (opens LeetCode)Binary Search TreesUsing the orderingHardLeetCodeLC
400Implement Min Heap (opens GFG)HeapsBuilding a heapMediumGFGGFG
401Implement a max heap (opens GFG)HeapsBuilding a heapMediumGFGGFG
405Heap sort (opens GFG)HeapsBuilding a heapHardGFGGFG
406Kth Largest Element in a StreamHeapsTop K147 DSA SheetEasySolve
407Kth Largest Element in an ArrayHeapsTop K147 DSA SheetMediumSolve
408K Closest Points to OriginHeapsTop K147 DSA SheetMediumSolve
414Last Stone WeightHeapsSimulating with a heap147 DSA SheetEasySolve
415Task SchedulerHeapsSimulating with a heap147 DSA SheetMediumSolve
416Design Twitter (opens LeetCode)HeapsSimulating with a heapMediumLeetCodeLC
417Connect ropes at minimum cost (opens GFG)HeapsSimulating with a heapEasyGFGGFG
418Reorganize String (opens LeetCode)HeapsSimulating with a heapMediumLeetCodeLC
419IPO (opens LeetCode)HeapsSimulating with a heapHardLeetCodeLC
420Find Median from Data StreamHeapsTwo heaps147 DSA SheetHardSolve
421Merge k Sorted ListsHeapsMerging k sorted lists147 DSA SheetHardSolve
422Implement Trie (Prefix Tree)TriesPrefix trees147 DSA SheetMediumSolve
423Design Add and Search Words Data StructureTriesPrefix trees147 DSA SheetMediumSolve
426Word Search IITriesPrefix trees147 DSA SheetHardSolve
434Flood FillGraphsGrids as graphs147 DSA SheetEasySolve
435Number of IslandsGraphsGrids as graphs147 DSA SheetMediumSolve
436Max Area of Island (opens LeetCode)GraphsGrids as graphsMediumLeetCodeLC
437Surrounded RegionsGraphsGrids as graphs147 DSA SheetMediumSolve
438Pacific Atlantic Water FlowGraphsGrids as graphs147 DSA SheetMediumSolve
440Number of Enclaves (opens LeetCode)GraphsGrids as graphsMediumLeetCodeLC
442Rotting OrangesGraphsFewest steps with BFS147 DSA SheetMediumSolve
44301 MatrixGraphsFewest steps with BFS147 DSA SheetMediumSolve
444Walls and Gates (opens LeetCode)GraphsFewest steps with BFSMediumLeetCodeLC
446Word LadderGraphsFewest steps with BFS147 DSA SheetHardSolve
447Shortest path with unit weights (opens GFG)GraphsFewest steps with BFSMediumGFGGFG
448Clone GraphGraphsTraversing a graph147 DSA SheetMediumSolve
449Is Graph Bipartite? (opens LeetCode)GraphsTraversing a graphMediumLeetCodeLC
451Graph Valid Tree (opens LeetCode)GraphsTraversing a graphMediumLeetCodeLC
452Number of Provinces (opens LeetCode)GraphsTraversing a graphMediumLeetCodeLC
454Cycle in a directed graph (opens GFG)GraphsCycle detectionMediumGFGGFG
455Course ScheduleGraphsTopological sort147 DSA SheetMediumSolve
456Course Schedule IIGraphsTopological sort147 DSA SheetMediumSolve
457Alien Dictionary (opens LeetCode)GraphsTopological sortHardLeetCodeLC
460Course Schedule IV (opens LeetCode)GraphsTopological sortMediumLeetCodeLC
462Redundant ConnectionGraphsUnion-find147 DSA SheetMediumSolve
466Disjoint set union (opens GFG)GraphsUnion-findMediumGFGGFG
471Network Delay TimeAdvanced GraphsWeighted shortest paths147 DSA SheetMediumSolve
472Path With Minimum EffortAdvanced GraphsWeighted shortest paths147 DSA SheetMediumSolve
473Cheapest Flights Within K StopsAdvanced GraphsWeighted shortest paths147 DSA SheetMediumSolve
474Swim in Rising WaterAdvanced GraphsWeighted shortest paths147 DSA SheetHardSolve
476Word Ladder II (opens LeetCode)Advanced GraphsWeighted shortest pathsHardLeetCodeLC
477Shortest path in a DAG (opens GFG)Advanced GraphsWeighted shortest pathsMediumGFGGFG
478Dijkstra's algorithm (opens GFG)Advanced GraphsWeighted shortest pathsMediumGFGGFG
479Print the shortest path (opens GFG)Advanced GraphsWeighted shortest pathsMediumGFGGFG
480Number of Ways to Arrive at Destination (opens LeetCode)Advanced GraphsWeighted shortest pathsMediumLeetCodeLC
481Path with Maximum Probability (opens LeetCode)Advanced GraphsWeighted shortest pathsMediumLeetCodeLC
482Minimum multiplications to reach the end (opens GFG)Advanced GraphsWeighted shortest pathsHardGFGGFG
483Bellman-Ford algorithm (opens GFG)Advanced GraphsWeighted shortest pathsMediumGFGGFG
484Floyd-Warshall algorithm (opens GFG)Advanced GraphsWeighted shortest pathsHardGFGGFG
485Min Cost to Connect All PointsAdvanced GraphsMinimum spanning trees147 DSA SheetMediumSolve
486Minimum spanning tree weight (opens GFG)Advanced GraphsMinimum spanning treesMediumGFGGFG
487Reconstruct Itinerary (opens LeetCode)Advanced GraphsSpecial edges and pathsHardLeetCodeLC
488Critical Connections in a Network (opens LeetCode)Advanced GraphsSpecial edges and pathsHardLeetCodeLC
489Strongly connected components (Kosaraju) (opens GFG)Advanced GraphsSpecial edges and pathsHardGFGGFG
490Articulation points (opens GFG)Advanced GraphsSpecial edges and pathsHardGFGGFG
491Jump GameGreedyThe best choice now147 DSA SheetMediumSolve
492Jump Game IIGreedyThe best choice now147 DSA SheetMediumSolve
493Gas StationGreedyThe best choice now147 DSA SheetMediumSolve
494Partition LabelsGreedyThe best choice now147 DSA SheetMediumSolve
495Hand of Straights (opens LeetCode)GreedyThe best choice nowMediumLeetCodeLC
497Valid Parenthesis StringGreedyThe best choice now147 DSA SheetMediumSolve
498CandyGreedyThe best choice now147 DSA SheetHardSolve
499Assign Cookies (opens LeetCode)GreedyThe best choice nowEasyLeetCodeLC
500Lemonade Change (opens LeetCode)GreedyThe best choice nowEasyLeetCodeLC
501Fractional knapsack (opens GFG)GreedyThe best choice nowMediumGFGGFG
502Fewest coins with greedy (opens GFG)GreedyThe best choice nowEasyGFGGFG
503Shortest job first (opens GFG)GreedyThe best choice nowMediumGFGGFG
504Job sequencing (opens GFG)GreedyThe best choice nowMediumGFGGFG
506Merge IntervalsIntervalsMerging and scheduling147 DSA SheetMediumSolve
507Insert IntervalIntervalsMerging and scheduling147 DSA SheetMediumSolve
508Non-overlapping IntervalsIntervalsMerging and scheduling147 DSA SheetMediumSolve
509Meeting Rooms (opens LeetCode)IntervalsMerging and schedulingEasyLeetCodeLC
510Meeting Rooms II (opens LeetCode)IntervalsMerging and schedulingMediumLeetCodeLC
511Minimum Interval to Include Each QueryIntervalsMerging and scheduling147 DSA SheetHardSolve
512Most meetings in one room (opens GFG)IntervalsMerging and schedulingEasyGFGGFG
513Minimum platforms (opens GFG)IntervalsMerging and schedulingMediumGFGGFG
514Climbing Stairs1-D Dynamic ProgrammingTake it or skip it147 DSA SheetEasySolve
515Min Cost Climbing Stairs (opens LeetCode)1-D Dynamic ProgrammingTake it or skip itEasyLeetCodeLC
516House Robber1-D Dynamic ProgrammingTake it or skip it147 DSA SheetMediumSolve
517House Robber II1-D Dynamic ProgrammingTake it or skip it147 DSA SheetMediumSolve
518Decode Ways1-D Dynamic ProgrammingTake it or skip it147 DSA SheetMediumSolve
519Word Break1-D Dynamic ProgrammingTake it or skip it147 DSA SheetMediumSolve
520N-th Tribonacci Number (opens LeetCode)1-D Dynamic ProgrammingTake it or skip itEasyLeetCodeLC
521Frog jump with K steps (opens GFG)1-D Dynamic ProgrammingTake it or skip itEasyGFGGFG
522Perfect Squares (opens LeetCode)1-D Dynamic ProgrammingTake it or skip itMediumLeetCodeLC
523Minimum Cost For Tickets (opens LeetCode)1-D Dynamic ProgrammingTake it or skip itMediumLeetCodeLC
524Training schedule with no repeated activity (opens GFG)1-D Dynamic ProgrammingTake it or skip itMediumGFGGFG
525Longest Palindromic Substring1-D Dynamic ProgrammingPalindromes147 DSA SheetMediumSolve
526Palindromic Substrings1-D Dynamic ProgrammingPalindromes147 DSA SheetMediumSolve
527Longest Increasing Subsequence1-D Dynamic ProgrammingIncreasing subsequences147 DSA SheetMediumSolve
528Number of Longest Increasing Subsequence (opens LeetCode)1-D Dynamic ProgrammingIncreasing subsequencesMediumLeetCodeLC
529Print a longest increasing subsequence (opens GFG)1-D Dynamic ProgrammingIncreasing subsequencesHardGFGGFG
530Largest Divisible Subset (opens LeetCode)1-D Dynamic ProgrammingIncreasing subsequencesMediumLeetCodeLC
531Longest String Chain (opens LeetCode)1-D Dynamic ProgrammingIncreasing subsequencesMediumLeetCodeLC
532Longest bitonic subsequence (opens GFG)1-D Dynamic ProgrammingIncreasing subsequencesMediumGFGGFG
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 Fee (opens LeetCode)1-D Dynamic ProgrammingBuying and selling with statesMediumLeetCodeLC
535Best Time to Buy and Sell Stock IV (opens LeetCode)1-D Dynamic ProgrammingBuying and selling with statesHardLeetCodeLC
536Best Time to Buy and Sell Stock II (opens LeetCode)1-D Dynamic ProgrammingBuying and selling with statesMediumLeetCodeLC
537Best Time to Buy and Sell Stock III (opens LeetCode)1-D Dynamic ProgrammingBuying and selling with statesHardLeetCodeLC
538Unique Paths2-D Dynamic ProgrammingPaths in a grid147 DSA SheetMediumSolve
539Unique Paths II (opens LeetCode)2-D Dynamic ProgrammingPaths in a gridMediumLeetCodeLC
540Longest Increasing Path in a Matrix2-D Dynamic ProgrammingPaths in a grid147 DSA SheetHardSolve
541Minimum Path Sum (opens LeetCode)2-D Dynamic ProgrammingPaths in a gridMediumLeetCodeLC
542Triangle (opens LeetCode)2-D Dynamic ProgrammingPaths in a gridMediumLeetCodeLC
543Minimum Falling Path Sum (opens LeetCode)2-D Dynamic ProgrammingPaths in a gridMediumLeetCodeLC
544Count Square Submatrices with All Ones (opens LeetCode)2-D Dynamic ProgrammingPaths in a gridMediumLeetCodeLC
545Cherry Pickup II (opens LeetCode)2-D Dynamic ProgrammingPaths in a gridHardLeetCodeLC
5460/1 knapsack (opens GFG)2-D Dynamic ProgrammingKnapsackMediumGFGGFG
547Partition Equal Subset Sum2-D Dynamic ProgrammingKnapsack147 DSA SheetMediumSolve
548Coin Change2-D Dynamic ProgrammingKnapsack147 DSA SheetMediumSolve
549Coin Change II2-D Dynamic ProgrammingKnapsack147 DSA SheetMediumSolve
550Target Sum2-D Dynamic ProgrammingKnapsack147 DSA SheetMediumSolve
551Last Stone Weight II (opens LeetCode)2-D Dynamic ProgrammingKnapsackMediumLeetCodeLC
552Subset sum (opens GFG)2-D Dynamic ProgrammingKnapsackMediumGFGGFG
553Count subsets with sum K (opens GFG)2-D Dynamic ProgrammingKnapsackMediumGFGGFG
554Count partitions with a given difference (opens GFG)2-D Dynamic ProgrammingKnapsackMediumGFGGFG
555Unbounded knapsack (opens GFG)2-D Dynamic ProgrammingKnapsackMediumGFGGFG
556Rod cutting (opens GFG)2-D Dynamic ProgrammingKnapsackHardGFGGFG
558Longest Common Subsequence2-D Dynamic ProgrammingTwo strings147 DSA SheetMediumSolve
559Maximum Length of Repeated Subarray (opens LeetCode)2-D Dynamic ProgrammingTwo stringsMediumLeetCodeLC
560Edit Distance2-D Dynamic ProgrammingTwo strings147 DSA SheetMediumSolve
561Longest Palindromic Subsequence (opens LeetCode)2-D Dynamic ProgrammingTwo stringsMediumLeetCodeLC
562Distinct Subsequences (opens LeetCode)2-D Dynamic ProgrammingTwo stringsHardLeetCodeLC
563Interleaving String (opens LeetCode)2-D Dynamic ProgrammingTwo stringsMediumLeetCodeLC
564Wildcard Matching (opens LeetCode)2-D Dynamic ProgrammingTwo stringsHardLeetCodeLC
565Regular Expression Matching (opens LeetCode)2-D Dynamic ProgrammingTwo stringsHardLeetCodeLC
566Print a longest common subsequence (opens GFG)2-D Dynamic ProgrammingTwo stringsMediumGFGGFG
567Delete Operation for Two Strings (opens LeetCode)2-D Dynamic ProgrammingTwo stringsMediumLeetCodeLC
569Shortest Common Supersequence (opens LeetCode)2-D Dynamic ProgrammingTwo stringsHardLeetCodeLC
570Count palindromic subsequences (opens GFG)2-D Dynamic ProgrammingTwo stringsHardGFGGFG
572Burst Balloons2-D Dynamic ProgrammingSplitting a range147 DSA SheetHardSolve
573Palindrome Partitioning II (opens LeetCode)2-D Dynamic ProgrammingSplitting a rangeHardLeetCodeLC
574Matrix chain multiplication (opens GFG)2-D Dynamic ProgrammingSplitting a rangeHardGFGGFG
575Minimum Cost to Cut a Stick (opens LeetCode)2-D Dynamic ProgrammingSplitting a rangeHardLeetCodeLC
576Partition Array for Maximum Sum (opens LeetCode)2-D Dynamic ProgrammingSplitting a rangeMediumLeetCodeLC
577Ways to evaluate a boolean expression to true (opens GFG)2-D Dynamic ProgrammingSplitting a rangeHardGFGGFG
578Find the Index of the First Occurrence in a StringString MatchingPattern matching147 DSA SheetEasySolve
579Shortest Palindrome (opens LeetCode)String MatchingPattern matchingHardLeetCodeLC
580Rabin-Karp (opens GFG)String MatchingPattern matchingMediumGFGGFG
581Z-function (opens GFG)String MatchingPattern matchingMediumGFGGFG
582Repeated String Match (opens LeetCode)String MatchingPattern matchingMediumLeetCodeLC
583Longest Happy Prefix (opens LeetCode)String MatchingPattern matchingHardLeetCodeLC

Sign in to oneby7

Keep your progress, your streak and your code, on any device.

New here? This creates your account too.