Informatica Interview Question

implementing stack using queue and vice versa.