← 返回 twosigma 的题目列表Generate Permutations with Removed Character
类型:online_judge
Given a string, remove one character from the original string and return all possible permutations. The permutation substrings should be sorted lexicographically and maintain the removed character sequence order.
Example
Input
3
abc