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.
technical, behavioral, programming

Interview Answer

1 Answer


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.