Symmetric TreeGiven a binary tree, check whether it is a mirror of itself (ie, symmetric around its center).For example, this binary tree is symmetric...
分类:
其他好文 时间:
2015-01-27 00:14:03
阅读次数:
145
Problem I
23 Out of 5
Input: standard input
Output: standard output
Time Limit: 1 second
Memory Limit: 32 MB
Your task is to write a program that can decide whether you can find an arithmetic ex...
分类:
其他好文 时间:
2015-01-26 17:07:04
阅读次数:
183
temp = '32'if temp > 85: print "Hot"elif temp > 62: print "Comfortable" else: print "Cold" 结果输出为Hot.Why?Essentially, "...the choice whether one ...
分类:
编程语言 时间:
2015-01-23 00:39:03
阅读次数:
311
1 现象 安装12.1.0.2 的 RAC,检查报错: This is aprerequisite condition to test whether the OS kernel parameter "panic_on_oops"is properly set. OS KernelParameter: panic_on_oops - T...
分类:
数据库 时间:
2015-01-21 15:15:27
阅读次数:
346
【题目】
Determine whether an integer is a palindrome. Do this without extra space.
click to show spoilers.
Some hints:
Could negative integers be palindromes? (ie, -1)
If you are thinking of...
分类:
其他好文 时间:
2015-01-20 22:21:27
阅读次数:
153
标题:Palindrome Number通过率:29.1%难度:简单Determine whether an integer is a palindrome. Do this without extra space. 这个题没有理解是因为单词不认识,然后就是不知道什么是回文数,翻译一下,百度一下才....
分类:
其他好文 时间:
2015-01-19 19:01:54
阅读次数:
177
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-01-19 00:09:50
阅读次数:
174
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-01-14 11:08:56
阅读次数:
154
# -*- coding: utf8 -*-'''__author__ = 'dabay.wang@gmail.com'https://oj.leetcode.com/problems/palindrome-number/Determine whether an integer is a palin...
分类:
编程语言 时间:
2015-01-14 06:14:41
阅读次数:
177
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 /...
分类:
移动开发 时间:
2015-01-12 22:25:01
阅读次数:
151