Implementation of the Treap in pure C