Solutions for basic data structures.