摘要: Given an array of n integers where n > 1, nums, return an array output such that output[i] is equal to the product of all the elements of nums except  阅读全文
posted @ 2017-09-08 09:08 Jimmy_Cheng 阅读(269) 评论(0) 推荐(0) 编辑
摘要: Given an integer array of size n, find all elements that appear more than ⌊ n/3 ⌋ times. The algorithm should run in linear time and in O(1) space. 题目 阅读全文
posted @ 2017-09-08 07:10 Jimmy_Cheng 阅读(223) 评论(0) 推荐(0) 编辑