码迷,mamicode.com
首页 >  
搜索关键字:without    ( 3201个结果
[Leetcode] Linked List Cycle
Given a linked list, determine if it has a cycle in it.Follow up:Can you solve it without using extra space?Solution:快慢指针。 1 /** 2 * Definition for s....
分类:其他好文   时间:2014-10-17 15:16:48    阅读次数:179
Non-blocking user input in loop without ncurses.
The title sounds a bit awkward, let my briefly explain what is it all about.In my program, I want to wait for user input, but at the same time, I want...
分类:其他好文   时间:2014-10-17 01:19:53    阅读次数:434
简述一下制作shopex模板的过程
环境:小编本人用的是php的集成环境,xampp1.7.2其中php版本是version5.2.9Zendoptimizerv3.3.3Apache2.2.11关于环境的安装小编在此不再概述首先,模板的文件目录是在:\themes文件夹下面,我们先把config文件下下面的config的配置参数:without_cache设置为true,模板的制作效..
分类:其他好文   时间:2014-10-16 13:03:53    阅读次数:237
leetcode Palindrome Number Python
题目:Determine whether an integer is a palindrome. Do this without extra space. 刚开始看到题目的时候想着用栈来处理,每进来一个数与栈顶元素比较相同则栈顶元素处栈,不同则元素入栈,最后栈为空或剩一个数为真,我是以“12343....
分类:编程语言   时间:2014-10-15 19:45:31    阅读次数:249
Longest Substring Without Repeating Characters
[leetcode] Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating letters for "abcabcbb" is "abc", which the length is 3. For "bbbbb" the longest substring is "b", with th...
分类:其他好文   时间:2014-10-15 11:42:20    阅读次数:224
Linked List Cycle II
题目描述:Given a linked list, return the node where the cycle begins. If there is no cycle, returnnull.Follow up:Can you solve it without using extra spac...
分类:其他好文   时间:2014-10-15 11:10:10    阅读次数:219
Linked List Cycle
题目描述:Given a linked list, determine if it has a cycle in it.Follow up:Can you solve it without using extra space?解题方案:使用快慢指针,如果有环,快指针肯定会追上慢指针。下面是该题的代码...
分类:其他好文   时间:2014-10-15 00:03:19    阅读次数:183
Convert String to Long
Given a string, write a routine that converts the string to a long, without using the built in functions that would do this. Describe what (if any) li...
分类:其他好文   时间:2014-10-14 13:01:28    阅读次数:201
Palindrome Number
[leetcode]Determine whether an integer is a palindrome. Do this without extra space....
分类:其他好文   时间:2014-10-14 12:32:38    阅读次数:137
MySql启动提示:The server quit without updating PID file(…)失败
在网上找了很多1.可能是/usr/local/mysql/data/rekfan.pid文件没有写的权限解决方法 :给予权限,执行“chown-R mysql:mysql/var/data”“chmod -R 755 /usr/local/mysql/data”然后重新启动mysqld!2.可能进程...
分类:数据库   时间:2014-10-14 00:42:27    阅读次数:227
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!