摘要: problems: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... 阅读全文
posted @ 2015-06-08 15:20 尾巴草 阅读(146) 评论(0) 推荐(0) 编辑
摘要: Problems: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] = n... 阅读全文
posted @ 2015-06-08 11:02 尾巴草 阅读(129) 评论(0) 推荐(0) 编辑
摘要: Problem: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... 阅读全文
posted @ 2015-06-08 10:22 尾巴草 阅读(119) 评论(0) 推荐(0) 编辑