Download and view my resume (PDF)

Friday, October 26, 2012

Recognize Anagrams

Interview question:

How do you determine whether two words are anagrams?

Answer:

Alphabetize the letters in each word, then do a string comparison.

No comments:

Post a Comment