Semaphore example...describe the output, if certain outputs are possible. Take into account multi-threaded implementation.
Anonymous
A good answer will give the correct output as well as the correct logic behind it.
Check out your Company Bowl for anonymous work chats.