在android开发过程中,为了让其他的应用程序,也可以访问本应用程序的服务,android系统采用远程过程调用来实现。android通过接口来公开定义的服务。我们将能够夸进程访问的服务成为AIDL服务(Android Interface Definition Language)。本节主要讲述通过a...
分类:
移动开发 时间:
2014-12-05 17:02:13
阅读次数:
130
The current date and time is: Folder Name Description App_Browsers Contains browser definition fi...
分类:
Web程序 时间:
2014-12-04 15:33:11
阅读次数:
116
1 #分别取出当前脚本的父目录、文件名 2 $Currentpath1 = Split-Path -parent $MyInvocation.MyCommand.Definition 3 $Currentpath2 = Split-Path -leaf $MyInvocation.M...
分类:
其他好文 时间:
2014-12-04 11:37:16
阅读次数:
96
DTD=类型定义(Documnet Type Definition)XSD=XML结构定义 ( XML Schemas Definition )DTD 就相当于 XML 中的“词汇”和“语法”,不同的行业可以定义自己的“词汇”和“语法”,以利于解析器验证 XML 文档的有效性,并且这样也利于行业中和...
分类:
其他好文 时间:
2014-12-03 23:12:41
阅读次数:
309
题目
Sort a linked list in O(n log n)
time using constant space complexity.
解答
O(nlogn)时间复杂度的排序有快排、堆排、归并,一般双向链表用快排、单向链表用归并,堆排两种都可以,以下使用归并排序:
/**
* Definition for singly-linked list.
* class Li...
分类:
其他好文 时间:
2014-12-03 21:32:25
阅读次数:
138
Given a linked list, determine if it has a cycle in it.Follow up:Can you solve it without using extra space?/** * Definition for singly-linked list. *...
分类:
其他好文 时间:
2014-12-03 13:54:01
阅读次数:
152
Sort a linked list inO(nlogn) time using constant space complexity./** * Definition for singly-linked list. * struct ListNode { * int val; * L...
分类:
其他好文 时间:
2014-12-03 12:12:42
阅读次数:
188
Givennpoints on a 2D plane, find the maximum number of points that lie on the same straight line./** * Definition for a point. * struct Point { * ...
分类:
其他好文 时间:
2014-12-03 12:05:12
阅读次数:
181
Sort a linked list using insertion sort./** * Definition for singly-linked list. * struct ListNode { * int val; * ListNode *next; * ListNo...
分类:
其他好文 时间:
2014-12-03 11:57:51
阅读次数:
144
一什么是CTS
CTS简介:Compatibility Test suite系列兼容测试
google定义了一个兼容性规范(Compatible Definition),而CTS就是为了确保某个测试符合该规范。从而基于Android的应用程序能在基于同一个api版本的设备上面运行。通过CTS测试的device可以获得android的商标,并且享受android market的权限。
例如手机...
分类:
移动开发 时间:
2014-12-02 20:53:08
阅读次数:
323