Basic data structure and algorithm exercises.