C# Permutation of an array of arraylists?

后端 未结 13 820
难免孤独
难免孤独 2020-11-27 18:10

I have an ArrayList[] myList and I am trying to create a list of all the permutations of the values in the arrays.

EXAMPLE: (all values are strings)

         


        
相关标签:
13条回答
  • 2020-11-27 19:00

    You could use factoradics to generate the enumeration of permutations. Try this article on MSDN for an implementation in C#.

    0 讨论(0)
提交回复
热议问题