29 Views

queus in data structures and example


Grag 7th Sep, 2021
Answer (1)
shikha jindal 7th Sep, 2021

A Queue is a linear structure which follows a particular order in which the operations are performed. The order is First In First Out (FIFO). An example of a queue is any queue of consumers for a resource where the consumer that came first is served first. The difference between stacks and queues is in removing. In a stack we remove the item the most recently added; in a queue, we remove the item the least recently added.

Related Questions

Amity University,Noida BBA Ad...
Apply
Ranked amongst top 3% universities globally (QS Rankings)
UPES | BBA Admissions 2024
Apply
#39 in NIRF, NAAC ‘A’ Grade | 100% Placement, up to 30% meritorious scholarships | Last Date to Apply: 31st May
Amity University, Noida B.Tec...
Apply
Asia's Only University with the Highest US & UK Accreditation
UPES B.Tech Admissions 2024
Apply
Ranked #52 among universities in India by NIRF | Highest CTC 50 LPA | 100% Placements | Last Date to Apply: 31st May
Amity University Noida MBA Ad...
Apply
Ranked as India’s #1 Not for profit pvt. University by India Today
Jain University B.Tech 2024
Apply
100% Placement Record | Highest CTC 42 LPA | NAAC A++ Accredited | Ranked #68 in India by NIRF Ranking 2023 | Last Date to Apply: 17th May
View All Application Forms

Download the Careers360 App on your Android phone

Regular exam updates, QnA, Predictors, College Applications & E-books now on your Mobile

150M+ Students
30,000+ Colleges
500+ Exams
1500+ E-books