how to implement a stack from to quues or vice cersa
gaurav2589
0
Newbie Poster
Recommended Answers
Jump to Postadd entry at bottom of stack in lieu of top, in real project you may never need it.
Jump to PostThe stacks and queues are under data structures .stack is a data structure in which insertion and and deletion are done in the top of the stack.but in queue these two are done in the
head and tail of the queue.
Jump to PostErm, stacks and queues are very useful, very basic, and very well-used data structures. To clarify what mohanrobin said:
For a stack, you have a list that you can add items to and remove items from, but only to or from the end (or "top") of the stack.
…
All 9 Replies
ithelp
757
Posting Virtuoso
Banned
mohanrobin
26
Light Poster
Duoas
1,025
Postaholic
Featured Poster
rizrash
0
Newbie Poster
WaltP
2,905
Posting Sage w/ dash of thyme
Team Colleague
Duoas
1,025
Postaholic
Featured Poster
WaltP
2,905
Posting Sage w/ dash of thyme
Team Colleague
Duoas
1,025
Postaholic
Featured Poster
venkat.malasani
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.