摘要: Class OverviewA client may implement this interface to receive information about changes to the surface. When used with aSurfaceView, the Surface bein... 阅读全文
posted @ 2015-08-21 20:48 Rosanne 阅读(402) 评论(0) 推荐(0) 编辑
摘要: Description:Given a set ofnon-overlappingintervals, insert a new interval into the intervals (merge if necessary).You may assume that the intervals we... 阅读全文
posted @ 2015-08-21 16:30 Rosanne 阅读(198) 评论(0) 推荐(0) 编辑
摘要: Description:Sort a linked list using insertion sort.Code: ListNode* insertionSortList(ListNode* head) { if (head == NULL) return NUL... 阅读全文
posted @ 2015-08-21 16:28 Rosanne 阅读(172) 评论(0) 推荐(0) 编辑
摘要: Description:Given a collection of intervals, merge all overlapping intervals.For example,Given[1,3],[2,6],[8,10],[15,18],return[1,6],[8,10],[15,18].Co... 阅读全文
posted @ 2015-08-21 13:46 Rosanne 阅读(182) 评论(0) 推荐(0) 编辑
摘要: Description:There areNgas stations along a circular route, where the amount of gas at stationiisgas[i].You have a car with an unlimited gas tank and i... 阅读全文
posted @ 2015-08-21 08:59 Rosanne 阅读(291) 评论(0) 推荐(0) 编辑
摘要: 一.新建一个工程“LearnSurfaceView”二.新建一个类“MySurfaceView”public class MySurfaceView extends SurfaceView implements SurfaceHolder.Callback { private Paint pa... 阅读全文
posted @ 2015-08-21 08:29 Rosanne 阅读(167) 评论(0) 推荐(0) 编辑