DRW interview question

They asked me to design a function that simulates a queue using two stacks and ensures efficient enqueue and dequeue operations.