Citadel interview question

Algorithms on dynamic programming questions