摘要: Search for a RangeMar 3 '12Given a sorted array of integers, find the starting and ending position of a given target value.Your algorithm's runtime complexity must be in the order ofO(logn).If the target is not found in the array, return[-1, -1].For example,Given[5, 7, 7, 8, 8, 10]and target 阅读全文
posted @ 2013-03-03 18:07 西施豆腐渣 阅读(128) 评论(0) 推荐(0) 编辑