can u plz be more..clear ..with wat the input will consist of.. wat does this mean "for 2 answer=55" does that mean..that how many non decreasing digits can be formed by 2 digit num
On Sun, Sep 25, 2011 at 1:08 AM, shady <[email protected]> wrote: > A number is said to be made up of non-decreasing digits if all the digits > to the left of any digit is less than or equal to that digit. for eg. 1122, > 234, 2 > > 0000, 0011 is a possible 4 digit non decreasing number > > so given a number n, how many n digit numbers exist ? > > for 2 answer = 55 > > Can someone post complexity and their approach.... > > -- > You received this message because you are subscribed to the Google Groups > "Algorithm Geeks" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/algogeeks?hl=en. > -- *Dheeraj Sharma* Comp Engg. NIT Kurukshetra -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.
