Teksun Microsys Interview Question

Implement a queue using stack. (Only pseudocode)