Design a stack with operations on middle element – Stack – The idea is to use Doubly Linked List (DLL). We can delete middle element in O(1) time
deletion is possible for middle item of stack true or false
1 Article
1
Design a stack with operations on middle element – Stack – The idea is to use Doubly Linked List (DLL). We can delete middle element in O(1) time