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 character must be replaced with a...
分类:
其他好文 时间:
2015-04-30 06:26:35
阅读次数:
125
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-04-30 06:19:30
阅读次数:
117
Icerainlikes strings very much. Especially the strings only consist of0and1,she call them easy strings. One day, she is so boring that she want to fin...
分类:
其他好文 时间:
2015-04-30 00:58:18
阅读次数:
127
Isomorphic StringsGiven two stringssandt, determine if they are isomorphic.Two strings are isomorphic if the characters inscan be replaced to gett.All...
分类:
其他好文 时间:
2015-04-29 21:27:35
阅读次数:
118
题目链接: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 cha...
分类:
其他好文 时间:
2015-04-29 17:23:37
阅读次数:
125
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 character must be replaced with another chara...
分类:
其他好文 时间:
2015-04-29 15:10:38
阅读次数:
85
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 character mu...
分类:
其他好文 时间:
2015-04-29 13:36:44
阅读次数:
193
Given two stringssandt, determine if they are isomorphic.Two strings are isomorphic if the characters inscan be replaced to gett.All occurrences of a ...
分类:
其他好文 时间:
2015-04-29 13:26:07
阅读次数:
118
Given two stringssandt, determine if they are isomorphic.Two strings are isomorphic if the characters inscan be replaced to gett.All occurrences of a ...
分类:
其他好文 时间:
2015-04-29 11:33:16
阅读次数:
99
连续重复子串(pku2406)给定一个字符串 L,已知这个字符串是由某个字符串 S 重复 R 次而得到的,求 R 的最大值。算法分析:做法比较简单,穷举字符串 S 的长度 k,然后判断是否满足。判断的时候,先看字符串 L 的长度能否被 k 整除,再看 suffix(1)和 suffix(k+1)的最...
分类:
编程语言 时间:
2015-04-28 13:21:14
阅读次数:
166