AlgoViz

Observer pattern

medium 50 min

Decouple a state-holding subject from its dependents: they register, and the subject notifies everyone on its list when something changes.