Skip to content

Latest commit

 

History

History

046. Permutations

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
Given a collection of distinct numbers, return all possible permutations. 
给定不重复序列,返回所有排列组合

用递归,取出一个数,剩下的数排列组合,取出的数可以插入
每个排列组合的任意位置。