Power Strings
Time Limit: 3000MS
Memory Limit: 65536K
Total Submissions: 33595
Accepted: 13956
Description
Given two strings a and b we define a*b to be their conca...
分类:
其他好文 时间:
2014-12-01 17:41:24
阅读次数:
160
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...
分类:
其他好文 时间:
2014-12-01 12:43:08
阅读次数:
214
Given a strings, partitionssuch that every substring of the partition is a palindrome.Return all possible palindrome partitioning ofs.For example, giv...
分类:
其他好文 时间:
2014-11-30 21:18:12
阅读次数:
167
任务是判断可能出现的情况:1.空格2.空指针3.首字符是04.首字符是“+”或“-”5.判断边界条件,上界INT_MAX=2147483647,下届INT_MIN=-2147483648,小心判断 1 // 2 // main.cpp 3 // Longest Substring 4 // ...
分类:
其他好文 时间:
2014-11-30 14:07:58
阅读次数:
163
Given a string S and a string T, find the minimum window in S which will contain all the characters in T in complexity O(n).
For example,
S = "ADOBECODEBANC"
T = "ABC"
Minimum window is "BAN...
分类:
编程语言 时间:
2014-11-30 10:22:33
阅读次数:
241
Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating letters fo...
分类:
其他好文 时间:
2014-11-30 07:04:09
阅读次数:
163
描述Given two strings A and B, whose alphabet consist only ‘0’ and ‘1’. Your task is only to tell how many times does A appear as a substring of B? For ...
分类:
其他好文 时间:
2014-11-29 00:03:11
阅读次数:
442
Given a strings, partitionssuch that every substring of the partition is a palindrome.Return all possible palindrome partitioning ofs.For example, giv...
分类:
其他好文 时间:
2014-11-28 17:51:41
阅读次数:
188
public static void main(String[] args) { String url ="http://127.0.0.1:8080/teste/welcome/index.do?systemId=179#"; String ur=url.substring(0, url.inde...
分类:
Web程序 时间:
2014-11-28 15:49:35
阅读次数:
136
功能:返回字符、二进制、文本或图像表达式的一部分语法:SUBSTRING ( expression, start, length ) SQL 中的 substring 函数是用来抓出一个栏位资料中的其中一部分。这个函数的名称在不同的资料库中不完全一样:MySQL: SUBSTR(), SUBSTRI...
分类:
数据库 时间:
2014-11-28 11:44:17
阅读次数:
252