Alright so in my Data Structures class we have a program due sometime next week. I pretty much know how I'm going to do it, but I need help with one method of the program.
I need a way to go through every possible order of 6 unique numbers.
I will input the 6 numbers and this method needs to go through every possible order of them. I can't just do a few nested for loops or anything like that AFAIK.
I'm just looking to see if anyone has a good idea on how to do this. I have the rest of the program written out in my mind, but all I am missing is a good way to do this.
Any hints on anything that anyone could come up with would be much obliged.