Microsoft Interview Question

Queue from two stack.

Interview Answer

Anonymous

Aug 23, 2017

Normal method. Then I was asked to optimise it. I optimised it with two or three ways. He was satisfied.