cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
General C++ Programming
Anagram Solver/ Word jumbler
Page 2
Anagram Solver/ Word jumbler
Pages:
1
2
Aug 20, 2011 at 3:45pm UTC
hamsterman
(4538)
Wait, was OP going to find all permutations of a word and see if any one of them is equal to the anagram?
In that case, I'll suggest a better algorithm. Sort the anagram, sort the word, then check for equality. That is all.
Topic archived. No new replies allowed.
Pages:
1
2