LeetCode046——全排列

个人LeetCode代码仓:https://github.com/617076674/LeetCodegit 原题连接:https://leetcode-cn.com/problems/permutations/description/github 题目描述:数组 知识点:递归、回溯code 思路:回溯法穷举全部可能的排列 本题是回溯法的一个经典应用场景,思路很清晰,逻辑很简单,下面写几个注意点。
相关文章
相关标签/搜索