Meta interview question

Given a list of lists, implement the iterator interface, and write code for next() and hasNext().

Interview Answers

Anonymous

7 Nov 2018

I couldn't, it wasn't anywhere on Leetcode and I wasn't prepared for such a question

Anonymous

9 Nov 2018

Pretty much same logic as flattening 2D array.