码迷,mamicode.com
首页 >  
搜索关键字:letters    ( 1345个结果
318. Maximum Product of Word Lengths
Given a string array words, find the maximum value of length(word[i]) * length(word[j]) where the two words do not share common letters. You may assum
分类:其他好文   时间:2016-03-06 17:18:00    阅读次数:155
LeetCode Remove Duplicate Letters
原题链接在这里:https://leetcode.com/problems/remove-duplicate-letters/ 题目: Given a string which contains only lowercase letters, remove duplicate letters so
分类:其他好文   时间:2016-03-04 13:10:37    阅读次数:149
python string模块
string.ascii_lowercase ='abcdefghijklmnopqrstuvwxyz' string.ascii_uppercase ='ABCDEFGHIJKLMNOPQRSTUVWXYZ' string.ascii_letters ='abcdefghijklmnopqrstu
分类:编程语言   时间:2016-02-26 22:07:33    阅读次数:226
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 telepho
分类:其他好文   时间:2016-02-25 01:34:28    阅读次数:123
Codeforces 628E Zbazi in Zeydabad 树状数组
题意:一个n*m的矩阵,要么是 . 要么是 z ,问可以形成几个大z 分析:(直接奉上官方题解,我感觉说的实在是太好了) Let's precalculate the values zlij,?zrij,?zldij — the maximal number of letters 'z' to th
分类:编程语言   时间:2016-02-24 22:38:57    阅读次数:542
lintcode-easy-Compare Strings
Compare two strings A and B, determine whether A contains all of the characters in B. The characters in string A and B are all Upper Case letters. Exa
分类:其他好文   时间:2016-02-24 13:54:37    阅读次数:179
HDU 4622 Reincarnation(SAM)
Problem Description Now you are back,and have a task to do:Given you a string s consist of lower-case English letters only,denote f(s) as the number o
分类:其他好文   时间:2016-02-19 20:32:48    阅读次数:233
LeetCode-Maximum Product of Word Lengths
Description: Given a string array words, find the maximum value of length(word[i]) * length(word[j]) where the two words do not share common letters.
分类:其他好文   时间:2016-02-17 23:47:57    阅读次数:235
[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 telepho
分类:其他好文   时间:2016-02-17 12:42:22    阅读次数:150
python 生成随机密码
python生成随机密码串python的random模块可以生成随机数,主要用这个生成随机密码。string模块中的3个函数:string.letters,string.printable,string.printable>>>importstring >>>string.letters ‘abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ‘..
分类:编程语言   时间:2016-02-15 16:43:50    阅读次数:186
1345条   上一页 1 ... 81 82 83 84 85 ... 135 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!