3.
Strategy
n
A program must switch between
complex algorithms dynamically
n
For example, a document editor
has several rendering algorithms,
with different time/beauty tradeoffs
n
Word is a common example