The fifth of May, what a glorious day. Today's problem is all about finding duplicates such as with today's date. For the numbers [10-10,000] print out all the numbers who only use one type of digit (ie: 55 but not 45). Can you come up with a sub linear algorithm to solve this?
Comments:
Anonymous - 9 years, 7 months ago
reply permalink
Anonymous - 9 years, 7 months ago
Oops, that should be i < 10.
reply permalink