摘要: Description:Given a sorted array and a target value, return the index if the target is found. If not, return the index where it would be if it were in... 阅读全文
posted @ 2015-06-15 15:36 Rosanne 阅读(133) 评论(0) 推荐(0) 编辑
摘要: Description:Given a sorted array, remove the duplicates in place such that each element appear onlyonceand return the new length.Do not allocate extra... 阅读全文
posted @ 2015-06-15 15:31 Rosanne 阅读(150) 评论(0) 推荐(0) 编辑