Skip to content

Instantly share code, notes, and snippets.

View kanasimi's full-sized avatar

kanasimi kanasimi

View GitHub Profile
@kanasimi
kanasimi / Trees Made to Order.js
Last active February 28, 2017 04:47
Trees Made to Order
// 2017/2/25 20:40:17
// http://poj.org/problem?id=1095
// node Trees Made to Order.js
// https://gist.github.com/kanasimi/4f8911cabb8721123a472f60408bd30d
'use strict';
var MAX_NO = 5e8,
// count: Catalan numbers
count = [1],