Syllabus

Course Description

Covers abstract data types and structures including dictionaries, balanced trees, hash tables, priority queues, and graphs; sorting; asymptotic analysis; fundamental graph algorithms including graph search, shortest path, and minimum spanning trees; multithreading and parallel algorithms; P and NP complexity classes. Prerequisites: CSE 311

Background

This course will assume competency with Java programming (covered in the CSE12X or CSE14X sequence) and knowledge of several topics from Discrete Math (covered in CSE 311). In particular, we assume knowledge of:

Course Materials & Tools

Computing Resources

We will use Java for programming assignments. We strongly recommend although will not require that you use the IntelliJ development environment. Links for downloading and installing Java and IntelliJ will be included with our first exercise.

Course Text

(Optional) Data Structures and Algorithm Analysis in Java 3rd Ed., Mark Allen Weiss, Addison Wesley: 2012, ISBN-10: 0132576279. Our course calendar will list sections of the textbook that are most relevant to the topic discussed in class that day. You may find the textbook useful to clarify topics and find more examples as well as to examine Java implementations of the data structures and algorithms discussed during lecture. We will not be assigning problems from the textbook.

We will use a set of free on-line notes for the material on parallelism and concurrency.

Other Tools

Communications

The Ed Discussion board should be your first stop for questions about course content and assignments. Before posting, first check that your question has not already been answered on the Discussion board, and if not, ask it there. If it is not possible to ask your question on the Discussion board without revealing details of your solution, please either use a private post on the Discussion board or send email to cse332-staff at cs.washington.edu, which will go to the instructor and TAs. In general we prefer that you send questions to the cse332-staff list instead of to an individual staff member so that you will get a faster response time and the entire staff can remain aware of questions and issues.

We will use the "Announcements" category on the Ed Discussion board for class announcements. You will be expected to read messages in the Announcements category on Ed Discussion so be sure you are receiving email notifications for these posts.

Logistics

Lectures will meet MWF 09:40-10:40am in DEM 102. Attendance at lecture is strongly encouraged; we will regularly pause to let you discuss ideas and solve problems with the people around you, which is much more effective in-person than remotely. Slides for lecture will be posted on the course calendar generally before lecture. Inked slides will be posted after lecture.

If you are unable to attend a lecture, lecture will be recorded on Panopto and recordings will be posted on Panopto (accessible from Canvas); while we do our best to provide lecture recordings, technical errors sometimes do happen. In the event of a technical error, we generally won't re-record the lecture.

Sections will be held on Thursdays in rooms indicated on the course time schedule. Section attendance is strongly encouraged. You should plan on attending the section you are registered for. Occasionally attending another section should be fine as long as there is space. If you do this, please ask permission from the leading TA(s) and let them know you are present. Slides, and handouts for section will be posted on the course calendar. Sections will NOT be recorded as we want students to feel comfortable asking and answering questions in the smaller classroom environment.

Office Hours will be held throughout the week both in person and on Zoom. You may attend the office hours of any staff member, not just the TA who leads your section. A schedule of office hours and more information can be found on the office hours page.

Course Staff information can be found on the staff page.

Assesments

Your learning in the course will be assessed via exercises, and two in-person exams.

Exams

There will two in-person exams. Exam 1 will be Friday July 25th at 09:40-10:40am in DEM 102. Exam 2 will be Friday August 22, 2025 at 09:40-10:40am in DEM 102 and will NOT be cumulative. More information about the exams will be posted on the exams page.

Exercises

There will be a total of 13 exercises, which you will complete individually. You will have approximately one week to complete each exercise, with 2 exercises due most weeks. Much of the quarter, there will be two exercises out for you to be making progress on. Some exercises will involve programming in Java while others will be written assignments (at most one of each type per week). Exercises will be posted on the exercise page and will be submitted to Gradescope.

Your 12 best-scoring exercises will be counted toward your grade.

Regrade Requests

The course staff is made up of people, that means we sometimes make mistakes! When those mistakes happen in grading, we want to correct them.

Late Policy

You will have six late days to use for all exercises EXCEPT for exercise 12. A late day allows you to turn in an assignment up to 24 hours later without penalty. Simply submit late and we will keep track of your usage internally.

Regardless of how many late days you have, you cannot submit an assignment more than 48 hours after it is due without prior permission from course staff.

For example, an assignment due at 11:59 PM on Friday could be turned in at 10 PM on Sunday with no penalty by using two late days. However, you cannot submit at 12:01 AM Monday as it would be more than 48 hours.

If you run out of late days, you may still turn in an assignment late, at a penalty of 15% per day (but still may not turn in an assignment after the 48-hour-late-deadline without prior permission from the course staff).

At the end of the quarter, we will apply late days to the first exercises turned in late, and late penalties to any remaining late submissions. Late penalties are applied before dropping exercises.

Assigning course grades

Course grades will be computed approximately as follows (weights may be modified):

Collaboration & Academic Integrity

We expect all work you submit to be your own. However we believe you can learn a lot from discussing course concepts with others. When completing the exercises you should:

It should be obvious, but referring to solutions found on the web or solutions from this or other courses from previous quarters is considered cheating, as is requesting help with an assignment from an "interactive source" other than course staff. This includes pasting the questions from our exercises into search tools, requesting help on platforms like Chegg or Stackoverflow, or use of generative AI systems like Chat-GPT. We plan on running similarity-detection software over all submitted student assignments, including assignments from past quarters. Instructors are required to report violations of course policy to The Office of Community Standards & Student Conduct.

Artificial Intelligence (Chat-GPT, LLMs, etc.)

You may not utilize artificial intelligence or machine learning systems (e.g., Chat-GPT or copilot) on any assignments (this includes both programming and written exercises). That means you may not plug the homework problems into these systems (even if you later put the response in your own words), nor can you put a draft submission into the system to use the system for editing purposes.

Accommodations

COVID-19 and Other Illness

We must all do our part to keep our community safe. If you are sick or have potentially been exposed to COVID-19 or another illness, please stay home. Attendance at lecture and section is not required. Lectures will be recorded on Panopto and will be made available to the class for viewing afterwards. We will post materials used in section. We will be holding a combination of in-person and Zoom office hours and our course message board is always available. If the instructor becomes sick we will either revert to Zoom lectures briefly or have guest lectures. A similar policy will be followed for sections or office hours in case other staff members become sick.

Disability Resources

Disability Resources for Students (DRS) is a unit within the Division of Student Life and is dedicated to ensuring access and inclusion for all students with disabilities on the Seattle campus. They offer a wide range of services for students with disabilities that are individually designed and remove the need to reveal sensitive medical information to the course staff. If you have a medical need for extensions of assignment deadlines, these will only be granted through official documentation from DRS. Browse to this link to start the process as soon as possible to avoid delays.

You can refer to the university policies regarding Disability Accommodations for more information.

Religious Accommodations

Washington state law requires that UW develop a policy for accommodation of student absences or significant hardship due to reasons of faith or conscience, or for organized religious activities. The UW's policy, including more information about how to request an accommodation, is available at Religious Accommodations Policy. Accommodations must be requested within the first two weeks of this course using the Religious Accommodations Request form.

Extenuating Circumstances and Inclusiveness

We recognize that our students come from varied backgrounds and can have widely-varying circumstances. If you have any unforeseen or extenuating circumstance that arise during the course, please do not hesitate to contact the instructor in office hours, via email, or private message board post to discuss your situation. The sooner we are made aware, the more easily these situations can be resolved. Extenuating circumstances include work-school balance, familial responsibilities, military duties, unexpected travel, or anything else beyond your control that may negatively impact your performance in the class.

Additionally, if at any point you are made to feel uncomfortable, disrespected, or excluded by a staff member or fellow student, please report the incident so that we may address the issue and maintain a supportive and inclusive learning environment. Should you feel uncomfortable bringing up an issue with a staff member directly, you may consider sending anonymous feedback or contacting the Office of the Ombud.