Legends Never Die.
06
30
26
142. 环形链表 II 142. 环形链表 II
#!/usr/bin/env python # -*- coding:utf-8 -*- # 这题和141题好像都没啥意思 class Solution(object): def detectCycle(self, head):
2018-06-26
19
10
198. 打家劫舍 198. 打家劫舍
#!/usr/bin/env python # -*- coding:utf-8 -*- from typing import List from functools import lru_cache # 这种递归会导致之前计算号的dp(
2018-06-10
06