hi_小李子
hi_小李子
全部文章
分类
题解(56)
归档
标签
去牛客网
登录
/
注册
hi_小李子的博客
全部文章
(共2篇)
题解 | #集合的所有子集(一)#
回溯 # # @param S int整型一维数组 # @return int整型二维数组 # class Solution: def subsets(self , S: List[int]) -> List[List[int]]: # res收集所有子集,track...
Python3
回溯
递归
2022-03-14
0
339
题解 | #全排列#
回溯 参考:https://mp.weixin.qq.com/s/nMUHqvwzG2LmWA9jMIHwQQ def check(string,track): # 触发结束条件 if len(track) == len(string): res.append(...
Python3
回溯
2022-03-14
1
339