View All num of num See all Photos Amazon.com www.amazon.com Engaged Employer Overview Reviews Salaries Interviews Jobs Photos Benefits 4.5k Reviews 11k Salaries 5.9k Interviews 11k Jobs Follow Add Review or Salary Follow Add Review or Salary Interview Question Software Development Engineer Intern Interview Seattle, WA Amazon.com Group input strings by permutations and output as a set . For example, if your input is: "abc, acb, bce, dce, cde" then your output is: "(abc, acb) (bce) (dce, cde)". Assume all input strings are of the same size. Didn't actually have to write the code for this one, but rather gave an in-depth step-by-step explanation using data structures and time and space complexity. Tags: See more , See less 8 Answer Add Tags Answer Interviews > Software Development Engineer Intern > Amazon.com Add Answers or Comments To comment on this, Sign In or Sign Up.