Coding Sheet To Practice
Coding Sheet To Practice
Checkout this video to understand efficient way to use this sheet - https://youtu.be/ALpP5ZFokjQ
Only sheet you need to get placed in super high paying companies including google
Solving time - Easy Problems - 5 to 10mins
Imp Note: Its not necessary that you know a topic, so for every topic you have here, first understand the bas
TOPIC
Basics
Beginners basic math probs
Recursion - Technique
Basics
Binary Search - Algo
Basic pattern
Biotonic array
Matrix
Application(Super imp)
Sorting - Algo
Basics
LinkedList - Data structure
Basic patterns
Loop
Expressions
Reversing stack
Implementation probs
Implementation probs
Traversals
Basic and Easy patterns(Try to solve
these once you learnt traversals)
Connected component(After
traversal, this will be easy to solve)
Bipartite
Shortest Path
Multi Source
Topological sort
Minimum Spanning Tree
Disjoint set
Greedy - Technique
Basics and must solves
Dynamic Programming -
Technique
Basic
1D - Linear DP
2D Grid DP
DP on subsequence
DP on Increasing subsequence
DP on strings(Using Longest
common subsequence pattern)
DP on string
Top k pattern
Merge k sorted pattern
String
Must solve and Algos specific to
string
There are couple of more topics, bit manipulation, segment trees and AVL trees which has limited number of probs, so
Checkout this for bit tricks - https://leetcode.com/discuss/general-discussion/1073221/All-about-Bitwise-Operations-Be
blems - 15 to 20mins
ms - At max 45mins - 50mins
sary that you know a topic, so for every topic you have here, first understand the basics of the topic, then for every pat
Problem
Count digits in a number(Solving above last digit prob wil make this easy for you)
Reverse a number(Try thinking how you can use above logic in solving this)
GCD
Armstrong number(Solving power of number, will make this easy for you)
Check palindrome of number(Use the techniques you learnt so far solving above probs
and solve this by yourself)
Square root of a number(Try to first figure out algo to solve this)
Perfect number
This is a huge topic and array acts as base data structure for many concepts, so
lets master the basics in this section. For all the data struture moving forward,
make sure to visually note down and understand how it is represented
Sort an array of 0s , 1s and 2s (You dont need to know any sorting algo, just using basics,
once solved, definitely learn the optimal algo)
Learn what is map and how its represented before moving forward
Count frequency of elements in array(Solve efficiently, try applying what you learnt about
map)
3 Sum
4 Sum
Remove duplicates from array(Quite diff from above, try to solve on own, this actually
shows that not always you will have pointers at start and end)
kth element of 2 sorted arrays
Majority element
Count inversions
Merge intervals
Next permutation
https://youtu.be/FPu9Uld7W-E?si=s_d6cjdb6UtlVg16 - After learning this, make sure to learn time and space complexity for all
Once you learn this, in many advanced topics like graphs, DP, backtracking, this is super
imp. This section is to learn 2D array and to get grip on basics
Search in a matrix
Rotate by 90 degree
Factorial of N numbers
Power(x,n) Draw the recursion tree for all the probs for sure
Print pattern
Pascal triangle
Minimum element in sorted rotated array(With and without duplicate)A twist in normal BS
is needed, once you learnt this, solve the below by yourself,even try to solve this also by
yourself
Aggressive cows
Painter partition
Ugly number II
Make sure to completely understand the algo thoroughly, and time & space complexity
Selection sort
Insertion sort
Merge sort
Quick sort
Completely understand how Node in linkedList is represented and then go ahead with the
patterns
Create, Insert, Delete Operations in LL
Search for an element in LL(Once create, insert is done, this should be easy)
Reverse a LL(Learn the O space approach, learn recursive & iterative soln)
Find the intersection point of Y LL(Once you know traversal, apply node logic to solve
this)
Reverse LL in groups of given size(Once you learn reverse of LL's efficient approach, you
can try this)
Detect loop in LL(Once this is learnt, all the loop pattern probs below should be easy)
Merge k sorted LL(Merge two sorted is easy version of this ques, if you are finding it diff to
come up with logic, first solve that)
Merge sort in LL
Quick sort in LL
Subtraction on LL(Comes under hard but should be solvable once the above ones are
solved)
Rotate LL
Clone a LL
What is stack? Leam how to represent the data structure and working of it
Trapping rainwater
Maximum rectangular area on histogram(Once next greater and next smallest pattern is
covered, this can be solved easily)
Infix to postfix
Prefix to postfix
Reverse a stack
Sort stack(Solving above two can give you hint for this)
Celebrity problem
What is queue? Learn the basic representation and how its implemented?
Reverse a queue
Circular tour
GeekForGeeks has very limited probs in this topics, so use leetcode for this even if you
practice on gfg generally
Count distinct element in every window(Once you understoor handling window size fixed
from above prob, this will be easy)
First negative integer in every window of size k(Try to solve on own before looking for soln
since you did above topics too already
Longest subarray with given sum k(Same as above with slight modification)
InOrder Traversal
PostOrder Traversal
Bottom View of BT(Once you have mastered level traversal, this should be easy)
Left View of BT(Once you have mastered vertical traversal, this should be easy)
Right View of BT(Once you have mastered vertical traversal, this should be easy)
Diagonal Traversal
Check if subtree
Sum tree
Symmetric tree
Mirror of a tree
Check if isomorphic
Root to leaf path sum (Once the root to leaf path is solved, this should be easy)
Maximum path sum from any node(Once the root to leaf path is solved, this should be
easy)
K Sum Paths (Once the root to leaf path is solved, this should be easy)
Range sum of BST(Solving nodes at given distance, will make this easy)
Minimum distance between 2 nodes(Solving nodes at given distance, will make this easy)
Maximum distance between node and ancestor(Must solve though distance pattern is
covered)
Construct Binary Tree from Preorder and Inorder Traversal ( First understand the concept
of how to derive at the solution, then start coding it by yourself)
Construct Binary Tree from Inorder and Postorder Traversal
Duplicate subtree
This is super imp topic before moving further!! Draw the recursion tree to
understand the flow as the first step, this will help in visualization of the flow
Permutations of a string
Combination sum I
Combination sum II(Once you solve combination I, you should be able to solve this and
below 2 probs too easily)
Combination sum III
Rat in maze(Once above probs are solved, you can do this easily)
Subsets
N-Queen(Super imp)
N Queen II
Permutation with spaces
Generate parantheses
Generate IP address
kth permutation
Word search
sum string
word boggle
Connected component(Once you master this , all the below using this pattern will become
super easy)
Number of Provinces(Learn how to solve this prob and solve the below in this pattern)
Number of Islands
Bipartite graph
M-colouring
Find shortest path in UG(Once you learn this, try to solve other probs in this pattern by
yourself)
Find shortest path in DAG
Djikstra Algo
Step by Knight
Covid spread
Word ladder I
Word ladder II
Flood fill
Replace O's with X's(Below can be solved easily in this pattern once you learnt flood fill)
Rotten Oranges
Topological sort algo(Learning this algo, will make you solve all the probs in this pattern)
Prerequisite tasks
Course schedule I
Course schedule II
Alien dictionary
Minimum spanning tree(Once you learn this, then you will be able to solve the probs in
this pattern by yourself)
Kruskals algo
Networks connected
Santa Banta
Number of pairs
Number of Island II
Bridges in graph
Articulation point
Critical connection
Word boggle
Word boggle II
Minimum number of jumps
Minimum operations
Lemonade change
Minimum platforms
Fractional knapsack
Jump game
Insert interval
Merge interval
Partition labels
DP is super crucial topic and very commonly asked in many interviews!! One major thing
you need to know is, dont start with tabulation approach directly, thats wrong way to learn
DP. First find the solution using recursion, then memoization and then finally tabulation
and space reduction in tabulation.
Understand the basics!!
House robber
House robber II
Unique paths II
Count all possible paths with condition(You can solve this by yourself once above two are
solved)
Partition equal subset sum(Try to do it on own after solving above two, just a small trick)
0-1 Knapsack
Coin change
Rod cutting
Target sum
Minimum cost to fill given weight in bag(Solving the above probs in this pattern will make
this super easy)
Longest bitonic subsequence(Solve on own, definitely you can do it once the above two
are solved)
Longest divisible subset(This and the below are just extended version of longest
increasing subsequence, so try on own
Longest string chain
Longest common subsequence(Once you learn this pattern, all probs under this pattern
can be solved by yourself)
Print Longest common subsequence(Here you will need to print the string so must solve)
Edit distance (All the probs in this pattern are super imp, each prob is different so do solve
all)
Distinct occurence
Word break
Word break II
Word wrap
Interleaved strings
Best time to buy and sell stock II(Once you solve the above prob, all probs in this pattern
Matrix chain multiplication(Quite tricky pattern, every prob is diff and teaches something
so do solve all)
Burst balloons
Boolean Parenthesization
Palindrom partitioning
Frequency sort
Reorganize string
ugly num II
Maximum capital/IPO
Meeting room II
Word break (Do solve it using trie, though you had solved this already)
Most of the imp problems in strings involves diff techniques, algos which are
already covered. In this section, we will focus on string specific imp probs and
algos
Implement Atoi
Rabin karp algo( Pattern searching, super imp, this was infact asked in one of my
interview)
Boyer moor algo (Pattern searching)
Hashing in strings
Z - Function
Shortest palindrome
Circle of strings
opics, bit manipulation, segment trees and AVL trees which has limited number of probs, so do check that out if you have good a
- https://leetcode.com/discuss/general-discussion/1073221/All-about-Bitwise-Operations-Beginner-Intermediate
https://leetcode.com/discuss/interview-experience/1532708/tips-for-answering-few-tricky-behavioural-interv
https://leetcode.com/discuss/general-discussion/665604/Important-and-Useful-links-from-all-over-the-LeetC
https://www.overleaf.com/Articles/ravi-kukretis-resume/cxprrkxbccgb
5+ problems per day to master it at the earliest
okjQ
oogle, amazon, salesforce, microsoft, adobe, etc
the basics of the topic, then for every pattern, you can learn the first prob in that pattern and then try solving other pro
https://www.geeksforgeeks.org/problems/find-last-digit-of-ab-for-large-numbers1936/1
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/power-of-numbers-1587115620/1
Best Tutorial link - click to view
https://practice.geeksforgeeks.org/problems/gcd-of-two-numbers3459/1
Best Tutorial link - click to view
https://www.codingninjas.com/studio/problems/print-all-divisors-of-a-number_1164188
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/find-minimum-and-maximum-element-in-an-array4428/1
Best Tutorial link - click to view
https://practice.geeksforgeeks.org/problems/missing-number-in-array1416/1
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/sort-an-array-of-0s-1s-and-2s4231/1?itm_source=geeksforgeeks&itm_medium=Article
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/cyclically-rotate-an-array-by-one2614/1?itm_source=geeksforgeeks&itm_medium=Art
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/key-pair5616/1?itm_source=geeksforgeeks&itm_medium=Article&itm_campaign=bott
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/triplet-sum-in-array-1587115621/1?itm_source=geeksforgeeks&itm_medium=Article&
Best Tutorial link - click to view
Count the triplets | Practice | GeeksforGeeks Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/intersection-of-two-arrays2404/1?itm_source=geeksforgeeks&itm_medium=Article&itm
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/remove-duplicate-elements-from-sorted-array/1?itm_source=geeksforgeeks&itm_med
Best Tutorial link - click to view
Best Tutorial link - click to
https://www.geeksforgeeks.org/problems/k-th-element-of-two-sorted-array1317/1?itm_source=geeksforgeeks&itm_medium=Ar
view
https://www.geeksforgeeks.org/problems/longest-sub-array-with-sum-k0809/1?itm_source=geeksforgeeks&itm_medium=article
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/trapping-rain-water-1587115621/1?itm_source=geeksforgeeks&itm_medium=Article&
Best Tutorial link - click to view
https://practice.geeksforgeeks.org/problems/kadanes-algorithm-1587115620/1
Best Tutorial link - click to view
https://practice.geeksforgeeks.org/problems/inversion-of-array-1587115620/1
Best Tutorial link - click to view
https://practice.geeksforgeeks.org/problems/maximum-product-subarray3604/1
Best Tutorial link - click to view
e sure to learn time and space complexity for all the problems moving forward
https://www.geeksforgeeks.org/problems/rotate-by-90-degree-1587115621/1
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/row-with-minimum-number-of-1s5430/1?itm_source=geeksforgeeks&itm_medium=Ar
Best Tutorial link - click to view
https://practice.geeksforgeeks.org/problems/left-rotate-matrix-k-times2351/1
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/nth-fibonacci-number1335/1?itm_source=geeksforgeeks&itm_medium=Article&itm_ca
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/power-of-numbers-1587115620/1?itm_source=geeksforgeeks&itm_medium=Article&i
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/print-pattern3549/1?page=1&category=Recursion&difficulty=Easy&sortBy=submission
Best Tutorial link - click to view
https://practice.geeksforgeeks.org/problems/implement-atoi/1?utm_source=geeksforgeeks&utm_medium=ml_Article_practice_
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/pascal-triangle0652/1?page=1&category=Recursion&difficulty=Easy&sortBy=submiss
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/who-will-win-1587115621/1?page=1&category=Binary%20Search&sortBy=submissio
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/floor-in-a-sorted-array-1587115620/1
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/first-and-last-occurrences-of-x3116/1?page=1&category=Binary%20Search&sortBy=s
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/square-root/1?itm_source=geeksforgeeks&itm_medium=Article&itm_campaign=botto
Best Tutorial link - click to view
https://www.codingninjas.com/studio/problems/search-in-infinite-sorted-0-1-array_696193
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/minimum-number-in-a-sorted-rotated-array-1587115620/1?page=1&category=Binary%
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/rotation4723/1?itm_source=geeksforgeeks&itm_medium=Article&itm_campaign=botto
Best Tutorial link - click to view
Best Tutorial link - click to
view
https://www.geeksforgeeks.org/problems/peak-element/1?page=1&category=Arrays&difficulty=Medium&status=solved&sortBy=
Best Tutorial link - click to view
https://www.interviewbit.com/problems/search-in-bitonic-array/ Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/binary-matrix-having-maximum-number-of-1s--170647/1?page=2&category=Binary%2
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/search-in-a-matrix-1587115621/1?itm_source=geeksforgeeks&itm_medium=Article&i
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/aggressive-cows/1?page=1&category=Binary%20Search&sortBy=submissions
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/allocate-minimum-number-of-pages0937/1?itm_source=geeksforgeeks&itm_medium=
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/the-painters-partition-problem1535/1?page=1&category=Binary%20Search&sortBy=s
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/split-array-largest-sum--141634/1?page=2&category=Binary%20Search&sortBy=subm
Best Tutorial link - click to view
https://leetcode.com/problems/minimum-number-of-days-to-make-m-bouquets/
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/capacity-to-ship-packages-within-d-days/1?page=2&category=Binary%20Search&sor
Best Tutorial link - click to view
https://leetcode.com/problems/kth-smallest-number-in-multiplication-table/
Best Tutorial link - click to view
Find the Smallest Divisor Given a Threshold - LeetCode Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/bubble-sort/1?itm_source=geeksforgeeks&itm_medium=Article&itm_campaign=bottom
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/selection-sort/1?itm_source=geeksforgeeks&itm_medium=Article&itm_campaign=bot
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/insertion-sort/1?itm_source=geeksforgeeks&itm_medium=Article&itm_campaign=bott
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/merge-sort/1?itm_source=geeksforgeeks&itm_medium=Article&itm_campaign=bottom
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/quick-sort/1?itm_source=geeksforgeeks&itm_medium=Article&itm_campaign=bottom
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/search-in-linked-list-1664434326/1
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/reverse-a-linked-list/1?page=1&category=Linked%20List&sortBy=submissions
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/check-if-linked-list-is-pallindrome/1?page=1&category=Linked%20List&sortBy=submis
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/insert-in-middle-of-linked-list/1?page=2&category=Linked%20List&sortBy=submission
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/intersection-point-in-y-shapped-linked-lists/1?page=1&category=Linked%20List&sortB
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/union-of-two-linked-list/1?itm_source=geeksforgeeks&itm_medium=Article&itm_camp
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/delete-without-head-pointer/1?page=1&category=Linked%20List&sortBy=submission
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/reverse-a-linked-list-in-groups-of-given-size/1?page=1&category=Linked%20List&sor
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/detect-loop-in-linked-list/1?page=1&category=Linked%20List&sortBy=submissions
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/find-length-of-loop/1?page=1&category=Linked%20List&difficulty=Easy&sortBy=subm
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/find-the-first-node-of-loop-in-linked-list--170645/1
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/remove-loop-in-linked-list/1?page=1&category=Linked%20List&sortBy=submissions
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/given-a-linked-list-of-0s-1s-and-2s-sort-it/1?page=1&category=Linked%20List&sortBy
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/pairwise-swap-elements-of-a-linked-list-by-swapping-data/1?page=2&category=Linke
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/merge-two-sorted-linked-lists/1?page=1&category=Linked%20List&sortBy=submissio
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/sort-a-linked-list/1?page=2&category=Linked%20List&sortBy=submissions
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/quick-sort-on-linked-list/1?itm_source=geeksforgeeks&itm_medium=Article&itm_camp
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/remove-duplicate-element-from-sorted-linked-list/1?page=1&category=Linked%20List
Best Tutorial link - click to view
https://practice.geeksforgeeks.org/problems/segregate-even-and-odd-nodes-in-a-linked-list5035/1
Best Tutorial link - click to view
https://practice.geeksforgeeks.org/problems/add-1-to-a-number-represented-as-linked-list/1
Best Tutorial link - click to view
https://practice.geeksforgeeks.org/problems/add-two-numbers-represented-by-linked-lists/1
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/reorder-list/1?page=3&category=Linked%20List&sortBy=submissions
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/flattening-a-linked-list--170645/1?page=4&category=Linked%20List&sortBy=submissi
Best Tutorial link - click to view
https://practice.geeksforgeeks.org/problems/delete-nodes-having-greater-value-on-right/1
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/delete-n-nodes-after-m-nodes-of-a-linked-list/1?page=3&category=Linked%20List&so
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/clone-a-linked-list-with-next-and-random-pointer/1?page=1&category=Linked%20List&
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/length-of-longest-palindrome-in-linked-list/1?page=2&category=Linked%20List&difficu
Best Tutorial link - click to view
Best Tutorial link - click to
view
https://www.geeksforgeeks.org/problems/find-pairs-with-given-sum-in-doubly-linked-list/1?page=1&category=doubly-linked-list&
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/implement-two-stacks-in-an-array/1?page=1&category=Stack&sortBy=submissions
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/parenthesis-checker2744/1?page=1&category=Stack&sortBy=submissions
Best Tutorial link - click to view
Best Tutorial link - click to
https://www.geeksforgeeks.org/problems/get-minimum-element-from-stack/1?page=1&category=Stack&sortBy=submissions
view
https://www.geeksforgeeks.org/problems/next-larger-element-1587115620/1?page=1&category=Stack&sortBy=submissions
Best Tutorial link - click to view
Best Tutorial link - click to
https://leetcode.com/problems/next-greater-element-ii/ view
https://www.geeksforgeeks.org/problems/help-classmates--141631/1?itm_source=geeksforgeeks
Best Tutorial link - click to view
https://www.codingninjas.com/studio/problems/next-smaller-element_1112581
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/stock-span-problem-1587115621/1?page=1&category=Stack&sortBy=submissions
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/trapping-rain-water-1587115621/1?itm_source=geeksforgeeks&itm_medium=Article&
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/maximum-rectangular-area-in-a-histogram-1587115620/1?page=1&category=Stack&
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/max-rectangle/1?page=1&category=Stack&sortBy=submissions
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/infix-to-postfix-1587115620/1?page=2&category=Stack&sortBy=submissions
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/evaluation-of-postfix-expression1735/1?page=2&category=Stack&sortBy=submission
Best Tutorial link - click to view
https://practice.geeksforgeeks.org/problems/infix-to-postfix-1587115620/1
Best Tutorial link - click to view
Best Tutorial link - click to
https://www.codingninjas.com/studio/problems/arithmetic-expression-evaluation_1170517
view
https://www.geeksforgeeks.org/problems/insert-an-element-at-the-bottom-of-a-stack/1?page=4&category=Stack&sortBy=subm
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/reverse-a-stack/1?page=2&category=Stack&sortBy=submissions
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/sort-a-stack/1?page=1&category=Stack&sortBy=submissions
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/the-celebrity-problem/1?page=1&category=Stack&sortBy=submissions
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/restrictive-candy-crush--141631/1?page=2&category=Stack&sortBy=submissions
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/count-the-reversals0401/1?page=1&category=Queue&sortBy=submissions
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/implement-queue-using-array/1?page=1&category=Queue&sortBy=submissions
Best Tutorial link - click to view
Best Tutorial link - click to
https://www.geeksforgeeks.org/problems/implement-queue-using-linked-list/1?page=1&category=Queue&sortBy=submissions
view
https://www.geeksforgeeks.org/problems/queue-using-two-stacks/1?page=1&category=Queue&sortBy=submissions
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/stack-using-two-queues/1?page=1&category=Queue&sortBy=submissions
Best Tutorial link - click to view
Best Tutorial link - click to
https://www.geeksforgeeks.org/problems/queue-reversal/1?page=1&category=Queue&sortBy=submissions
view
https://www.geeksforgeeks.org/problems/circular-tour-1587115620/1?page=1&category=Queue&sortBy=submissions
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/first-non-repeating-character-in-a-stream1216/1?page=1&category=Queue&sortBy=s
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/reverse-first-k-elements-of-queue/1?page=1&category=Queue&sortBy=submissions
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/lru-cache/1?page=1&category=Queue&sortBy=submissions
Best Tutorial link - click to view
Best Tutorial link - click to
https://www.geeksforgeeks.org/problems/minimum-cost-of-ropes-1587115620/1?page=1&category=Queue&sortBy=submission
view
Best Tutorial link - click to
https://www.geeksforgeeks.org/problems/nearly-sorted-1587115620/1?page=3&category=Arrays&difficulty=Medium
view
https://www.geeksforgeeks.org/problems/max-sum-subarray-of-size-k5313/1?itm_source=geeksforgeeks&itm_medium=Article&
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/count-distinct-elements-in-every-window/1?page=1&category=sliding-window&sortBy
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/first-negative-integer-in-every-window-of-size-k3345/1?page=1&category=sliding-wind
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/maximum-of-all-subarrays-of-size-k3101/1?page=1&category=sliding-window&sortBy
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/substrings-of-length-k-with-k-1-distinct-elements/1?page=1&category=sliding-window
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/maximum-of-minimum-for-every-window-size3453/1?page=1&category=sliding-windo
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/subarray-with-given-sum-1587115621/1?page=1&category=sliding-window&sortBy=s
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/longest-sub-array-with-sum-k0809/1?page=1&category=sliding-window&sortBy=subm
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/subarray-with-0-sum-1587115621/1?page=1&category=sliding-window&sortBy=subm
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/smallest-distant-window3132/1?page=1&category=sliding-window&sortBy=submissio
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/smallest-window-containing-0-1-and-2--170637/1?page=2&category=sliding-window&
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/smallest-window-in-a-string-containing-all-the-characters-of-another-string-158711562
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/length-of-the-longest-substring3036/1?page=1&category=sliding-window&sortBy=sub
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/largest-subarray-of-0s-and-1s/1?page=1&category=sliding-window&sortBy=submissio
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/count-occurences-of-anagrams5839/1?page=1&category=sliding-window&sortBy=sub
Best Tutorial link - click to view
https://leetcode.com/problems/longest-repeating-character-replacement
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/inorder-traversal/1?page=2&category=Tree&sortBy=submissions
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/postorder-traversal/1?page=2&category=Tree&sortBy=submissions
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/level-order-traversal/1?page=1&category=Tree&sortBy=submissions
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/boundary-traversal-of-binary-tree/1?page=1&category=Tree&sortBy=submissions
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/print-a-binary-tree-in-vertical-order/1?page=1&category=Tree&sortBy=submissions
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/top-view-of-binary-tree/1?page=1&category=Tree&sortBy=submissions
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/bottom-view-of-binary-tree/1?page=1&category=Tree&sortBy=submissions
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/left-view-of-binary-tree/1?page=1&category=Tree&sortBy=submissions
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/right-view-of-binary-tree/1?page=1&category=Tree&sortBy=submissions
Best Tutorial link - click to view
Best Tutorial link - click to
https://www.geeksforgeeks.org/problems/diagonal-traversal-of-binary-tree/1?page=3&category=Tree&sortBy=submissions
view
https://www.geeksforgeeks.org/problems/height-of-binary-tree/1?page=1&category=Tree&sortBy=submissions
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/diameter-of-binary-tree/1?page=1&category=Tree&sortBy=submissions
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/determine-if-two-trees-are-identical/1?page=1&category=Tree&sortBy=submissions
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/check-if-subtree/1?page=2&category=Tree&sortBy=submissions
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/check-for-balanced-tree/1?page=1&category=Tree&sortBy=submissions
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/lowest-common-ancestor-in-a-binary-tree/1?page=1&category=Tree&sortBy=submiss
Best Tutorial link - click to view
Best Tutorial link - click to
https://www.geeksforgeeks.org/problems/sum-tree/1?page=1&category=Tree&sortBy=submissions
view
https://www.geeksforgeeks.org/problems/symmetric-tree/1?page=2&category=Tree&sortBy=submissions
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/mirror-tree/1?page=1&category=Tree&sortBy=submissions
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/check-if-tree-is-isomorphic/1?page=2&category=Tree&sortBy=submissions
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/root-to-leaf-paths/1?page=4&category=Tree&sortBy=submissions
Best Tutorial link - click to view
Best Tutorial link - click to
https://www.geeksforgeeks.org/problems/root-to-leaf-paths/1?page=4&category=Tree&sortBy=submissions
view
Best Tutorial link - click to
https://www.geeksforgeeks.org/problems/maximum-path-sum-from-any-node/1?page=3&category=Tree&sortBy=submissions
view
https://www.geeksforgeeks.org/problems/k-sum-paths/1?page=3&category=Tree&sortBy=submissions
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/nodes-at-given-distance-in-binary-tree/1?page=3&category=Tree&sortBy=submission
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/min-distance-between-two-given-nodes-of-a-binary-tree/1?page=2&category=Tree&s
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/maximum-difference-between-node-and-its-ancestor/1?page=3&category=Tree&sortB
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/burning-tree/1?page=4&category=Tree&sortBy=submissions
Best Tutorial link - click to view
https://practice.geeksforgeeks.org/problems/search-a-node-in-bst/1
Best Tutorial link - click to view
Best Tutorial link - click to
https://www.geeksforgeeks.org/problems/max-and-min-element-in-binary-tree/1?page=5&category=Tree&sortBy=submissions
view
https://www.geeksforgeeks.org/problems/kth-largest-element-in-bst/1?page=2&category=Tree&sortBy=submissions
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/check-for-bst/1?page=1&category=Tree&sortBy=submissions
Best Tutorial link - click to view
Best Tutorial link - click to
https://www.geeksforgeeks.org/problems/find-the-closest-element-in-bst/1?page=3&category=Tree&sortBy=submissions
view
https://www.geeksforgeeks.org/problems/count-bst-nodes-that-lie-in-a-given-range/1?page=3&category=Tree&sortBy=submiss
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/largest-bst/1?page=2&category=Tree&sortBy=submissions
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/lowest-common-ancestor-in-a-bst/1?page=1&category=Tree&sortBy=submissions
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/merge-two-bst-s/1?page=4&category=Tree&sortBy=submissions
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/predecessor-and-successor/1?page=2&category=Tree&sortBy=submissions
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/bst-to-greater-sum-tree/1?page=8&category=Tree&sortBy=submissions
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/construct-tree-1/1?page=1&category=Tree&sortBy=submissions
Best Tutorial link - click to view
https://leetcode.com/problems/construct-binary-tree-from-inorder-and-postorder-traversal/
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/construct-tree-from-preorder-traversal/1?page=7&category=Tree&sortBy=submission
Best Tutorial link - click to view
Best Tutorial link - click to
https://www.geeksforgeeks.org/problems/construct-binary-tree-from-parent-array/1?page=5&category=Tree&sortBy=submissio
view
https://www.geeksforgeeks.org/problems/serialize-and-deserialize-a-binary-tree/1?page=4&category=Tree&sortBy=submission
Best Tutorial link - click to view
Best Tutorial link - click to
https://www.geeksforgeeks.org/problems/largest-subtree-sum-in-a-tree/1?page=6&category=Tree&sortBy=submissions
view
https://www.geeksforgeeks.org/problems/maximum-sum-of-non-adjacent-nodes/1?page=3&category=Tree&sortBy=submission
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/duplicate-subtrees/1?page=4&category=Tree&sortBy=submissions
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/flatten-binary-tree-to-linked-list/1?page=5&category=Tree&sortBy=submissions
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/permutations-of-a-given-string2041/1?page=1&category=Backtracking&sortBy=subm
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/combination-sum-1587115620/1?page=1&category=Backtracking&sortBy=submissio
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/rat-in-a-maze-problem/1?page=1&category=Backtracking&sortBy=submissions
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/possible-words-from-phone-digits-1587115620/1?page=1&category=Backtracking&so
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/subsets-1613027340/1?page=1&category=Backtracking&sortBy=submissions
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/subsets-1587115621/1?page=1&category=Backtracking&sortBy=submissions
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/n-queen-problem0315/1?page=1&category=Backtracking&sortBy=submissions
Best Tutorial link - click to view
https://leetcode.com/problems/n-queens-ii
https://www.geeksforgeeks.org/problems/permutation-with-spaces3627/1?page=1&category=Backtracking&sortBy=submission
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/generate-all-possible-parentheses/1?page=1&category=Backtracking&sortBy=submis
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/generate-ip-addresses/1?page=1&category=Backtracking&sortBy=submissions
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/solve-the-sudoku-1587115621/1?page=1&category=Backtracking&sortBy=submissio
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/find-kth-permutation/1?page=2&category=Backtracking&sortBy=submissions
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/word-search/1?page=3&category=Graph&sortBy=submissions
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/find-all-possible-palindromic-partitions-of-a-string/1?page=2&category=Backtracking&
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/decode-the-string2444/1?page=1&category=Backtracking&sortBy=submissions
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/sum-string3151/1?page=1&category=Backtracking&sortBy=submissions
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/word-boggle4143/1?page=1&category=Backtracking&sortBy=submissions
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/largest-number-in-k-swaps-1587115620/1?page=1&category=Backtracking&sortBy=s
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/partition-array-to-k-subsets/1?page=1&category=Backtracking&sortBy=submissions
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/bfs-traversal-of-graph/1?page=1&category=Graph&sortBy=submissions
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/depth-first-traversal-for-a-graph/1?page=1&category=Graph&sortBy=submissions
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/detect-cycle-in-a-directed-graph/1?page=1&category=Graph&sortBy=submissions
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/detect-cycle-in-an-undirected-graph/1?page=1&category=Graph&sortBy=submissions
Best Tutorial link - click to view
Best Tutorial link - click to
https://www.geeksforgeeks.org/problems/negative-weight-cycle3504/1?page=2&category=Graph&sortBy=submissions
view
https://practice.geeksforgeeks.org/problems/strongly-connected-component-tarjanss-algo-1587115621/1
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/number-of-provinces/1?page=2&category=Graph&sortBy=submissions
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/find-the-number-of-islands/1?page=1&category=Graph&sortBy=submissions
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/number-of-distinct-islands/1?page=2&category=Graph&sortBy=submissions
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/find-number-of-closed-islands/1?page=3&category=Graph&sortBy=submissions
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/bipartite-graph/1?page=1&category=Graph&sortBy=submissions
Best Tutorial link - click to view
https://practice.geeksforgeeks.org/problems/m-coloring-problem-1587115620/1
Best Tutorial link - click to view
https://www.codingninjas.com/studio/problems/shortest-path-in-an-unweighted-graph_981297
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/shortest-path-in-undirected-graph/1?page=1&category=Graph&sortBy=submissions
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/implementing-dijkstra-set-1-adjacency-matrix/1?page=1&category=Graph&sortBy=su
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/steps-by-knight5927/1?page=1&category=Graph&sortBy=submissions
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/find-whether-path-exist5238/1?page=2&category=Graph&sortBy=submissions
Best Tutorial link - click to view
Best Tutorial link - click to
https://www.geeksforgeeks.org/problems/covid-spread--141631/1?page=4&category=Graph&sortBy=submissions
view
https://www.geeksforgeeks.org/problems/minimum-cost-path3833/1?page=2&category=Graph&sortBy=submissions
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/word-ladder/1?page=3&category=Graph&sortBy=submissions
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/word-ladder-ii/1?page=3&category=Graph&sortBy=submissions
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/implementing-floyd-warshall2042/1?page=1&category=Graph&sortBy=submissions
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/distance-from-the-source-bellman-ford-algorithm/1?page=2&category=Graph&sortBy=
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/flood-fill-algorithm1856/1?page=1&category=Graph&sortBy=submissions
Best Tutorial link - click to view
Best Tutorial link - click to
https://www.geeksforgeeks.org/problems/replace-os-with-xs0052/1?page=1&category=Graph&sortBy=submissions
view
https://www.geeksforgeeks.org/problems/rotten-oranges2536/1?page=1&category=Graph&sortBy=submissions
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/topological-sort/1?page=1&category=Graph&sortBy=submissions
Best Tutorial link - click to view
Best Tutorial link - click to
https://www.geeksforgeeks.org/problems/prerequisite-tasks/1?page=2&category=Graph&sortBy=submissions
view
https://www.geeksforgeeks.org/problems/course-schedule/1?page=3&category=Graph&sortBy=submissions
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/eventual-safe-states/1?page=2&category=Graph&sortBy=submissions
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/alien-dictionary/1?page=1&category=Graph&sortBy=submissions
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/minimum-spanning-tree/1?page=1&category=Graph&sortBy=submissions
Best Tutorial link - click to view
https://www.codingninjas.com/studio/problems/code-kruskal-s-algorithm_6320
Best Tutorial link - click to view
Best Tutorial link - click to
https://leetcode.com/problems/connecting-cities-with-minimum-cost view
Best Tutorial link - click to
https://leetcode.com/problems/min-cost-to-connect-all-points/ view
https://leetcode.com/problems/number-of-operations-to-make-network-connected/
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/minimum-swaps/1?page=1&category=Graph&sortBy=submissions
Best Tutorial link - click to view
Best Tutorial link - click to
https://www.geeksforgeeks.org/problems/santa-banta2814/1?page=3&category=Graph&sortBy=submissions
view
Best Tutorial link - click to
https://www.geeksforgeeks.org/problems/number-of-pairs-1645358985/1?page=5&category=Graph&sortBy=submissions
view
https://www.geeksforgeeks.org/problems/bridge-edge-in-graph/1?page=3&category=Graph&sortBy=submissions
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/articulation-point-1/1?page=3&category=Graph&sortBy=submissions
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/critical-connections/1?page=5&category=Graph&sortBy=submissions
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/strongly-connected-components-kosarajus-algo/1?page=2&category=Graph&sortBy=
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/word-boggle4143/1?page=2&category=Graph&sortBy=submissions
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/word-boggle-ii--141631/1?page=5&category=Graph&sortBy=submissions
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/minimum-number-of-jumps-1587115620/1?page=1&category=Greedy&sortBy=submi
Best Tutorial link - click to view
Best Tutorial link - click to
https://www.geeksforgeeks.org/problems/find-optimum-operation4504/1?page=1&category=Greedy&sortBy=submissions
view
Best Tutorial link - click to
https://www.geeksforgeeks.org/problems/minimize-the-sum-of-product1525/1?page=1&category=Greedy&sortBy=submissions
view
Best Tutorial link - click to
https://www.geeksforgeeks.org/problems/largest-number-possible5028/1?page=1&category=Greedy&sortBy=submissions
view
Best Tutorial link - click to
https://www.geeksforgeeks.org/problems/lemonade-change/1?page=2&category=Greedy&sortBy=submissions
view
https://www.geeksforgeeks.org/problems/activity-selection-1587115620/1?page=1&category=Greedy&sortBy=submissions
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/n-meetings-in-one-room-1587115620/1?page=1&category=Greedy&sortBy=submissi
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/minimum-platforms-1587115620/1?page=1&category=Greedy&sortBy=submissions
Best Tutorial link - click to view
Best Tutorial link - click to
https://www.geeksforgeeks.org/problems/minimize-the-heights-i/1?page=2&category=Greedy&sortBy=submissions
view
https://www.geeksforgeeks.org/problems/-minimum-number-of-coins4426/1?page=1&category=Greedy&sortBy=submissions
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/job-sequencing-problem-1587115620/1?page=1&category=Greedy&sortBy=submissi
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/fractional-knapsack-1587115620/1?page=1&category=Greedy&sortBy=submissions
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/jump-game/1?page=2&category=Greedy&sortBy=submissions
Best Tutorial link - click to view
https://practice.geeksforgeeks.org/problems/minimum-cost-of-ropes-1587115620/1
Best Tutorial link - click to view
Best Tutorial link - click to
https://leetcode.com/problems/partition-labels/ view
Best Tutorial link - click to
https://leetcode.com/problems/cinema-seat-allocation/ view
Best Tutorial link - click to
https://www.geeksforgeeks.org/problems/max-length-chain/1?page=1&category=Greedy&sortBy=submissions
view
https://leetcode.com/problems/minimum-add-to-make-parentheses-valid/
Best Tutorial link - click to view
Best Tutorial link - click to
https://practice.geeksforgeeks.org/problems/shortest-job-first/1 view
https://practice.geeksforgeeks.org/problems/lru-cache/1?utm_source=youtube&utm_medium=collab_fraz_websitelink&utm_ca
Best Tutorial link - click to view
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/count-ways-to-reach-the-nth-stair-1587115620/1?page=2&category=Dynamic%20Pro
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/count-ways-to-nth-stairorder-does-not-matter5639/1?page=4&category=Dynamic%20
Best Tutorial link - click to view
https://leetcode.com/problems/house-robber/
https://www.geeksforgeeks.org/problems/count-the-paths4332/1?page=5&category=Dynamic%20Programming&sortBy=submi
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/number-of-paths-in-a-matrix-with-k-coins2728/1?page=7&category=Dynamic%20Prog
Best Tutorial link - click to view
https://leetcode.com/problems/minimum-falling-path-sum Best Tutorial link - click to view
https://leetcode.com/problems/minimum-falling-path-sum-ii Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/subset-sum-problem-1611555638/1?page=1&category=Dynamic%20Programming&s
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/perfect-sum-problem5633/1?page=1&category=Dynamic%20Programming&sortBy=s
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/subset-sum-problem2014/1?page=1&category=Dynamic%20Programming&sortBy=s
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/minimum-sum-partition3317/1?page=2&category=Dynamic%20Programming&sortBy
Best Tutorial link - click to view
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/0-1-knapsack-problem0945/1?page=1&category=Dynamic%20Programming&sortBy=
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/max-sum-without-adjacents2430/1?page=3&category=Dynamic%20Programming&so
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/coin-change2448/1?page=1&category=Dynamic%20Programming&sortBy=submissio
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/number-of-coins1824/1?page=2&category=Dynamic%20Programming&sortBy=subm
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/rod-cutting0840/1?page=2&category=Dynamic%20Programming&status=solved&sort
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/knapsack-with-duplicate-items4201/1?page=2&category=Dynamic%20Programming&
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/longest-bitonic-subsequence0824/1?page=4&category=Dynamic%20Programming&s
Best Tutorial link - click to view
https://leetcode.com/problems/number-of-longest-increasing-subsequence/
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/longest-common-subsequence-1587115620/1?page=1&category=Dynamic%20Progr
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/print-all-lcs-sequences3413/1?page=7&category=Dynamic%20Programming&sortBy=
Best Tutorial link - click to view
https://leetcode.com/problems/minimum-insertion-steps-to-make-a-string-palindrome
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/minimum-number-of-deletions-and-insertions0209/1?page=4&category=Dynamic%20
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/shortest-common-supersequence0322/1?page=2&category=Dynamic%20Programmi
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/longest-common-substring1452/1?page=1&category=Dynamic%20Programming&sor
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/longest-palindrome-in-a-string3411/1?page=1&category=Dynamic%20Programming&
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/longest-repeating-subsequence2004/1?page=2&category=Dynamic%20Programming
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/edit-distance3702/1?page=1&category=Dynamic%20Programming&sortBy=submissio
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/distinct-occurrences/1?page=3&category=Dynamic%20Programming&status=solved&
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/wildcard-pattern-matching/1?page=4&category=Dynamic%20Programming&sortBy=s
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/longest-valid-parentheses5657/1?page=3&category=Dynamic%20Programming&sort
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/word-break1352/1?page=3&category=Dynamic%20Programming&sortBy=submission
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/word-break-part-23249/1?page=5&category=Dynamic%20Programming&sortBy=subm
https://www.geeksforgeeks.org/problems/word-wrap1646/1?page=4&category=Dynamic%20Programming&sortBy=submission
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/interleaved-strings/1?page=3&category=Dynamic%20Programming&sortBy=submiss
Best Tutorial link - click to view
https://leetcode.com/problems/best-time-to-buy-and-sell-stock-with-transaction-fee/
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/matrix-chain-multiplication0303/1?page=2&category=Dynamic%20Programming&sort
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/burst-balloons/1?page=8&category=Dynamic%20Programming&sortBy=submissions
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/boolean-parenthesization5610/1?page=3&category=Dynamic%20Programming&sortB
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/palindromic-patitioning4845/1?page=2&category=Dynamic%20Programming&sortBy=
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/max-rectangle/1?page=3&category=Dynamic%20Programming&sortBy=submissions
Best Tutorial link - click to view
Min Heap Implementation - Coding Ninjas Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/convert-min-heap-to-max-heap-1666385109/1
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/k-largest-elements4206/1?page=1&category=Heap&sortBy=submissions
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/kth-largest-element-in-a-stream2220/1?page=1&category=Heap&sortBy=submissions
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/find-median-in-a-stream-1587115620/1?page=1&category=Heap&sortBy=submission
Best Tutorial link - click to view
https://practice.geeksforgeeks.org/problems/minimum-cost-of-ropes-1587115620/1
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/word-break-trie--141631/1?itm_source=geeksforgeeks&itm_medium=Article&itm_cam
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/maximum-xor-of-two-numbers-in-an-array/1?itm_source=geeksforgeeks&itm_medium
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/unique-rows-in-boolean-matrix/1?itm_source=geeksforgeeks&itm_medium=Article&itm
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/prefix-match-with-other-strings/1
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/implement-atoi/1 Best Tutorial link - click to view
Best Tutorial link - click to
https://leetcode.com/problems/count-and-say/ view
https://www.geeksforgeeks.org/problems/count-the-reversals0401/1?itm_source=geeksforgeeks&itm_medium=Article&itm_cam
Best Tutorial link - click to view
https://practice.geeksforgeeks.org/problems/search-pattern-rabin-karp-algorithm--141631/1
Best Tutorial link - click to view
Best Tutorial link - click to
https://www.codingninjas.com/studio/problems/boyer-moore-algorithm-for-pattern-searching_1115634
view
https://practice.geeksforgeeks.org/problems/search-pattern-z-algorithm--141631/1
Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/roman-number-to-integer3201/1?itm_source=geeksforgeeks&itm_medium=Article&itm
Best Tutorial link - click to view
robs, so do check that out if you have good amount of time still left
tions-Beginner-Intermediate
r-answering-few-tricky-behavioural-interview-questions
t-and-Useful-links-from-all-over-the-LeetCode
gb
rn and then try solving other probs in that pattern yourself.
Notes