生成字符串所有可能排列的列表 - Generate list of all possible permutations of a string

問題:

How would I go about generating a list of all possible permutations of a string between x and y characters in length, containing a variable list of characters.我將如何生成長度在 x 和 y 字符之間的字符串的所有可能排列的列表,其中包含一個可變的字符列表。

Any language would work, but it should be portable.任何語言都可以,但它應該是可移植的。


解決方案:

參考一: https://en.stackoom.com/question/5p
參考二: https://stackoom.com/question/5p
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章