【发布时间】:2011-11-22 06:52:33
【问题描述】:
可能重复:
Are there any better methods to do permutation of string?
我知道递归并且可以编写像fibonacci number,tree traversals 这样的程序,所以我想我知道,但是当涉及到这个问题时,我感觉很糟糕
请指导我如何计算字符串的所有可能排列
【问题讨论】:
-
按照我的指南:在 SO 搜索框中写下标题。
-
你试过什么?
标签: string algorithm recursion permutation