AKUNA CAPITAL Interview Question

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