https://tyrangyang.github.io/TyrangYang_blog/next-permutation/
How to find next permutation