Next Permutation Leetcode 3190