Data structures and algorithms exercises