Saturday, July 4, 2009

Generate all the anagrams of a string

Interview question: Generate all the anagrams of a string. Assume you have a dictionary of words (like English dictionary). In efficient space and time.

No comments:

Post a Comment

[フレーム]

Subscribe to: Post Comments (Atom)

AltStyle によって変換されたページ (->オリジナル) /