/** * Definition for binary tree * public class TreeNode { * int val; * TreeNode left; * TreeNode right; * TreeNode(int x) { val = x; ...
分类:
其他好文 时间:
2015-01-09 14:10:52
阅读次数:
101
/** * Definition for binary tree * public class TreeNode { * int val; * TreeNode left; * TreeNode right; * TreeNode(int x) { val = x; ...
分类:
其他好文 时间:
2015-01-09 14:06:02
阅读次数:
134
原题:Given a linked list, reverse the nodes of a linked listkat a time and return its modified list.If the number of nodes is not a multiple ofkthen lef...
分类:
编程语言 时间:
2015-01-09 12:22:41
阅读次数:
160
Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes of the first
two lists.
Solutions:
/**
* Definition for singly-linked list.
...
分类:
其他好文 时间:
2015-01-09 09:16:56
阅读次数:
160
Merge k sorted
linked lists and return it as one sorted list. Analyze and describe its complexity.
/**
* Definition for singly-linked list.
* struct ListNode {
* int val;
* ListNode *ne...
分类:
其他好文 时间:
2015-01-09 09:16:33
阅读次数:
136
错误1:Unable to execute dex: Multiple dex files define Landroid/support/v4/app/ActivityCompatHoneycomb;解决方法: 1、点击项目,右击选择build path 2、选择configure build p...
分类:
其他好文 时间:
2015-01-08 22:34:15
阅读次数:
224
题目:Sort a linked list inO(nlogn) time using constant space complexity.代码:oj 测试通过Runtime:372 ms 1 # Definition for singly-linked list. 2 # class ListNo...
分类:
编程语言 时间:
2015-01-08 19:37:40
阅读次数:
195
KEY is normally a synonym for INDEX. The key attribute PRIMARY KEY can also be specified as just KEY when given in a column definition. This was imple...
分类:
数据库 时间:
2015-01-08 17:23:42
阅读次数:
192
悲剧...FireDAC连接Postgre数据库, 使用默认的属性,一次执行多条SQL的时候, 会报"cannot insert multiple commands into a prepared statement"这样的错误到网上查了一下(百度), 什么信息都找不到, 然后又google, 找到...
分类:
其他好文 时间:
2015-01-08 17:16:09
阅读次数:
331
1、报表描述符是报表描述项目(Item)的集合;2、项目有长项目与短项目,他们的数据格式不同;(HID class definition P36)短项目数据格式:3、bTag bType信息表;4、例如:/*鼠标*/0x05, 0x01, 0x09, 0x02, 0xa1, 0x01,/*...
分类:
其他好文 时间:
2015-01-08 17:04:45
阅读次数:
143