Zynga Interview Question: Blocking queue implementation... | Glassdoor

Interview Question

Software Engineer Interview(Student Candidate) San Francisco, CA

Blocking queue implementation. Coding was required.

Tags:
data structures, algorithm, coding
Answer

Interview Answer

2 Answers

0

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

Interview Candidate on Sep 1, 2011
1

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

YP on Sep 18, 2012

Add Answers or Comments

To comment on this, Sign In or Sign Up.