Airbnb Interview Question

Write an iterator for a variable size 2D array