Iterator - Design Pattern
Objective 🎯
Provide a way to access elements of a list sequentially without exposing its underlying representation.
Type ✅
✔️Behavioral: Describes how objects interact/communicate between themselves.
❌Creational: Describes how to instantiate an obje...
victorlins.hashnode.dev5 min read