Interview Question

Anonymous Interview(Student Candidate) Los Angeles, CA

How do you find the

combinations for abc in given inputs of strings. Like acb,bca,cab etc.
Answer

Interview Answer

1 Answer

0

I said I will put all the strings in hash table followed by hash function of SUM(Ascii values). Then discussion went on what happens if same ascii values for the different sets. Tried all possible ways. Finally couldn't answer

Interview Candidate on Oct 17, 2010

Add Answers or Comments

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