Algorithms: Design and Analysis, Part 1

  • Free to audit
  • Paid certificate
  • Course certificate
  • Intermediate
  • 6 weeks
Provider
Stanford
Cost
Free to audit
Certificate
Paid, $189
Level
Intermediate
Duration
6 weeks
Effort
2–4 hrs/week
Format
Self-paced
Language
English
Subjects
Computer Science, Programming
Source
Stanford Online
Last verified
14 Sep 2026

Free access to the material ends after the course length; graded work and the certificate are paid.

Algorithms: Design and Analysis, Part 1 is Tim Roughgarden's StanfordOnline course on edX, the first half of a two-part introduction to algorithms. It covers big-oh notation, sorting and searching, divide and conquer with the master method and applications to integer and matrix multiplication and the closest-pair problem, randomised algorithms including QuickSort and the contraction algorithm for minimum cuts, data structures (heaps, balanced search trees, hash tables, bloom filters) and graph primitives built on breadth-first and depth-first search, connectivity and shortest paths. The page is clear that this is not an introduction to programming: it assumes basic skills in a language such as Python, Java or C and uses mathematical analysis to explain why algorithms work.

Readings from the instructor's Algorithms Illuminated books are suggested but not required. edX lists it as self-paced, intermediate level and six weeks at two to four hours a week. Auditing is free with time-limited access and no graded work or certificate; the verified track with an edX certificate costs $189.

Advertisement

What you’ll learn

  • Analyse running time with big-oh notation
  • Implement and compare sorting and searching algorithms
  • Design divide-and-conquer algorithms and solve recurrences with the master method
  • Use randomised algorithms such as QuickSort and contraction for minimum cuts
  • Choose data structures including heaps, balanced search trees, hash tables and bloom filters
  • Apply breadth-first and depth-first search to connectivity and shortest paths

Who it’s for

Programmers who can already write code and want the theory behind sorting, divide and conquer, hashing and graph search.

Source: Stanford Online (opens in a new tab) · Verified · Report a change

Advertisement
Free to auditOpens edx.org Go to course (opens in a new tab)