pds number


how we can solve these kind of problem’s using greedy approach.I am not able to understand these kind of problems please help.
http://community.topcoder.com/stat?c=problem_statement&pm=12045&rd=14738

June

May (somewhat similar)

April
http://www.codechef.com/APRIL12/problems/PDSNUM

March

i got this list from topcoder

these all seems to be similar.

Are those really greedy? I don’t think so…

@ betlista some is ofcourse dynamic programing even i have solve most of it with dp i want to ask is there any greedy also exist for this question?