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.
stinkypete
VernonDozier 2,218 Posting Expert Featured Poster
stinkypete
VernonDozier 2,218 Posting Expert Featured Poster
jaskij 45 Junior Poster in Training
Zvjezdan23 -13 Junior Poster
stinkypete
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.