摘要:
Given n non-negative integers a1, a2, ..., an, where each represents a point at coordinate (i, ai). n vertical lines are drawn such that the two endpo 阅读全文
posted @ 2016-03-18 14:02
wangb021
阅读(134)
评论(0)
推荐(0)
摘要:
题目: Write an efficient algorithm that searches for a value in an m x n matrix. This matrix has the following properties: Integers in each row are sort 阅读全文
posted @ 2016-03-18 02:01
wangb021
阅读(196)
评论(0)
推荐(0)
摘要:
题目: 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 th 阅读全文
posted @ 2016-03-18 01:26
wangb021
阅读(148)
评论(0)
推荐(0)

浙公网安备 33010602011771号