Given a binary tree, return theinordertraversal of its nodes' values.For example:Given binary tree{1,#,2,3}, 1 \ 2 / 3return[1,3,2].inor...
分类:
其他好文 时间:
2015-01-18 11:45:40
阅读次数:
173
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...
分类:
其他好文 时间:
2015-01-18 11:45:24
阅读次数:
189
values-v11代表在API 11+的设备上,用该目录下的styles.xml代替res/values/styles.xmlvalues-v14代表在API 14+的设备上,用该目录下的styles.xml代替res/values/styles.xml其中API 11+代表android 3.0...
分类:
移动开发 时间:
2015-01-18 11:42:15
阅读次数:
150
创建测试表和测试数据 create table test (id number,name varchar(10)); insert into test values(1,'liufang'); insert into test values(2,'xiaozhang'); insert into t...
分类:
数据库 时间:
2015-01-17 23:20:55
阅读次数:
298
记得以前有个同事问过我这个,说是以前面试的时候碰到的问题,下面我介绍三种方法。首先我们在这里创建一个测试表添加相应的测试数据。 create table test (id number,name varchar(10)); insert into test values(1,'liufang');....
分类:
数据库 时间:
2015-01-17 22:09:10
阅读次数:
405
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...
分类:
其他好文 时间:
2015-01-17 17:58:07
阅读次数:
199
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...
分类:
其他好文 时间:
2015-01-17 13:51:25
阅读次数:
136
The problem:The gray code is a binary numeral system where two successive values differ in only one bit.Given a non-negative integernrepresenting the ...
分类:
其他好文 时间:
2015-01-17 06:19:58
阅读次数:
177
FM收音机需要插入耳机作为天线,拔出耳机时要自动退出
1.首先添加提示字符串
mediatek/packages/apps/FMRadio/res/values/strings.xml
The FM will close because you have been plug out the headphone
The FM will close because you have...
分类:
移动开发 时间:
2015-01-16 22:30:08
阅读次数:
312
iven a binary tree, return thebottom-up level ordertraversal of its nodes' values. (ie, from left to right, level by level from leaf to root).For exam...
分类:
其他好文 时间:
2015-01-16 22:17:55
阅读次数:
292