System Overview - Iterator pattern
The Iterator pattern provides a way to access elements of a collection sequentially without exposing its underlying representation. It allows clients to traverse different types of collections uniformly and safely.
Key requirements include supporting multiple collection types and enabling traversal without modifying the collection.
