Meta Dynamic Programming Coding Interview Questions
37 dynamic programming coding problems are tagged as asked at Meta in interviews and online assessments reported by candidates. By difficulty they split into 11 basic, 17 intermediate and 9 advanced. The topics they most often combine with are Array, String, Hash Table, Backtracking.
Reported questions change over time and are not a guarantee of what you will be asked, so use the list to see which patterns Meta tends to test. For each problem, practise explaining your approach, its time and space cost and the edge cases before you write the code; every problem opens in an editor that runs your code against test cases.
Coding problems
- Climbing Stairs (Basic)
- Coin Change (Intermediate)
- Longest Increasing Subsequence (Advanced)
- Fibonacci Number (Basic)
- Min Cost Climbing Stairs (Intermediate)
- Longest Common Subsequence (Advanced)
- Edit Distance (Advanced)
- Coin Change Ways (Advanced)
- Is Subsequence (Basic)
- Longest Harmonious Subsequence (Basic)
- Coin Change Ways (Intermediate)
- Longest Palindromic Subsequence (Intermediate)
- Minimum Cost Tickets (Advanced)
- Palindrome Linked List (Basic)
- Maximum Twin Sum of a Linked List (Intermediate)
- Distribute Coins in Binary Tree (Intermediate)
- Burst Balloons (Advanced)
- Maximum Alternating Subsequence Sum (Intermediate)
- Count Ways to Build Good Strings (Intermediate)
- Number of Matching Subsequences (Intermediate)
- Furthest Building You Can Reach (Intermediate)
- Increasing Triplet Subsequence (Intermediate)
- Arranging Coins (Basic)
- N-Queens Count (Advanced)
- Max Length of Concatenated Unique Characters (Intermediate)
- Detect Squares (Intermediate)
- Memory Allocator (Intermediate)
- Collect Coins in a Tree (Advanced)
- One Edit Distance (Basic)
- Longest Arithmetic Subsequence of Given Difference (Intermediate)
- Unique Length-3 Palindromic Subsequences (Intermediate)
- Longest Subsequence With Limited Sum (Basic)
- Minimum Window Subsequence (Advanced)
- Build Array From Permutation (Basic)
- Ways to Make a Fair Array (Intermediate)
- Number of Ways to Split Array (Basic)
- Minimum Cost of Buying Candies With Discount (Basic)
Related
- Meta coding interview questions
- Dynamic Programming problems
- Meta basic problems
- Meta intermediate problems
- Meta advanced problems
- Company interview roadmaps
- All interview guides
Frequently asked questions
How should I use the Meta problem list?
Start with the basic problems, then the intermediate and advanced ones, and note which topics repeat. Solve each under a timer, then read the explanation.
Are these the exact Meta interview questions?
They are problems candidates reported being asked. Companies rotate questions, so use them to learn the patterns, not to predict the exact question.