CSCI H343 Data Structures Fall 2023

Indiana University, Fall 2023

This course studies the fundamental ideas for efficiently analyzing large amounts of data, such as DNA sequence databases and geographic information. These fundamental ideas come in two kinds: algorithms and data structures. Algorithms are instructions for solving problems and data structures are strategies for organizing information on computers. Efficient algorithms require appropriate data structures, and vice versa, so the study of algorithms and data structures is tightly linked. In this course we learn about the algorithms and data structures that form the building blocks for many of Today’s large-scale computer systems. We apply these ideas to solve challenging problems in bioinformatics and geographic information systems. Warning: a possible side-effect of taking this course is doing better on job interview questions.


Mondays and Wednesdays 1:15pm-2:30pm, Ballantine Hall (BH), Room 344.


Fridays 10:20am-12:15pm, Ballantine Hall (BH) 118.

Expect at least one quiz per month during lab time.

Instructors and Office Hours


Data Structures and Algorithm Analysis in Java, 3rd Ed. by Mark A. Weiss

Slack (communicating with instructors and other students)

Workspace (signup)


Day Lecture Topic Reading Due Assignments and Due Dates Link
Aug. 21 Introduction      
Aug. 23 Arrays, Rotation, Testing Ch. 1    
Aug. 25     Lab 1: Array Search Testing submit
Aug. 28 Algorithm Analysis   Lab 1 due video
Aug. 30 Algorithm Analysis continued Ch. 2 Homework 1 due video
Sep. 1     Lab 2: Array Search submit
Sep. 4 Labor Day      
Sep. 5     Lab 2: Array Search due  
Sep. 6 Linked Lists and Abstract Data Types Ch. 3 sec. 1-5    
Sep. 8 Quiz 1   Lab: work on Project 1 FloodIt! submit
Sep. 11 More ADTs, Binary Trees Ch. 3 sec. 6-7,
Ch. 4 sec. 1-2
Project 1: FloodIt! due  
Sep. 13 Binary Search Trees Ch. 4 sec. 3 and 7    
Sep. 15     Lab 3: Merge Sort on Linked Lists
Lab Notes
test, code
Sep. 18 Balanced Search Trees (AVL) Ch. 4 sec. 4 Lab 3 due  
Sep. 20 More AVL, Code Review (Flood It!)      
Sep. 22     Lab 4: Next Prev Binary Tree
Lab Notes
test, code
Sep. 25 Hash tables Ch. 5 sec. 1,2,3,5,6 Lab 4 due  
Sep. 27 Code Review (Merge Sort),
Assertions and Correctness
Sep. 29 Quiz 2   Lab: work on
Project 2 Segment Intersection
Lab Notes
test, code
Oct. 2 Heaps and Priority Queues Ch. 6 sec. 1-4, 9    
Oct. 4 Heaps Continued      
Oct. 6     Lab: finish
Project 2 Segment Intersection
test, code
Oct. 9 Review for Midterm Exam   Project 2: Segment Intersection due  
Oct. 11 Midterm Exam (in class)      
Oct. 13 Fall Break      
Oct. 16 Binomial Queues Ch. 6 sec. 8    
Oct. 18 Quicksort Ch. 7, sec. 1-7    
Oct. 20     Lab 5: Binomial Heaps
Lab Notes
test, code
Oct. 23 No class on Oct. 23   Lab 5 due  
Oct. 25 Quicksort continued, Sorting in Linear Time      
Oct. 27 Quiz 3   Lab 6: Generic Quicksort test, code
Oct. 30 Graphs and Breadth-first Search   Lab 6 due  
Nov. 1 Depth-first Search Ch. 9 sec. 3    
Nov. 3     Lab 7: Connected Components test, code
Nov. 6 Shortest Paths Ch. 9 sec. 6 Lab 7 due  
Nov. 8 Union Find Ch. 8    
Nov. 10 Quiz 4   Lab: work on
Project 3 Routing Wires
Lab Notes
Nov. 13 Minimum Spanning Tree Ch. 9 sec. 5    
Nov. 15 Backtracking Ch. 10 sec. 5    
Nov. 17     Lab: finish
Project 3 Routing Wires
Nov. 20
Nov. 24
Thanksgiving Break      
Nov. 27 Dynamic Programming Ch. 10, sec. 3 Project 3: Routing Wires due  
Nov. 29 DNA Alignment      
Dec. 1 Quiz 5   Lab 8: DNA Alignment test, code
Dec. 4 Code Review (Routing Wires)   Lab 8 due  
Dec. 6 Review for Final Exam      
Dec. 8 Extra Office Hours in Lab   No Lab Assignment  
Dec. 11 Final Exam 3-5pm      


Grade Weighting

Late Policy

100% before 1st deadline
90% before 2nd deadline (one week after 1st)
0% after 2nd deadline

Bias-Based Incident Reporting.

Bias-based incident reports can be made by students, faculty and staff. Any act of discrimination or harassment based on race, ethnicity, religious affiliation, gender, gender identity, sexual orientation or disability can be reported through any of the options:

1) email or;

2) call the Dean of Students Office at (812) 855-8188 or

3) use the IU mobile App ( Reports can be made anonymously.

Counseling and Psychological Services.

CAPS has expanded their services. For information about the variety of services offered to students by CAPS visit:

Disability Services for Students (DSS).

The process to establish accommodations for a student with a disability is a responsibility shared by the student and the DSS Office. Only DSS approved accommodations should be utilized in the classroom. After the student has met with DSS, it is the student’s responsibility to share their accommodations with the faculty member. For information about support services or accommodations available to students with disabilities and for the procedures to be followed by students and instructors, please visit:

Students needing additional financial or other assistance.

The Student Advocates Office (SAO) can help students work through personal and academic problems as well as financial difficulties and concerns. SAO also assists students working through grade appeals and withdrawals from all classes. SAO also has emergency funds for IU students experiencing emergency financial crisis

Academic Misconduct.

If you suspect that a student has cheated, plagiarized or otherwise committed academic misconduct, refer to the Code of Student Rights, Responsibilities and Conduct:

Sexual Misconduct.

As your instructor, one of my responsibilities is to create a positive learning environment for all students. Title IX and IU’s Sexual Misconduct Policy prohibit sexual misconduct in any form, including sexual harassment, sexual assault, stalking, and dating and domestic violence. If you have experienced sexual misconduct, or know someone who has, the University can help.

If you are seeking help and would like to speak to someone confidentially, you can make an appointment with:

It is also important that you know that Title IX and University policy require me to share any information brought to my attention about potential sexual misconduct, with the campus Deputy Title IX Coordinator or IU’s Title IX Coordinator. In that event, those individuals will work to ensure that appropriate measures are taken and resources are made available. Protecting student privacy is of utmost concern, and information will only be shared with those that need to know to ensure the University can respond and assist. I encourage you to visit to learn more.