Pergunta de entrevista da empresa Google

Design an iterator for a collection of collections in java. The iterator should hide the nesting, allowing you to iterate all of the elements belonging to all of the collections as if you were working with a single collection.

Respostas da entrevista

Sigiloso

28 de jul. de 2010

Pretty dumb question, really... anyone who understands two dimensional arrays should be able to answer this.

Sigiloso

14 de jul. de 2010

This is a pretty widespread interview question, you see this a lot of places.