## Generate all combinations of a sequence

I was after an algorithm that could product every combination of a string of characters.

I was after an algorithm that could product every combination of a string of characters.

I thought that I was after an algorithm that shuffled an array of characters but in fact I was after something else.