🎯 DP & Graphs: The Only LeetCode List Most Interview Candidates & FAANG Aspirants Need
522
Jun 19, 2026
Jun 20, 2026
Most candidates can solve Arrays, Strings, and HashMaps.
The real difference-maker in FAANG interviews?
✅ Dynamic Programming
✅ Graphs
If you can confidently solve the problems below, you're already ahead of most interview candidates.
Happy Coding! 🚀
Dynamic Programming
- Climbing Stairs
- House Robber
- House Robber II
- Coin Change
- Coin Change II
- Decode Ways
- Unique Paths
- Minimum Path Sum
- Jump Game
- Jump Game II
- Longest Increasing Subsequence
- Longest Common Subsequence
- Word Break
- Partition Equal Subset Sum
- Target Sum
- Combination Sum IV
- Palindromic Substrings
- Longest Palindromic Substring
- Edit Distance
- Distinct Subsequences
- Best Time to Buy and Sell Stock
- Best Time to Buy and Sell Stock II
- Best Time to Buy and Sell Stock with Cooldown
- Maximum Product Subarray
- Burst Balloons
Graphs
- Number of Islands
- Clone Graph
- Course Schedule
- Course Schedule II
- Pacific Atlantic Water Flow
- Surrounded Regions
- Rotting Oranges
- Walls and Gates
- Graph Valid Tree
- Number of Connected Components in an Undirected Graph
- Alien Dictionary
- Reconstruct Itinerary
- Network Delay Time
- Cheapest Flights Within K Stops
- Min Cost to Connect All Points
- Path With Minimum Effort
- Accounts Merge
- Redundant Connection
- Critical Connections in a Network
- Word Ladder
- Open the Lock
- Evaluate Division
- Swim in Rising Water
- Bus Routes
- Shortest Path in Binary Matrix
Must Master Patterns
Dynamic Programming
✅ 1D DP
✅ 2D DP
✅ Knapsack Pattern
✅ Longest Increasing Subsequence (LIS)
✅ String DP
✅ Stock DP
- Best Time to Buy and Sell Stock
- Best Time to Buy and Sell Stock II
- Best Time to Buy and Sell Stock with Cooldown
Graphs
✅ BFS
✅ DFS
✅ Topological Sort
✅ Union Find (Disjoint Set Union)
✅ Dijkstra's Algorithm
✅ Minimum Spanning Tree (Prim / Kruskal)
⭐ Save this post for interview preparation.
💬 Which topic do you find harder: Dynamic Programming or Graphs?
CHECK OUT
🚀 Blind 75: The Only LeetCode List Most Interview Candidates Need
!!!
Comments (2)

