Biz2Credit interview question

DP coding problem,Project related question in depth.