https://oj.leetcode.com/problems/permutations/
O(n!) time complexity and space complexity.
permutations.v1.Solution(500 ms time cost): Backtracking, can't guarantee the order of permutations.
permutations.v2.Solution(452 ms time cost): Backtracking, output ordered permutations.