DSA Questions
URL to SDE Sheet: https://takeuforward.org/interviews/strivers-sde-sheet-top-coding-interview-problems/
DAY1: ARRAY
- Set Matrix Zero
- Pascal's Triangle
- Next Permutation
- Maximum Sub Array
- Sort 0 1 2
- Buy And Sell Stocks
DAY2: Array II
- Rotate Matrix Clockwise By one Element
- Merge Intervals
- Merge Two Sorted Arrays
- Find Duplicate In Array
- Repeating and missing number
- Inversion Pair Count
Day3: Array III
- Search in a 2D matrix
- Modular Exponential
- Majority Element
- Majority Element - II (occurs more than n/3 times)
- All possible unique paths in grid from top left to bottom right
- Reverse Pairs
DAY4: Array IV
- Pair Sum
- 4 element sum
- Longest Consecutive Sequence
- Longest SubArray Zero Sum
- SubArrays With Given XOR
- Longest Substring Without Repeat
DAY5: LINKED LIST
- Reverse Linked List
- Middle Element of Linked List
- Merge Two Sorted List
- Delete Kth Node From End
- Add Two Numbers in Linked List
- Delete Node in Linked List
DAY6: LINKED LIST II
- Intersection of Two Linked List
- Detect Cycle In Linked List
- Palindrome In Linked List
- Entry Element of Cycle in Linked List