I am trying to write a program that will iterate through all possible permutations of a String array, and return a two dimensional array with all the permutations. Specifically, I am trying to use a String array of length 4 to return a 2D array with 24 rows and 4 columns. I have only found ways to print the Strings
Tag: heaps-algorithm
Creating arrays for permutations within a subsection of a list
So I have a list: For each number that matches, I have to get every permutation of the identifier. The lists I would need from my example would be as follows: Steps I am taking currently to solve the problem: Read in the list, place each value in an array ([a][12]) and place that in an ArrayList I then find