摘要: 面试题3:数组中重复数字 # 使用set,时间复杂度O(n),空间复杂度O(n)class Solution(object): def findRepeatNumber(self, nums): """ :type nums: List[int] :rtype: int """ a = set([] 阅读全文
posted @ 2020-02-14 01:16 WESWES 阅读(216) 评论(0) 推荐(0) 编辑