摘要: Given an array of integers, find out whether there are two distinct indices i and j in the array such that the difference between nums[i] and nums[j]  阅读全文
posted @ 2015-06-28 20:18 Mr.do 阅读(130) 评论(0) 推荐(0) 编辑
摘要: Given an array of integers and an integer k, find out whether there there are two distinct indices i and j in the array such that nums[i] = nums[j] an 阅读全文
posted @ 2015-06-28 09:53 Mr.do 阅读(119) 评论(0) 推荐(0) 编辑
摘要: Given an array of integers, find if the array contains any duplicates. Your function should return true if any value appears at least twice in the arr 阅读全文
posted @ 2015-06-28 09:28 Mr.do 阅读(121) 评论(0) 推荐(0) 编辑