Stacks and Queues

One_Meter_Distance
Stack_and_Queue

Queue with Linked List

Linked-List Model

Stack with Linked List

One of the big benefits of Stack is, You can use an explicit stack to remove Recursion.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Ahmad Berahman

Ahmad Berahman

I have a dream to have a spectacular garden