摘要: 一、Contains DuplicateGiven an array of integers, find if the array contains any duplicates. Your function should return true if any value appears at le... 阅读全文
posted @ 2015-07-05 21:10 小金乌会发光-Z&M 阅读(322) 评论(0) 推荐(0) 编辑
摘要: Given a sorted integer array without duplicates, return the summary of its ranges.For example, given[0,1,2,4,5,7], return["0->2","4->5","7"].分析:题意为给定一... 阅读全文
posted @ 2015-07-05 17:01 小金乌会发光-Z&M 阅读(223) 评论(0) 推荐(0) 编辑