Introduction
If you are looking for a resource where you can learn Data structures in-depth. TakeUForward SDE sheet is highly recommended.
SDE Sheet contains very handily crafted and picked top coding interview questions from different topics of Data Structures & Algorithms.
Day 1: Arrays (6)
Day 2: Arrays Part-II (6)
Day 3: Arrays Part-III (6)
Day 4: Arrays Part-IV (6)
Day 5: Linked List (6)
Day 6: Linked List Part-II (6)
Day 7: Linked List and Arrays (6)
Day 8: Greedy Algorithm (6)
Day 9: Recursion (6)
Day 10: Recursion and Backtracking (0/6)
- Print all permutations of a string/array
- N queens Problem
- Sudoko Solver
- M Coloring Problem
- Rat in a Maze
- Word Break (print all ways)
Day 11: Binary Search (8)
Day 12: Heaps (6)
- Max heap, Min Heap Implementation Only fo...
- Kth Largest Element
- Maximum Sum Combination
- Find Median from Data Stream
- Merge K sorted arrays
- K most frequent elements
Day 13: Stack and Queue (7)
Day 14: Stack and Queue Part-II (10)
- Next Smaller Element
- LRU cache (IMPORTANT)
- LFU cache
- Largest rectangle in a histogram
- Sliding Window maximum
- Implement Min Stack
- Rotten Orange (Using BFS)
- Stock span problem
- Find the maximum of minimums of every wind...
- The Celebrity Problem
Day 15: String (6)
- Reverse Words in a String
- Longest Palindrome in a string
- Roman Number to Integer and vice versa
- Implement ATOI/STRSTR
- Longest Common Prefix
- Rabin Karp
Day 16: String Part-II (6)
- Z-Function
- KMP algo / LPS(pi) array
- Minimum characters needed to be inserted i...
- Check for Anagrams
- Count and say
- Compare version numbers
Day 17: Binary Tree (12)
- Inorder Traversal
- Preorder Traversal
- Postorder Traversal
- Morris Inorder Traversal
- Morris Preorder Traversal
- LeftView Of Binary Tree
- Bottom View of Binary Tree
- Top View of Binary Tree
- Preorder inorder postorder in a single tra...
- Vertical order traversal
- Root to Node Path in Binary Tree
- Max width of a Binary Tree
Day 18: Binary Tree part-II (8)
Day 19: Binary Tree part-III (7)
- Maximum path sum
- Construct Binary Tree from inorder and pre...
- Construct Binary Tree from Inorder and Pos...
- Symmetric Binary Tree
- Flatten Binary Tree to LinkedList
- Check if Binary Tree is the mirror of itse...
- Check for Children Sum Property
Day 20: Binary Search Tree (7)
- Populate Next Right pointers of Tree
- Search given Key in BST
- Construct BST from given keys
- Construct a BST from a preorder traversal
- Check is a BT is BST or not
- Find LCA of two nodes in BST
- Find the inorder predecessor/successor of ...
Day 21: Binary Search Tree Part-II (8)
- Floor in a BST
- Ceil in a BST
- Find K-th smallest element in BST
- Find K-th largest element in BST
- Find a pair with a given sum in BST
- BST iterator
- Size of the largest BST in a Binary Tree
- Serialize and deserialize Binary Tree
Day 22: Binary Trees[Miscellaneous] (6)
- Binary Tree to Double Linked List
- Find median in a stream of running integer...
- K-th largest element in a stream.
- Distinct numbers in Window.
- K-th largest element in an unsorted array.
- Flood-fill Algorithm
Day 23: Graph (12)
- Clone a graph (Not that easy as it looks)
- DFS
- BFS
- Detect A cycle in Undirected Graph using B...
- Detect A cycle in Undirected Graph using D...
- Detect A cycle in a Directed Graph using D...
- Detect A cycle in a Directed Graph using B...
- Topological Sort BFS
- Topological Sort DFS
- Number of islands Do in Grid and Graph Bot...
- Bipartite Check using BFS
- Bipartite Check using DFS
Day 24: Graph Part-II (6)
Day 25: Dynamic Programming (7)
- Max Product Subarray
- Longest Increasing Subsequence
- Longest Common Subsequence
- 0-1 Knapsack
- Edit Distance
- Maximum sum increasing subsequence
- Matrix Chain Multiplication
Day 26: Dynamic Programming Part-II (8)
- Minimum sum path in the matrix, count pat...
- Coin change
- Subset Sum
- Rod Cutting
- Egg Dropping
- Word Break
- Palindrome Partitioning (MCM Variation)
- Maximum profit in Job scheduling
Day 27: Trie (7)
Day 28: Operating System
- Refer Sheet for revision.
- Revise OS notes that you would have made during your sem
- If not made notes, spend 2 or 3 days and make notes from Knowledge Gate.
Day 29: DBMS
- Refer Sheet for revision.
- Revise DBMS notes that you would have made during your sem
- If not made notes, spend 2 or 3 days and make notes from Knowledge Gate.
Day 30: Computer Networks
- Refer Sheet for revision.
- Revise CN notes that you would have made during your sem
- If not made notes, spend 2 or 3 days and make notes from Knowledge Gate.
Day 31: Project Overview
Make a note of how will your represent your projects, and prepare all questions related to tech which you have used in your projects. Prepare a note which you can say for 3-10 minutes when he asks you that say something about the project.
Credits
Prerequisite
- Javascript Basics
- Willingness to learn