Original Post
Let's say I've an array, 1024 elements long. For simplicity's sake I'll use C. unsigned char array[1024]; Now, I want to generate all possible permutations of the data in this array. Yes, there are rather a lot - 256^1024, right, or is it 1024^256?. I can't think of any way to do this without having a for loop nested 1024 deep. Anyone know how to do this? Would it be easier in a different language?