The Core Idea

Instead of asking:

“What is the worst-case running time for a specific input?”

We ask:

“What is the expected behavior when randomness is involved?”

Randomness can come from:

The goal is reliability, not perfection.


Why This Way of Thinking Matters

Worst-case analysis can be misleading:

Randomness helps us:

This chapter teaches a mental shift, not just techniques.