write push() and pop() methods for a stack and queue each represented by a DLL with head and tail pointers. Make sure to account for cases where the structure is empty. void stack: :push(int val) int stack: :popC) void queue: :push(int val) int queue: :pop() Show transcribed image text write push() and pop() methods for a stack and queue each represented by a DLL with head and tail pointers. Make sure to account
OR
OR