My solutions to some Online Judges problems (and some algorithms I use for competitive programming) Some nice problems (fun or interesting to understand some topic) Segment Tree: Codeforces: 276 - C Two Pointers: Codeforces: 279 - B Sparse Table: Spoj: THRBL