Given an integer array with all positive numbers and no duplicates, find the number of possible combinations that add up to a positive integer target. ...
分类:
其他好文 时间:
2017-06-24 17:23:30
阅读次数:
123
Given a string containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid. Given a string containing just ...
分类:
其他好文 时间:
2017-06-24 10:07:06
阅读次数:
171
I、Given a sorted linked list, delete all duplicates such that each element appear only once. For example,Given1->1->2, return1->2.Given1->1->2->3->3, ...
分类:
其他好文 时间:
2017-06-23 23:52:40
阅读次数:
422
https://leetcode.com/problems/find-the-duplicate-number/#/description http://www.cnblogs.com/EdwardLiu/p/5078013.html ...
分类:
其他好文 时间:
2017-06-21 23:04:47
阅读次数:
219
生成器表达式形式 直接上代码 输出结果 生成器的表达式形式,在每一个包含生成器表达式形式的函数写完后,都必须要执行第一次__next__方法初始化后(即传入一个的默认返回值None),才能够使用send()方法传入值,否则会抛出TypeError错误。 初始化装饰器:使用装饰器装饰的方法进行函数定义 ...
分类:
编程语言 时间:
2017-06-20 16:18:08
阅读次数:
217
//商场类public class Goods { int no; //编号 String name; //商品名称 double price; //商品价格 int number; //商品数量 //初始化数据方法 public void setData(int iNo, String sName... ...
分类:
编程语言 时间:
2017-06-20 12:24:00
阅读次数:
156
哪些工具可以用于性能优化? ST05-性能追踪。包含SQL追踪加RFC,队列和缓存追踪。SQL追踪主要用于测量程序中select语句的性能。 SE30-运行时分析。用于测量应用的性能。 SAT是过时的SE30的替代品。提供了和SE30相同的功能和额外的一些特性。 ST12事务(ST-A/PI软件组件 ...
分类:
其他好文 时间:
2017-06-18 20:47:50
阅读次数:
326
以下内容转自http://ifeve.com/amdahls-law/: 阿姆达尔定律可以用来计算处理器平行运算之后效率提升的能力。阿姆达尔定律因Gene Amdal 在1967年提出这个定律而得名。绝大多数使用并行或并发系统的开发者有一种并发或并行可能会带来提速的感觉,甚至不知道阿姆达尔定律。不管 ...
分类:
编程语言 时间:
2017-06-17 18:27:10
阅读次数:
187
主要工具为ethtool来检查,主要关注的字段为"Link detected",注意如下的输出,其中em4实际物理上并未插上网线,而em1是插上网线的: ...
分类:
系统相关 时间:
2017-06-15 10:38:56
阅读次数:
268
题目: Given a collection of integers that might contain duplicates, nums, return all possible subsets. Note: The solution set must not contain duplicate ...
分类:
编程语言 时间:
2017-06-14 16:38:59
阅读次数:
138