摘要: 描述: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 inserted in... 阅读全文
posted @ 2014-12-23 19:38 博临天下 阅读(280) 评论(0) 推荐(0) 编辑
摘要: 描述:Given an array of integers, every element appears twice except for one. Find that single one. Note:Your algorithm should have a linear runtime comp... 阅读全文
posted @ 2014-12-23 19:29 博临天下 阅读(3133) 评论(0) 推荐(0) 编辑