Adobe interview question

How would I design a "data-pump" queueing structure for handling the producer-consumer problem?

Interview Answer

Anonymous

13 Oct 2010

I used C structs, mixed in with STL and filled up the whiteboard with this question. I was still being nit-picked for missing some corner cases. Failed,even though I did a darn good job figuring it out!