码迷,mamicode.com
首页 >  
搜索关键字:isomorphic strings    ( 3304个结果
Cracking the coding interview汇总目录
很久之前刷的CTCI的题目,都快忘记了,做个分类汇总,再重新好好复习一遍。 Chapter 1 | Arrays and Strings 1.1 Implement an algorithm to determine if a string has all unique characters. What if you can not use additional data stru...
分类:其他好文   时间:2014-12-26 20:20:00    阅读次数:452
[leetcode] Longest Palindromic Substring
题目:(String)Given a stringS, find the longest palindromic substring inS. You may assume that the maximum length ofSis 1000, and there exists one unique...
分类:其他好文   时间:2014-12-25 06:34:06    阅读次数:198
Palindrome Partitioning
Palindrome PartitioningGiven a strings, partitionssuch that every substring of the partition is a palindrome.Return all possible palindrome partitioni...
分类:其他好文   时间:2014-12-24 21:22:09    阅读次数:184
修改chromium的国际化资源
chromium的国际化资源文件大部分在目录src\chrome\app\resources下,例如我们在设置中选取一句话。 系统->关闭 Chromium 后继续运行后台应用 在资源文件src\chrome\app\resources\chromium_strings_zh-CN.xtb,可以找到这句话 关闭 Chromium 后继续运行后台应用 它其实对应的是src/chrome/ap...
分类:其他好文   时间:2014-12-23 14:03:51    阅读次数:504
【LeetCode】Multiply Strings 解题报告
【题目】 Given two numbers represented as strings, return multiplication of the numbers as a string. Note: The numbers can be arbitrarily large and are non-negative. 【解析】 题意:两个字符串表示的非负整数相乘,用字符串的...
分类:其他好文   时间:2014-12-23 12:32:31    阅读次数:174
opcache运行时配置参数详解
测试帖:http://www.aikaiyuan.com/6430.html配置如下:opcache.memory_consumption=128opcache.interned_strings_buffer=8opcache.max_accelerated_files=4000opcache.re...
分类:系统相关   时间:2014-12-23 06:37:27    阅读次数:298
【LeetCode】Longest 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-23 00:07:39    阅读次数:142
【Java 重难点知识】String s=new String("abc") 与 String="abc"; 区别
首先,Strings=newString("abc");这句话创建了2个对象;一个为new出来的一个实例对象,另一个则为"abc";s不为对象,s只是一个引用(C++中的指针)。查询Java中String类的构造器,有一个这样的构造器,api如下:public(original)初始化一个新创建的String对象,使其表示一个与参..
分类:编程语言   时间:2014-12-22 19:47:40    阅读次数:210
Longest 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-21 23:28:50    阅读次数:224
LeetCode: Longest Common Prefix 解题报告
Longest Common PrefixWrite a function to find the longest common prefix string amongst an array of strings.Show TagsSOLUTION 1:解法很直观。先找到最小长度,然后逐个字母遍历,...
分类:其他好文   时间:2014-12-21 20:35:48    阅读次数:189
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!