leetcode 46. Permutations - 司徒正美

【摘要】全排列,使用回溯法 javascript var permute = function (nums) { if (!Object(nums).length) { return []; } var result = [], condidate = [], n = nums.length, hash = 阅读全文

文章来源:

Author:司徒正美
link:http://www.cnblogs.com/rubylouvre/p/12045510.html