码迷,mamicode.com
首页 >  
搜索关键字:Node    ( 27491个结果
[leetcode]Binary Tree Level Order Traversal II @ Python
原题地址:http://oj.leetcode.com/problems/binary-tree-level-order-traversal-ii/题意:Given a binary tree, return thebottom-up level ordertraversal of its node...
分类:编程语言   时间:2014-05-12 22:03:27    阅读次数:581
Etag缓存在PHP和NodeJS中的实现
HTTP 提供了许多页面缓存的方案,其中属 Etag 和 Last-Modified 应用最广。本文会先介绍 Etag 的应用场景,然后说说他在 php 和 node 中的使用。本文地址:http://www.cnblogs.com/hustskyking/p/etag-in-node.html,转...
分类:Web程序   时间:2014-05-12 21:27:32    阅读次数:426
GeeksforGeeks - Adjacency List邻接矩阵C代码
邻接矩阵的图示: 构建一个这样的无向邻接矩阵。 参考网站: http://www.geeksforgeeks.org/graph-and-its-representations/ 这里写了个类,增加删除图的操作。 #pragma once #include #include class AdjListGraph { struct Node { int dest; ...
分类:其他好文   时间:2014-05-11 22:44:20    阅读次数:378
JQuery日记 5.11 Sizzle选择器(五)
setDocument = Sizzle.setDocument = function( node ) { var hasCompare, //node为Element时返回node所属document //node为Document时返回node //node为空时返回window.document doc = node ? node.ownerDocument || node...
分类:Web程序   时间:2014-05-11 22:41:15    阅读次数:459
PHP 优于 Node.js 的五大理由
PHP是一款服务器端的脚本语言,主要用于动态网页开发,是目前最流行的开发语言之一。Node是一款用来编写高性能网络服务器的JavaScript工具包。文中将两者进行对比,列举了PHP优于Node.js的五大理由。一起来看下。 1. 容易托管 大多数Web托管服务器提供商能为PHP提供托管,而对于N....
分类:Web程序   时间:2014-05-11 17:47:25    阅读次数:335
下压堆栈(链表实现)
import java.util.Iterator; import java.util.Scanner; public class Stack implements Iterable { private Node first;// 栈顶 private int N;// 元素数量 // 定义结点的嵌套类 private class Node{ Item item; Node nex...
分类:其他好文   时间:2014-05-11 13:20:22    阅读次数:257
【LeetCode】Validate Binary Search Tree
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 n...
分类:其他好文   时间:2014-05-11 06:46:32    阅读次数:366
[Node.js]在windows下不得不防的小错误
[Node.js]在windows下不得不防的小错误...
分类:Windows程序   时间:2014-05-11 06:40:40    阅读次数:432
[LeetCode]Binary Tree Maximum Path Sum, 解题报告
题目 Given a binary tree, find the maximum path sum. The path may start and end at any node in the tree. For example: Given the below binary tree,...
分类:其他好文   时间:2014-05-11 03:25:24    阅读次数:298
20140510 二叉树的建立 先序 后序 中序 比较
#include#includetypedef struct node { int data; struct node *lchild,*rchild;};node * create()//先序建立二叉树,根左右{ int x=0; node *t; printf(" input data:"); ...
分类:其他好文   时间:2014-05-11 01:19:08    阅读次数:311
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!