問題:
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