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.

Reply via email to