/**
* LeetCode60 n个数的排列组合找出第k个排列
* The set[1,2,3,…,n]contains a total of n! unique permutations.
By listing and labeling all ofthe permutations in order,
We getthe following sequence (ie, for n = 3):
"123""132""213""231""312""321"
Given n and k, returnthe k th permutation sequence.
Note: Given n will be between1and9 inclusive.
时间限制:1秒
*/
análisis
A primera vista es 1 ~ N N permutación digital completa de éstos
Los cambios, cada línea hasta un recuento, el contador k es la salida al número de fila actual de la buena