码迷,mamicode.com
首页 >  
搜索关键字:letters    ( 1345个结果
Anagrams
这题折腾主要是因为对于这个anagram的定义理解有误,参看维基页面:Ananagramis a type ofword play, the result of rearranging the letters of a word or phrase to produce a new word or ...
分类:其他好文   时间:2014-10-14 21:30:09    阅读次数:195
[Leetcode] 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...
分类:其他好文   时间:2014-10-12 17:16:38    阅读次数:155
Leetcode: Decode Ways
A message containing letters from A-Z is being encoded to numbers using the following mapping:'A' -> 1'B' -> 2...'Z' -> 26Given an encoded message con...
分类:其他好文   时间:2014-10-12 16:45:38    阅读次数:157
google在线测试练习题2
Problem Given a list of space separated words, reverse the order of the words. Each line of text contains L letters and W words. A line will only consist of letters and space characters. There will...
分类:其他好文   时间:2014-10-12 13:11:28    阅读次数:133
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-10-08 00:05:04    阅读次数:221
Strings
StringsAnother useful data type is thestring. Astringcan contain letters, numbers, and symbols.Strings need to be within quotes.Escaping charactersbac...
分类:其他好文   时间:2014-10-06 12:58:10    阅读次数:171
cookbook 10.1生成随机密码
任务:随机地创造出新密码。比如,有时需要给新的用户账号分配新的密码。解决方案:from random import choiceimport stringdef GenPasswd(length=8,chars=string.letters+string.digits): return ''....
分类:其他好文   时间:2014-10-05 22:38:49    阅读次数:122
sicily 1036. Crypto Columns
ConstraintsTime Limit: 1 secs, Memory Limit: 32 MBDescriptionThe columnar encryption scheme scrambles the letters in a message (or plaintext) using a ...
分类:其他好文   时间:2014-10-05 18:01:18    阅读次数:245
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 telep...
分类:其他好文   时间:2014-10-05 15:11:48    阅读次数:206
【Leetcode】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...
分类:其他好文   时间:2014-10-04 01:10:45    阅读次数:200
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!