permutations(全排列)
摘要:
Given a collection of distinct numbers, return all possible permutations. For example,[1,2,3] have the following permutations: 这题是列举所有情况,回溯。 每次都是从头开始遍 阅读全文
posted @ 2017-12-26 22:10 夜的第八章 阅读(313) 评论(0) 推荐(0) 编辑