Friday the ThirteenthIs Friday the 13th really an unusual event?That is, does the 13th of the month land on a Friday less often than on any other day ...
分类:
其他好文 时间:
2014-11-30 13:49:01
阅读次数:
120
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, 1 ...
分类:
其他好文 时间:
2014-11-29 21:37:03
阅读次数:
330
配置等级策略,保证outside端口可以访问inside端口access-list 100 extended permit icmp any anyaccess-list 100 extended permit ip any anyaccess-group 100 in interface ou.....
分类:
其他好文 时间:
2014-11-29 21:25:29
阅读次数:
325
四、动态ACL动态ACL是一种利用路由器telnet的验证机制,动态建立临时的ACL以让用户可以暂时访问内网的一种技术 命令:access-list {100-199} dynamic username [timeout minutes] permit any dest-ip dest-wild.....
分类:
系统相关 时间:
2014-11-29 21:24:11
阅读次数:
200
Populating Next Right Pointers in Each Node IIFollow up for problem "Populating Next Right Pointers in Each Node".What if the given tree could be any ...
分类:
其他好文 时间:
2014-11-29 11:45:49
阅读次数:
141
Don't Get RookedIn chess, the rook is a piece that can move any number of squares vertically or horizontally. In this problem we will consider small c...
分类:
其他好文 时间:
2014-11-28 14:02:19
阅读次数:
179
Given a binary tree, find the maximum path sum.The path may start and end at any node in the tree.找树的最大路径和 注意路径可以从任意点起始和结束。我发现我真的还挺擅长树的题目的,递归不难。就是因为有个...
分类:
其他好文 时间:
2014-11-27 23:24:02
阅读次数:
284
Binary Tree Maximum Path SumGiven a binary tree, find the maximum path sum.The path may start and end at any node in the tree.For example:Given the be...
分类:
其他好文 时间:
2014-11-27 20:22:01
阅读次数:
181
准备工作先搭建一台DNS,创建3个域名[root@localhost~]#yuminstallbind*修改named.conf主配置文件listen-onport53{any;};allow-query{any;};zone"ccav.cn"IN{typemaster;file"ccav.cn.zone";};zone"ccav1.cn"IN{typemaster;file"ccav1.cn.zone";};zone"ccav2.cn"IN{typemaster;..
分类:
其他好文 时间:
2014-11-27 18:51:01
阅读次数:
103
A robot is located at the top-left corner of a m x n grid (marked 'Start' in the diagram below).
The robot can only move either down or right at any point in time. The robot is trying to reach the ...
分类:
编程语言 时间:
2014-11-27 12:53:47
阅读次数:
159