Algorithms and code snippets helpful for programming competitions.