A midterm exam #2 for Data Structures and Algorithms class