[subject line]
add permutation Sequence
recursion

[Bug input/output]
modifying data while accessing it
[subject line]
First Impl for next sequence
[Bug input/output]
input   output  expected
[2,3,1] [3,2,1] [3,1,2]
[subject line]
fix bug for next sequence

[Fix]
reverse boundary should be end of array