CSI 3334: Data structures, Spring 2011


Data structures and the algorithms that operate on them are the keys to making efficient software. They are also very interesting. This course will cover data structures in a way that exercises your problem-solving skills. These problem-solving skills are what you will need to be a successful programmer, scientist, engineer, or mathematician.

This course covers:

This is a difficult course. My recommendation is to attend lectures, study hard, start projects early, and seek help from the professor when you need it.

Practical information

Lectures are from 9:05 AM to 9:55 AM in Rogers 210 on Mondays, Wednesdays, and Fridays. You may use the general labs on the first floor of Rogers, though there is no lab component of the course.

My office is in the Rogers Engineering and Computer Science building, and office hours are listed on my home page. I am glad to talk to students during and outside of office hours. If you can't come to my office hour, please make an appointment for another time, or just stop by.

The TA for this course is Hao Guo.


Here is a schedule of the material we will cover:

Week Dates Topics Reading Monday Wednesday Friday
1 Jan 10-14 Overview, C++ review 1.1-1.6 Project 0 assigned Homework 0 assigned Project 1 assigned
2 Jan 17-21 Algorithm analysis 2 MLK, Jr. Holiday
3 Jan 24-28 Algorithm analysis Homework 1 assigned Project 2 assigned
4 Jan 31-Feb 4 ADTs, lists, stacks, queues 3.1-3.3, 3.6, 3.7
5 Feb 7-11 Trees 4 Homework 2 assigned Project 3 assigned
6 Feb 14-18 Trees
7 Feb 21-25 Heaps 6 Homework 3 assigned Project 4 assigned
8 Feb 28-Mar 4 Heaps Midterm exam
9 Mar 7-11 Spring break Spring break Spring break
10 Mar 14-18 Hashing 5
11 Mar 21-25 Hashing Homework 4 assigned Project 5 assigned
12 Mar 28-Apr 1 Sorting 7 (skip 7.4)
13 Apr 4-8 Sorting, Graphs 9.1-9.5 Homework 5 assigned Project 6 assigned
14 Apr 11-15 Graphs
15 Apr 18-22 Graphs Easter holiday
16 Apr 25-29 Disjoint set, Algorithm design 8, 10 Easter holiday Last day of class

Dr. Hamerly will be out of town February 26 - March 6th for the ICPC World Finals. Therefore, we will try to arrange two make-up lectures at alternative times prior to that week. The midterm will be proctored.

The final exam will be Friday, May 6 at 9:00 AM. The latest university finals information is available here.

Textbooks & resources

Required text: we will be using Mark Weiss' textbook Data Structures and Algorithm Analysis in C++ (3rd Edition). An older edition might be okay, but you are responsible in case there are differences between the editions. You can purchase this book from the Baylor bookstore or amazon, among other places.

Further online resources:


Grades will be assigned based on this breakdown:

Important: Each project not completed by the end of the semester will result in a drop of one letter grade. For example, if you would have received a 'B', but you did not complete two of the projects, then your letter grade will be a 'D'.

Different projects and assignments may have different point values. In-class exams are closed-book. The final will be comprehensive.

Homework is due at the beginning of class; homework turned in after it has been collected but before the end of class will receive a 20% penalty. Homework will not be accepted after class on the due date.

Final letter grades will be assigned at the discretion of the instructor, but here is a minimum guideline for letter grades:
A: 90-100, B+: 88-89, B: 80-87, C+: 78-79, C: 70-77, D: 60-69, F: 0-59


Academic honesty

I take academic honesty very seriously. Many studies, including one by Sheilah Maramark and Mindi Barth Maline have suggested that "some students cheat because of ignorance, uncertainty, or confusion regarding what behaviors constitute dishonesty" (Maramark and Maline, Issues in Education: Academic Dishonesty Among College Students, U.S. Department of Education, Office of Research, August 1993, page 5). In an effort to reduce misunderstandings, here is a minimal list of activities that will be considered cheating in this class:

Copyright © 2011 Greg Hamerly, with some content taken from a syllabus by Jeff Donahoo.
Computer Science Department
Baylor University

valid html and css