Airbnb Interview Question

Flatten 2D array by implementing/overriding iterator functions— next, hasNext, and remove