Hello, for a University assignment I am attempting to use a brute force search to generate all possible combinations of a list of numbers. This is only a small part of what I must do. I realise that a Brute Force Search would be extremely computationally expensive but it is required for my research. I can't think how one would go about beginning to generate all possible permutations. The only idea I can come up with would be calling a recursive function on a list that continually breaks it down but I cannot think of how to even begin implementing this. Can anyone give me a starting point or the general well explained pseudocode on how this would be done.

Thanks,

Jonathon.