The Only Lists You Need For Your Interview Preparation

Hi I have been actively using leetcode for almost 6 months now and have solved 300+ problems and getting better day by day. I wanted to share some of my findings from leetcode discussion treasure.

I have collected various lists of question by pattern and concepts. I hope these lists below help you in preparation journey.

ConceptsLinks
Stringhere
Binary Searchimp
Two Pointersvv-imp
Two Pointers - Fast-Slowv-imp
Sliding Windowimp
Heap - Top K Patternvv-imp
Heap - Merge Patternvv-imp
Heap - Two Heap Patternvv-imp
Heap - Min Patternvv-imp
Treeimp
Fenwick Treehere
Graphimp
Bridges & Articulation Point Graphhere
DSUhere
Recursion/Backtrackinghere
Dynamic Programing
Classical DPvv-imp
Knapsack DPvv-imp
Decision Making DPvv-imp
Distinct Ways DPvv-imp
Max Min DPvv-imp
Grid DPvv-imp
Math realted DPhere
Dp on Stringsvv-imp
Graph/ Tree DPhere
Bit Manipulation Dphere
Interval DPhere
Merging Interval DPhere
Multi Dimesion DPhere
Digit DPhere

I have also learnt some algorithms which made some questions very easy for me to solve, shared the list below.

Algorithm Learning Resources

CategoryAlgorithm TypeResource
Pattern MatchingZ-AlgorithmUC Davis lectures (gold standard lectures)
Prefix FunctionFluent Algorithms YT Channel
TrieEasy to learn
PalindromeManacher's Algorithm (O(n))IDeserve YT Channel
GraphMorris TraversalKashish Mehndiratta YT Channel
DSU (Disjoint Set Union)Tushar Roy
Kruskal's AlgorithmJust an extension of DSU
0-1 BFSPepcoding or Luv YT channel
Other Graph ConceptsWilliam Fiset, CodeNCode, Striver, Utkarsh Gupta
OptimizationDP/Recursion/Heap/Stack/Sliding WindowAditya Verma (Legend), Pepcoding
Segment TreeUtkarsh Gupta free live classes on Unacademy

Other resources to learn algorithms

cp-algorithms
USACO

Tip: Learn algorithms with black box method

image

you can learn concepts of most algorithms and solve problems with them without actually knowing the internal working, but eventual learn the internal working. Refer below

image

By this method you can cover a lot of breadth and depth concurrently

I use this personally, this was inspired from colin galen.

All The Best !!!

Comments (81)