A stack is a data structure in which last item inserted is taken out first . That's why they are known as LIFO (last in first out). Inserting an item in stack is termed as push and taking an item out from stack I s termed as pop. Some applications of stack are : Polish notation, reversing string, backtracking , quick sort algorithm etc. The queue is a linear data structure where operations od insertion and deletion are performed at separate ends also known as front and rear. Queue is a FIFO structure that is first in first out. Whenever a new item is added to queue, rear pointer is used. and the front pointer is used when an item is deleted from the queue.
What is the difference between M1 and M2?
difference between offer and acceptance?
difference between offer and acceptance?
there is no difference
there is nothing called stack entry :p
no difference,,,tree and hybrid are same.
I want see them simultaneously
- In your own words, define the term 'protocol' and what is the difference between protocol and protocol suite
In stack , the object which is last in will be first out (LIFO), whereas in queue the object which is first in will be first out (FIFO).
A tree is one tree and a forest is many trees.
i dont know but i
fish!
The difference between a car with a flat wheel and a tree is that the wheel can be replaced, and the car will transport you. A tree will not transport you from one location to another.
the spelling
Tree is tree and horse is horse.And horse is sick and tree is not.
they both rock