This file contains 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
Resources for learning web design & front-end development: | |
================================================================================ | |
**ONLINE** | |
Design | |
> http://52weeksofux.com | |
> http://thedesigncubicle.com |
This file contains 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
### | |
Module dependencies | |
### | |
require.paths.unshift "#{__dirname}/lib/support/express-csrf/" | |
require.paths.unshift "#{__dirname}/lib/support/node_hash/lib/" | |
express = require 'express' | |
app = module.exports = express.createServer() | |
RedisStore = require 'connect-redis' |
This file contains 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
struct node{ | |
int val; | |
void split(node& l, node& r){} | |
void merge(node& a, node& b) | |
{ | |
val = min( a.val, b.val ); | |
} | |
}tree[1<<(n+1)]; | |
node range_query(int root, int left_most_leaf, int right_most_leaf, int u, int v) | |
{ |