Morgan Stanley interview question

How to realize a queue using only stacks?

Interview Answer

Anonymous

28 Sept 2017

I drew the picture to explain, but it is better to write some code to show your coding ability.