You have two stacks, implement a queue.
Blog
Yeah, kitt finished writing this at 12:26 on 3 April 2015
Here's a favorite programming question for interviews that even those long out of college can do. Delightfully, one I hadn't been asked recently, except by Kris and Andy.
You have two stacks, implement a queue.
Add new comment