题目:(Tree ,Stack)Given a binary tree, return thepostordertraversal of its nodes' values.For example:Given binary tree{1,#,2,3}, 1 \ 2 / 3...
分类:
其他好文 时间:
2015-01-01 07:54:28
阅读次数:
116
Given two values k1 and k2 (where k1 searchRange(TreeNode root, int k1, int k2) {19 ArrayList res = searchRangeRecur(root,k1,k2);20 r...
分类:
其他好文 时间:
2015-01-01 01:28:39
阅读次数:
135
1.增 insert into 表名 [(字段)] values (值);2.删 删除数据:delete from 表名 where exp; 清空数据:truncate 表名;3.改 update 表名 set 字段=新值,... where exp;4.查①where精确查询 sele...
分类:
数据库 时间:
2014-12-31 21:27:52
阅读次数:
251
这里使用的软件,集成的功能很丰富1、在源文件中选择要反编译的apk路径,在目标文件中选择要输出的apk路径。然后选择“反编译apk”,点击“操作”。2、反编译完成后找到res/values-zh-rCN,没有则创建一个。将values/string.xml拷贝一份放到res/values-zh-rC...
分类:
移动开发 时间:
2014-12-31 17:48:30
阅读次数:
268
#FFFFFF其余颜色:#FFFFF0#FFFFE0#FFFF00#FFFAFA#FFFAF0#FFFACD#FFF8DC#FFF5EE#FFF0F5#FFEFD5#FFEBCD#FFE4E1#FFE4C4#FFE4B5#FFDEAD#FFDAB9#FFD700#FFC0CB#FFB6C1#FFA5...
分类:
移动开发 时间:
2014-12-31 15:54:14
阅读次数:
230
本文主要介绍了Map集合中entrySet()方法与keySet()、value()方法的使用,其中前两者取出的都是key和value的映射关系,只有最后的values取出的是集合中所以的值,没有键,也就没有了对应的映射关系。...
分类:
编程语言 时间:
2014-12-31 10:04:26
阅读次数:
229
Binary Tree Postorder TraversalGiven a binary tree, return thepostordertraversal of its nodes' values.For example:Given binary tree{1,#,2,3}, 1 \...
分类:
其他好文 时间:
2014-12-30 20:33:56
阅读次数:
204
Given a binary tree, return thezigzag level ordertraversal of its nodes' values. (ie, from left to right, then right to left for the next level and al...
分类:
其他好文 时间:
2014-12-30 20:33:53
阅读次数:
146
Given a binary tree, return thepreordertraversal of its nodes' values.For example:Given binary tree{1,#,2,3}, 1 \ 2 / 3return[1,2,3].Not...
分类:
其他好文 时间:
2014-12-30 20:33:18
阅读次数:
182
Given a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all the values along the path equals the given sum.
For example:
Given the below binary tree and sum
...
分类:
其他好文 时间:
2014-12-30 19:10:58
阅读次数:
135