Meta interview question

DP problem on list jumping