题目:Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center).For example, this binary tree is symmetric: 1 / ...
分类:
其他好文 时间:
2015-08-02 08:54:04
阅读次数:
179
Test-Driven Development PrinciplesTDD consists of writing test cases that cover a desired feature, then writing the feature itself. In other words, th...
分类:
编程语言 时间:
2015-07-31 12:05:15
阅读次数:
121
Truncatable primes
Problem 37
The number 3797 has an interesting property. Being prime itself, it is possible to continuously remove digits from left to right, and remain prime at each stage: 3797, 7...
分类:
其他好文 时间:
2015-07-30 13:43:24
阅读次数:
148
netty ? 处理远程主机强制关闭一个连接,首先看下api解释: /**
?*?Returns?{@code?true}?if?and?only?if?the?channel?should?not?close?itself?when?its?remote
?*?peer?shuts?down?outpu...
分类:
Web程序 时间:
2015-07-28 16:15:10
阅读次数:
4644
关键字:QT,QComboBox,QLineEdit,QListViewOS:Windows 7问题链接:QComboBox: Can we make the entire combobox clickable, not just the dropdown button (arrow) itself...
分类:
其他好文 时间:
2015-07-22 22:20:35
阅读次数:
5972
Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center).
For example, this binary tree is symmetric:
1
/ 2 2
/ \ / 3 4 4 3
But the f...
分类:
其他好文 时间:
2015-07-22 16:10:25
阅读次数:
102
题目:
Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center).
For example, this binary tree is symmetric:
1
/ 2 2
/ \ / 3 4 4 3
...
分类:
编程语言 时间:
2015-07-20 23:43:46
阅读次数:
199
Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center).For example, this binary tree is symmetric: 1 / \ ...
分类:
其他好文 时间:
2015-07-20 18:38:42
阅读次数:
93
API原文说明:android:configChangesLists configuration changes that the activity will handle itself. When a configuration change occurs at runtime,the activ...
分类:
其他好文 时间:
2015-07-16 18:32:18
阅读次数:
177
I had a couple of interviews long ago which asked me to implemented a?least recently used (LRU)?cache. A cache itself can simply be implemented using a hash table, however adding a size limit giv...
分类:
编程语言 时间:
2015-07-16 07:23:26
阅读次数:
178