AKUNA CAPITAL interview question

Like rearranging sequence or making permutations for a string or a list.