40 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

Chandigarh University Admissi...
Apply
Ranked #1 Among all Private Indian Universities in QS Asia Rankings 2025 | Scholarships worth 210 CR
Amity University Noida MBA Ad...
Apply
Amongst top 3% universities globally (QS Rankings)
Amity University Noida B.Tech...
Apply
Among Top 30 National Universities for Engineering (NIRF 2024) | 30+ Specializations | AI Powered Learning & State-of-the-Art Facilities
Jindal Global Law School Admi...
Apply
Ranked #1 Law School in India & South Asia by QS- World University Rankings | Merit cum means scholarships | Regular Admissions Deadline: 30th Apr'25
VIT - VITEEE 2025
Apply
National level exam conducted by VIT University, Vellore | Ranked #11 by NIRF for Engg. | NAAC A++ Accredited | Last Date to Apply: 7th April | NO ...
Symbiosis-SITEEE-2025
Apply
Gateway for admissions to Engineering courses @ Symbiosis | NAAC A++ Grade | Among top 31 in India (NIRF 2024)
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