Does anyone have an algorithm that generates all 10-digit integers that have at least one digit repeated? Trawling through all 9000000000 of them and checking them individually is too slow. Thanks.
![Member Avatar for stinkypete](https://static.daniweb.com/connect/images/anonymous.webp)
stinkypete
VernonDozier 2,218 Posting Expert Featured Poster
![Member Avatar for stinkypete](https://static.daniweb.com/connect/images/anonymous.webp)
stinkypete
VernonDozier 2,218 Posting Expert Featured Poster
jaskij 45 Junior Poster in Training
Zvjezdan23 -13 Junior Poster
![Member Avatar for stinkypete](https://static.daniweb.com/connect/images/anonymous.webp)
stinkypete
![Member Avatar for stinkypete](https://static.daniweb.com/connect/images/anonymous.webp)
stinkypete
VernonDozier 2,218 Posting Expert Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.