how can i print primary queue as a stack by a display function??
How can i print primary queue?
Use two stacks that reverse each other So that when popping you get a FIFO structure like a queue
how can i print primary queue as a stack by a display function??
Use two stacks that reverse each other So that when popping you get a FIFO structure like a queue