| Russell Impagliazzo | |
| Office Hours | |
| When: | Tuesday/Thursday 3:30 to 5 PM |
| Where: | EBU3b (CSE) 4248; overflow room is EBU3b (CSE) 4258 |
| Contact | |
| To contact the CSE21 instructional team, post a question on Piazza. | |
| Janine Tiefenbruck | |
| Office Hours | |
| When: | Monday/Wednedsay/Friday 11 AM to 12 PM |
| Where: | EBU3b (CSE) 4204 |
| Contact | |
| To contact the CSE21 instructional team, post a question on Piazza. | |
| TAs | |
| Anwaya Aras | |
| Radheshyam Balasundaram | |
| Marco Carmosino | |
| Mayank Dhiman | |
| Shibu Lawrence | |
| Amer Sinha |
| Tutors | |
| Timothy Chang | |
| Vyom Shah | |
| Mandy Shieh | |
| Anusha Varadharajan |
| Contact | |
| To contact the CSE21 instructional team, post a question on Piazza. | |
| Office hours posted on Google calendar above. | |
Welcome to CSE21! This course is intended to introduce you to the broad field of algorithms and give you the mathematical tools needed to study algorithms and their efficiency. This quarter, we will learn about sorting and searching, asymptotics, recursion, graphs, enumeration, data representation, and discrete probability. Understanding these topics and being able to work out related problems will be essential to your work as a computer scientist.
Please click here for a course description as given in the undergraduate course listing.
Course grades will be computed using the following weights.
| Grading | |
| In-class and final exams | 60% |
| Homework | 35% |
| Reading quizzes | 5% |
The final exam will cover all material from the whole term, though more emphasis will be given to material covered after the second exam.
There will be no make-up exams. The weighting of the exam scores will be
You must have a passing score on the final exam to pass the course.
Students should solve and write up all homework assignments in groups of size one to three. All names should appear on the assignment, and all will usually get the same score on the assignment. Members of a group are responsible for all parts of any assignment with their names on it. Problems should be solved by the group, not divided up between group members. Each member of a group should participate in discussions about each problem. Even proof-reading a solution of another student in your group counts as participation, but if there is a problem where you did not participate at all, even in verifying someone else’s solution, you should put a disclaimer to that effect next to your name on the assignment. You will not receive credit for these problems, but you also will not bear responsibility for them. If you are claiming credit for a problem, you do bear responsibility for the integrity of the group in obtaining the answer.
Homework must be typed and handed in via TurnItIn on Ted by the due date by a single representative of the group. Late homework is not accepted. TurnItIn requires several confirmation steps before a file is submitted. You will get an electronic receipt at the end of the process; this is the most reliable indicator that you have actually submitted the homework.
Students should not look for answers to homework problems in other texts (i.e., other than the course text, the optional text, and class notes) or other sources (e.g. wikipedia, Internet discussion groups). However, students may use other texts or sources as a general study tool, and may accidentally see solutions to homework problems. In this case, the student should write up the final solution without consulting this text or source, and should give an acknowledgement of the text or source on the first page of their solutions. Such a solution may be given partial or no credit if it too closely follows the text. Not giving an acknowledgment is academic dishonesty, and will be treated as such. This rule applies to any material found on the internet, and to conversations with or written material from other people, whether or not they are students in the class. However, it does not apply to material in the class textbook, handed out in class or on the class web-page for this year, or to conversations with the instructor or teaching assistants.
After your weighted average is calculated, letter grades will be assigned
based on the following grading scale (updated 1/19/14 to be more generous):
| A+ | A | A- | B+ | B | B- | C+ | C | C- |
| 95 | 90 | 85 | 80 | 75 | 70 | 65 | 60 | 55 |
The Jacobs School of Engineering code of Academic Integrity is here. You should make yourself aware of what is and is not acceptable by reading this document. Academic integrity violations will be taken seriously and reported immediately. Ignorance of the rules will not excuse you from any violations.
Key facts about academic integrity related to CSE21:
The textbook for this course is
The full pdf of the book is available for free download from a UCSD internet connection at:
A paperback version on this material is available from SpringerLink for about $25 (on-campus) or $40 (off-campus). Amazon sells the book for about $50, and it is also available for sale at the UCSD bookstore.
As of Week 3, we would also like to draw your attention to a supplementary resource which treats some topics better than our primary textbook. You may wish to consult this book throughout the course to get another take on the material.
PDFs of the chapters in this book are available for free online at:
| Date | Time | Location | |
| Lecture A00 | MWF | 9:00am - 9:50am | Center 119 |
| Lecture B00 | MWF | 10:00am - 10:50am | Center 119 |
| Discussion 1 | Monday | 11:00am - 11:50am | CSE 2154 |
| Discussion 2 | Monday | 11:00am - 11:50am | CSE 4258 |
| Discussion 3 | Monday | 12:00pm - 12:50pm | CSE 2154 |
| Discussion 4 | Monday | 1:00pm - 1:50pm | CSE 2154 |
| Discussion 5 | Monday | 3:00pm - 3:50pm | WLH 2207 |
| Discussion 6 | Monday | 4:00pm - 4:50pm | WLH 2207 |
| Discussion 7 | Monday | 5:00pm - 5:50pm | PCYNH 120 |
| Discussion 8 | Tuesday | 8:00am - 8:50am | CSE 2154 |
| Final Exam (all students) | 3/14/2015 | 8:00am - 11:00am | TBA |
There are eight discussions sections capped at 50 students each. You must attend the same section each week. We are now taking sign-ups through Piazza if you have not already signed up. Please do make an effort to attend discussion regularly, as the material covered in discussion sections will be included on exams. If you are unable to attend discussion section one week, you should get the notes from a classmate and follow up in office hours, where you can ask any questions you still have.
Homework is due via Ted by 5pm on the due date (Monday or Friday). The weekly reading quizzes are due by 5pm on the due date (usually Wednesday).
NOTE: Subject to change throughout the quarter.
| Date | Day | Subject | Reference | Notes |
| 1/5/15 | Mon | Sorting | Discussion: Prerequisites for CSE21 | |
| 1/7/15 | Wed | Sorting | JS 4.3 | |
| 1/9/15 | Fri | Linear and Binary Search | JS 4.1 | HW 1 Extended to Sunday 5pm |
| 1/12/15 | Mon | Order Ideas | JS 4.6 | Discussion |
| 1/14/15 | Wed | Asymptotic Notation | JS 6.5 | Reading Quiz 1 Due (JS 4.1, 4.3) |
| 1/16/15 | Fri | Analyzing Algorithms with Loops | HW 2 Due | |
| 1/19/15 | Mon | MLK Holiday | No lecture or discussion | |
| 1/21/15 | Wed | Introduction to Recursion | JS 2.4.1 | Reading Quiz 2 Due (4.6 and 6.5) |
| 1/23/15 | Fri | Recursive Algorithms | JS 7.1 | HW 3 Due |
| 1/26/15 | Mon | Solving Recurrences | JS 7.2 | Discussion |
| 1/28/15 | Wed | Exam 1 | ||
| 1/30/15 | Fri | Graphs | JS | Deadline to withdraw without a W |
| 2/2/15 | Mon | Graphs | JS | Discussion, HW 4 Due |
| 2/4/15 | Wed | Graphs | JS | |
| 2/6/15 | Fri | Graphs | JS | |
| 2/9/15 | Mon | Enumeration and Data Representation | JS | Discussion |
| 2/11/15 | Wed | Enumeration and Data Representation | JS | |
| 2/13/15 | Fri | Enumeration and Data Representation | JS | HW 5 Due |
| 2/16/15 | Mon | President's Day holiday | No lecture or discussion | |
| 2/18/15 | Wed | Enumeration and Data Representation | JS | |
| 2/20/15 | Fri | Enumeration and Data Representation | JS | HW 6 Due |
| 2/23/15 | Mon | Discrete Probability | JS | Discussion |
| 2/25/15 | Wed | Exam 2 | ||
| 2/27/15 | Fri | Discrete Probability | JS | |
| 3/2/15 | Mon | Discrete Probability | JS | Discussion, HW 7 Due |
| 3/4/15 | Wed | Discrete Probability | JS | |
| 3/6/15 | Fri | Discrete Probability | JS | Deadline to withdraw without an F |
| 3/9/15 | Mon | Discrete Probability | JS | Discussion, HW 8 Due |
| 3/11/15 | Wed | Catch-up | ||
| 3/13/15 | Fri | Review for Final Exam | ||
| 3/14/15 | Mon | Final Exam | 8:00 - 11:00am, location TBA |