Hi,
I have a question of how to tackle following task:
A string/word, e.g. ‘ABC’, needs to be displayed with all its permutations.
So from ‘ABC’ it would get me
‘ABC’, ‘ACB’, ‘BAC’, BCA’, ‘CAB’, CBA’.
What is the best way of doing that?
I was thinking of an array holding four variables, one...