I need a little help with algorithm for my code.Given a word "abacus" i have the code to find all its anagrams but i need to include also the words that are smaller in length than the original word. That is, I wanna be able to list ABA,AAB,ACA....ABAC,ABCS....so on.
Thanking you in advance.
IndianaRonaldo -3 Light Poster
VernonDozier 2,218 Posting Expert Featured Poster
IndianaRonaldo -3 Light Poster
theguitarist 0 Junior Poster in Training
alwaysLearning0 39 Junior Poster
VernonDozier 2,218 Posting Expert Featured Poster
IndianaRonaldo -3 Light Poster
IndianaRonaldo -3 Light 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.