Cppreference Next Permutation In Leetcode Python Solutions