Related Blog Posts
Inter-array permutations in Ruby
19 hours ago ago from Seven steps
I don't really have a better name for this. It's also not completely clean, but it works. I had, almost a year ago (362 days ago), written a blog post about lexicographic permutations . That was about permutations of elements within one array. Someone on ruby-forum asked about permutations between multiple arrays. I found something in C# , which I was happy to transcribe to Ruby and tweak a little. def array_permutations array, index=0 ...
Related contentRelated News
Nothing to see... move along.
Related Videos
Nothing to see... move along.
