C# String permutation

后端 未结 6 853
一个人的身影
一个人的身影 2020-12-11 07:27

I have 5 strings, such as: \"one\", \"two\", \"three\", \"four\", and \"five\". I need to get all permutations of these strings. I\'ve explored all internet resources, but a

6条回答
  •  南方客
    南方客 (楼主)
    2020-12-11 08:08

    This article shows the complete code for getting all permutations of letters. Substitute letters with words and you have your solution:

    http://www.codeproject.com/KB/recipes/Premutations.aspx

提交回复
热议问题