![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
python
毕奥莎伐尔
这个作者很懒,什么都没留下…
展开
-
leetcode 42 python3
class Solution: def firstMissingPositive(self, nums): n = len(nums) res = 1 if n == 0: return res #负数置0,大于n也置0 for i in range(0, n ): ...原创 2018-11-29 16:18:43 · 222 阅读 · 0 评论 -
leetcode 43 python3
class Solution: def multiply(self, num1, num2): if (num1 and num2) : a = int(num1) b = int(num2) c = a * b d = str(c) return d...原创 2018-11-29 16:29:18 · 236 阅读 · 0 评论