摘要: 0. 1. examples: def fib(n): if n == 1 or n == 2: result = 1 else result = fib(n-1) + fib(n-2) return result this is very in-efficient, O(2^n), and we 阅读全文
posted @ 2020-01-24 04:00 心怀阳光 阅读(107) 评论(0) 推荐(0) 编辑