@bigdoggproblem saidYeah, the 0 is considered a repeated digit in your example.
Do numbers like 1030 count? [two zeros, but not back-to-back]
@joe-shmo saidEasiest approach to this is to find how many DON'T have a repeat.
How many integers between 1000 and 9999 inclusive have at least one repeated digit?