Mind blowing SEO improving and Google rank increasing Signature Rotator SEO Tool.

Thread: 

What is difference between Stack and Queue?

Ads
banner
banner
banner
rahhulkumar1 Offline referral

Posts: 53
Joined: Oct 2015
Reputation: 1

#1
Member
What’s difference between Stack and Queue?
manvisen Offline referral

Posts: 40
Joined: Jul 2016
Reputation: 0

#2
Junior Member
In stack objects are inserted and removed at the same end. In Queue objects are inserted and removed from different ends.
Stack operations are called push and pop.In queue operation are called enqueue and dequeue.
Stack is a LIFO data structure and Queue is a FIFO data structure.





User(s) browsing this thread: 1 Guest(s)