Implementation of common data structures in c programming language