Implementation of Randomized Search Tree in C++