摘要: 1 class Solution: 2 def alphabetBoardPath(self, target: str) -> str: 3 #a->97 4 #z->122 5 board = [] 6 board.append([0,1,2,3,4]) 7 board.append([5,6... 阅读全文
posted @ 2019-07-28 11:07 Sempron2800+ 阅读(112) 评论(0) 推荐(0)
摘要: 1 class Solution: 2 def tribonacci(self, n: int) -> int: 3 if n == 0: 4 return 0 5 elif n == 1: 6 return 1 7 elif n == 2: 8 ret... 阅读全文
posted @ 2019-07-28 10:43 Sempron2800+ 阅读(97) 评论(0) 推荐(0)