2016年5月14日

First Bad Version

摘要: You are a product manager and currently leading a team to develop a new product. Unfortunately, the latest version of your product fails the quality c 阅读全文

posted @ 2016-05-14 22:04 Sheryl Wang 阅读(157) 评论(0) 推荐(0) 编辑

Search for a Range

摘要: Given 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 or 阅读全文

posted @ 2016-05-14 21:54 Sheryl Wang 阅读(123) 评论(0) 推荐(0) 编辑

Find in Large Sorted Array

摘要: http://www.lintcode.com/zh-cn/problem/search-in-a-big-sorted-array/ 给一个按照升序排序的正整数数组。这个数组很大以至于你只能通过固定的接口 ArrayReader.get(k) 来访问第k个数。(或者C++里是ArrayReade 阅读全文

posted @ 2016-05-14 21:26 Sheryl Wang 阅读(239) 评论(0) 推荐(0) 编辑

导航