1. Question判断一个二叉树是否是对称的。Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center).For example, this binary tree i...
分类:
其他好文 时间:
2015-06-24 23:54:40
阅读次数:
183
安装环境:
centos、R3.0.1
1、在终端下下载:
#cd /usr/local/
#wget http://mirror.bjtu.edu.cn/cran/src/base/R-3/R-3.0.1.tar.gz (终端下输入)
2、解压文件:
#tar -zxvf R-3.0.1.tar.gz
#cd R-3.0.1
3、安装...
分类:
编程语言 时间:
2015-06-23 20:10:50
阅读次数:
270
Step1yuminstallautomakelibtoolflexbisonpkgconfiggcc-c++Step2curlftp://ftp.pbone.net/mirror/ftp5.gwdg.de/pub/opensuse/repositories/home:/monkeyiq:/centos6updates/CentOS_CentOS-6/noarch/autoconf-2.69-12.2.noarch.rpm>autoconf-2.69-12.2.noarch.rpmStep3yumins..
分类:
Web程序 时间:
2015-06-23 18:19:21
阅读次数:
161
一、下载,这里使用绿色解压缩版 http://mirror.services.wisc.edu/mysql/Downloads/MySQL-5.1/mysql-noinstall-5.1.32-win32.zip 二、配置MySQL的参数 1、解压缩绿色版软件到D:\AppServ\MySQL...
分类:
数据库 时间:
2015-06-23 17:12:46
阅读次数:
192
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-06-21 14:37:26
阅读次数:
145
#include #include char mirror(char c){ static const char m[] = "A 3 HIL JM O 2TUVWXY51SE Z 8 "; if ('A' <= c && c <= 'Z') return m[c-'A']; else retu.....
分类:
其他好文 时间:
2015-06-20 14:18:19
阅读次数:
111
Description:Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center).For example, this binary tree is symmetric: ...
分类:
其他好文 时间:
2015-06-19 18:09:13
阅读次数:
81
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-06-19 10:12:00
阅读次数:
128
ubuntu可以利用apt-mirror下载Ubuntu源和openstack源。安装下载工具apt-mirrorapt-getinstallapt-mirror修改源配置,使用souhu源vi/etc/apt/mirror.list加入以下内容:#############config##################
#
#setbase_path/var/spool/apt-mirror
setbase_path/home/openstac..
分类:
系统相关 时间:
2015-06-18 22:21:15
阅读次数:
188
sun solaris低版本存在bash漏洞,通过卸载或者升级解决问题。
1、所有的pkg安装包下载地址:
http://mirror.opencsw.org/opencsw/allpkgs/
2、下载安装:
#gunzip bash-4.3.33,REV=2015.02.15-SunOS5.10-sparc-CSW.pkg.gz
# pkgadd -d bash...
分类:
系统相关 时间:
2015-06-18 13:43:18
阅读次数:
223