This repository contains my solutions to online judges such like Codeforces and Codejam. Some useful templates, include: Binary Index Tree Disjoint Set Segment Tree (Universal for min, max and sum. Support Range Update by using lazy propagation).