Given a binary tree, flatten it to a linked list in-place.For example,
Given 1
/ 2 5
/ \ 3 4 6The flattened tree should look like: 1
2...
分类:
其他好文 时间:
2015-06-13 14:19:28
阅读次数:
86
dispatch_sync: ?Submits a block to a dispatch queue like dispatch_async(), however ? dispatch_sync() will not return until the block has finished. ? ?Calls to dispatch_sync() targeting the curr...
分类:
其他好文 时间:
2015-06-13 13:02:02
阅读次数:
233
select * from [user] wherer name like '上海%'
分类:
数据库 时间:
2015-06-12 23:52:12
阅读次数:
183
1. Question给定行数,将某字符串转换为zigzag形式,然后按行输出。zigzag形式如:The string "PAYPALISHIRING" is written in a zigzag pattern on a given number of rows like this: (you...
分类:
其他好文 时间:
2015-06-12 23:52:02
阅读次数:
245
You can't just sit there and wait for life to come to you , You have to go to get it.你不能坐等一切发生,必须自己努力争取。Sometimes it feels like , no matterhow much su...
分类:
其他好文 时间:
2015-06-12 20:43:24
阅读次数:
107
leetcode - ZigZag ConversionThe string "PAYPALISHIRING" is written in a zigzag pattern on a given number of rows like this: (you may want to display t...
分类:
其他好文 时间:
2015-06-12 18:55:55
阅读次数:
114
From a practical point to most people, <? extends Object> is the same as <?>, like everyone have suggested here. However, they differ in two very minor and subtle points: The JVMS (Java Virtual Mac...
分类:
其他好文 时间:
2015-06-12 17:36:23
阅读次数:
228
一、 String searchQuery = "column1 like ‘%" + searchKey + "%‘ or column2 like ‘%" + searchKey + "%‘"; ?String searchQuery 2= "column1 like ? or column2 like?";?? c = getContentResolver().query(u...
分类:
移动开发 时间:
2015-06-12 17:34:51
阅读次数:
153
In Java thread topic, the task to be executed and the thread to drive the taskare two concepts should be clarified. The working process is like the fo...
分类:
编程语言 时间:
2015-06-12 11:23:41
阅读次数:
137
复制表结构 + 表数据Mysql> create tables t2 like t1;Mysql> insert into t2 select * from t1;mysql 索引a、Alert Table 用来创建普通索引、Unique 唯一索引 (当前列数值不可重复) 或 Primary Key...
分类:
数据库 时间:
2015-06-12 00:46:10
阅读次数:
186