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
Follow up for ”Remove Duplicates”: What if duplicates are allowed at most twice?For example, Given sorted array A = [1,1,1,2,2,3],Your function should...
分类:
其他好文 时间:
2014-06-14 16:08:32
阅读次数:
200
原始题目如下,意为寻找数组和最大的子串,返回这个最大和即可。
Find the contiguous subarray within an array (containing at least one number) which has the largest sum.
For example, given the array [?2,1,?3,4,?1,2,1,?5,4],
the...
分类:
其他好文 时间:
2014-06-14 15:08:00
阅读次数:
224
1、
??
Binary Tree Inorder Traversal
Given a binary tree, return the inorder traversal of its nodes' values.
For example:
Given binary tree {1,#,2,3},
1
2
/
3
return ...
分类:
其他好文 时间:
2014-06-14 14:11:27
阅读次数:
315
Reverse a linked list from positionmton. Do it in-place and in one-pass.For example:Given1->2->3->4->5->NULL,m= 2 andn= 4,return1->4->3->2->5->NULL.No...
分类:
其他好文 时间:
2014-06-14 13:15:06
阅读次数:
199