John Will的博客

一个人的独白。

permutation全排列

题目描述Given a collection of numbers, return all possible permutations. For example, [1,2,3]have the following permutations: [1,2,3],[1,3,2],[2,1,3],...

2018-04-10 21:07:05

阅读数:23

评论数:0

Permutation Sequence(返回第k个阶乘序列——寻找数学规律)

题目描述The set[1,2,3,…,n]contains a total of n! unique permutations. By listing and labeling all of the permutations in order, We get the following ...

2018-04-09 11:10:30

阅读数:25

评论数:0

提示
确定要删除当前文章?
取消 删除
关闭
关闭