MarkDown格式//////////////////////////////////////////////////////////////////////////
####题目来源 [LeetCode ]( ) ####自我感觉难度/真实难度: 写题时间时长: hours ####题意: ####分析: ####自己的代码: ``` ``` 代码效率/结果: ####优秀代码: ```python class Solution: def combinationSum(self, can: List[int], tar: int) -> List[List[int]]: res=[] l=len(can) def dfs(targ,index,path): if targ<0: return if targ==0: res.append(path) return for i in range(index,l): if targ<can[i]: continue dfs(targ-can[i],i,path+[can[i]]) dfs(tar,0,[]) return res ``` 代码效率/结果: Runtime: 56 ms, faster than 99.16% of Python3 online submissions for Combination Sum. Memory Usage: 13.2 MB, less than 43.13% of Python3 online submissions for Combination Sum. ####自己优化后的代码: ``` ``` --- ####反思改进策略: 1. 。<font color= #4169E1 size=4 face="楷体">**总**</font> 1. 。<font color= #4169E1 size=4 face="楷体">**思**</font> 1. 1.
论文阅读/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
论文标题:
来源/作者机构情况:
解决问题/主要思想贡献:
成果/优点:
缺点:
反思改进/灵感:
#############################################################
论文主要内容与关键点:
1.
2.
3.
4.
5.
6.
代码实现:
文字版代码review/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
题目来源:
自我感觉难度/真实难度: 写题时间时长:
题意:
分析:
自己的代码:
代码效率/结果:
优秀代码:
代码效率/结果:
自己优化后的代码:
反思改进策略:
LeetCode刷题记录///////////////////
时间 | 复习时间 | ||
2019年6月3号 | LeetCode 39. Combination Sum | 2019年7月2号 | |