19
votes
2answers
1k views

Interview screw up after this piece of code

I was screwed up after submitting this piece of work. But I have no feedback to know what "BAD" things inside this block of code. The requirements are like this: Connect to the server on a ...
2
votes
5answers
721 views

Bounded blocking queue

Can someone please review this code for me. I have not implemented all the methods for simplicity. Original code: /** * Implements a blocking bounded queue from a given non-blocking unbounded queue ...