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 / \ ...
分类:
其他好文 时间:
2014-11-13 22:22:11
阅读次数:
221
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 / \ ...
分类:
其他好文 时间:
2014-11-13 22:20:24
阅读次数:
224
DescriptionFor a positive integer N , the digit-sum of N is defined as the sum of N itself and its digits. When M is the digitsum of N , we call N a g...
分类:
其他好文 时间:
2014-11-13 12:48:57
阅读次数:
172
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 / \ ...
分类:
其他好文 时间:
2014-11-09 06:18:31
阅读次数:
179
At Clock we typically spend our time developing JavaScript and PHP, however, occasionally Flash presents itself as the most suitable platform for cert...
分类:
其他好文 时间:
2014-11-05 14:36:53
阅读次数:
286
题目描述:
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
...
分类:
其他好文 时间:
2014-11-04 17:24:06
阅读次数:
132
Hie with the Pie
Time Limit: 2000MS
Memory Limit: 65536K
Total Submissions: 4646
Accepted: 2457
Description
The Pizazz Pizzeria prides itself in delivering pizzas to ...
分类:
其他好文 时间:
2014-11-04 11:05:47
阅读次数:
150
算法能力一直不好,决定利用晚上和假期时间多做点算法题,动动手,提高自己。大家看到我的水平低还望莫要嘲笑,嘻嘻。 这一题呢是LeetCode上的对称树问题, Given a binary tree, check whether it is a mirror of itself (ie, sym...
分类:
其他好文 时间:
2014-11-02 22:29:08
阅读次数:
231
1583 - Digit GeneratorFor a positive integer N , the digit-sum of N is defined as the sum of N itself and its digits. When M is the digitsum of N , we...
分类:
其他好文 时间:
2014-10-30 22:18:18
阅读次数:
234
Hie with the PieTime Limit:2000MSMemory Limit:65536KTotal Submissions:4619Accepted:2444DescriptionThe Pizazz Pizzeria prides itself in delivering pizz...
分类:
其他好文 时间:
2014-10-29 18:47:44
阅读次数:
114