Stanford Root

Schedule

Stanford Root

Schedule

CS 265

Randomized Algorithms and Probabilistic Analysis (CME 309)

UNITS:3
GRADING:Letter or Credit/No Credit
LEVEL:Graduate
GER:—

Randomness pervades the natural processes around us, from the formation of networks, to genetic recombination, to quantum physics. Randomness is also a powerful tool that can be leveraged to create algorithms and data structures which, in many cases, are more efficient and simpler than their deterministic counterparts. This course covers the key tools of probabilistic analysis, and application of these tools to understand the behaviors of random processes and algorithms. Emphasis is on theoretical foundations, though we will apply this theory broadly, discussing applications in machine learning and data analysis, networking, and systems. Topics include tail bounds, the probabilistic method, Markov chains, and martingales, with applications to analyzing random graphs, metric embeddings, random walks, and a host of powerful and elegant randomized algorithms. Prerequisites: CS 161 and STAT 116, or equivalents and instructor consent.

Syllabus for selected term:
View Autumn 2026 Syllabus

Sections

2 Terms
Lecture 1Open
ID: 27846
0 / 999 enrolled
DAYS:Tuesday, Thursday
TIME:10:30 AM – 11:50 AM
LOCATION:CODAB60
INSTRUCTOR:
Valiant, Gregory
3units

CS 265: Randomized Algorithms and Probabilistic Analysis (CME 309)

3 units · Letter or Credit/No Credit

Randomness pervades the natural processes around us, from the formation of networks, to genetic recombination, to quantum physics. Randomness is also a powerful tool that can be leveraged to create algorithms and data structures which, in many cases, are more efficient and simpler than their deterministic counterparts. This course covers the key tools of probabilistic analysis, and application of these tools to understand the behaviors of random processes and algorithms. Emphasis is on theoretical foundations, though we will apply this theory broadly, discussing applications in machine learning and data analysis, networking, and systems. Topics include tail bounds, the probabilistic method, Markov chains, and martingales, with applications to analyzing random graphs, metric embeddings, random walks, and a host of powerful and elegant randomized algorithms. Prerequisites: CS 161 and STAT 116, or equivalents and instructor consent.

Offered in Autumn 2026, Winter 2027 at Stanford University.

Autumn 2026 sections

  • Lecture — Tuesday Thursday 10:30 AM – 11:50 AM — CODAB60 — Valiant, Gregory (Graduate)

Winter 2027 sections

  • Lecture — Monday Wednesday 10:30 AM – 11:50 AM — Wootters, Mary, Fathollahi, Dorsa, Compton, Spencer (Graduate)

More CS courses

  • CS 255: Introduction to Cryptography
  • CS 256: Algorithmic Fairness
  • CS 257: Introduction to Automated Reasoning
  • CS 258: Quantum Cryptography
  • CS 259Q: Quantum Computing
  • CS 261: Combinatorial Optimization (CME 310, MS&E 315)
  • CS 266Z: Robust Algorithms in the Face of Uncertainty
  • CS 269I: Incentives in Computer Science (MS&E 206)
  • CS 270: Modeling Biomedical Systems (BMDS 210)
  • CS 272: Introduction to Biomedical Informatics Research Methodology (BIOE 212, BMDS 212, GENE 212)
  • CS 272H: Methods for Reproducible Population Health and Clinical Research (BMDS 244, EPI 203, HRP 203)
  • CS 273B: Deep Learning in Genomics and Biomedicine (BMDS 273, GENE 236)

All CS courses · All departments