https://leetcode.com/problems/remove-duplicates-from-sorted-list/ ...
分类:
其他好文 时间:
2016-10-26 20:06:21
阅读次数:
121
Given an array of integers and an integer k, find out whether there are two distinct indices i and j in the array such that nums[i] = nums[j]and the d ...
分类:
其他好文 时间:
2016-10-26 09:34:14
阅读次数:
187
虽说我们很多时候前端很少有机会接触到算法。大多都交互性的操作,然而从各大公司面试来看,算法依旧是考察的一方面。实际上学习数据结构与算法对于工程师去理解和分析问题都是有帮助的。如果将来当我们面对较为复杂的问题,这些基础知识的积累可以帮助我们更好的优化解决思路。下面罗列在前端面试中经常撞见的几个问题吧。 ...
分类:
编程语言 时间:
2016-10-26 06:51:43
阅读次数:
195
下面說一下在用戶空間調用open/close/dup跟驅動中的open和release的對應。 下面是測試驅動: 下面是用戶空間測試代碼: 下面是輸出的log: 通過分析log,我們得出結論, 用戶空間每調用一次open,驅動中的open都會被執行一次,而在調用dup的時候,只是將struct fi ...
分类:
系统相关 时间:
2016-10-23 21:08:12
阅读次数:
294
对于边删除边添加的情况,中间只需要用逗号隔开即可。 修改之前的数据表结构 mysql> select * from users1;+ + + + +| id | username | pid | sex |+ + + + +| 3 | wuxie | 2 | 3 || 4 | Tom | 1 | 3 ...
分类:
数据库 时间:
2016-10-22 20:57:54
阅读次数:
234
转自:http://www.cnblogs.com/wlgqo/articles/5647161.html mysql官方文档提供了丰富的文档,其中包括如何在不同的平台安装mysql。今天选择教程中的其中一种:使用yum在linux环境下安装mysql. 教程地址:http://dev.mysql. ...
分类:
数据库 时间:
2016-10-22 17:21:19
阅读次数:
267
ALTER PROCEDURE usp_Calendar @StartDate DATE='2016-01-01', @EndDate DATE='2016-12-31' AS BEGIN b)建表 /* /****** Object: Table [dbo].[Calendar] Script D ...
分类:
其他好文 时间:
2016-10-22 11:42:51
阅读次数:
264
打开:C:\Users\你的用户名\AppData\Roaming\Battle.net\Battle.net.config 替换为下方内容: ...
分类:
其他好文 时间:
2016-10-22 00:35:58
阅读次数:
581
题目: Given a collection of integers that might contain duplicates, nums, return all possible subsets. Note: The solution set must not contain duplicate ...
分类:
其他好文 时间:
2016-10-22 00:15:59
阅读次数:
215
invokevirtual 调用实例方法 invokespecial 调用父类构造,实例初始化方法,私有方法 dup 复制栈顶数值,并且复制值进栈,pop/pop2为栈顶值出栈 aload_0 加载第一个(0)局部变量引用的对象。 简单的理解是将地址入栈。给局部变量赋值。 iload_0第一个int ...
分类:
其他好文 时间:
2016-10-12 10:42:37
阅读次数:
120