Implementations of common data structures