Chinaunix首页 | 论坛 | 博客
  • 博客访问: 140140
  • 博文数量: 56
  • 博客积分: 245
  • 博客等级: 二等列兵
  • 技术积分: 520
  • 用 户 组: 普通用户
  • 注册时间: 2012-10-08 14:43
个人简介

慢慢来

文章分类

全部博文(56)

文章存档

2017年(5)

2016年(2)

2015年(6)

2014年(28)

2013年(5)

2012年(10)

我的朋友

发布时间:2014-08-20 23:01:56

You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single digit. Add the two numbers and return it as a linked list.Input: (2 -> 4 -> 3) + (5 -> 6 -> 4)Output: 7 -> 0 -> 8点击.........【阅读全文】

阅读(529) | 评论(0) | 转发(0)

发布时间:2014-08-20 21:08:27

Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating letters for "abcabcbb" is "abc", which the length is 3. For "bbbbb" the longest substring is "b", with the length of 1.点击(此处)折叠或打开.........【阅读全文】

阅读(523) | 评论(0) | 转发(0)

发布时间:2014-08-18 15:25:33

* 转载请注明, 有错误还望指正先说下表结构上的锁类型:    在建表时可以选择三种表的类型:        APL( Allpages locking ): 锁数据页和索引页        DPL( Datapages locking ): 锁数据页        DRL( Dat.........【阅读全文】

阅读(3607) | 评论(0) | 转发(0)

发布时间:2014-08-14 11:19:56

**转载请注明**快速排序,又一个divide-and-conquer的实例。虽然最坏情况是O(n^2),但是平均期望效率是O(nlgn),所以在应用中还是比较广泛的。原理:1. 在原数组里取一个点(假如是末尾的),小于它的往前‘放’;大于的往后排;排完了把它放中间。2. 然后把大小两子数组再排序。    * ‘放.........【阅读全文】

阅读(524) | 评论(0) | 转发(0)

发布时间:2014-08-07 17:21:25

第三章在讨论一些定义和理论,一些标记方法:f(n) = O(g(n))  is like  a=bf(n) = Θ(g(n))  is like  a=bf(n) = o(g(n))  is like  ab======================= 分割线 =====================.........【阅读全文】

阅读(486) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册