Drawing a blank on how to get a string and use factorials to re-arrange the letters in all the possible combos. Don't think of letters, think of indexes. Now, with a group of sequential numbers, how ...
Cuireadh roinnt torthaí i bhfolach toisc go bhféadfadh siad a bheith dorochtana duit
Taispeáin torthaí dorochtana