Appian interview question

1- coding problem (dp), Resume discussion