Interview question:
How do you determine whether two words are anagrams?
Answer:
Alphabetize the letters in each word, then do a string comparison.
I don't have a lot to say, but this is my little bit.
Friday, October 26, 2012
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment