Skip Lists with methods for inserting, removing, searching, finding the closest value, finding the k-th largest element, counting values in cluster, all in O(logN)
Merge branch 'master' of https://github.com/htoma/algorithms