默认显示 修改后显示 1. 隐藏Apache信息 1.1 主配置中启用httpd-default.conf 文件: conf/httpd.Conf 找到httpd-default.conf,删除前面的注释“#”,改成如下 Include?conf/extra/httpd-default.conf 1.2 修改...
分类:
Web程序 时间:
2014-10-31 12:14:56
阅读次数:
235
配置虚拟主机1.开启Apache的rewrite模块 LoadModule rewrite_module modules/mod_rewrite.so2.开启虚拟主机功能 # Virtual hosts Include conf/extra/httpd-vhosts.conf3.修改conf/ext...
分类:
Web程序 时间:
2014-10-29 21:07:36
阅读次数:
191
Given a m x n matrix, if an element is 0, set its entire row and column to 0. Do it in place.
click to show follow up.
Follow up:
Did you use extra space?
A straight forward solution using O(m...
分类:
其他好文 时间:
2014-10-29 17:02:17
阅读次数:
206
Determine whether an integer is a palindrome. Do this without extra space.这题貌似解法挺多,直接用简单的把数倒置,没有考虑数据溢出的问题,如需解决可以把转置数设为long long即可。另外方法可以用到前后匹配、递归比较等。 ...
分类:
其他好文 时间:
2014-10-29 12:30:15
阅读次数:
115
http://www.delphisources.ru/pages/faq/master-delphi-7/content/LiB0104.htmlBeside this introductory example, you can do a few extra things with dynamic...
Determine whether an integer is a palindrome. Do this without extra space.click to show spoilers.Some hints:Could negative integers be palindromes? (i...
分类:
其他好文 时间:
2014-10-27 19:28:33
阅读次数:
217
Determine whether an integer is a palindrome. Do this without extra space.click to show spoilers.Some hints:Could negative integers be palindromes? (i...
分类:
其他好文 时间:
2014-10-26 16:52:38
阅读次数:
148
问题描述:
Given an index k, return the kth row of the Pascal's triangle.
For example, given k = 3,
Return [1,3,3,1].
Note:
Could you optimize your algorithm to use only O(k) extra space?
思路:
...
分类:
其他好文 时间:
2014-10-26 11:46:08
阅读次数:
251
Given a sorted array, remove the duplicates in place such that each element appear onlyonceand return the new length.Do not allocate extra space for a...
分类:
其他好文 时间:
2014-10-26 11:34:46
阅读次数:
243
题目:Given a sorted array, remove the duplicates in place such that each element appear onlyonceand return the new length.Do not allocate extra space fo...
分类:
其他好文 时间:
2014-10-25 22:57:43
阅读次数:
155