problem:
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 ...
分类:
其他好文 时间:
2015-04-20 11:16:24
阅读次数:
209
Vova was walking along one of Shenzhen streets when he noticed young pear trees, growing along the pavement. Each tree had a plaque attached to it containing some number. Vova walked around all n tree...
分类:
其他好文 时间:
2015-04-20 07:01:27
阅读次数:
256
After some thought on where to spend a holiday Vova decided to travel around South China and visit Guangzhou, Shenzhen, Macau and Hong Kong.
Vova heard that South China speaks the Cantonese dia...
分类:
其他好文 时间:
2015-04-19 22:51:16
阅读次数:
241
JavaScript is a powerful object oriented language with some of the fastest dynamic language interpreters around. The official JavaScript specification...
分类:
编程语言 时间:
2015-04-19 22:41:58
阅读次数:
266
题目链接:Symmetric Tree
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 ...
分类:
其他好文 时间:
2015-04-16 09:06:02
阅读次数:
147
Even with falling oil prices and strong U.S. growth, the head of the International Monetary Fund said the global economy only expanded around 3.4 perc...
分类:
其他好文 时间:
2015-04-15 00:48:50
阅读次数:
185
Buy Tickets
Time Limit: 4000MS
Memory Limit: 65536K
Total Submissions: 14905
Accepted: 7435
Description
Railway tickets were difficult to buy around the Lunar New Yea...
分类:
其他好文 时间:
2015-04-14 08:35:49
阅读次数:
158
Earthstone is a famous online card game created by Lizard Entertainment. It is a collectible card game that revolves around turn-based matches between two opponents.
Players start the game with a su...
分类:
其他好文 时间:
2015-04-12 22:46:45
阅读次数:
266
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-04-09 21:57:21
阅读次数:
131
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-04-04 23:50:46
阅读次数:
338