Domanda di colloquio di Meta

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

Risposte di colloquio

Anonimo

7 nov 2018

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

Anonimo

9 nov 2018

Pretty much same logic as flattening 2D array.