码迷,mamicode.com
首页 >  
搜索关键字:letters    ( 1345个结果
[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 number of ways to...
分类:其他好文   时间:2015-06-23 23:10:22    阅读次数:196
3. 文本处理库
文本处理库主要是对字符串的操作使用,以及对文本内容方面进行处理。 3.1 string--公共的字符串操作源码位置在:Lib/string.py 3.1.1 字符串常量下面就是在字符串模块里定义的字符串常量:string.ascii_letters这个常量包含字母的大写和小写,不会随着本地化而改变。其实它就是ascii_loercase和ascii_uppercase的联合集合。 string.a...
分类:其他好文   时间:2015-06-22 12:32:25    阅读次数:136
Codeforces Round #307 (Div. 2) B. ZgukistringZ
Professor GukiZ doesn't accept string as they are. He likes to swap some letters in string to obtain a new one. GukiZ has strings a, b, and c. He wants to obtain string k by swapping some lette...
分类:其他好文   时间:2015-06-19 12:00:04    阅读次数:149
LeetCode91: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-06-18 19:46:33    阅读次数:98
Codeforces551B:ZgukistringZ
Professor GukiZ doesn't accept string as they are. He likes to swap some letters in string to obtain a new one. GukiZ has strings a, b, and c. He wants to obtain string k by swapping some lette...
分类:其他好文   时间:2015-06-17 16:48:35    阅读次数:162
[leetcode] 3.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-06-17 14:57:56    阅读次数:111
Leetcode 17 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...
分类:其他好文   时间:2015-06-14 21:13:20    阅读次数:125
LeetCode Word Search II
Given a 2D board and a list of words from the dictionary, find all words in the board.Each word must be constructed from letters of sequentially adjac...
分类:其他好文   时间:2015-06-13 20:04:43    阅读次数:119
LeetCode之“动态规划”:Decode Ways
题目链接 题目要求: A message containing letters fromA-Zis being encoded to numbers using the following mapping:'A' -> 1'B' -> 2...'Z' -> 26 Given an enco...
分类:其他好文   时间:2015-06-12 00:54:04    阅读次数:104
Latched 3 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-06-11 18:25:40    阅读次数:104
1345条   上一页 1 ... 95 96 97 98 99 ... 135 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!