Implementations of algorithms and data structures