Object-Oriented Programming · Coinbase · Medium
Round-Robin Iterator Composition Coding Software Engineer High Frequency Overview Create an interleaving iterator design in successive stages. First, write a function that alternates values from arrays. Next, define and implement an iterator contract. Finally, use both ideas to build an iterator that rotates across several underlying iterators. The exercise evaluates familiarity with the iterator pattern, API design, and building larger abstractions from smaller ones. Part…
Checking your access…