[LC] Add solution to permutation sequence.