因为实验室项目好久没刷题了。从今天开始重新开始刷题。 Given a set of candidate numbers (C) and a target number (T), find all unique combinations in C where the candidate numbers...
分类:
其他好文 时间:
2014-07-16 23:04:15
阅读次数:
166
Python支持5种数据类型,包括数字(numbers)、字符串(string)、列表(list)、元组(tuple)和字典(dictionary)。作为一门动态类型语言,不用去声明一个标示符的类型,使用的时候是什么类型会自动判定。对于定义好的变量,若不使用该变量,可以用del删除来释放占有的资源,...
分类:
编程语言 时间:
2014-07-16 22:52:11
阅读次数:
193
Given a collection of numbers, return all possible permutations.For example,[1,2,3]have the following permutations:[1,2,3],[1,3,2],[2,1,3],[2,3,1],[3,...
分类:
其他好文 时间:
2014-07-16 20:58:41
阅读次数:
173
Create PROC [GetPerformance]( @vp varchar(25), @range char(1) , @depetid int , @Q varchar(1), @QBe...
分类:
其他好文 时间:
2014-07-16 20:13:45
阅读次数:
171
《Windows Graphics Programming Win32 GDI and DirectDraw》6.1节中有这样的描述:The Windows NT/2000 graphics engine uses signed fixed-point numbers to represent co...
Given a collection of candidate numbers (C) and a target number (T), find all unique combinations in C where the candidate numbers sums to T. Each num...
分类:
其他好文 时间:
2014-07-16 19:53:49
阅读次数:
238
题目:Given a sorted array of integers, find the starting and ending position of a given target value.Your algorithm's runtime complexity must be in the ...
分类:
其他好文 时间:
2014-07-16 19:48:18
阅读次数:
263
Given an array of integers, find two numbers such that they add up to a specific target number.
The function twoSum should return indices of the two numbers such that they add up to the target, whe...
分类:
其他好文 时间:
2014-07-12 19:06:27
阅读次数:
204
#nginx conf by linux kernel
net.ipv4.tcp_max_tw_buckets = 6000
net.ipv4.ip_local_port_range = 1024 65000
net.ipv4.tcp_tw_recycle=1
net_ipv4.tcp_tw_reuse=1
net_ipv4.tcp_syncookies=1
net.core.soma...
分类:
系统相关 时间:
2014-07-12 18:04:24
阅读次数:
212
在交换机的配置中,经常会对一组端口进行相同的操作,为简化配置,提高设备性能可以在配置中使用range命令:suzhouxiaoniu(config)#interrangefa1/1-10对10个连续的端口同时进行操作suzhouxiaoniu(config-if-range)#swimoaccsuzhouxiaoniu(config-if-range)#swiaccvlan2suzhoux..
分类:
其他好文 时间:
2014-07-10 18:21:25
阅读次数:
1114