Implement custom iterators and interfaces
Company: Coinbase
Role: Software Engineer
Category: Coding & Algorithms
Difficulty: Medium
Interview Round: Onsite
Quick Answer: This question evaluates implementation and API-design skills for iterators, specifically interface design and iterator semantics (hasNext/next), edge-case handling, correct exception behavior, amortized time and space complexity, and unit-testable behavior when implementing FlattenIterator and FilterIterator over integer collections in Java.