Curious Freaks Coding Sheet
Curious Freaks Coding Sheet
Checkout this video to understand efficient way to use this sheet - https://youtu.be/ALpP5ZFokjQ
Youtube Channel - https://www.youtube.com/@curiousfreaks_
Lets use #CFCodingSheet tag to share with friends on social media - https://www.instagram.com/its_me_nandyy
Connect with me on LinkedIn - https://www.linkedin.com/in/nandhini-raja-8b71b4143/
Only sheet you need to get placed in super high paying companies including google, amazon, salesforce, microsoft, adobe, etc
Solving time - Easy Problems - 5 to 10mins
Solving time - Medium Problems - 15 to 20mins
Solving time - Hard problems - At max 45mins - 50mins
Imp Note: Its not necessary that you know a topic, so for every topic you have here, first understand the basics of the topic, then for every pattern, you can learn the first prob in that pattern and then try solving other probs in that pattern yourself.
TOPIC Problem Problem link Solution Tutorial Solution Article Solved Notes
Basics
Beginners basic math probs
Find even or odd https://practice.geeksforgeeks.org/problems/odd-or-even3618/1 Best Tutorial link - click to view Article link-click to view
https://www.geeksforgeeks.org/problems/find-last-digit-of-ab-for-large-
Find last digit in a number numbers1936/1 Best Tutorial link - click to view Article link-click to view
Count digits in a number(Solving above last digit prob wil make this easy for you) https://practice.geeksforgeeks.org/problems/count-digits5716/1 Best Tutorial link - click to view Article link-click to view
Reverse a number(Try thinking how you can use above logic in solving this) https://www.geeksforgeeks.org/problems/reverse-digit0316/1 Best Tutorial link - click to view Article link-click to view
Find power of a number https://www.geeksforgeeks.org/problems/power-of-numbers-1587115620/1 Best Tutorial link - click to view Article link-click to view
GCD https://practice.geeksforgeeks.org/problems/gcd-of-two-numbers3459/1 Best Tutorial link - click to view Article link-click to view
https://www.codingninjas.com/studio/problems/print-all-divisors-of-a-
Print all divisors of a number number_1164188 Best Tutorial link - click to view Article link-click to view
Prime number(Try solving by yourself) https://practice.geeksforgeeks.org/problems/prime-number2314/1 Best Tutorial link - click to view Article link-click to view
Armstrong number(Solving power of number, will make this easy for you) https://www.geeksforgeeks.org/problems/armstrong-numbers2727/1 Best Tutorial link - click to view Article link-click to view
Check palindrome of number(Use the techniques you learnt so far solving above probs and solve
this by yourself) https://practice.geeksforgeeks.org/problems/palindrome0746/1 Best Tutorial link - click to view Article link-click to view
Square root of a number(Try to first figure out algo to solve this) https://www.geeksforgeeks.org/problems/square-root/1 Best Tutorial link - click to view Article link-click to view
Perfect number https://practice.geeksforgeeks.org/problems/perfect-numbers3207/1 Best Tutorial link - click to view Article link-click to view
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
Array - Data structure note down and understand how it is represented
Basics with traversal
What is an array? How is it represented? Best Tutorial link - click to view Article link-click to view
Find the maximum and minimum element in array(After solving the search , you can solve all probs https://www.geeksforgeeks.org/problems/find-minimum-and-maximum-
in this basics by yourself) element-in-an-array4428/1 Best Tutorial link - click to view Article link-click to view
Find third largest element in array https://practice.geeksforgeeks.org/problems/third-largest-element/1 Best Tutorial link - click to view Article link-click to view
Search an element in array(Understand how to traverse through the array and how to access the https://www.geeksforgeeks.org/problems/search-an-element-in-an-array-
elements) 1587115621/1 Best Tutorial link - click to view Article link-click to view
Find missing number in array https://practice.geeksforgeeks.org/problems/missing-number-in-array1416/1 Best Tutorial link - click to view Article link-click to view
Find repeating number in array Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/sort-an-array-of-0s-1s-and-
2s4231/1?
Sort an array of 0s , 1s and 2s (You dont need to know any sorting algo, just using basics, once itm_source=geeksforgeeks&itm_medium=Article&itm_campaign=bottom_sti
solved, definitely learn the optimal algo) cky_on_Article Best Tutorial link - click to view Article link-click to view
https://www.geeksforgeeks.org/problems/check-if-two-arrays-are-equal-or-
not3847/1?
itm_source=geeksforgeeks&itm_medium=Article&itm_campaign=bottom_sti
Check if two arrays are equal or not cky_on_Article Best Tutorial link - click to view Article link-click to view
https://www.geeksforgeeks.org/problems/cyclically-rotate-an-array-by-
one2614/1?
itm_source=geeksforgeeks&itm_medium=Article&itm_campaign=bottom_sti
Rotate the array by 1 cky_on_Article Best Tutorial link - click to view Article link-click to view
Rotate the array by k https://www.codingninjas.com/studio/problems/rotate-array_1230543 Best Tutorial link - click to view Article link-click to view
https://www.geeksforgeeks.org/problems/array-subset-of-another-
Array subset of another array array2317/1 Best Tutorial link - click to view Article link-click to view
Learn what is map and how its represented before moving forward Best Tutorial link - click to view Article link-click to view
https://practice.geeksforgeeks.org/problems/frequency-of-array-elements-
Count frequency of elements in array(Solve efficiently, try applying what you learnt about map) 1587115620/1 Best Tutorial link - click to view Article link-click to view
Two pointer(This is very imp pattern,
not just for these probs but very
commonly you can use this technique) Just like search, sort, this is also imp technique to learn
https://www.geeksforgeeks.org/problems/key-pair5616/1?
itm_source=geeksforgeeks&itm_medium=Article&itm_campaign=bottom_sti
Find pair with given sum cky_on_Article Best Tutorial link - click to view Article link-click to view
https://www.geeksforgeeks.org/problems/triplet-sum-in-array-
1587115621/1?
itm_source=geeksforgeeks&itm_medium=Article&itm_campaign=bottom_sti
3 Sum cky_on_Article Best Tutorial link - click to view Article link-click to view
4 Sum https://leetcode.com/problems/4sum/ Best Tutorial link - click to view Article link-click to view
Find triplets with zero sum https://www.geeksforgeeks.org/problems/find-triplets-with-zero-sum/1 Best Tutorial link - click to view Article link-click to view
Find count of triplets Count the triplets | Practice | GeeksforGeeks Best Tutorial link - click to view Article link-click to view
Union of two arrays(Learn the brute force & optimal soln, you will learn about set datastructure,
which will be super useful in many probs in brute force) https://www.geeksforgeeks.org/problems/union-of-two-arrays3538/1 Best Tutorial link - click to view Article link-click to view
https://www.geeksforgeeks.org/problems/intersection-of-two-arrays2404/1?
itm_source=geeksforgeeks&itm_medium=Article&itm_campaign=bottom_sti
Intersection of two arrays cky_on_Article Best Tutorial link - click to view Article link-click to view
https://www.geeksforgeeks.org/problems/remove-duplicate-elements-from-
sorted-array/1?
Remove duplicates from array(Quite diff from above, try to solve on own, this actually shows that itm_source=geeksforgeeks&itm_medium=Article&itm_campaign=bottom_sti
not always you will have pointers at start and end) cky_on_Article Best Tutorial link - click to view Article link-click to view
https://www.geeksforgeeks.org/problems/k-th-element-of-two-sorted-
array1317/1?
itm_source=geeksforgeeks&itm_medium=Article&itm_campaign=bottom_sti
kth element of 2 sorted arrays cky_on_Article Best Tutorial link - click to view Article link-click to view
https://www.geeksforgeeks.org/problems/longest-sub-array-with-sum-
k0809/1?
itm_source=geeksforgeeks&itm_medium=article&itm_campaign=bottom_sti
Length of longest subarray with sum k cky_on_article Best Tutorial link - click to view Article link-click to view
https://www.geeksforgeeks.org/problems/trapping-rain-water-
1587115621/1?
itm_source=geeksforgeeks&itm_medium=Article&itm_campaign=bottom_sti
Trapping rain water cky_on_Article Best Tutorial link - click to view Article link-click to view
Must Solve
Majority element https://leetcode.com/problems/majority-element/ Best Tutorial link - click to view Article link-click to view
https://practice.geeksforgeeks.org/problems/kadanes-algorithm-
Kadane's algo(super imp) 1587115620/1 Best Tutorial link - click to view Article link-click to view
https://practice.geeksforgeeks.org/problems/inversion-of-array-
Count inversions 1587115620/1 Best Tutorial link - click to view Article link-click to view
Merge intervals https://leetcode.com/problems/merge-intervals/ Best Tutorial link - click to view Article link-click to view
https://practice.geeksforgeeks.org/problems/maximum-product-
Maximum product subarray subarray3604/1 Best Tutorial link - click to view Article link-click to view
Next permutation https://leetcode.com/problems/next-permutation/ Best Tutorial link - click to view Article link-click to view
Seive of eranthoses(Popular algo for prime numbers) https://www.geeksforgeeks.org/problems/sieve-of-eratosthenes5242/1 Best Tutorial link - click to view Article link-click to view
Time and space complexity https://youtu.be/FPu9Uld7W-E?si=s_d6cjdb6UtlVg16 - After learning this, make sure to learn time and space complexity for all the problems moving forward
Once you learn this, in many advanced topics like graphs, DP, backtracking, this is super imp. This
Matrix - Data structure section is to learn 2D array and to get grip on basics
Traversal & Basic & Must solve
What is a 2D Array? How to access element? Best Tutorial link - click to view Article link-click to view
Search in a matrix https://leetcode.com/problems/search-a-2d-matrix/ Best Tutorial link - click to view Article link-click to view
Rotate by 90 degree https://www.geeksforgeeks.org/problems/rotate-by-90-degree-1587115621/1 Best Tutorial link - click to view Article link-click to view
https://www.geeksforgeeks.org/problems/row-with-minimum-number-of-
1s5430/1?
itm_source=geeksforgeeks&itm_medium=Article&itm_campaign=bottom_sti
Maximum num of 1's row cky_on_Article Best Tutorial link - click to view Article link-click to view
Left rotate matrix k times https://practice.geeksforgeeks.org/problems/left-rotate-matrix-k-times2351/1 Best Tutorial link - click to view Article link-click to view
https://www.geeksforgeeks.org/problems/print-matrix-in-diagonal-pattern/1?
itm_source=geeksforgeeks&itm_medium=Article&itm_campaign=bottom_sti
Print matrix in diagonal pattern cky_on_Article Best Tutorial link - click to view Article link-click to view
Set matrix zeros https://leetcode.com/problems/set-matrix-zeroes/ Best Tutorial link - click to view Article link-click to view
Recursion is super important concept!! Lets first understand the basics of recursion in this section
Recursion - Technique before moving forward
Understand what recursion is and how it works(Draw the recursive tree for every recursive prob
Basics you solve) Best Tutorial link - click to view Article link-click to view
https://www.geeksforgeeks.org/problems/print-1-to-n-without-using-loops-
Print 1 to N using recursion 1587115620/1 Best Tutorial link - click to view Article link-click to view
Factorial of N numbers https://practice.geeksforgeeks.org/problems/factorial5739/1 Best Tutorial link - click to view Article link-click to view
https://www.geeksforgeeks.org/problems/nth-fibonacci-number1335/1?
itm_source=geeksforgeeks&itm_medium=Article&itm_campaign=bottom_sti
Fibonacci series using recursion cky_on_Article Best Tutorial link - click to view Article link-click to view
https://www.geeksforgeeks.org/problems/power-of-numbers-1587115620/1?
itm_source=geeksforgeeks&itm_medium=Article&itm_campaign=bottom_sti
Power(x,n) Draw the recursion tree for all the probs for sure cky_on_Article Best Tutorial link - click to view Article link-click to view
https://www.geeksforgeeks.org/problems/print-pattern3549/1?
Print pattern page=1&category=Recursion&difficulty=Easy&sortBy=submissions Best Tutorial link - click to view Article link -click to view
https://practice.geeksforgeeks.org/problems/implement-atoi/1?
utm_source=geeksforgeeks&utm_medium=ml_Article_practice_tab&utm_ca
Recursive implementation of atoi mpaign=Article_practice_tab Best Tutorial link - click to view Article link -click to view
https://www.geeksforgeeks.org/problems/pascal-triangle0652/1?
Pascal triangle page=1&category=Recursion&difficulty=Easy&sortBy=submissions Best Tutorial link - click to view Article link -click to view
Binary Search - Algo
Basic pattern
https://www.geeksforgeeks.org/problems/who-will-win-1587115621/1?
Search in a sorted array(Efficiently -> So learn binary search for this) page=1&category=Binary%20Search&sortBy=submissions Best Tutorial link - click to view Article link-click to view
https://www.geeksforgeeks.org/problems/floor-in-a-sorted-array-
Find floor and ceil in sorted array 1587115620/1 Best Tutorial link - click to view Article link-click to view
https://www.geeksforgeeks.org/problems/first-and-last-occurrences-of-
Find first and last occurence of element in sorted array x3116/1?page=1&category=Binary%20Search&sortBy=submissions Best Tutorial link - click to view Article link-click to view
Find missing num from 1 to N https://leetcode.com/problems/missing-number/ Best Tutorial link - click to view Article link-click to view
https://www.geeksforgeeks.org/problems/square-root/1?
itm_source=geeksforgeeks&itm_medium=Article&itm_campaign=bottom_sti
Find square root cky_on_Article Best Tutorial link - click to view Article link-click to view
https://www.codingninjas.com/studio/problems/search-in-infinite-sorted-0-1-
Search for element in infinite array array_696193 Best Tutorial link - click to view Article link-click to view
Sorted rotated array
Search element in sorted rotated array(With and without duplicate) https://leetcode.com/problems/search-in-rotated-sorted-array-ii/ Best Tutorial link - click to view Article link click to view
https://www.geeksforgeeks.org/problems/minimum-number-in-a-sorted-
Minimum element in sorted rotated array(With and without duplicate)A twist in normal BS is rotated-array-1587115620/1?page=1&category=Binary%
needed, once you learnt this, solve the below by yourself,even try to solve this also by yourself 20Search&sortBy=submissions Best Tutorial link - click to view Article link click to view
https://www.geeksforgeeks.org/problems/rotation4723/1?
itm_source=geeksforgeeks&itm_medium=Article&itm_campaign=bottom_sti
Number of times array is sorted cky_on_Article Best Tutorial link - click to view Article link click to view
Maximum element in sorted rotated array Best Tutorial link - click to view Article link click to view
Biotonic array
https://www.geeksforgeeks.org/problems/peak-element/1?
page=1&category=Arrays&difficulty=Medium&status=solved&sortBy=submis
Find the peak element sions Best Tutorial link - click to view Article link click to view
Search element in biotonic array https://www.interviewbit.com/problems/search-in-bitonic-array/ Best Tutorial link - click to view Article link click to view
Matrix
https://www.geeksforgeeks.org/problems/binary-matrix-having-maximum-
number-of-1s--170647/1?page=2&category=Binary%
Find row with maximum number of 1's 20Search&sortBy=submissions Best Tutorial link - click to view Article link-click to view
https://www.geeksforgeeks.org/problems/search-in-a-matrix-1587115621/1?
itm_source=geeksforgeeks&itm_medium=Article&itm_campaign=bottom_sti
Search in row wise column wise sorted matrix cky_on_Article Best Tutorial link - click to view Article link-click to view
Search in sorted matrix II https://leetcode.com/problems/search-a-2d-matrix-ii/ Best Tutorial link - click to view Article link-click to view
Find peak in sorted matrix https://leetcode.com/problems/find-a-peak-element-ii/ Best Tutorial link - click to view Article link-click to view
Application(Super imp) Article link-click to view
https://www.geeksforgeeks.org/problems/aggressive-cows/1?
Aggressive cows page=1&category=Binary%20Search&sortBy=submissions Best Tutorial link - click to view Article link-click to view
https://www.geeksforgeeks.org/problems/allocate-minimum-number-of-
pages0937/1?
itm_source=geeksforgeeks&itm_medium=Article&itm_campaign=bottom_sti
Allocate minimum pages cky_on_Article Best Tutorial link - click to view Article link-click to view
https://www.geeksforgeeks.org/problems/the-painters-partition-
Painter partition problem1535/1?page=1&category=Binary%20Search&sortBy=submissions Best Tutorial link - click to view Article link-click to view
https://www.geeksforgeeks.org/problems/split-array-largest-sum--141634/1?
Split array largest sum page=2&category=Binary%20Search&sortBy=submissions Best Tutorial link - click to view Article link-click to view
https://leetcode.com/problems/minimum-number-of-days-to-make-m-
Minimum num of days to make m bouquets bouquets/ Best Tutorial link - click to view Article link-click to view
https://www.geeksforgeeks.org/problems/capacity-to-ship-packages-within-
Capacity to ship packages within D days d-days/1?page=2&category=Binary%20Search&sortBy=submissions Best Tutorial link - click to view Article link-click to view
koko eating bananas https://leetcode.com/problems/koko-eating-bananas/ Best Tutorial link - click to view Article link-click to view
kth smallest number in matrix multiplication table https://leetcode.com/problems/kth-smallest-number-in-multiplication-table/ Best Tutorial link - click to view Article link-click to view
kth smallest pair distance https://leetcode.com/problems/find-k-th-smallest-pair-distance/ Best Tutorial link - click to view Article link-click to view
Ugly number II https://leetcode.com/problems/ugly-number-ii/ Best Tutorial link - click to view Article link-click to view
Median of 2 sorted arrays Median of 2 Sorted Arrays of Different Sizes | Practice | GeeksforGeeks Best Tutorial link - click to view Article link-click to view
Find smallest divisor given threshold Find the Smallest Divisor Given a Threshold - LeetCode Best Tutorial link - click to view Article link-click to view
Sorting - Algo Make sure to completely understand the algo thoroughly, and time & space complexity
https://www.geeksforgeeks.org/problems/bubble-sort/1?
itm_source=geeksforgeeks&itm_medium=Article&itm_campaign=bottom_sti
Basics Bubble sort(very basic sorting technique) cky_on_Article Best Tutorial link - click to view Article link-click to view
https://www.geeksforgeeks.org/problems/selection-sort/1?
itm_source=geeksforgeeks&itm_medium=Article&itm_campaign=bottom_sti
Selection sort cky_on_Article Best Tutorial link - click to view Article link-click to view
https://www.geeksforgeeks.org/problems/insertion-sort/1?
itm_source=geeksforgeeks&itm_medium=Article&itm_campaign=bottom_sti
Insertion sort cky_on_Article Best Tutorial link - click to view Article link-click to view
https://www.geeksforgeeks.org/problems/merge-sort/1?
itm_source=geeksforgeeks&itm_medium=Article&itm_campaign=bottom_sti
Merge sort cky_on_Article Best Tutorial link - click to view Article link-click to view
https://www.geeksforgeeks.org/problems/quick-sort/1?
itm_source=geeksforgeeks&itm_medium=Article&itm_campaign=bottom_sti
Quick sort cky_on_Article Best Tutorial link - click to view Article link-click to view
LinkedList - Data structure
Basic patterns Completely understand how Node in linkedList is represented and then go ahead with the patterns Best Tutorial link - click to view Article link-click to view
Create, Insert, Delete Operations in LL Best Tutorial link - click to view Article link-click to view
Search for an element in LL(Once create, insert is done, this should be easy) https://www.geeksforgeeks.org/problems/search-in-linked-list-1664434326/1 Best Tutorial link - click to view Article link-click to view
https://www.geeksforgeeks.org/problems/reverse-a-linked-list/1?
Reverse a LL(Learn the O space approach, learn recursive & iterative soln) page=1&category=Linked%20List&sortBy=submissions Best Tutorial link - click to view Article link - click to view
https://www.geeksforgeeks.org/problems/check-if-linked-list-is-
Check if LL is a Palindrome(Once reversing is learnt, this should be easy) pallindrome/1?page=1&category=Linked%20List&sortBy=submissions Best Tutorial link - click to view Article link - click to view
https://www.geeksforgeeks.org/problems/insert-in-middle-of-linked-list/1?
Middle element of LL (Learn efficient approach) page=2&category=Linked%20List&sortBy=submissions Best Tutorial link - click to view Article link - click to view
https://www.geeksforgeeks.org/problems/intersection-point-in-y-shapped-
Find the intersection point of Y LL(Once you know traversal, apply node logic to solve this) linked-lists/1?page=1&category=Linked%20List&sortBy=submissions Best Tutorial link - click to view Article link - click to view
https://www.geeksforgeeks.org/problems/union-of-two-linked-list/1?
itm_source=geeksforgeeks&itm_medium=Article&itm_campaign=bottom_sti
Union and Intersection of LL cky_on_Article Best Tutorial link - click to view Article link - click to view
https://www.geeksforgeeks.org/problems/delete-without-head-pointer/1?
Delete without head pointer page=1&category=Linked%20List&sortBy=submissions Best Tutorial link - click to view Article link - click to view
https://www.geeksforgeeks.org/problems/count-pairs-whose-sum-is-equal-
Count pairs with given sum to-x/1?page=2&category=Linked%20List&sortBy=submissions Best Tutorial link - click to view Article link - click to view
Reverse LL in groups of given size(Once you learn reverse of LL's efficient approach, you can try https://www.geeksforgeeks.org/problems/reverse-a-linked-list-in-groups-of-
this) given-size/1?page=1&category=Linked%20List&sortBy=submissions Best Tutorial link - click to view Article link - click to view
Loop
https://www.geeksforgeeks.org/problems/detect-loop-in-linked-list/1?
Detect loop in LL(Once this is learnt, all the loop pattern probs below should be easy) page=1&category=Linked%20List&sortBy=submissions Best Tutorial link - click to view Article link - click to view
https://www.geeksforgeeks.org/problems/find-length-of-loop/1?
Find length of loop in LL page=1&category=Linked%20List&difficulty=Easy&sortBy=submissions Best Tutorial link - click to view Article link - click to view
https://www.geeksforgeeks.org/problems/find-the-first-node-of-loop-in-
Find the starting point of loop linked-list--170645/1 Best Tutorial link - click to view Article link - click to view
https://www.geeksforgeeks.org/problems/remove-loop-in-linked-list/1?
Remove the loop page=1&category=Linked%20List&sortBy=submissions Best Tutorial link - click to view Article link - click to view
Sorting, Merging & Related
https://www.geeksforgeeks.org/problems/given-a-linked-list-of-0s-1s-and-2s-
Sort 0s, 1s, 2s in LL sort-it/1?page=1&category=Linked%20List&sortBy=submissions Best Tutorial link - click to view Article link-click to view
https://www.geeksforgeeks.org/problems/pairwise-swap-elements-of-a-
linked-list-by-swapping-data/1?page=2&category=Linked%
Pairwise swap elements 20List&sortBy=submissions Best Tutorial link - click to view Article link-click to view
Merge k sorted LL(Merge two sorted is easy version of this ques, if you are finding it diff to come up https://www.geeksforgeeks.org/problems/merge-two-sorted-linked-lists/1?
with logic, first solve that) page=1&category=Linked%20List&sortBy=submissions Best Tutorial link - click to view Article link-click to view
https://www.geeksforgeeks.org/problems/sort-a-linked-list/1?
Merge sort in LL page=2&category=Linked%20List&sortBy=submissions Best Tutorial link - click to view Article link-click to view
https://www.geeksforgeeks.org/problems/quick-sort-on-linked-list/1?
itm_source=geeksforgeeks&itm_medium=Article&itm_campaign=bottom_sti
Quick sort in LL cky_on_Article Best Tutorial link - click to view Article link-click to view
https://www.geeksforgeeks.org/problems/remove-duplicate-element-from-
sorted-linked-list/1?page=1&category=Linked%
20List&difficulty=Easy&sortBy=submissions https://www.geeksforgeeks.
org/problems/remove-duplicates-from-an-unsorted-linked-list/1?
Remove occurence of duplicates in sorted & unsorted LL page=1&category=Linked%20List&difficulty=Easy&sortBy=submissions Best Tutorial link - click to view Article link-click to view
https://practice.geeksforgeeks.org/problems/segregate-even-and-odd-
Seggregate even and odd nodes in LL nodes-in-a-linked-list5035/1 Best Tutorial link - click to view Article link-click to view
Arithmetic(Reversal & traversal - Once
you learnt these, you can solve probs in
this pattern)
https://practice.geeksforgeeks.org/problems/add-1-to-a-number-
Add 1 to a number represented as LL represented-as-linked-list/1 Best Tutorial link - click to view Article link-click to view
https://practice.geeksforgeeks.org/problems/add-two-numbers-represented-
Add 2 numbers represented as LL by-linked-lists/1 Best Tutorial link - click to view Article link-click to view
https://www.geeksforgeeks.org/problems/subtraction-in-linked-list/1?
Subtraction on LL(Comes under hard but should be solvable once the above ones are solved) page=1&category=Linked%20List&difficulty=Hard&sortBy=submissions Best Tutorial link - click to view Article link-click to view
Must solve other probs(Try to solve
these probs on own, brute force atleast
you can come up for most of them after
solving above)
https://www.geeksforgeeks.org/problems/reorder-list/1?
Rotate LL page=3&category=Linked%20List&sortBy=submissions Best Tutorial link - click to view Article link-click to view
https://www.geeksforgeeks.org/problems/flattening-a-linked-list--170645/1?
Flattening a LL(make sure to learn the efficient approach) page=4&category=Linked%20List&sortBy=submissions Best Tutorial link - click to view Article link-click to view
https://practice.geeksforgeeks.org/problems/delete-nodes-having-greater-
Delete nodes having greater value on right value-on-right/1 Best Tutorial link - click to view Article link-click to view
https://www.geeksforgeeks.org/problems/delete-n-nodes-after-m-nodes-of-
Delete N nodes after M nodes a-linked-list/1?page=3&category=Linked%20List&sortBy=submissions Best Tutorial link - click to view Article link-click to view
Delete all occurence of node 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%
Clone a LL 20List&difficulty=Hard&sortBy=submissions Best Tutorial link - click to view Article link-click to view
https://www.geeksforgeeks.org/problems/length-of-longest-palindrome-in-
linked-list/1?page=2&category=Linked%
Length of longest palindrome in LL 20List&difficulty=Medium&sortBy=submissions Best Tutorial link - click to view Article link-click to view
Learn the basics of circular LL Best Tutorial link - click to view Article link-click to view
Double Linked List
Learn the basic representation of the nodes in LL Best Tutorial link - click to view Article link-click to view
https://www.geeksforgeeks.org/problems/reverse-a-doubly-linked-list/1?
Insert, Delete, Reverse DLL page=1&category=doubly-linked-list&sortBy=submissions Best Tutorial link - click to view Article link-click to view
https://www.geeksforgeeks.org/problems/find-pairs-with-given-sum-in-
doubly-linked-list/1?page=1&category=doubly-linked-
Pairs with given sum in DLL list&difficulty=Easy&sortBy=submissions Best Tutorial link - click to view Article link-click to view
Stack - Data structure
Basic
https://www.geeksforgeeks.org/problems/implement-stack-using-array/1?
What is stack? Leam how to represent the data structure and working of it page=1&category=Stack&sortBy=submissions Best Tutorial link - click to view Article link-click to view
https://www.geeksforgeeks.org/problems/implement-two-stacks-in-an-
Implement 2 stack using array array/1?page=1&category=Stack&sortBy=submissions Best Tutorial link - click to view Article link-click to view
https://www.geeksforgeeks.org/problems/parenthesis-checker2744/1?
Check for balanced paranthesis page=1&category=Stack&sortBy=submissions Best Tutorial link - click to view Article link-click to view
https://www.geeksforgeeks.org/problems/get-minimum-element-from-
Get min from stack in O(1) space and time stack/1?page=1&category=Stack&sortBy=submissions Best Tutorial link - click to view Article link-click to view
Next greater element
https://www.geeksforgeeks.org/problems/next-larger-element-
Next greater element 1587115620/1?page=1&category=Stack&sortBy=submissions Best Tutorial link - click to view Article link-click to view
Next greater element II https://leetcode.com/problems/next-greater-element-ii/ Best Tutorial link - click to view Article link-click to view
Next smallest element(Once above
pattern is covered, try to solve this on
own)
https://www.geeksforgeeks.org/problems/help-classmates--141631/1?
Next smallest element on left itm_source=geeksforgeeks Best Tutorial link - click to view Article link-click to view
https://www.codingninjas.com/studio/problems/next-smaller-
Next smallest element on right element_1112581 Best Tutorial link - click to view Article link-click to view
Stock span problem(Implementation prob - Try to figure out the pattern from above next greater https://www.geeksforgeeks.org/problems/stock-span-problem-
and smaller) 1587115621/1?page=1&category=Stack&sortBy=submissions Best Tutorial link - click to view Article link-click to view
https://www.geeksforgeeks.org/problems/trapping-rain-water-
1587115621/1?
itm_source=geeksforgeeks&itm_medium=Article&itm_campaign=bottom_sti
Trapping rainwater cky_on_Article Best Tutorial link - click to view Article link-click to view
Maximum rectangular area on histogram(Once next greater and next smallest pattern is covered, https://www.geeksforgeeks.org/problems/maximum-rectangular-area-in-a-
this can be solved easily) histogram-1587115620/1?page=1&category=Stack&sortBy=submissions Best Tutorial link - click to view Article link-click to view
https://www.geeksforgeeks.org/problems/max-rectangle/1?
Max rectangle(Same as above, just a small twist) page=1&category=Stack&sortBy=submissions Best Tutorial link - click to view Article link-click to view
Expressions
https://www.geeksforgeeks.org/problems/infix-to-postfix-1587115620/1?
Infix to postfix page=2&category=Stack&sortBy=submissions Best Tutorial link - click to view Article link-click to view
https://www.geeksforgeeks.org/problems/evaluation-of-postfix-
Evaluation of postfix expression expression1735/1?page=2&category=Stack&sortBy=submissions Best Tutorial link - click to view Article link-click to view
Prefix to postfix https://practice.geeksforgeeks.org/problems/infix-to-postfix-1587115620/1 Best Tutorial link - click to view Article link-click to view
https://www.codingninjas.com/studio/problems/arithmetic-expression-
Arithmetic expression evaluation evaluation_1170517 Best Tutorial link - click to view Article link-click to view
Reversing stack
https://www.geeksforgeeks.org/problems/insert-an-element-at-the-bottom-of-
Insert at bottom of stack a-stack/1?page=4&category=Stack&sortBy=submissions Best Tutorial link - click to view Article link-click to view
https://www.geeksforgeeks.org/problems/reverse-a-stack/1?
Reverse a stack page=2&category=Stack&sortBy=submissions Best Tutorial link - click to view Article link-click to view
https://www.geeksforgeeks.org/problems/sort-a-stack/1?
Sort stack(Solving above two can give you hint for this) page=1&category=Stack&sortBy=submissions Best Tutorial link - click to view Article link-click to view
Implementation probs
https://www.geeksforgeeks.org/problems/the-celebrity-problem/1?
Celebrity problem page=1&category=Stack&sortBy=submissions Best Tutorial link - click to view Article link-click to view
https://www.geeksforgeeks.org/problems/restrictive-candy-crush--141631/1?
Restrictive candy crush page=2&category=Stack&sortBy=submissions Best Tutorial link - click to view Article link-click to view
https://www.geeksforgeeks.org/problems/count-the-reversals0401/1?
Count the reversals page=1&category=Queue&sortBy=submissions Best Tutorial link - click to view Article link-click to view
Queue - Data structure
Basic pattern
https://www.geeksforgeeks.org/problems/implement-queue-using-array/1?
What is queue? Learn the basic representation and how its implemented? page=1&category=Queue&sortBy=submissions Best Tutorial link - click to view Article link-click to view
https://www.geeksforgeeks.org/problems/implement-queue-using-linked-
Implement queue using linkedlist list/1?page=1&category=Queue&sortBy=submissions Best Tutorial link - click to view Article link-click to view
https://www.geeksforgeeks.org/problems/queue-using-two-stacks/1?
Implement queue using stack(super imp) page=1&category=Queue&sortBy=submissions Best Tutorial link - click to view Article link-click to view
https://www.geeksforgeeks.org/problems/stack-using-two-queues/1?
Implement stack using queue(super imp) page=1&category=Queue&sortBy=submissions Best Tutorial link - click to view Article link-click to view
https://www.geeksforgeeks.org/problems/queue-reversal/1?
Reverse a queue page=1&category=Queue&sortBy=submissions Best Tutorial link - click to view Article link-click to view
Implementation probs
https://www.geeksforgeeks.org/problems/circular-tour-1587115620/1?
Circular tour page=1&category=Queue&sortBy=submissions Best Tutorial link - click to view Article link-click to view
https://www.geeksforgeeks.org/problems/first-non-repeating-character-in-a-
First non repeating char in stream stream1216/1?page=1&category=Queue&sortBy=submissions Best Tutorial link - click to view Article link-click to view
https://www.geeksforgeeks.org/problems/reverse-first-k-elements-of-
Reverse first k elements in queue queue/1?page=1&category=Queue&sortBy=submissions Best Tutorial link - click to view Article link-click to view
https://www.geeksforgeeks.org/problems/lru-cache/1?
LRU Cache(super imp) page=1&category=Queue&sortBy=submissions Best Tutorial link - click to view Article link-click to view
https://www.geeksforgeeks.org/problems/minimum-cost-of-ropes-
Minimum cost of ropes 1587115620/1?page=1&category=Queue&sortBy=submissions Best Tutorial link - click to view Article link-click to view
https://www.geeksforgeeks.org/problems/nearly-sorted-1587115620/1?
Nearly sorted(Learn priority queue for sure) page=3&category=Arrays&difficulty=Medium Best Tutorial link - click to view Article link-click to view
Sliding Window - Technique
(Dont skip this topic, I personally have been GeekForGeeks has very limited probs in this topics, so use leetcode for this even if you practice on
asked this topic in many interviews gfg generally
Fixed Sliding Window(Size of the
window will be provided)
https://www.geeksforgeeks.org/problems/max-sum-subarray-of-size-
k5313/1?
itm_source=geeksforgeeks&itm_medium=Article&itm_campaign=bottom_sti
Maximum sum subarray of size k cky_on_Article Best Tutorial link - click to view Article link-click to view
Count distinct element in every window(Once you understoor handling window size fixed from https://www.geeksforgeeks.org/problems/count-distinct-elements-in-every-
above prob, this will be easy) window/1?page=1&category=sliding-window&sortBy=submissions Best Tutorial link - click to view Article link-click to view
https://www.geeksforgeeks.org/problems/first-negative-integer-in-every-
First negative integer in every window of size k(Try to solve on own before looking for soln since window-of-size-k3345/1?page=1&category=sliding-
you did above topics too already window&sortBy=submissions Best Tutorial link - click to view Article link-click to view
https://www.geeksforgeeks.org/problems/maximum-of-all-subarrays-of-size-
Maximum of all subarray of size k(Try to solve on own) k3101/1?page=1&category=sliding-window&sortBy=submissions Best Tutorial link - click to view Article link-click to view
https://www.geeksforgeeks.org/problems/substrings-of-length-k-with-k-1-
Count substring of length k with k-1 distinct elements distinct-elements/1?page=1&category=sliding-window&sortBy=submissions Best Tutorial link - click to view Article link-click to view
https://www.geeksforgeeks.org/problems/maximum-of-minimum-for-every-
Maximum of minimum for every window(Imp) window-size3453/1?page=1&category=sliding-window&sortBy=submissions Best Tutorial link - click to view Article link-click to view
Variable sliding window(Each prob will
teach something in addition to the window so do
solve everything)
https://www.geeksforgeeks.org/problems/subarray-with-given-sum-
Subarray with given sum 1587115621/1?page=1&category=sliding-window&sortBy=submissions Best Tutorial link - click to view Article link-click to view
https://www.geeksforgeeks.org/problems/longest-sub-array-with-sum-
Longest subarray with given sum k(Same as above with slight modification) k0809/1?page=1&category=sliding-window&sortBy=submissions Best Tutorial link - click to view Article link-click to view
https://www.geeksforgeeks.org/problems/subarray-with-0-sum-
Subarray with 0 sum 1587115621/1?page=1&category=sliding-window&sortBy=submissions Best Tutorial link - click to view Article link-click to view
https://www.geeksforgeeks.org/problems/smallest-distant-window3132/1?
Smallest window of distinct elements page=1&category=sliding-window&sortBy=submissions Best Tutorial link - click to view Article link-click to view
https://www.geeksforgeeks.org/problems/smallest-window-containing-0-1-
Smallest window containing 0,1,2 and-2--170637/1?page=2&category=sliding-window&sortBy=submissions Best Tutorial link - click to view Article link-click to view
https://www.geeksforgeeks.org/problems/smallest-window-in-a-string-
containing-all-the-characters-of-another-string-1587115621/1?
Smallest window in string containing all chars of another string page=1&category=sliding-window&sortBy=submissions Best Tutorial link - click to view Article link-click to view
https://www.geeksforgeeks.org/problems/length-of-the-longest-
Length of longest substring substring3036/1?page=1&category=sliding-window&sortBy=submissions Best Tutorial link - click to view Article link-click to view
https://www.geeksforgeeks.org/problems/largest-subarray-of-0s-and-1s/1?
Largest subarray of 0s and 1s page=1&category=sliding-window&sortBy=submissions Best Tutorial link - click to view Article link-click to view
https://www.geeksforgeeks.org/problems/count-occurences-of-
Count of anagram occurence(Super imp) anagrams5839/1?page=1&category=sliding-window&sortBy=submissions Best Tutorial link - click to view Article link-click to view
Max consecutive ones III https://leetcode.com/problems/max-consecutive-ones-iii/ Best Tutorial link - click to view Article link-click to view
Fruit into basket https://leetcode.com/problems/fruit-into-baskets Best Tutorial link - click to view Article link-click to view
Count number of nice subarrays https://leetcode.com/problems/count-number-of-nice-subarrays/ Best Tutorial link - click to view Article link-click to view
Longest repeating char replacement https://leetcode.com/problems/longest-repeating-character-replacement Best Tutorial link - click to view
Minimum window substring https://leetcode.com/problems/minimum-window-substring/description/ Best Tutorial link - click to view Article link-click to view
Minimum window subsequence(Understand the diff between subarray and subsequence before
starting this prob) https://leetcode.com/problems/minimum-window-subsequence/ Best Tutorial link - click to view Article link-click to view
Subarray with k diff integers https://leetcode.com/problems/subarrays-with-k-different-integers/ Best Tutorial link - click to view Article link-click to view
Trees - Data structure
Traversals Understand the basic of how tree data structure is represented Best Tutorial link - click to view
https://www.geeksforgeeks.org/problems/preorder-traversal/1?
PreOrder Traversal page=1&category=Tree&sortBy=submissions Best Tutorial link - click to view Article link-click to view
https://www.geeksforgeeks.org/problems/inorder-traversal/1?
InOrder Traversal page=2&category=Tree&sortBy=submissions Best Tutorial link - click to view Article link-click to view
https://www.geeksforgeeks.org/problems/postorder-traversal/1?
PostOrder Traversal page=2&category=Tree&sortBy=submissions Best Tutorial link - click to view Article link-click to view
https://www.geeksforgeeks.org/problems/level-order-traversal/1?
Level Order Traversal page=1&category=Tree&sortBy=submissions Best Tutorial link - click to view Article link-click to view
https://www.geeksforgeeks.org/problems/boundary-traversal-of-binary-
Boundary Traversal(Once level traversal is learnt, this you can solve) tree/1?page=1&category=Tree&sortBy=submissions Best Tutorial link - click to view Article link-click to view
https://www.geeksforgeeks.org/problems/print-a-binary-tree-in-vertical-
Vertical Traversal(Once level traversal is learnt, this you can solve, lil extra logic is needed) order/1?page=1&category=Tree&sortBy=submissions Best Tutorial link - click to view Article link-click to view
https://www.geeksforgeeks.org/problems/top-view-of-binary-tree/1?
Top View of BT(Once you have mastered level traversal, this should be easy) page=1&category=Tree&sortBy=submissions Best Tutorial link - click to view Article link-click to view
https://www.geeksforgeeks.org/problems/bottom-view-of-binary-tree/1?
Bottom View of BT(Once you have mastered level traversal, this should be easy) page=1&category=Tree&sortBy=submissions Best Tutorial link - click to view Article link-click to view
https://www.geeksforgeeks.org/problems/left-view-of-binary-tree/1?
Left View of BT(Once you have mastered vertical traversal, this should be easy) page=1&category=Tree&sortBy=submissions Best Tutorial link - click to view Article link-click to view
https://www.geeksforgeeks.org/problems/right-view-of-binary-tree/1?
Right View of BT(Once you have mastered vertical traversal, this should be easy) page=1&category=Tree&sortBy=submissions Best Tutorial link - click to view Article link-click to view
https://www.geeksforgeeks.org/problems/diagonal-traversal-of-binary-
Diagonal Traversal tree/1?page=3&category=Tree&sortBy=submissions Best Tutorial link - click to view Article link-click to view
Basic and Easy patterns(Try to solve
these once you learnt traversals)
Insert node in a tree Best Tutorial link - click to view Article link-click to view
https://www.geeksforgeeks.org/problems/height-of-binary-tree/1?
Height of the tree page=1&category=Tree&sortBy=submissions Best Tutorial link - click to view Article link-click to view
https://www.geeksforgeeks.org/problems/diameter-of-binary-tree/1?
Diameter of the tree page=1&category=Tree&sortBy=submissions Best Tutorial link - click to view Article link-click to view
https://www.geeksforgeeks.org/problems/determine-if-two-trees-are-
Check if 2 trees are identical identical/1?page=1&category=Tree&sortBy=submissions Best Tutorial link - click to view Article link-click to view
https://www.geeksforgeeks.org/problems/check-if-subtree/1?
Check if subtree page=2&category=Tree&sortBy=submissions Best Tutorial link - click to view Article link-click to view
https://www.geeksforgeeks.org/problems/check-for-balanced-tree/1?
Check for balanced tree page=1&category=Tree&sortBy=submissions Best Tutorial link - click to view Article link-click to view
https://www.geeksforgeeks.org/problems/lowest-common-ancestor-in-a-
Lowest common Ancestor in BT binary-tree/1?page=1&category=Tree&sortBy=submissions Best Tutorial link - click to view Article link-click to view
https://www.geeksforgeeks.org/problems/sum-tree/1?
Sum tree page=1&category=Tree&sortBy=submissions Best Tutorial link - click to view Article link-click to view
https://www.geeksforgeeks.org/problems/symmetric-tree/1?
Symmetric tree page=2&category=Tree&sortBy=submissions Best Tutorial link - click to view Article link-click to view
https://www.geeksforgeeks.org/problems/mirror-tree/1?
Mirror of a tree page=1&category=Tree&sortBy=submissions Best Tutorial link - click to view Article link-click to view
https://www.geeksforgeeks.org/problems/check-if-tree-is-isomorphic/1?
Check if isomorphic page=2&category=Tree&sortBy=submissions Best Tutorial link - click to view Article link-click to view
There are couple of more topics, bit manipulation, segment trees and AVL trees which has limited number of probs, so do check that out if you have good amount of time still left
Checkout this for bit tricks - https://leetcode.com/discuss/general-discussion/1073221/All-about-Bitwise-Operations-Beginner-Intermediate