i have written the code for the problem ( Dequeue efficient queue using stack ). it is running fine. i just want to know what does [ make it dequeue efficient ] mean?
does it mean that we have to implement the pop() in O(1) time and let the push() take O(n) time ??
my code :- https://ide.codingblocks.com/s/265294