answersLogoWhite

0

AllQ&AStudy Guides
Best answer

No. A stack is a LIFO (Last In First Out) data structure.

A queue is a FIFO (First In First Out) data structure.

This answer is:
Related answers

No. A stack is a LIFO (Last In First Out) data structure.

A queue is a FIFO (First In First Out) data structure.

View page
  1. Explain The merits of using a deque to implement a stack in data structure

View page

no answer

View page

stack data structure.

View page

A stack in Data structure is a LIFO structure. Last In First Out. Think of it as a stack of books or a stack of trays in a cafeteria line. when you are in a line in a cafeteria you take the tray that is on the top and the worker place new washed ones also on the top. So deletion and insertion all done at one end, it is called the top of the stack. In Computer Programming Stacks are so important and have too many applications such as the evaluation of Mathematical expressions. Also note that a stack is unlike a queue structure. Queue data structure is FIFO. First In First Out as in a bank teller line.

View page
Featured study guide

The price of 1g of Yttrium

How do you convert 100 millimeters to meters

What is mega meter

How High would you have to stack 100 dollar bills to make 1 billion dollars

➡️
See all cards
3.0
4 Reviews
More study guides
No Reviews

No Reviews
Search results