摘要:
class Solution: def isSameTree(self, p, q) -> bool: if not p and not q: return True elif p is not None and q is not None: if p.val==q.val: return self 阅读全文
posted @ 2019-09-24 17:00
欣姐姐
阅读(133)
评论(0)
推荐(0)
摘要:
超时: 再次超出时间限制: 通过: 数因子里面5的个数: 执行用时 :72 ms, 在所有 Python3 提交中击败了17.11%的用户 内存消耗 :13.7 MB, 在所有 Python3 提交中击败了5.19%的用户 ——2019.9.24 阅读全文
posted @ 2019-09-24 15:22
欣姐姐
阅读(140)
评论(0)
推荐(0)
摘要:
1 class Solution: 2 def searchInsert(self, nums, target: int) -> int: 3 if target in nums: 4 return nums.index(target) 5 else: 6 if target>=nums[-1]: 阅读全文
posted @ 2019-09-24 10:48
欣姐姐
阅读(188)
评论(0)
推荐(0)

浙公网安备 33010602011771号