Adobe interview question

Stack implimentation using queue