Problem Description
In Diagon Alley ,there is only one Wand-seller,peeling gold letters over the door read Ollivanders: Makers of Fine Wands since 382 BC.A single wand lay on a faded purple cushion i...
分类:
其他好文 时间:
2014-07-29 14:59:59
阅读次数:
242
Given a string, find the length of the longest substring without repeating characters. For example, the longest substring
without repeating letters for "abcabcbb" is "abc", which the length is 3. Fo...
分类:
其他好文 时间:
2014-07-29 14:28:48
阅读次数:
218
这是一个循环操作,如果重数太多,只能递归搜索,不满足条件return 或者else,刚才出错了public class Solution { private String letters[] = {"","","abc", "def", "ghi", "jkl", "mno", "pqr...
分类:
其他好文 时间:
2014-07-29 11:08:26
阅读次数:
233
#hangman.pyfrom PythonCard import model,dialogimport randomdef find_letters(letter,a_string): locations = [] start = 0 while a_string.find(le...
分类:
编程语言 时间:
2014-07-29 11:02:46
阅读次数:
562
Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating letters fo...
分类:
其他好文 时间:
2014-07-27 10:25:42
阅读次数:
179
Word Search
Total Accepted: 11535 Total
Submissions: 58659My Submissions
Given a 2D board and a word, find if the word exists in the grid.
The word can be constructed from letters of seq...
分类:
其他好文 时间:
2014-07-24 23:04:13
阅读次数:
252
A message containing letters fromA-Zis being encoded to numbers using the following mapping:'A' -> 1'B' -> 2...'Z' -> 26Given an encoded message conta...
分类:
其他好文 时间:
2014-07-24 21:56:32
阅读次数:
219
Surprising Strings
Time Limit: 1000MS
Memory Limit: 65536K
Total Submissions: 5783
Accepted: 3792
Description
The D-pairs of a string of letters are the ordered pai...
分类:
其他好文 时间:
2014-07-23 20:59:05
阅读次数:
288
A message containing letters from A-Z is being encoded to numbers using the following mapping:
'A' -> 1
'B' -> 2
...
'Z' -> 26
Given an encoded message containing digits, determine the total numb...
分类:
其他好文 时间:
2014-07-23 17:06:05
阅读次数:
324
Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating letters fo...
分类:
其他好文 时间:
2014-07-23 16:19:41
阅读次数:
234