sudipkumar029 sudipkumar029
  • 18-09-2020
  • Engineering
contestada

What is the differences between stack and queue?

Respuesta :

gosske0830
gosske0830 gosske0830
  • 18-09-2020

Answer:

A stack is an ordered list of elements where all insertions and deletions are made at the same end, whereas a queue is exactly the opposite of a stack.

Explanation:

Answer Link

Otras preguntas

Factorise: p^2-6p+5 do I need to find out what two numbers times together to get 5, and add to get -6? An explanation and answer would be great :/
What are the first two names of the three major Mexican mountain ranges
Which of the following best symbolizes the entire Cold War? Select one: a. Cuban Missile Crisis b. Divided Berlin c. Korean Conflict d. Vietnam Conflict
find f(-x) when f(x)=x/x^2+2
Why was gerrymandering made illegal? What problems could result if this practice were used? Why does it make elections unfair and inaccurate?
7+3(s-4t) simplify the expression
What is the tense of the underlined verb? I caught a trout while fishing with my grandfather last weekend. A. future B. past perfect C. past D. present
A simple sentence with a compound predicate
Which is a basic practice of Judaism? A. reading the Torah B. worshipping many gods C. making burnt offerings D. sacrificing animals
Why did some slaves risk everything to escape and join the British side during the American Revolution? A. to gain their freedom B. to show their loyalty to