码迷,mamicode.com
首页 >  
搜索关键字:isomorphic strings    ( 3304个结果)
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 longes...
分类:其他好文   时间:2015-07-27 13:02:11    阅读次数:98
Android学习二:Resources
Resources在Android体系中非常重要,常用的Resources有strings,colors,bitmaps和layouts等,你可以修改这些文件的值而不用去重新编译程序。在android中有非常多的resource类型,在这里我们主要讨论学习常用的类型。 String Resource...
分类:移动开发   时间:2015-07-27 09:25:39    阅读次数:125
POJ 2406Power Strings(KMP)
POJ 2406其实就是一个简单的kmp应用:ans = n % (n - f[n]) == 0 ? n / (n - f[n]) : 1其中f是失配函数 1 //#pragma comment(linker, "/STACK:1677721600") 2 #include 3 #include ....
分类:其他好文   时间:2015-07-26 22:13:05    阅读次数:114
leetcode-205-Isomorphic Strings
Isomorphic Strings   Given two strings s and t, determine if they are isomorphic. Two strings are isomorphic if the characters in s can be replaced to get t. All occurrences of a charact...
分类:其他好文   时间:2015-07-26 21:04:12    阅读次数:137
Redis_DataType
Redis_DataType.htmlRedis-DataTypeRedis是一个键值对型的数据库,但是支持多种数据结构。具体如下:Binary-safe strings 意义为在进行对二进制的解码和编码时,不具有特殊字符,如转义字符,char数组中的\0,结尾加null等都不是二进制安全的。关键在...
分类:其他好文   时间:2015-07-26 15:31:49    阅读次数:211
[leedcode 132] Palindrome Partitioning II
Given a strings, partitionssuch that every substring of the partition is a palindrome.Return the minimum cuts needed for a palindrome partitioning ofs...
分类:其他好文   时间:2015-07-26 15:25:58    阅读次数:128
[leedcode 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-07-26 15:24:54    阅读次数:98
LeetCode(3)题解: Longest Palindromic Substring
https://leetcode.com/problems/longest-palindromic-substring/题目:Given a stringS, find the longest palindromic substring inS. You may assume that the ma...
分类:其他好文   时间:2015-07-25 22:46:20    阅读次数:200
cocos2d项目 打包apk 项目名称相关设置
修改android项目名称(打包生成的默认apk名称),直接找到proj.android目录下.project文件夹里面比较靠前的xml配置,修改项目名称修改apk安装后桌面显示的名称直接找到proj.android/res/values/strings.xml,修改安装后的应用名称;包名有数字开头...
分类:其他好文   时间:2015-07-25 15:05:06    阅读次数:121
Codeforces Round #313 (Div. 1) B.Equivalent Strings
Today on a lecture about strings Gerald learned a new definition of string equivalency. Two strings a and b of equal length are called equivalent in o...
分类:其他好文   时间:2015-07-24 15:55:28    阅读次数:116
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!