The Most Wanted LetterYou are given a text, which contains different english letters and punctuation symbols. You should find the most frequent letter...
分类:
其他好文 时间:
2014-08-05 10:41:10
阅读次数:
276
题目:
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....
分类:
其他好文 时间:
2014-08-03 23:29:46
阅读次数:
283
Decode WaysA message containing letters fromA-Zis being encoded to numbers using the following mapping:'A' -> 1'B' -> 2...'Z' -> 26Given an encoded me...
分类:
其他好文 时间:
2014-08-03 15:12:15
阅读次数:
238
题目:
Ananagrams
Most crossword puzzle fans are used to anagrams--groups of words with the same letters in different orders--for example OPTS, SPOT, STOP, POTS and POST. Some words however...
分类:
其他好文 时间:
2014-08-02 18:30:13
阅读次数:
303
Description:A message containing letters fromA-Zis being encoded to numbers using the following mapping:'A' -> 1'B' -> 2...'Z' -> 26Given an encoded m...
分类:
其他好文 时间:
2014-08-01 04:39:01
阅读次数:
167
题目:Given a 2D board and a word, find if the word exists in the grid.The word can be constructed from letters of sequentially adjacent cell, where "ad....
分类:
编程语言 时间:
2014-08-01 02:20:41
阅读次数:
236
Given a 2D board and a word, find if the word exists in the grid.
The word can be constructed from letters of sequentially adjacent cell, where "adjacent" cells are those horizontally or vertically neighboring. The same letter cell may not be used more th...
分类:
其他好文 时间:
2014-07-31 17:16:57
阅读次数:
221
The volume label for my new USB disk is displayed as capital letters on my home PC although when I formatted this disk (FAT32) on Windows, I used lowe...
分类:
移动开发 时间:
2014-07-31 13:02:26
阅读次数:
344
题目:Given a digit string, return all possible letter combinations that the number could represent.A mapping of digit to letters (just like on the tele....
分类:
编程语言 时间:
2014-07-31 05:22:05
阅读次数:
307
Palindromes
A regular palindrome is a string of numbers or letters that is the same forward as backward. For example, the string "ABCDEDCBA" is a palindrome because it is the same when t...
分类:
其他好文 时间:
2014-07-29 21:57:12
阅读次数:
308