码迷,mamicode.com
首页 >  
搜索关键字:letter    ( 1667个结果
LeetCode3: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 letter...
分类:其他好文   时间:2014-04-30 21:15:32    阅读次数:511
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 telephon...
分类:其他好文   时间:2014-04-30 03:52:56    阅读次数:411
Letter Combinations of a Phone Number
思路很简单,就是通过map对应,随后通过递归调用,这里遇到了个问题就是开始用string &re ,然后往里传re+c是不可以的,本来想省点内存,结果不行,所以只能值传递了,后来才知道string竟然还有push_back()和pop_back(),服了。 1 class Solution { 2 ...
分类:其他好文   时间:2014-04-29 19:31:07    阅读次数:524
POJ 3356 AGTC(DP-最小编辑距离)
DescriptionLetxandybe two strings over some finite alphabetA. We would like to transformxintoyallowing only operations given below:Deletion:a letter i...
分类:其他好文   时间:2014-04-29 16:22:00    阅读次数:450
sicily 1007 To and Fro (基础题)
链接:http://soj.me/show_problem.php?pid=1007 Description Mo and Larry have devised a way of encrypting messages. They first decide secretly on the number of columns and write the message (letter...
分类:其他好文   时间:2014-04-29 13:23:21    阅读次数:293
Timus 1404. Easy to Hack! 有一个密码问题
When Vito Maretti writes an important letter he encrypts it. His method is not very reliable but it’s enough to make any detective understand nothing in that letter. Sheriff doesn’t like such state ...
分类:其他好文   时间:2014-04-27 21:45:00    阅读次数:459
Letter Combinations of a Phone Number
Letter Combinations of a Phone Number, leetcode...
分类:其他好文   时间:2014-04-27 21:28:59    阅读次数:323
1667条   上一页 1 ... 165 166 167
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!