Interview Question

Interview Seattle, WA

Given a set of strings, find the equivalence classes of

  permuted strings. This threw me for a loop because it's been a while since I have done string manipulations.
Tags:
technical, behavioral, programming
Answer

Interview Answer

1 Answer

0

Use a STL multimap with the sorted strings as the keys.

Interview Candidate on Oct 13, 2012

Add Answers or Comments

To comment on this, Sign In or Sign Up.