问题描述:
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 ...
分类:
其他好文 时间:
2014-10-27 21:19:41
阅读次数:
231
redhat6.4x64和x86更新bashx64安装下载bashbash-4.1.2-15.el6_5.2.x86_64.rpmhttp://mirror.centos.org/centos/6/updates/x86_64/Packages/bash-4.1.2-15.el6_5.2.x86_64.rpm安装新包bashchmodu+xbash-4.1.2-15.el6_5.2*rpm-Uvhbash-4.1.2-15.el6_5.2.x86_64.rpmi86安装下载bas..
分类:
其他好文 时间:
2014-10-27 19:43:48
阅读次数:
232
自定义ListView放入ScrollView外壳:
问题:ScrollView不在顶部
解决方法:
myScrollView.smoothScrollTo(0,20);无效时, 在代码里去掉listview的焦点 lv.setFocusable(false);...
分类:
其他好文 时间:
2014-10-27 19:36:07
阅读次数:
158
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-10-26 15:33:29
阅读次数:
141
1、进入work目录下:cd /usr/local/work(如没有则自己新建,命令:mkdir /usr/local/work) 2、在woke目录下从网站下载apache并解压:wget http://dev.xiaonei.com/apache-mirror/httpd/httpd-2.0.6...
分类:
Web程序 时间:
2014-10-26 12:57:19
阅读次数:
162
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-10-26 11:37:08
阅读次数:
195
无聊安装了个mini版的32位的CentOS 6.5,进来想安装个东西,yum install emacs提示什么Loaded plugins: fastestmirror, refresh-packagekit, securityLoading mirror speeds from cached ...
分类:
Web程序 时间:
2014-10-25 17:14:56
阅读次数:
178
如何使用Ubuntu NightUbuntu Night(http://ubuntu9.com) 的Top mirror功能根据当前的网络情况和源健康状况不断地进行更新当前可用的源的信息,包括了Top fast/near/stable mirror,可以找到当前网络上所有可用的Ubuntu 镜像(即...
分类:
系统相关 时间:
2014-10-25 11:43:49
阅读次数:
261
操作系统启动失败如下图报错:故障现象:从图中可以看到,操作系统启动的过程中,fsck在执行文件系统检测时出现了错误,并且是在检查/dev/mapper/VolGroup-lv_home时出错,提示此文件不存在;故障分析:这是一个什么界面,为何会出现这个界面?操作系统启动的的大致过程为:加载..
分类:
其他好文 时间:
2014-10-25 02:03:15
阅读次数:
266
1、cl_abap_list_utilities=>dynamic_output_length 类得静态方法可以计算出字符串长度。以下输出的是7DATA: lv_str TYPE string, lv_len TYPE I , lv_char TYPE c...
分类:
其他好文 时间:
2014-10-24 18:05:57
阅读次数:
135