Design 2D DP on a DAG
Company: Amazon
Role: Software Engineer
Category: Coding & Algorithms
Difficulty: Medium
Interview Round: Technical Screen
Quick Answer: This question evaluates mastery of dynamic programming on graphs, reasoning about directed acyclic graph ordering, bounded-length path counting, and analysis of time/space trade-offs including space-reduction techniques.