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-17 10:34:42
阅读次数:
168
偶然在微软Research中搜论文时搜到了神牛Jim Gary的paper,看着照片有点眼熟,貌似在买过的哪本书中见过。于是就饶有兴致地看着Jim的生平介绍,结果… “Dr. Gray joinedMicrosoft in 1995 as a Technical Fellow, researcher, and manager of the BayArea Research Center. His ...
分类:
其他好文 时间:
2014-11-16 21:45:39
阅读次数:
302
将图片在div中进行水平和垂直对齐要进行水平对齐,只需在父级元素的样式中指定:text-align: center;注意,是在父级元素的样式中指定,而不是在img本身的样式中指定。要进行垂直对齐,相对来说则麻烦得多。期待简单的在img元素的父级元素的样式中指定vertical-align: midd...
分类:
其他好文 时间:
2014-11-15 23:12:54
阅读次数:
264
/*CSS*/.waps{ background:url(07158.bmp) no-repeat top center fixed; width:1004px; text-align:center; line-height:28px; font-size:12px; font-family:Ari...
分类:
Web程序 时间:
2014-11-15 20:00:51
阅读次数:
212
http://www.aqee.net/a-harvard-economists-surprisingly-simple-productivity-secret/职业人士最常见的一种抱怨是:时间太少。每周工作超过60小时的人会抱怨甚至挤不出时间来处理他们邮箱里的邮件,更别说有创见性处理大项目中的问题...
分类:
其他好文 时间:
2014-11-15 18:21:13
阅读次数:
202
http://www.aqee.net/theres-no-such-thing-as-software-productivity/通过反复的交谈,Bill Caputo最终说服了我,让我相信了一些不可思议的事情。这些事情改变了我整个看问题的方式,也让我重新思考如何更好的工作。软件开发中没有“生产效...
分类:
其他好文 时间:
2014-11-15 17:00:22
阅读次数:
184
1、Lens Rolloff Correction 透镜衰减矫正The Lens Rolloff correction takes into account the fact that,with some sensors,the center of the image is brighter tha...
分类:
其他好文 时间:
2014-11-15 15:18:02
阅读次数:
561
头:header内容:content/container尾:footer导航:nav侧栏:sidebar栏目:column页面外围控制整体布局宽度:wrapper 或 wrap左右中:left right center登录条:loginbar标志:logo广告:banner页面主体:main热点:h...
分类:
Web程序 时间:
2014-11-14 17:20:56
阅读次数:
236
SICP 习题 2.12 要求我们定义一个构造函数make-center-percent,它接收两个参数,分别代表中心点和一个误差百分比。我们需要通过这个构造函数产生一个区间。此外还需要定义一个选择函数percent,用来获取指定区间的误差百分比。还有就是需要实现一个center函数用于获取区间的中...
分类:
其他好文 时间:
2014-11-14 06:56:21
阅读次数:
157
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