algorithm for randomly choosing k elements out of a stream with uniform probability. Natural Mergesort (link) 10‑30‑2010 C++ An implementation of natural mergesort , an adaptive variant of mergesort . Interpolation Search (link) 10‑31‑2010 C++ An implementation of the interpolation search algorithm. Introsort (link) 10‑31‑2010 C++ An implementation of the introsort