Description题目描述Two different circles can have at most four common tangents.The picture below is an illustration of two circles with four common tangen...
分类:
其他好文 时间:
2016-01-16 16:45:04
阅读次数:
169
Linked List Cycle: Given a linked list, determine if it has a cycle in it. Follow up: Can you solve it without using extra space? 题意:判断一个链表中是否存在环。 思路:...
分类:
其他好文 时间:
2016-01-15 23:10:41
阅读次数:
171
python在进行字符串处理或者通过open函数读取文件时,经常会出现编码的错误:UnicodeDecodeE-rror:‘ascii‘codeccan‘tdecodebyte0xe6inposition0:ordinalnotinrange(128)这个是由于python在进行编码和解码的过程中,出现编解码不兼容时导致的错误。所以现在需要对字符的编码有个..
分类:
编程语言 时间:
2016-01-15 18:03:36
阅读次数:
206
安装iftop,我是源码安装,在./configure之后,遇到configure:error:can‘tfindpcap.hYou‘renotgoingtogetveryfarwithoutlibpcap.没法执行make&&makeinstall这个命令,于是去网上查为什么会这样,源码安装iftop,需要提前安装的依赖包有:#yuminstallflexbyacclibpcapnc..
分类:
其他好文 时间:
2016-01-15 18:00:18
阅读次数:
10540
一,UniqueIdentifier 是一个数据类型,用于存储GUID的值。uniqueidentifier data typeIs a 16-byte GUID.A column or local variable of uniqueidentifier data type can be init...
分类:
其他好文 时间:
2016-01-15 14:40:03
阅读次数:
206
CSS 伪元素用于向某些选择器设置特殊效果。1、:first-line 伪元素 "first-line" 伪元素用于向文本的首行设置特殊样式。注意:"first-line" 伪元素只能用于块级元素。You can use the :first-line pseudo-element to add a...
分类:
Web程序 时间:
2016-01-15 13:00:29
阅读次数:
184
安装数据的时候报错:
查看操作系统参数设置:
[root@single1 ~]# vi /etc/sysctl.conf
# Kernel sysctl configuration file for Red Hat Linux
#
# For binary values, 0 is disabled, 1 is enabled. See sysctl(8) and
# sysctl.c...
分类:
数据库 时间:
2016-01-15 13:00:23
阅读次数:
190
Define “Straight” as 5 cards with consecutive numbers. Determine if the deck can be fully divided into sets of “Straight”.Example: 1, 2, 3, 4, 4, 5, 5...
分类:
其他好文 时间:
2016-01-15 08:40:10
阅读次数:
254
In JavaScript, you can change the content of a string using thereplacemethod. This method signature is overloaded with a bunch of different ways to do...
分类:
编程语言 时间:
2016-01-15 06:26:04
阅读次数:
222
To solve the general programming problem, you need to create any number of objects, anytime, anywhere. So you can't rely on creating a named referen.....
分类:
编程语言 时间:
2016-01-15 01:06:08
阅读次数:
352