codeIIEST / Algorithms

A Repository to store implementation of some of the famous Data Structures and Algorithms (mainly in C/C++/Java/Python) for everyone to learn and contribute.
http://codeiiest.github.io/Algorithms/
MIT License
202 stars 161 forks source link

Queue using Stacks #293

Open meanmachine889 opened 10 months ago

meanmachine889 commented 10 months ago

DESCRIPTION

implemented a queue using stack

STEPS TO REPRODUCE

used stacks to perform enqueue and dequeue functions in a queue

EXPECTED OUTCOME

What did you expect to happen

ACTUAL OUTCOME

What actually happened

Proposed Solution [optional]

If you know how to solve the above, please provide details here.