posted by Programming & Algorithm on .
what is the effect of the delete operations on stack and queue. design algorithms
The effects depend on the implementation of the data structure. If the stack is implemented as a doubly linked list, deleting the extreme nodes will have minimal consequences. Same goes for queue.