Problem Description
There are two strings A and B with equal length. Both strings are made up of lower case letters. Now you have a powerful string painter. With the help of the painter, you can chan...
分类:
其他好文 时间:
2015-02-23 09:40:33
阅读次数:
167
Palindromes A regular palindrome is a string of numbers or letters that is the same forward as backward. For example, the string"ABCDEDCBA"is a palind...
分类:
其他好文 时间:
2015-02-19 18:38:16
阅读次数:
250
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 horizontally or vertically nei...
分类:
其他好文 时间:
2015-02-15 09:24:56
阅读次数:
191
#-*- coding:utf-8 -*-'''简短地生成随机密码,包括大小写字母、数字,可以指定密码长度'''#生成随机密码from random import choiceimport stringimport sys#python3中为string.ascii_letters,而python2...
分类:
其他好文 时间:
2015-02-13 16:11:50
阅读次数:
154
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-02-13 09:13:59
阅读次数:
127
Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating letters fo...
分类:
其他好文 时间:
2015-02-10 14:51:13
阅读次数:
151
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-02-10 14:44:37
阅读次数:
181
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...
分类:
其他好文 时间:
2015-02-09 15:51:03
阅读次数:
135
A message containing letters fromA-Zis being encoded to numbers using the following mapping:'A' -> 1'B' -> 2...'Z' -> 26Given an encoded message conta...
分类:
其他好文 时间:
2015-02-09 15:23:33
阅读次数:
132
org mode写技术文章,经常需要编写数学公式和希腊字母。下面介绍e如何使用.希腊字母可以使用转义符获得的h结果是:Angles are written as Greek letters α, β and γ....
分类:
其他好文 时间:
2015-02-08 16:56:37
阅读次数:
705