Microsoft Interview Question

DSA round, stack implementation using queue