Anders Kaseorg's submission of Circular Merging | CodeChef