Is this your company?
How to create a queue using two stacks?
Anonymous
There are detailed analysis and solution in the blog: http://codercareer.blogspot.com/2011/10/no-17-queue-implemented-with-two-stacks.html
Check out your Company Bowl for anonymous work chats.