题目:Invert Binary TreeInvert a binary tree. 4 / \ 2 7 / \ / \1 3 6 9to 4 / \ 7 2 / \ / \9 6 3 1解答:# Definition fo...
分类:
其他好文 时间:
2015-07-01 11:39:21
阅读次数:
98
50 Pow(x, n)链接:https://leetcode.com/problems/powx-n/
问题描述:
Implement pow(x, n).Hide Tags Math Binary Search实现pow函数。这个问题可以用递归解决,联想到到 Binary Search,我的解决方案是每次让指数缩小两倍,当指数为技术的时候需要特别处理。还有指数为负的情况需要注意。class...
分类:
其他好文 时间:
2015-07-01 10:12:27
阅读次数:
104
21) Redis 简介Redis 是一个开源的使用 ANSI C 语言编写、支持网络、可基于内存亦可持久化的日志型、Key-Value 数据库。2) 数据类型2.1. Redis 的 KeyRedis 的 key 是字符串类型,但是 key 中不能包括边界字符,由于 key 不是 binary s...
分类:
其他好文 时间:
2015-06-30 14:22:56
阅读次数:
87
LeetCode_Maximum Depth of Binary Tree 题解...
分类:
其他好文 时间:
2015-06-30 12:59:49
阅读次数:
94
LeetCode_Minimum Depth of Binary Tree 解题思路...
分类:
其他好文 时间:
2015-06-30 12:59:11
阅读次数:
93
在Oracle中,lob类型主要是指:CLOB和BLOB,这两个类型都是用来存储大量数据而设计的。
Blob:是指二进制大对象也就是英文Binary Large Object的所写,是用来存储大量二进制数据。
Clob:是指大字符对象也就是英文Character Large Object的所写,用来存储大量文本数据。
一:操作CLOB
(1)数据库表结构如下...
分类:
数据库 时间:
2015-06-30 10:47:16
阅读次数:
207
http://oj.leetcode.com/problems/minimum-depth-of-binary-tree/This question is pretty similar to the solution of Maximum Depth of Binary Tree, the only...
分类:
其他好文 时间:
2015-06-30 06:34:15
阅读次数:
138
\system\app这个里面主要存放的是常规下载的应用程序,可以看到都是以APK格式结尾的文件。在这个文件夹下的程序为系统默认的组件,自己安装的软件将不会出现在这里,而是\data\文件夹中。\system\bin这个目录下的文件都是系统的本地程序,从bin文件夹名称可以看出是binary二进制的...
分类:
移动开发 时间:
2015-06-29 23:38:08
阅读次数:
183
LeetCode_Unique Binary Search Trees II 解题思路...
分类:
其他好文 时间:
2015-06-29 20:33:46
阅读次数:
91
LeetCode_Construct Binary Tree from Preorder and Inorder Traversal 解题思路...
分类:
其他好文 时间:
2015-06-29 20:27:59
阅读次数:
76