Cadence Design Systems interview question

Data Structures and Algorithms and Dynamic Programming