码迷,mamicode.com
首页 >  
搜索关键字:letters    ( 1345个结果
LeetCode——Letter Combinations of a Phone Number
Given a digit string, return all possible letter combinations that the number could represent. A mapping of digit to letters (just like on the telephone buttons) is given below. Input:Digit st...
分类:其他好文   时间:2014-07-21 16:44:12    阅读次数:191
[LeetCode] Word Search
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 "adjace...
分类:其他好文   时间:2014-07-21 08:16:25    阅读次数:229
hdu2476String painter (区间DP)
Problem Description There are two strings A and B with equal length. Both strings are made up of lower case letters. Now you have a powerful string painter. With the help of the painter, you can chan...
分类:其他好文   时间:2014-07-20 15:41:50    阅读次数:213
[LeetCode OJ] Word Search 深度优先搜索DFS
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 "adjace...
分类:其他好文   时间:2014-07-18 17:21:54    阅读次数:293
LA 4394
DescriptionThere are two strings A and B with equal length. Both strings are made up of lower case letters. Now you have a powerful string painter. Wi...
分类:其他好文   时间:2014-07-18 17:12:31    阅读次数:252
UVA - 536 Tree Recovery
Description   Tree Recovery  Little Valentine liked playing with binary trees very much. Her favorite game was constructing randomly looking binary trees with capital letters i...
分类:其他好文   时间:2014-07-17 17:21:38    阅读次数:253
Dictionaries and lists
Lists can appear as values in a dictionary. For example, if you were given a dictionary that maps from letters to frequencies, you might want to inver...
分类:其他好文   时间:2014-07-16 18:36:23    阅读次数:221
[LeetCode OJ] Decode Ways
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-16 18:20:59    阅读次数:155
[leetcode]Word Search
Word SearchGiven 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, wh...
分类:其他好文   时间:2014-07-16 18:17:13    阅读次数:208
Dictionary as a set of counters
Suppose you are given a string and you want to count how many times each letters appears. There are several ways you do it:You could create 26 variabl...
分类:其他好文   时间:2014-07-14 21:55:02    阅读次数:247
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!