Imperva interview question

How do you make a queue using two stacks and a stack using two queues and write it in pseudo code.