All about problems in Volume 105. If there is a thread about your problem, please use it. If not, create one with its number in the subject.
Moderator: Board moderators
You can solve it with DP by deriving recurrent formula.
A person who sees the good in things has good thoughts. And he who has good thoughts receives pleasure from life... Bediuzzaman