dynamic programming Interview Questions
6 interview questions in our bank cover dynamic programming, most of them Coding & Leetcode-style Questions. They average 3.3/5 difficulty — medium — and each one was reported by a candidate after a real interview. Companies known to ask about dynamic programming: Google, Expedia, PayPal, Zip, Squarepoint.
Practice these on the problems board →Companies that ask about dynamic programming
Question mix
- Coding & Leetcode-style Questions6
Difficulty
- 3/5 — medium4
- 4/5 — hard2
Questions tagged dynamic programming
Dynamic Programming (Medium) Similar to House Robber
3/5Featured in technical assessments at Expedia, this classic algorithmic problem tests your proficiency with linear optimization and state tracking. Given a sequential collection of values, you must compute the optimal subset accumulation under the constraint that no two adjacent elements can be selected simultaneously. The scenario challenges you to recognize overlapping subproblems and construct an efficient linear-time recurrence relation. To view the full problem breakdown, constraints, and verified model solution, a subscription is required.
Coding & Leetcode-style QuestionsExpediaMax Coins Collected by Jumping Over Tokens
4/5Encountered in Google interview processes, this algorithmic puzzle asks you to navigate an array with variable jump lengths to maximize your accumulated score, which includes both rewards and penalties. It tests your dynamic programming skills, pathfinding logic, and optimization strategies over sequential choices. Unlock the complete problem details and clean model solution by subscribing.
Coding & Leetcode-style QuestionsGoogleMaximum Subarray Sum
3/5A classic algorithmic problem encountered in PayPal software engineering loops, this challenge requires identifying the contiguous segment within a numeric sequence that yields the highest cumulative sum. Candidates must devise an efficient linear-time approach using dynamic programming techniques to avoid the heavy computational cost of nested iteration. This problem thoroughly tests your ability to optimize dynamic state tracking on arrays. Access the complete problem statement and clean code solution by purchasing a subscription.
Coding & Leetcode-style QuestionsPayPalRobbing a Tree
3/5Presented during Zip software engineering interviews, this graph theory problem asks you to maximize accumulated value across a hierarchical village network where adjacent nodes cannot be selected simultaneously. It builds upon classic dynamic programming concepts on trees, requiring you to handle general multi-branch relationships rather than standard binary constraints. Discover the complete problem guidelines and optimized algorithmic solution with a paid subscription.
Coding & Leetcode-style QuestionsZipCoding Problem 1 (1D Dynamic Programming)
3/5This interview task reported at Squarepoint challenges candidates to build an efficient optimization or counting algorithm using linear sequential programming techniques. It evaluates your ability to break down complex state transitions and manage sequential computations effectively. The complete problem statement, constraints, and expert-written model solution require a subscription.
Coding & Leetcode-style QuestionsSquarepointMax Subset of Two-Digit Numbers With No Shared Digit
4/5This Google coding interview question asks you to find the largest possible collection of two-digit numbers where no two selected elements share any common digits. The problem evaluates your combinatorial reasoning, graph modeling, or backtracking skills to efficiently filter and maximize valid subsets from a pool of numeric choices. Unlock the comprehensive problem description and optimal algorithmic solution by subscribing today.
Coding & Leetcode-style QuestionsGoogle
Studied alongside
dynamic programming interview FAQ
- How many dynamic programming interview questions are there?
- 6 reported questions, mostly Coding & Leetcode-style Questions.
- Which companies ask dynamic programming questions?
- Google (2), Expedia (1), PayPal (1), Zip (1), Squarepoint (1).
- How hard are dynamic programming questions?
- They average 3.3 out of 5: 4 at 3/5, 2 at 4/5.