This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
var express = require('express'), | |
app = express(), | |
http = require('http'), | |
server = http.createServer(app), | |
path = require('path'), | |
io = require('socket.io').listen(server), | |
fs = require('fs'), | |
zmq = require('zmq'), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef _H_AVL_TREE | |
#define _H_AVL_TREE | |
#include <iostream> | |
#include <iomanip> | |
template <typename T> | |
struct AVLNode | |
{ | |
AVLNode(T v, int b = 0, AVLNode<T> *l = 0, AVLNode<T> *r = 0) : |