原题地址:https://oj.leetcode.com/problems/symmetric-tree/题意:判断二叉树是否为对称的。Given
a binary tree, check whether it is a mirror of itself (ie, symmetric around ...
分类:
编程语言 时间:
2014-05-26 10:18:52
阅读次数:
293
1、首先是去http://www.oracle.com/technetwork/database/enterprise-edition/downloads/index.html官网下载oracle11g
win32位如下:首先点选上上面Accept License Agreement选项,然后再下面...
分类:
数据库 时间:
2014-05-26 10:08:13
阅读次数:
337
qsort直接排序。 1 #include 2 #include 3 #include 4 5
#define MAXNUM 1000 6 7 typedef struct { 8 int index; 9 double statis;10 }
node_st;11 12 ...
分类:
其他好文 时间:
2014-05-26 10:05:44
阅读次数:
229
I hate windows. 1. 下载安装 ImageMagick,
选择合适您电脑的版本,我下载的是:
ImageMagick-6.8.9-1-Q16-x86-dll.exehttp://www.imagemagick.org/script/binary-releases.php#window...
在做web开发中可能会遇到flash遮挡页面中元素的情况,无论怎么设置flash容器和层的深度(z-index)也无济于事,现有的解决方案是在插入flash的embed或object标签中加入”wmode”属性并设置为wmode=“transparent”或”opaque”,但wmode属性到底是什...
分类:
其他好文 时间:
2014-05-26 08:47:52
阅读次数:
196
本篇介绍angular中如何通过判断url的hash值来显示不同的视图模板,并使用不同的控制器:下面,通过一个例子,来一步一步说明它的用法:我们要做一个邮箱应用,打开的时候显示的是邮件列表:然后点击邮件主题,可以查看该邮件的详细内容:点击返回列表,再回到列表页一.
创建index页面: 14.1路....
分类:
其他好文 时间:
2014-05-26 08:40:30
阅读次数:
301
1、$position = index(string,substring,skipchars);
该函数返回子串substring在字符串string中的位置,如果不存在,则返回-1;参数skipchars是可选参数,表示查找之前跳过的字符数,即:从该位置处开始查找;2、rindex(string,...
分类:
其他好文 时间:
2014-05-26 08:22:13
阅读次数:
234
在Eclipse里初次使用Maven,右键project->add
dependency, 发现search不管用,这时候需要按照以下步骤操作:Goto "Preferences ->
Maven"Check"Download repository index updates on start"an...
分类:
系统相关 时间:
2014-05-26 07:16:26
阅读次数:
390
单例模式(Singleton
pattern)是一种创建型模式,它会限制应用程序,使其只能创建某个类类型的单一实例。举例来说,一个Web站点将会需要一个数据库连接对象,但是应该有且只有一个,因此我们需要使用单例模式来实现。eg:_settings[$index]
= $value; } f...
分类:
Web程序 时间:
2014-05-26 06:20:06
阅读次数:
319
using System;using System.Collections.Generic;using
System.IO;using System.Linq;using
System.Runtime.Serialization.Formatters.Binary;using System.Text...
分类:
数据库 时间:
2014-05-26 06:18:47
阅读次数:
443