码迷,mamicode.com
首页 >  
搜索关键字:letters    ( 1345个结果
[LeetCode] Word Search
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 "adjacent" cells are those horizonta...
分类:其他好文   时间:2015-07-30 14:59:16    阅读次数:126
[ACM] POJ 3096 Surprising Strings (map使用)
Surprising StringsTime Limit:1000MSMemory Limit:65536KTotal Submissions:5783Accepted:3792DescriptionTheD-pairsof a string of letters are the ordered p...
分类:其他好文   时间:2015-07-29 15:52:50    阅读次数:127
leetCode 91.Decode Ways (解码方式) 解题思路和方法
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 nu...
分类:其他好文   时间:2015-07-27 11:12:18    阅读次数:171
POJ-1248
#include #include #include #include #include using namespace std; int main(int argc, char *argv[]){ int target; string letters; int v,w,x,y,z; while(cin>>target>>letters,target){ char *cp= new...
分类:其他好文   时间:2015-07-25 16:52:45    阅读次数:126
TC SRM 663 div2 B AABB 逆推
AABBTime Limit: 20 SecMemory Limit: 256 MB题目连接TCDescriptionOne day, Jamie noticed that many English words only use the letters A and B. Examples of su...
分类:其他好文   时间:2015-07-24 06:44:17    阅读次数:185
leetCode 79.Word Search (词搜索) 解题思路和方法
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 than once. ...
分类:其他好文   时间:2015-07-22 14:41:11    阅读次数:178
poj 2255
Description Little Valentine liked playing with binary trees very much. Her favorite game was constructing randomly looking binary trees with capital letters in the nodes. This is an example of on...
分类:其他好文   时间:2015-07-21 17:09:30    阅读次数:118
LeetCode 3 Longest Substring Without Repeating Characters
Given a string,find the length of the longest substring without repeating characters. Forexample, the longest substring without repeating letters for"abcabcbb" is "abc", which the length is 3. For"bbb...
分类:其他好文   时间:2015-07-21 12:54:53    阅读次数:84
[LeetCode][Java] Decode Ways
题目: 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 t...
分类:编程语言   时间:2015-07-20 14:32:36    阅读次数:120
LeetCode.003 Longest Substring Without Repeating Characters
Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating letters fo...
分类:其他好文   时间:2015-07-18 21:14:22    阅读次数:120
1345条   上一页 1 ... 92 93 94 95 96 ... 135 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!