码迷,mamicode.com
首页 >  
搜索关键字:longest substring    ( 5540个结果
Leetcode 131 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-02-13 06:57:11    阅读次数:112
python String Study log
1. "" , '', """   """ 2. Strings are stored as sequences of characters indexed by integers, starting at zero. 3. To extract a substring, use the slicing operator s[i:j]. 4. Strings are concatenated...
分类:编程语言   时间:2015-02-12 10:53:09    阅读次数:167
第五题:Longest Palindromic Substring
擦!leetcode题目:Longest Palindromic Substring...
分类:其他好文   时间:2015-02-12 00:50:18    阅读次数:161
C# 对包含文件或目录路径信息的 System.String 实例执行操作
C# 对包含文件或目录路径信息的 System.String 实例执行操作在字符串操作中有一类比较特殊的操作,就是对包含文件或目录路径信息的 System.String 实例执行操作。比如根据一个表示路径的字符串获取其代表的文件名称、文件夹路径、文件扩展名等。在很多时候,我们喜欢用substring...
分类:Windows程序   时间:2015-02-11 01:46:26    阅读次数:192
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...
分类:其他好文   时间:2015-02-10 23:02:36    阅读次数:218
转载 ACM训练计划
leetcode代码利用堆栈:http://oj.leetcode.com/problems/evaluate-reverse-polish-notation/http://oj.leetcode.com/problems/longest-valid-parentheses/ (也可以用一维数组,贪...
分类:其他好文   时间:2015-02-10 20:13:24    阅读次数:351
LIS问题分析
题目来源,待字闺中,原创@陈利人 ,欢迎大家继续关注微信公众账号“待字闺中”原题这个LIS问题,可不是Longest Increasing Subsequence,而是Largest Independent Set,含义例如以下:给定一棵二叉树,找到满足例如以下条件的最大节点集合:集合中的随意两个节...
分类:其他好文   时间:2015-02-10 20:07:30    阅读次数:194
leetcode[5]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...
分类:其他好文   时间:2015-02-10 15:06:02    阅读次数:172
leetcode[30]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 concatenati...
分类:其他好文   时间:2015-02-10 15:00:40    阅读次数:170
leetcode[3]Longest Substring 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-02-10 14:51:13    阅读次数:151
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!