摘要: ```python coding: utf 8 def factorial(n: int): if n == 0: return 1 else: return n factorial(n 1) def draw_line(tick_length, tick_label=''): line = ' ' 阅读全文
posted @ 2019-08-03 20:38 加州风尘 阅读(210) 评论(0) 推荐(0) 编辑
摘要: 缺点: 消耗空间,less子集和greater子集每次递归就会创建 阅读全文
posted @ 2019-08-03 16:22 加州风尘 阅读(148) 评论(0) 推荐(0) 编辑