Do we have to implement a doubly ended queue using 2 stacks?
Dequeue efficient queue using stack
yes that is what the question means to create a double ended queue using 2 stakcs which should be efficient (meaning push and pop from dequeue should be O(1) time)