[LC] Add solution to permutations.