Chinaunix首页 | 论坛 | 博客
  • 博客访问: 256083
  • 博文数量: 170
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 1709
  • 用 户 组: 普通用户
  • 注册时间: 2014-05-06 18:01
文章分类

全部博文(170)

文章存档

2016年(11)

2015年(130)

2014年(29)

发布时间:2015-05-25 18:55:28

//Suppose a sorted array is rotated at some pivot unknown to you beforehand.////(i.e., 0 1 2 4 5 6 7 might become 4 5 6 7 0 1 2).////You are given a target value to search. If found in the array return its index, otherwise return -1.////You may assume no duplicate exists in the array.public .........【阅读全文】

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

发布时间:2015-05-02 10:53:04

//Given a string containing just the characters '(' and ')', find the length of the longest valid (well-formed) parentheses substring.////For "(()", the longest valid parentheses substring is "()", which has length = 2.////Another example is ")()())", where the longest valid parentheses substrin.........【阅读全文】

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

发布时间:2015-04-18 16:16:21

外部排序技术之多路归并......【阅读全文】

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

发布时间:2015-04-16 18:08:16

  进程在内核的协调下进行相互间的通讯,主要包括三种方式:信号、管道和套接口三大类。信号  信号是Unix 系统中的最古老的进程间通讯方式。它们用来向一个或多个进程发送异步事件信号。信号可以从键盘中断中产生,另外进程对虚拟内存的非法存取等系统错误环境下也会有信号产生。信号还被she.........【阅读全文】

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

发布时间:2015-04-16 15:56:43

//Implement next permutation, which rearranges numbers into the lexicographically next greater permutation of numbers.////If such arrangement is not possible, it must rearrange it as the lowest possible order (ie, sorted in ascending order).////The replacement must be in-place, do not allocate e.........【阅读全文】

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

登录 注册