CSE 30872 is an elective course in the Computer Science and Engineering program at the University of Notre Dame. This course encourages the development of practical programming and problem solving skills through extensive practice and guided learning. The bulk of the class revolves around solving brain-teaser and puzzle-type problems that often appear in programming contests, online challenges, and job interviews. Additionally, basic software engineering practices such as planning, debugging, testing, and source code management may be discussed.
Upon successful completion of this course, students will be able to:
Parse a variety of inputs and model problems.
Utilize appropriate data structures to represent and solve problems.
Implement common problem solving techniques and algorithms.
Employ pair programming techniques.
Debug and test code within an automated testing environment.
Unit | Date | Topics | Assignment |
---|---|---|---|
I/O | 08/23 | Introduction, I/O Slides Slides | Reading 00 |
08/25 | Complexity, Code Review Slides | Challenge 00 | |
Sequence Containers | 08/28 | Arrays, Lists Slides | Reading 01 |
08/30 | Stacks, Queues Slides | Challenge 01 | |
09/01 | Code Review Slides | Challenge 02 | |
Searching, Sorting | 09/04 | Searching Slides | Reading 02 |
09/06 | Sorting Slides | Challenge 03 | |
09/08 | Code Review | Challenge 04 | |
Associative Containers | 09/11 | Maps, Sets Slides | Reading 03 |
09/13 | Hash Tables | Challenge 05 | |
09/15 | Code Review | Challenge 06 | |
Complete Search | 09/18 | Subsets and Permutations Slides | Reading 04 |
09/20 | Backtracking | Challenge 07 | |
09/22 | Code Review | Challenge 08 | |
Greedy Algorithms | 09/25 | Optimization Slides | Reading 05 |
09/27 | Compression | Challenge 09 | |
09/29 | Code Review | Challenge 10 | |
Dynamic Programming | 10/02 | Memoization Slides | Reading 06 |
10/04 | Table Building | Challenge 11 | |
10/06 | Code Review | Challenge 12 | |
In-class Contest I | 10/09 | Contest I Slides | |
10/11 | Contest I | ||
10/13 | Contest I | ||
Fall Break | |||
Trees | 10/23 | Representation, Types Slides | Reading 07 |
10/25 | Divide and Conquer | Challenge 13 | |
10/27 | Code Review | Challenge 14 | |
Graphs I | 10/30 | Representation, Traversal Slides | Reading 08 |
11/01 | Shortest Paths | Challenge 15 | |
11/03 | Code Review | Challenge 16 | |
Graphs II | 11/06 | Spanning Trees Slides | Reading 09 |
11/08 | Topological Sorting | Challenge 17 | |
11/10 | Code Review | Challenge 18 | |
Graphs III | 11/13 | Paths Slides | Reading 10 |
11/15 | Flows and Cuts | Challenge 19 | |
11/17 | Testing Slides | Challenge 20 | |
Number Theory | 11/20 | Primes and Factors Slides | Reading 11 |
11/22 | Modular Arithmetic | Challenge 21 | |
11/24 | Thanksgiving | ||
Miscellaneous | 11/27 | Brain Teasers Slides | Challenge 22 |
11/29 | Dredd Slides | Challenge 23 | |
12/01 | Graduate School Slides | Challenge 24 | |
Final | 12/04 | Contest II | |
12/06 | Contest II | ||
Final | 12/12 |
Component | Points |
---|---|
Readings Weekly reading assignments. | 12 × 2 |
Challenges Weekly programming challenges. | 24 × 6 |
Style Programming style for each challenge. | 20 |
External External programming contest. | 30 |
Contests In-class programming contests. | 2 × 36 |
Participation Regular class attendation and contribution to course community. | 10 |
Total | 300 |
Grade | Points | Grade | Points | Grade | Points |
---|---|---|---|---|---|
A | 285-300 | A- | 270-284 | ||
B+ | 260-269 | B | 250-259 | B- | 240-249 |
C+ | 230-239 | C | 220-229 | C- | 210-219 |
D | 195-209 | F | 0-194 |
All Readings and Challenges are to be submitted to your own private GitLab repository. Unless specified otherwise:
Students are expected to attend and contribute regularly in class. This means answering questions in class, participating in discussions, and helping other students.
Foreseeable absences should be discussed with the instructor ahead of time.
Any academic misconduct in this course is considered a serious offense, and the strongest possible academic penalties will be pursued for such behavior. Students may discuss high-level ideas with other students, but at the time of implementation (i.e. programming), each person must do his/her own work. Use of the Internet as a reference is allowed but directly copying code or other information is cheating. It is cheating to copy, to allow another person to copy, all or part of an exam or a assignment, or to fake program output. It is also a violation of the Undergraduate Academic Code of Honor to observe and then fail to report academic dishonesty. You are responsible for the security and integrity of your own work.
In the case of a serious illness or other excused absence, as defined by university policies, coursework submissions will be accepted late by the same number of days as the excused absence.
Otherwise, there is a penalty of 25% per day late (except where noted). You may submit some parts of an assignment on time and some parts late. Each submission must clearly state which parts it contains; no part can be submitted more than once.
Any student who has a documented disability and is registered with Disability Services should speak with the professor as soon as possible regarding accommodations. Students who are not registered should contact the Office of Disabilities.
For the assignments in this class, you may discuss with other students and consult printed and online resources. You may quote from books and online sources as long as you cite them properly. However, you may not look at another student's solution, and you may not look at solutions.
For further guidance please refer to the CSE Honor Code or ask the instructor.
Competitive Programmer's Handbook
This is our main textbook for the semester. It contains background information regarding the algorithms and data structures we will be utilizing and implementing to solve different problems.
Competitive Programming Library
This contains a list of topics and links to resources to help students become competitive at programming contests.
This site has information about common questions and concepts often used in technical programming interviews, along with some answers to the questions.
500 Data Structures and Algorithms practice problems and their solutions
This is a long list of common data structures and algorithm problems.
Top 10 Algorithms and Data Structures for Competitive Programming
This is another list of common data structures and algorithms.
This site is an online judge for programming challenges found in the book Programming Challenges
This site is contains a variety of programming challenges similar to what is found in ACM programming contests. It also includes non-programming contest type problems as well and is a platform for evaluating and testing your programming skills.
This is another site that contains a variety of programming challenges.
This is another site that contains a variety of programming challenges. It also periodically runs contests and learning resources.
This site is a large set of mathematical and programming problems designed to test your abilities and sharpen your skills. The problems make for good practice.
This is an annual series of programming challenges.