How many numbers below one million have increasing digits?
That's the new challenge in the DBPro Coding Challenges (stickied thread above).
A number has increasing digits if each digit is not exceeded by the digit to its left and is said to be an increasing number; for example, 45579. There are exactly 219 increasing numbers below one-thousand, but how many numbers below one million are increasing?
The challenge is to write a piece of code which calculates the answer. The winning code will be the one that does it in the least amount of lines.
Everybody is welcome to enter - the winner will be added to the hall of fame, and will have the honour of setting and judging the next challenge. You have until Thursday 11th May.