码迷,mamicode.com
首页 >  
搜索关键字:longest substring wi    ( 8067个结果
leetcode - Longest Palindromic Substring
Given a stringS, find the longest palindromic substring inS. You may assume that the maximum length ofSis 1000, and there exists one unique longest pa...
分类:其他好文   时间:2014-09-14 12:49:37    阅读次数:214
The xor-longest Path
The xor-longest PathTime Limit:2000MSMemory Limit:65536KTotal Submissions:3875Accepted:850DescriptionIn an edge-weighted tree, the xor-length of a pat...
分类:其他好文   时间:2014-09-13 23:59:06    阅读次数:434
开源硬件平台
1、Imagination Technologies的chipKIT Wi-Fire开发平台 第一款支持 FlowCloud 技术的开发板为 Digilent 公司推出的新款 chipKIT WiFire。chipKIT WiFire 开发板采用 Microchip 32 位 PIC32MZ 微控制...
分类:其他好文   时间:2014-09-13 22:47:06    阅读次数:364
Maximum Depth of Binary Tree
Given a binary tree, find its maximum depth.The maximum depth is the number of nodes along the longest path from the root node down to the farthest le...
分类:其他好文   时间:2014-09-13 20:08:35    阅读次数:179
Longest Consecutive Sequence
HashMap 在leetcode Longest Consecutive Sequence 上巧妙使用。...
分类:其他好文   时间:2014-09-13 15:57:45    阅读次数:144
set --enable-opcache=no 解决
因为centos是64位,所以在安装5.5.16过程中出现?define struct flock on this system, set --enable-opcache=no错误 网上的其它的解决方式都不管用啊.. 最后查看php官方文档解决. 在configure 里面加上?? --wi...
分类:其他好文   时间:2014-09-13 13:26:45    阅读次数:156
在论坛中出现的比较难的sql问题:22(字符串拆分、字符串合并、非连续数字的间隔范围、随机返回字符串)
在论坛中看到一个帖子,帖子中有一些sql方面的面试题,我觉得这些面试题很有代表性。 下面是我的解法,供大家参考: --1.拆分字符串 create table test1 (number varchar(100)) insert into test1 values ('1,2,3,4,5,6') select --t.number, SUBSTRING(t.n...
分类:数据库   时间:2014-09-13 13:24:45    阅读次数:276
Longest Common Prefix
[leetcode]Longest Common Prefix...
分类:其他好文   时间:2014-09-13 10:39:35    阅读次数:173
[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
写一个实现字符串首字母大写的函数
varstr="ralkhasdlfho";varnewStr;functionchange(str){ newStr=str.substring(0,1).toUpperCase()+str.substring(1);}change(str);document.write(newStr);
分类:其他好文   时间:2014-09-11 22:12:32    阅读次数:226
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!