Implement a thread safe circular buffer
Anonymous
They give you a class and function declarations: pop, push, front, empty, constructors and destructors and you write the functions using a buffer and some integer variables as private members of the class and you are given 30-45 minutes for it.
Check out your Company Bowl for anonymous work chats.