permute I and II

题目1:web Given a collection of distinct integers, return all possible permutations. svg Example:ui Input: [1,2,3] Output: [ [1,2,3], [1,3,2], [2,1,3], [2,3,1], [3,1,2], [3,2,1] ] 代码1:spa cl
相关文章
相关标签/搜索