Next Permutation Problem Leetcode Rating