找到字符串的所有排列的优雅方法是什么.是的ba,会是ba和ab,但是怎么样abcdefgh?是否有任何Java实现示例?
ba
ab
abcdefgh
java algorithm
algorithm ×1
java ×1