Domanda di colloquio di Zynga

Blocking queue implementation. Coding was required.

Risposte di colloquio

Anonimo

18 set 2012

get the synchronization right on the push and offer on the BlockingQueue. Use either Locks or wait / notify mechanism.

1

Anonimo

1 set 2011

Conventional implementation that can be found in most data structures and algorithms books or Wikipedia.