码迷,mamicode.com
首页 >  
搜索关键字:tree node    ( 43285个结果
Nodejs express中创建ejs项目,解决express下默认创建jade,无法创建ejs问题
最近在看《Node.js开发指南》,看到使用nodejs进行web开发的时候,准备创建ejs项目遇到问题了,书上命令为:express -t ejs microblog可是执行后,仍旧创建的是jade项目。原来,express3.x,express4.x中创建ejs命令更新为:express -e ...
分类:Web程序   时间:2014-05-05 22:36:29    阅读次数:370
Balanced Binary Tree
Link:http://oj.leetcode.com/problems/balanced-binary-tree/Given a binary tree, determine if it is height-balanced.For this problem, a height-balanced ...
分类:其他好文   时间:2014-05-05 22:29:55    阅读次数:382
垃圾回收所思所想(一)
编程语言更迭至今,几乎没有人没有用过一门不用垃圾回收的语言,一方面因为C之类的语言内存管理较为困难,更重要的是因为语言越高级,越注重实际的业务逻辑,而关于内存管理的代码频繁夹杂在业务中,并不那么自然。### 没有垃圾回收的编程体验 #include #include struct node { .....
分类:其他好文   时间:2014-05-05 21:49:59    阅读次数:329
Android apk file
apk file 其实就是zip文件, 可以将其重命名为zip文件,然后用unzip命令解压。unzip example1.apk -d ./example_dir tree . ├── AndroidManifest.xml ├── classes.dex ├── META-INF │   ├── CERT.RSA │   ├── CERT.SF │   └── MANIFEST.MF ├── ...
分类:移动开发   时间:2014-05-05 13:12:59    阅读次数:469
the longest distance of a binary tree
the longest distance of a binary tree 个人信息:就读于燕大本科软件工程专业 目前大三; 本人博客:google搜索“cqs_2012”即可; 个人爱好:酷爱数据结构和算法,希望将来从事算法工作为人民作出自己的贡献; 博客内容:the longest distance of a binary tree; 博客时间:2014-4-...
分类:其他好文   时间:2014-05-04 00:28:23    阅读次数:446
node.js学习一——什么是node.js
定义:node.js是运行在服务器端的运用了谷歌v8引擎的javascript运行平台特点:1. 异步式I/O(非阻塞式I/O) 2. 事件驱动什么是异步式I/O(非阻塞式I/O)?要了解什么是异步式I/O(非阻塞式I/O),必须要先了解下什么是I/O,什么阻塞, 什么是同步式I/O(阻塞式I/O)...
分类:Web程序   时间:2014-05-03 23:03:07    阅读次数:415
queue for max elem, pop, push
queue for max elem, pop, push 个人信息:就读于燕大本科软件工程专业 目前大三; 本人博客:google搜索“cqs_2012”即可; 个人爱好:酷爱数据结构和算法,希望将来从事算法工作为人民作出自己的贡献; 博客内容:the longest distance of a binary tree; 博客时间:2014-4-15; 编...
分类:其他好文   时间:2014-05-03 17:13:09    阅读次数:406
GBDT(Gradient Boosting Decision Tree) 只有实现只有原理
阿弥陀佛,好久没写文章,实在是受不了了,特来填坑,最近实习了(ting)解(shuo)到(le)很多工业界常用的算法,诸如GBDT,CRF,topic model的一些算法等,也看了不少东西,有时间可以详细写一下,而至于实现那真的是没时间没心情再做了,等回学校了再说吧。今天我们要说的就是GBDT(Gradient Boosting Decision Tree)...
分类:其他好文   时间:2014-05-03 16:14:46    阅读次数:904
java 遍历目录
package com.recursion; import java.io.File; public class RecursionFile { public static void main(String[] args) { File file  = new File("G:/A"); tree(file, 0); } private static vo...
分类:编程语言   时间:2014-05-03 16:07:04    阅读次数:265
HDU 2894 欧拉回路
#include #include #include #include #include using namespace std; #define N 20020 struct node{ int from, to, dou, nex; }edge[N]; int head[N], edgenum; void add(int u, int v,int dou){ node E={u,v,dou...
分类:其他好文   时间:2014-05-03 15:25:32    阅读次数:340
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!