码迷,mamicode.com
首页 >  
搜索关键字:isomorphic strings    ( 3304个结果
LintCode-Longest Common Substring
Given two strings, find the longest common substring.Return the length of it.NoteThe characters in substring should occur continiously in original str...
分类:其他好文   时间:2015-01-01 00:01:16    阅读次数:339
LintCode-Compare Strings
Compare two strings A and B, determine whether A contains all of the characters in B.The characters in string A and B are all Upper Case letters.Examp...
分类:其他好文   时间:2014-12-31 08:42:03    阅读次数:228
SQL Direct 连接数据库参数设置
一直因为 编码、端口问题没有搞定,没有使用 SQL direct 组件,不过现在已经测试成功了 ? DatabaseName = ‘TEST‘ ??? Params.Strings = ( ????? ‘USER NAME=root‘???????????????// 用户...
分类:数据库   时间:2014-12-31 07:37:54    阅读次数:169
【leetcode】Palindrome Partitioning II(hard) ☆
Given a strings, partitionssuch that every substring of the partition is a palindrome.Return the minimum cuts needed for a palindrome partitioning ofs...
分类:其他好文   时间:2014-12-30 16:38:28    阅读次数:194
[LeetCode#5]Longest Palindromic Substring
The problem: (The code of dynamic programming is very concise and elegant. You must learn it!)Given a stringS, find the longest palindromic substring ...
分类:其他好文   时间:2014-12-30 13:16:09    阅读次数:171
HappyLeetcode37:Add Binary
Given two binary strings, return their sum (also a binary string). For example, a = "11" b = "1" Return "100". 这道题挺简单的,不多说了,代码奉上 class Solution { publ...
分类:移动开发   时间:2014-12-29 15:00:32    阅读次数:209
[C++]LeetCode: 59 Compare Version Numbers
题目: Compare two version numbers version1 and version1. If version1 > version2 return 1, if version1 version2 return -1, otherwise return 0. You may assume that the version strings are non-emp...
分类:编程语言   时间:2014-12-29 12:11:35    阅读次数:320
L【leetcode】ongest Palindromic Substring
Longest Palindromic SubstringGiven a stringS, find the longest palindromic substring inS. You may assume that the maximum length ofSis 1000, and there...
分类:其他好文   时间:2014-12-28 23:38:24    阅读次数:271
【leetcode】Palindrome Partitioning
Palindrome PartitioningGiven a strings, partitionssuch that every substring of the partition is a palindrome.Return all possible palindrome partitioni...
分类:其他好文   时间:2014-12-28 00:23:59    阅读次数:180
[LeetCode]Compare Version Numbers
Compare two version numbers version1 and version1. If version1 > version2 return 1, if version1 version2 return -1, otherwise return 0. You may assume that the version strings are non-empty and co...
分类:其他好文   时间:2014-12-27 09:01:59    阅读次数:150
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!