OOP & Design Patterns - Iterator & Composite Pattern - Traversal Abstractions
Given the following partial traversal output of a composite tree iterator: ['root', 'child1', 'leafA', 'leafB', 'child2', 'leafC'], which of the following original tree structures is consistent with this output?
