Overview

This chapter introduces two complementary ideas: probabilistic analysis, which analyzes algorithm performance by assuming a probability distribution over inputs, and randomized algorithms, which use random choices within the algorithm itself to achieve good expected performance regardless of input. The hiring problem serves as the central motivating example, and the chapter develops indicator random variables as a key analytical tool.

Key Concepts

Probabilistic Analysis vs. Randomized Algorithms

Indicator Random Variables (Section 5.2)

The Hiring Problem (Section 5.1)

Random Permutation Algorithms (Section 5.3)