DSA is really tough, but you don't seem to struggle?๐คจ
I get this question a lot.
Here are some of the hardest questions you might face in an interview.
Practice these using the ๐ฏ-๐ณ-๐ญ๐ฑ ๐ฟ๐๐น๐ฒ:
First solve the question, then note down the answer. After three days, try to remember the question from the answer and solve it again.
Repeat the same after 7 and 15 days.
This way, you'll solve the same question 4 times in 15 days, making it easier if you encounter it again.
๐ญ. ๐๐ฟ๐ฟ๐ฎ๐๐ & ๐ฆ๐๐ฟ๐ถ๐ป๐ด๐
- Minimum Window Substring
- Trapping Rain Water
- Largest Rectangle in Histogram
๐ฎ. ๐๐ถ๐ป๐ธ๐ฒ๐ฑ ๐๐ถ๐๐๐
- Merge k Sorted Lists
- Reverse Nodes in k-Group
- LFU Cache
๐ฏ. ๐ง๐ฟ๐ฒ๐ฒ๐
- Binary Tree Maximum Path Sum
- Serialize and Deserialize Binary Tree
- Vertical Order Traversal of a Binary Tree
๐ฐ. ๐๐๐ป๐ฎ๐บ๐ถ๐ฐ ๐ฃ๐ฟ๐ผ๐ด๐ฟ๐ฎ๐บ๐บ๐ถ๐ป๐ด
- Edit Distance
- Burst Balloons
- Shortest Common Supersequence
๐ฑ. ๐๐ฟ๐ฎ๐ฝ๐ต๐
- Alien Dictionary
- Minimum Cost to Make at Least One Valid Path in a Grid
- Swim in Rising Water
๐ฒ. ๐ฅ๐ฒ๐ฐ๐๐ฟ๐๐ถ๐ผ๐ป & ๐๐ฎ๐ฐ๐ธ๐๐ฟ๐ฎ๐ฐ๐ธ๐ถ๐ป๐ด
- N-Queens II
- Sudoku Solver
- Word Search II
๐ณ. ๐ฆ๐ผ๐ฟ๐๐ถ๐ป๐ด & ๐ฆ๐ฒ๐ฎ๐ฟ๐ฐ๐ต๐ถ๐ป๐ด
- Count of Smaller Numbers After Self
- Median of Two Sorted Arrays
- Split Array Largest Sum
๐ด. ๐๐ฒ๐๐ถ๐ด๐ป
- Design Search Autocomplete System
- Design In-Memory File System
- Design Excel Sum Formula
๐ต. ๐๐ฟ๐ฒ๐ฒ๐ฑ๐
- Minimum Number of Arrows to Burst Balloons
- Candy
- Patching Array
๐ญ๐ฌ. ๐๐ถ๐ ๐ ๐ฎ๐ป๐ถ๐ฝ๐๐น๐ฎ๐๐ถ๐ผ๐ป
- Maximum Product of Word Lengths
- Smallest Sufficient Team
- Minimum Cost to Connect Two Groups of Points
๐ญ๐ญ. ๐ง๐๐ผ ๐ฃ๐ผ๐ถ๐ป๐๐ฒ๐ฟ๐
- Minimum Window Subsequence
- Minimum Operations to Make a Subsequence
- Minimum Adjacent Swaps to Reach the Kth Smallest Number
๐ญ๐ฎ. ๐๐ฒ๐ฎ๐ฝ
- Minimum Number of Refueling Stops
- Sliding Window Median
- Minimum Number of K Consecutive Bit Flips
By following the 3-7-15 rule and practicing these tough questions regularly, you'll build strong problem-solving skills and be well-prepared for your interviews.
Keep pushing yourself, and remember, consistency is key.
Best DSA RESOURCES: https://topmate.io/coding/886874
All the best ๐๐
Post #1044
8.68K
- ๐ 20
- โค 13