Find complete SDE-SHEET on TakeUForward.
No. | Problem |
---|---|
1. | Set Matrix Zeros |
2. | Pascal Triangle |
3 . | Next Permutation |
4. | Maximum sum Subarray |
5. | Sort 0 1 2 |
6. | Best Time to Buy and Sell Stock |
No. | Problem |
---|---|
2. | Merge intervals |
3. | Merge two sorted arrays |
4. | Find Duplicate in Array |
5. | Repeating and missing number |
6. | Count Inversions |
No. | Problems |
---|---|
1. | Search in a 2D matrix |
2. | Pow(X,n) |
3. | Majority Element (>N/2 times) |
4. | Majority Element (>N/3 times) |
5. | Grid Unique Paths |
6. | Reverse Pairs (Leetcode) |
No. | Problems |
---|---|
1. | 2 sum problem |
2. | 4 sum problem |
3. | Longest Consecutive Sequence |
4. | Largest Subarray with 0 sum |
5. | Count number of subarrays with given XOR |
6. | Longest substring without repeat |
No. | Problems |
---|---|
1. | Reverse a LinkedList |
2. | Find middle of linked list |
3. | Merge two sorted linked list |
4. | Remove Nth node from back |
5. | Delete a Given node O(1) |
6. | Add two numbers as linked list |
Sn. | Problems |
---|---|
1. | Rotate linked list |
2. | Clone Linked List with random and next pointer |
3. | 3 sum |
4. | Trapping rainwater |
5. | Remove Duplicate from Sorted array |
6. | Max consecutive ones |
Sn. | Problems |
---|---|
1. | Subset sum |
2. | Subset sum-II |
3. | Combination sum-1 |
4. | Combination sum-2 |
5. | Palindrome Partitioning |
6. | K-th permutation Sequence |
Sn. | Problems |
---|---|
1. | All permutations of the string |
2. | N Queen Problem |
3. | Valid sudoku |
4. | M Coloring Problem |
5. | Rat In a Maze |
6. | Word Break |
Sn. | Problem |
---|---|
1. | Heap Implementation (Only for interviews) |
2. | Kth Largest Element |
3. | K Maximum Sum Combination |
4. | Find Median from Data-Stream |
5. | Merge K sorted arrays |
6. | K most frequent elements |
Sn. | Problem |
---|---|
1. | Reverse Words in a String |
2. | Longest Palindromic Substring |
3. | Roman Number to Integer and vice versa |
4. | Implement ATOI/STRSTR |
5. | Longest Common Prefix |
6. | Rabin Karp |
Sn. | Problem |
---|---|
1. | Z-Function |
2. | KMP algo / LPS(pi) array |
3. | Minimum Characters For Palindrome |
4. | Check for Anagrams |
5. | Count and Say |
6. | Compare version numbers |
Sn. | Problem |
---|---|
1. | Maximum path sum |
2. | Construct Binary Tree from inorder and Preorder |
3. | Construct Binary Tree from Inorder and Postorder |
4. | Symmetric Binary Tree |
5. | Flatten Binary Tree to LinkedList |
6. | Check if Binary Tree is the mirror of itself or not |
7. | Check for Children Sum Property |