Description You have devised a new encryption technique which encodes a message by inserting between its characters randomly generated strings in a cl ...
分类:
其他好文 时间:
2016-08-26 10:23:48
阅读次数:
125
Description You have devised a new encryption technique which encodes a message by inserting between its characters randomly generated strings in a cl ...
分类:
其他好文 时间:
2016-08-26 10:21:43
阅读次数:
117
Given three strings: s1, s2, s3, determine whether s3 is formed by the interleaving of s1 and s2. Given three strings: s1, s2, s3, determine whether s ...
分类:
其他好文 时间:
2016-08-24 17:28:07
阅读次数:
107
Given two strings, find the longest common substring. Return the length of it. Example Given A = "ABCD", B = "CBCE", return 2. Given A = "ABCD", B = " ...
分类:
其他好文 时间:
2016-08-24 12:58:37
阅读次数:
145
public static int timestrtosec(String time) { if (Strings.isNullOrEmpty(time)) { return 0; } System.setProperty("user.timezone","GMT +08"); String for ...
分类:
编程语言 时间:
2016-08-24 12:56:01
阅读次数:
170
Problem Description Fang Fang says she wants to be remembered.I promise her. We define the sequence F of strings.F0 = ‘‘f",F1 = ‘‘ff",F2 = ‘‘cff",Fn = ...
分类:
其他好文 时间:
2016-08-24 11:05:17
阅读次数:
139
Given two strings, find the longest common subsequence (LCS). 最长公共子序列 Your code should return the length of LCS. Given two strings, find the longest c ...
分类:
其他好文 时间:
2016-08-23 22:02:59
阅读次数:
192
Power Strings Time Limit: 3000MS Memory Limit: 65536K Total Submissions: 44217 Accepted: 18449 Description Given two strings a and b we define a*b to ...
分类:
其他好文 时间:
2016-08-23 16:41:12
阅读次数:
199
Binary String Matching
时间限制:3000 ms | 内存限制:65535 KB
难度:3
描述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 ...
分类:
其他好文 时间:
2016-08-20 16:26:26
阅读次数:
150
Given two binary strings, return their sum (also a binary string). Have you met this question in a real interview? Yes Given two binary strings, retur ...
分类:
其他好文 时间:
2016-08-20 16:00:55
阅读次数:
148