Asked by Programming & Algorithm
what is the effect of the delete operations on stack and queue. design algorithms
Answers
Answered by
MathMate
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.
There are no AI answers yet. The ability to request AI answers is coming soon!