Epic interview question

string permutation