CS G526: Advanced Algorithms and Complexity
Las Vegas to Monte Carlo and Back
Lecture 7
|2026-08-18
Tulasimohan Molli
BITS Pilani, Hyderabad Campus
How do we convert an expected-time algorithm (Las Vegas) into a fixed-time algorithm (Monte Carlo)?
We can convert a Monte Carlo algorithm into a Las Vegas algorithm whenever a cheap verification algorithm (checker) exists.
Expected Runtime Analysis:
A Deterministic Turing Machine (DTM) is the standard mathematical model of computation:
We classify decision problems that can be solved efficiently:
We classify decision problems whose solutions can be verified efficiently:
Randomized Complexity Classes — motivation, randomized Turing machines, RP, co-RP, BPP, ZPP, and the Probabilistic Method.
CS G526: Advanced Algorithms & ComplexityTulasimohan Molli