Cppreference Next Permutation In Leetcode 752