一 安装低版本git 1/ git --version 检查git版本 是否有安装 2/ yum remove git 有的话 可以删除 3/ yum install -y git 安装1.7.1 4/ 下载 Git for Windows,地址:https://git-for-windows.gi ...
分类:
其他好文 时间:
2018-03-09 15:33:42
阅读次数:
216
接上一节,在把关键字改成string类型之后,需要对key进行hash化,这里使用了两种方式: 1.相加法 2.幂乘法 同时防止越界,我们使用了压缩值的方法即取余数。但是由于int的长度限制,我们使用了biginterger方法。 info类和上节相同,这里只丢出hashTable的源代码: pub ...
分类:
其他好文 时间:
2018-03-08 14:10:05
阅读次数:
169
Description You are given a bunch of wooden sticks. Each endpoint of each stick is colored with some color. Is it possible to align the sticks in a st ...
分类:
其他好文 时间:
2018-03-03 14:06:56
阅读次数:
167
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 ...
分类:
其他好文 时间:
2018-03-03 10:54:39
阅读次数:
220
A message containing letters from A-Z is being encoded to numbers using the following mapping: Given an encoded message containing digits, determine t ...
分类:
其他好文 时间:
2018-02-28 16:26:42
阅读次数:
136
1.题目描述 Given a digit string, return all possible letter combinations that the number could represent. A mapping of digit to letters (just like on the ...
分类:
其他好文 时间:
2018-02-27 01:22:53
阅读次数:
179
We are stacking blocks to form a pyramid. Each block has a color which is a one letter string, like `'Z'`. For every block of color `C` we place not i ...
分类:
其他好文 时间:
2018-02-27 01:10:41
阅读次数:
459
Given a 2D board containing 'X' and 'O' (the letter O), capture all regions surrounded by 'X'. A region is captured by flipping all 'O's into 'X's in ...
分类:
其他好文 时间:
2018-02-26 23:16:37
阅读次数:
192
S and T are strings composed of lowercase letters. In S, no letter occurs more than once. S was sorted in some custom order previously. We want to per ...
分类:
其他好文 时间:
2018-02-26 21:51:53
阅读次数:
174
样式表的选择器 1.类选择器 根据HTML标签的class属性选择样式应用的属性 .类值{ … } 2.ID选择器 根据HTML标签的ID属性选择样式应用的元素 #id值{ … } 3.标签选择器 根据HTML标签选择样式应用的属性 标签名{ … } 4.子选择器 .food>li{ border: ...
分类:
Web程序 时间:
2018-02-26 21:44:49
阅读次数:
245