摘要: Input: [1,2,3] Output: [[1,2,3],[1,3,2],[2,1,3],[2,3,1],[3,1,2],[3,2,1]] function calculate (nums) { let result = []; let go = function (currentArr) { 阅读全文
posted @ 2022-02-24 11:28 Mr_R 阅读(948) 评论(0) 推荐(0) 编辑