Cppreference Next Permutation In Leetcode Python Beginner