摘要: Given an array of integers nums sorted in non-decreasing order, find the starting and ending position of a given target value. If target is not found 阅读全文
posted @ 2015-04-09 13:01 Grandyang 阅读(21808) 评论(11) 推荐(3) 编辑
摘要: Given a sorted array of distinct integers and a target value, return the index if the target is found. If not, return the index where it would be if i 阅读全文
posted @ 2015-04-09 08:31 Grandyang 阅读(14924) 评论(4) 推荐(1) 编辑
Fork me on GitHub