摘要:
Class OverviewA client may implement this interface to receive information about changes to the surface. When used with aSurfaceView, the Surface bein... 阅读全文
摘要:
Description:Given a set ofnon-overlappingintervals, insert a new interval into the intervals (merge if necessary).You may assume that the intervals we... 阅读全文
摘要:
Description:Sort a linked list using insertion sort.Code: ListNode* insertionSortList(ListNode* head) { if (head == NULL) return NUL... 阅读全文
摘要:
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... 阅读全文
摘要:
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... 阅读全文
摘要:
一.新建一个工程“LearnSurfaceView”二.新建一个类“MySurfaceView”public class MySurfaceView extends SurfaceView implements SurfaceHolder.Callback { private Paint pa... 阅读全文