Arrays(1.3): Next Permutation

This is LeetCode Problem 31: Next Permutation