Given a non-negative number represented as an array of digits, plus one to the number.The digits are stored such that the most significant digit is at... Read More
posted @ 2014-06-19 16:27
Xylophone
Views(115)
Comments(0)
Diggs(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 sorted fr... Read More
posted @ 2014-06-19 15:39
Xylophone
Views(147)
Comments(0)
Diggs(0)
Given two sorted integer arrays A and B, merge B into A as one sorted array.Note: You may assume that A has enough space (size that is greater or equa... Read More
posted @ 2014-06-19 15:18
Xylophone
Views(107)
Comments(0)
Diggs(0)
Given a sorted array, remove the duplicates in place such that each element appear only once and return the new length.Do not allocate extra space for... Read More
posted @ 2014-06-19 10:38
Xylophone
Views(156)
Comments(0)
Diggs(0)

浙公网安备 33010602011771号