Microsoft interview question

DSA round, stack implementation using queue