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
相關文章
相關標籤/搜索