add lc next permutation