17. Letter Combinations of a Phone Number Given a string containing digits from 2-9 inclusive, return all possible letter combinations that the number ...
分类:
其他好文 时间:
2018-05-27 23:39:58
阅读次数:
206
把单词按首字母顺序排列 把单词按首字母顺序排列 把单词按首字母顺序排列 把单词按首字母顺序排列 # change this value for a different result#思路:使用sort+hey my_str = "Hello this Is an Example With cased ...
分类:
编程语言 时间:
2018-05-27 12:02:43
阅读次数:
474
二进制&十六进制转换表: 十六进制 0 1 2 3 4 5 6 7 二进制 0000 0001 0010 0011 0100 0101 0110 0111 十六进制 8 9 A B C D E F 二进制 1000 1001 1010 1011 1100 1101 1110 1111 转换方法: 取 ...
分类:
编程语言 时间:
2018-05-27 10:51:19
阅读次数:
227
一.if语句 if condition_1: statement_block_1 elif condition_2: statement_block_2 else: statement_block_3 1.每个条件后面要使用冒号(:),表示接下来是满足条件后要执行的语句块 2.使用缩进来划分语句块, ...
分类:
编程语言 时间:
2018-05-26 21:22:25
阅读次数:
229
安装: 1 在官网上下载Linux的安装包 2 在Linux解压 3 将解压目录mv到指定安装目录 mv mongodb-linux-x86_64-rhel70-3.6.5/ /usr/local/mongodb 4 cd到bin目录下执行以下命令,添加环境变量: export PATH=$PATH ...
分类:
数据库 时间:
2018-05-26 20:29:44
阅读次数:
184
问题 H: Snuke's Coloring 2-1 题目描述 There is a rectangle in the xy-plane, with its lower left corner at (0,0) and its upper right corner at (W,H). Each of ...
分类:
其他好文 时间:
2018-05-26 20:21:31
阅读次数:
199
Description Description Given an integer array, find a subarray where the sum of numbers is zero. Your code should return the index of the first numbe ...
分类:
编程语言 时间:
2018-05-26 13:02:43
阅读次数:
156
1 Hostnetwork NETWORK: HOST With the network set to host a container will share the host’s network stack and all interfaces from the host will be avai ...
分类:
Web程序 时间:
2018-05-26 10:45:29
阅读次数:
225
@Bean是一个方法级别上的注解,主要用在@Configuration注解的类里,也可以用在@Component注解的类里。添加的bean的id为方法名 定义bean 下面是@Configuration里的一个例子 这个配置就等同于之前在xml里的配置 bean的依赖 @bean 也可以依赖其他任意 ...
分类:
编程语言 时间:
2018-05-25 23:29:56
阅读次数:
290
这篇指南描述如何使用protocol buffer语言来组织你的protocol buffer数据,包括.proto文件的语法规则以及如何通过.proto文件来生成数据访问类代码。 Defining A Message Type(定义一个消息类型) 语法说明(syntax)前只能是空行或者注释 每个 ...
分类:
编程语言 时间:
2018-05-25 13:59:17
阅读次数:
12598