Skip to content
Skip to navigation
# Algorithms: Design and Analysis, Part 1 (Summer '16)

Go to Course## About this Course

## Syllabus

Date:

Monday, August 8, 2016

Course topic:

Algorithms are the heart of computer science, and the subject has countless practical applications as well as intellectual depth. This course is an introduction to algorithms for learners with at least a little programming experience. The course is rigorous but emphasizes the big picture and conceptual understanding over low-level implementation and mathematical details. After completing this course, you will be well-positioned to ace your technical interviews and speak fluently about algorithms with other programmers and computer scientists. Specific topics include: "Big-oh" notation, sorting and searching, divide and conquer (master method, integer and matrix multiplication, closest pair), randomized algorithms (QuickSort, contraction algorithm for min cuts), data structures (heaps, balanced search trees, hash tables, bloom filters), graph primitives (applications of BFS and DFS, connectivity, shortest paths). About the instructor: Tim Roughgarden has been a professor in the Computer Science Department at Stanford University since 2004. He has taught and published extensively on the subject of algorithms and their applications.

Week 1

- I. INTRODUCTION (Week 1)
- II. ASYMPTOTIC ANALYSIS (Week 1)
- III. DIVIDE & CONQUER ALGORITHMS (Week 1)
- Problem Set #1
- Programming Assignment #1

- Quiz: Problem Set #1

- Quiz: Programming Assignment #1

Week 2

- IV. THE MASTER METHOD (Week 2)
- V. QUICKSORT - ALGORITHM (Week 2)
- VI. QUICKSORT - ANALYSIS (Week 2)
- VII. PROBABILITY REVIEW (Week 2)
- Problem Set #2
- Programming Assignment #2

- Quiz: Problem Set #2

- Quiz: Programming Question #2

Week 3

- VIII. LINEAR-TIME SELECTION (Week 3)
- IX. GRAPHS AND THE CONTRACTION ALGORITHM (Week 3)
- Problem Set #3
- Programming Assignment #3

- Quiz: Problem Set #3

- Quiz: Programming Assignment #3

Week 4

- X. GRAPH SEARCH AND CONNECTIVITY (Week 4)
- Problem Set #4
- Programming Assignment #4

- Quiz: Problem Set #4

- Quiz: Programming Assignment #4

Week 5

- XI. DIJKSTRA'S SHORTEST-PATH ALGORITHM (Week 5)
- XII. HEAPS (Week 5)
- XIII. BALANCED BINARY SEARCH TREES (Week 5)
- Problem Set #5
- Programming Assignment #5

- Quiz: Problem Set #5

- Quiz: Programming Assignment #5

Week 6

- XIV. HASHING: THE BASICS (Week 6)
- XV. UNIVERSAL HASHING (Week 6)
- XV. BLOOM FILTERS (Week 6)
- PREVIEW OF PART 2
- Problem Set #6
- Programming Assignment #6

- Quiz: Problem Set #6

- Quiz: Programming Assignment #6

Week 7

- Final Exam

- Quiz: Final Exam

Instructor(s):

Tim Roughgarden