码迷,mamicode.com
首页 >  
搜索关键字:substring with conca    ( 3920个结果)
提取URL字符串的搜索字符串中的参数
function urlArgs() { var args = []; var query = location.search.substring(1); var paris = query.split("&"); for (var i = 0, len = paris.length; i...
分类:Web程序   时间:2015-09-05 00:07:12    阅读次数:202
leetcode&编程之美——博文目录
leetcode刷题整理:1——Two Sum(哈希表hashtable,map)2——Add Two Numbers(链表)3——Longest Substring Without Repeating Characters(set,哈希表,两个指针)9——Palindrome Number (数学...
分类:其他好文   时间:2015-09-03 20:18:49    阅读次数:190
Longest Substrings Without Repeating Characters
Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating letters fo...
分类:其他好文   时间:2015-09-03 01:52:10    阅读次数:287
Longest Valid Parentheses Leetcode 32 一种奇特的解法
题目:Given a string containing just the characters '(' and ')', find the length of the longest valid (well-formed) parentheses substring. For "(()", t.....
分类:其他好文   时间:2015-09-02 20:42:12    阅读次数:176
Longest Substring Without Repeating Characters
Description:Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeatin...
分类:其他好文   时间:2015-09-02 17:20:56    阅读次数:101
Longest Palindromic Substring
Description:Given a stringS, find the longest palindromic substring inS. You may assume that the maximum length ofSis 1000, and there exists one uniqu...
分类:其他好文   时间:2015-09-02 15:57:57    阅读次数:218
【Leetcode】【Medium】Palindrome Partitioning
Given a strings, partitionssuch that every substring of the partition is a palindrome.Return all possible palindrome partitioning ofs.For example, giv...
分类:其他好文   时间:2015-09-02 00:28:43    阅读次数:214
LeetCode 5 Longest Palindromic Substring manacher算法,最长回文子序列,string.substr(start,len) 难度:2
https://leetcode.com/problems/longest-palindromic-substring/manacher算法相关:http://blog.csdn.net/ywhorizen/article/details/6629268class Solution {public:...
分类:编程语言   时间:2015-09-01 21:33:57    阅读次数:168
String对象
charAt( index i) //返回指定位置的字符串substring(start ,end) //方法返回位于String对象中指定位置的子字符串。indexOf(str,start)//方法放回String对象内第一次出现子字符串位置。如果没有找到子字符串,则返回-1例如: 0123456...
分类:其他好文   时间:2015-09-01 21:10:02    阅读次数:232
LeetCode 5 Longest Palindromic Substring 最长回文子序列 manacher算法 string.substr 难度:2
https://leetcode.com/problems/longest-palindromic-substring/manacher算法:http://blog.csdn.net/ywhorizen/article/details/6629268string longestPalindrome(...
分类:编程语言   时间:2015-09-01 18:28:26    阅读次数:131
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!