Interview Question

Software Engineer Interview(Student Candidate)

Given a dictionary and a word, how would you find a set of

  anagrams from the dictionary ? What are the optimization trade-offs ?
Tags:
data structures
Answer

Interview Answer

1 Answer

0

go thru each word..sort it and compare with the sorted version of give word...

sriks on Jul 23, 2011

Add Answers or Comments

To comment on this question, Sign In with Facebook or Sign Up