码迷,mamicode.com
首页 >  
搜索关键字:without    ( 3201个结果
LeetCode 29 Substring with Concatenation of All Words
You are given a string, S, and a list of words, L, that are all of the same length. Find all starting indices of substring(s) in S that is a concatenation of each word in L exactly once and without an...
分类:其他好文   时间:2014-09-15 14:22:39    阅读次数:222
ubuntu server ssh root登陆
1.设置root密码:sudo passwd root 2. 安装 ssh服务apt-get install ssh3.开通 root远程登录权限 vi /etc/ssh/sshd_config 将PermitRootLogin without-password 修改为PermitRootLo...
分类:其他好文   时间:2014-09-15 12:38:58    阅读次数:209
Longest Substring Without Repeating Characters[leetcode]
记录最大的起始位置+hash int lengthOfLongestSubstring(string s) { map charMap; int curLen, maxLen = 0,lastIndex = -1; for (int i = 0; i < s.size(); i++) { if (charMa...
分类:其他好文   时间:2014-09-14 12:53:27    阅读次数:158
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? 1 /** 2 * Definition for singly-linked l....
分类:其他好文   时间:2014-09-13 20:06:35    阅读次数:184
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 space? 1 ...
分类:其他好文   时间:2014-09-13 20:03:55    阅读次数:205
[LeetCode]Substring with Concatenation of All Words
You are given a string, S, and a list of words, L, that are all of the same length. Find all starting indices of substring(s) in S that is a concatenation of each word in L exactly once and without an...
分类:其他好文   时间:2014-09-13 09:27:24    阅读次数:202
HDU - 3746 Cyclic Nacklace (KMP求循环节)
Description CC always becomes very depressed at the end of this month, he has checked his credit card yesterday, without any surprise, there are only 99.9 yuan left. he is too distressed and thinki...
分类:其他好文   时间:2014-09-12 17:12:53    阅读次数:202
HDU - 1686 Oulipo (KMP)
Problem Description The French author Georges Perec (1936–1982) once wrote a book, La disparition, without the letter 'e'. He was a member of the Oulipo group. A quote from the book: Tout avait Pa...
分类:其他好文   时间:2014-09-12 10:16:23    阅读次数:245
PHP 编译问题PEAR package PHP_Archive not installed的解决
php 的编译时需要依赖pear package ,目前的问题错误"PEAR package PHP_Archive not installed",已经明显报出这个问题。 因此编译使用参数 --without-pear 将pear 屏蔽掉编译安装后,再进行安装;同时因为phar 属于pear的一个库...
分类:Web程序   时间:2014-09-12 10:04:33    阅读次数:221
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? 1 /** 2 * Definition for singly-linked l....
分类:其他好文   时间:2014-09-11 22:18:12    阅读次数:311
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!