1. 原题链接 https://leetcode.com/problems/letter-combinations-of-a-phone-number/description/ 2. 题目要求 给定一个数字字符串digits,每一个数字对应拨号键盘上的数字,每个数字又代表不同的字母。例如“3”代表“ ...
分类:
其他好文 时间:
2017-12-22 15:01:50
阅读次数:
111
python2.7 python 3.6 用爬虫爬取豆瓣,报错“SSL: CERTIFICATE_VERIFY_FAILED”,Python 升级到 2.7.9 之后引入了一个新特性,当使用urllib.urlopen打开一个 https 链接时,会验证一次 SSL 证书。而当目标网站使用的是自签名 ...
分类:
Web程序 时间:
2017-12-17 19:22:33
阅读次数:
242
Problem Description we define f(A) = 1, f(a) = -1, f(B) = 2, f(b) = -2, ... f(Z) = 26, f(z) = -26;Give you a letter x and a number y , you should outp ...
分类:
其他好文 时间:
2017-12-17 14:16:44
阅读次数:
184
编程学习是个漫长、逐渐累加复杂度、综合难度的一门工程。需要自我驱动,督促自己往前走。Python测试开发是本年度重点学习目标。?今天来一个字符串的练习题,重在思路,不断训练自己的思维。 题目:找出字符串中出现次数最多的字符,并输出其出现的位置代码实现:#encoding=UTF-8s = "aaabbbhhiijk"letter_count_dict={}for i
分类:
编程语言 时间:
2017-12-16 21:18:38
阅读次数:
204
原文转自 http://blog.csdn.net/yejiansnake/article/details/2175778 MFC下CSocket编程详解: 1. 常用的函数和注意事项(详细的函数接口说明请查看MSDN): CSocket::Create 初始化(一般写服务器程序都不要用为好,用下面 ...
分类:
编程语言 时间:
2017-12-14 18:02:07
阅读次数:
230
Given a list of sorted characters letters containing only lowercase letters, and given a target letter target, find the smallest element in the list t ...
分类:
其他好文 时间:
2017-12-12 15:16:44
阅读次数:
152
Given a list of sorted characters letters containing only lowercase letters, and given a target letter target, find the smallest element in the list t... ...
分类:
其他好文 时间:
2017-12-12 00:20:22
阅读次数:
190
To store English words, one method is to use linked lists and store a word letter by letter. To save some space, we may let the words share the same s ...
分类:
其他好文 时间:
2017-12-10 01:21:49
阅读次数:
137
Java Character 类 Character 类用于对单个字符进行操作。 Character 类在对象中包装一个基本类型 char 的值 实例 char ch = 'a'; // Unicode 字符表示形式 char uniChar = '\u039A'; // 字符数组 char[] c ...
分类:
编程语言 时间:
2017-12-09 12:05:04
阅读次数:
154