Anagram finder

BlitzMax Forums/BlitzMax Beginners Area/Anagram finder

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Looks for dictionaries which are split in seperate lists depending on word size plus a single HUGE list. They make it so much easier to
check (especially if you're writing something like CountDown).
I can only think of a brute force method of perming every letter to all the others. However, you can leave the check quite early in most cases
i.e. if a word doesn't exist with 'MM' at the beggining then you don't need to check any further with MMa, MMb etc.