摘要: 一、list存储模式 举例: 以leetcode cn46题为例,该题要求得给定序列的全排列。使用List<List<Integer>> ans返回结果,使用List<Integer> tem临时存储排列数据。 class Solution { public List<List<Integer>> 阅读全文
posted @ 2021-04-07 20:20 JarvisLau 阅读(216) 评论(0) 推荐(0) 编辑