码迷,mamicode.com
首页 >  
搜索关键字:rac one node    ( 66256个结果
Leetcode--Validate Binary Search Tree
Problem Description: Given a binary tree, determine if it is a valid binary search tree (BST). Assume a BST is defined as follows: The left subtree of a node contains only nodes with keys l...
分类:其他好文   时间:2014-05-15 11:22:21    阅读次数:317
[LeetCode]Single Number
Given an array of integers, every element appears twice except for one. Find that single one....
分类:其他好文   时间:2014-05-15 07:20:39    阅读次数:264
leetcode -day14 Populating Next Right Pointers in Each Node I II
1、 ?? Populating Next Right Pointers in Each Node Given a binary tree struct TreeLinkNode { TreeLinkNode *left; TreeLinkNode *right; TreeLinkNode *next; } Populate...
分类:其他好文   时间:2014-05-15 04:57:36    阅读次数:221
Leetcode 线性表 Remove Nth Node From End of List
题意:移除链表的倒数第n个元素 思路: 两个指针p, q, p先走n步,然后p,q一起走,当p走到尾的时候,q->next就是要删除的节点 复杂度: 时间O(n),空间O(1)...
分类:其他好文   时间:2014-05-15 02:53:13    阅读次数:241
LeetCode--Single Number II
Single Number II  Total Accepted: 14472 Total Submissions: 44420My Submissions Given an array of integers, every element appears three times except for one. Find that single one. Note: Y...
分类:其他好文   时间:2014-05-15 01:23:42    阅读次数:273
Linux 高性能服务器编程——高级I/O函数
重定向dup和dup2函数[cpp] view plaincopyprint?#includeintdup(intfile_descriptor);intdup2(intfile_descriptor_one,intfile_descriptor_two);dup创建一个新的文件描述符, 此描述符和...
分类:系统相关   时间:2014-05-14 22:34:09    阅读次数:479
Pat(Advanced Level)Practice--1043(Is It a Binary Search Tree)
Pat1043代码题目描述:A Binary Search Tree (BST) is recursively defined as a binary tree which has the following properties:The left subtree of a node contain...
分类:其他好文   时间:2014-05-14 22:03:25    阅读次数:487
Node.js异步处理CPU密集型任务
这篇文章提出了backgroundjs这个新的概念,扩展了Node.js的能力,解决了Node在处理CPU密集任务时的短板。这个解决方案使得使用Node的开发人员只需要关注backgroundjs中的函数。比起多开进程或者新添加模块的解决方案更高效,通用和一致。...
分类:Web程序   时间:2014-05-14 21:16:18    阅读次数:502
linux命令之sar
[root@rac01 ~]# free -s 2[root@rac01 ~]# free [-b | -k | -m][root@rac01 ~]# free -o[root@rac01 ~]# free -t[root@rac01 ~]# sar -r 2 3[root@rac01 ~]# sa...
分类:系统相关   时间:2014-05-14 18:18:48    阅读次数:371
node.js相关资料汇总
node.js API 英文原版 http://nodejs.org/api/all.html node.js API 中文翻译 http://nodeapi.ucdok.com/#/api/ node.js API 中文翻译下载 http://download.csdn.net/detail/bad19876414641/4608699 javascrip...
分类:Web程序   时间:2014-05-14 15:15:10    阅读次数:329
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!