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...
分类:
其他好文 时间:
2014-06-15 18:55:36
阅读次数:
188
Description:Given a linked list, swap every two adjacent nodes and return its head.For example,Given1->2->3->4, you should return the list as2->1->4->...
分类:
其他好文 时间:
2014-06-15 07:35:31
阅读次数:
151
Description:GivennumRows, generate the firstnumRowsof Pascal's triangle.For example, givennumRows= 5,Return[ [1], [1,1], [1,2,1], [1,3,3,1],...
分类:
其他好文 时间:
2014-06-15 06:33:57
阅读次数:
216
Question:Given a collection of intervals, merge all overlapping intervals.For example,Given[1,3],[2,6],[8,10],[15,18],return[1,6],[8,10],[15,18].-----...
分类:
其他好文 时间:
2014-06-14 22:59:14
阅读次数:
211
1.本机和外网的解析??之前讨论了DNS的正向解析和反向解析,但有的时候我们想让DNSserver对于server本机的解析和对于外网的解析是不同的。那就须要在主配置文件里对本机和外网进行不同的配置:??????这个是主配置文件里对于本server的訪问,而且副配置文件为example.com.zo...
分类:
系统相关 时间:
2014-06-14 22:33:34
阅读次数:
368
Spiral Matrix:Given a matrix ofmxnelements (mrows,ncolumns), return all elements of the matrix in spiral order.For example,Given the following matrix:...
分类:
其他好文 时间:
2014-06-14 21:42:10
阅读次数:
309
Question:Given a binary tree, find the maximum path sum.The path may start and end at any node in the tree.For example:Given the below binary tree, .....
分类:
其他好文 时间:
2014-06-14 20:59:07
阅读次数:
188
什么是PHP JPGraph?专门提供图表的类库。它使得作图变成了一件非常简单的事情。生成非美工人士生成的图表。二维码算法。到官方网站下载。docportal 帮助手册 src 包含主要代码。里面有contour_dev开发用的方法。案例不能直接使用,需要将example调整后使用。include_...
分类:
Web程序 时间:
2014-06-14 20:50:51
阅读次数:
358
Decription:Given a triangle, find the minimum path sum from top to bottom. Each step you may move to adjacent numbers on the row below.For example, gi...
分类:
其他好文 时间:
2014-06-14 19:46:12
阅读次数:
251
hostname命令的用法的小知识我们都知道hostname命令是查看主机名和修改主机名的。[root@apache ~]# hostname //查看本机的主机名apache.example.com[root@apache ~]# hostname redhat//临时修改主机名[root@apa...
分类:
系统相关 时间:
2014-06-14 19:20:31
阅读次数:
285