摘要: 169.Majority Element 建立字典,统计数字数目,满足要求的输出。 1 class Solution(object): 2 def majorityElement(self, nums): 3 """ 4 :type nums: List[int] 5 :rtype: int 6 " 阅读全文
posted @ 2018-10-24 21:00 adminyzz 阅读(70) 评论(0) 推荐(0) 编辑