SlideShare a Scribd company logo
Lecture # 7Lecture # 7
Uses of StackUses of Stack
Discussing Two Problems:Discussing Two Problems:
Parenthesis MatchingParenthesis Matching
(Book Page No 252, sahni)(Book Page No 252, sahni)
Rearranging Railroad CarsRearranging Railroad Cars
(Book Page No 256, sahni)(Book Page No 256, sahni)
QueueQueue
 Figure showing Queue…..Figure showing Queue…..
BA EC
frontfront
rearrear
D NULLNULL
 In aIn a queuequeue, the element, the element deleteddeleted from the list isfrom the list is
the one whichthe one which inserted firstinserted first..
 QueueQueue is also referred asis also referred as First-in First-outFirst-in First-out i.ei.e
FIFOFIFO..
 TheThe exampleexample of queue is theof queue is the queue of peoplequeue of people
standing for submitting their bills in the bank.standing for submitting their bills in the bank.
The one who joins the queueThe one who joins the queue firstfirst also leavesalso leaves
the queuethe queue firstfirst . Similarly who joins the queue at. Similarly who joins the queue at
lastlast, leaves the queue at, leaves the queue at lastlast..
 If anIf an emptyempty queue is deleted, we say queuequeue is deleted, we say queue
underflowsunderflows andand
 If rear of the queue exceedsIf rear of the queue exceeds nn, the queue, the queue
overflowsoverflows..
 InsertionInsertion to queue is calledto queue is called EnqueueEnqueue andand deletiondeletion
form queue is calledform queue is called DequeueDequeue..
 Implementation on board - DiscussionImplementation on board - Discussion
Thank You……Thank You……

More Related Content

What's hot

Chapter 7: Queue data structure
Chapter 7:  Queue data structureChapter 7:  Queue data structure
Chapter 7: Queue data structure
Mahmoud Alfarra
 
Chapter1 intro toprincipleofc#_datastructure_b_cs
Chapter1  intro toprincipleofc#_datastructure_b_csChapter1  intro toprincipleofc#_datastructure_b_cs
Chapter1 intro toprincipleofc#_datastructure_b_cs
Mahmoud Alfarra
 
Data Visualization With R: Learn To Modify Font Of Graphical Parameters
Data Visualization With R: Learn To Modify Font Of Graphical ParametersData Visualization With R: Learn To Modify Font Of Graphical Parameters
Data Visualization With R: Learn To Modify Font Of Graphical Parameters
Rsquared Academy
 
Stacks and Queue - Data Structures
Stacks and Queue - Data StructuresStacks and Queue - Data Structures
Stacks and Queue - Data Structures
Dr. Jasmine Beulah Gnanadurai
 
CH4.pptx
CH4.pptxCH4.pptx
CH4.pptx
AliJama14
 
Python For Machine Learning
Python For Machine LearningPython For Machine Learning
Python For Machine Learning
YounesCharfaoui
 
CS8391 Data Structures Part B Questions Anna University
CS8391 Data Structures Part B Questions Anna UniversityCS8391 Data Structures Part B Questions Anna University
CS8391 Data Structures Part B Questions Anna University
P. Subathra Kishore, KAMARAJ College of Engineering and Technology, Madurai
 
Write declarations for each of the following variables: a. amounts is a...
Write declarations for each of the following variables:       a. amounts is a...Write declarations for each of the following variables:       a. amounts is a...
Write declarations for each of the following variables: a. amounts is a...
licservernoida
 
Number System in Haskell
Number System in Haskell Number System in Haskell
Number System in Haskell
Yun-Yan Chi
 

What's hot (10)

Chapter 7: Queue data structure
Chapter 7:  Queue data structureChapter 7:  Queue data structure
Chapter 7: Queue data structure
 
Chapter1 intro toprincipleofc#_datastructure_b_cs
Chapter1  intro toprincipleofc#_datastructure_b_csChapter1  intro toprincipleofc#_datastructure_b_cs
Chapter1 intro toprincipleofc#_datastructure_b_cs
 
Data Visualization With R: Learn To Modify Font Of Graphical Parameters
Data Visualization With R: Learn To Modify Font Of Graphical ParametersData Visualization With R: Learn To Modify Font Of Graphical Parameters
Data Visualization With R: Learn To Modify Font Of Graphical Parameters
 
Stacks and Queue - Data Structures
Stacks and Queue - Data StructuresStacks and Queue - Data Structures
Stacks and Queue - Data Structures
 
CH4.pptx
CH4.pptxCH4.pptx
CH4.pptx
 
Python For Machine Learning
Python For Machine LearningPython For Machine Learning
Python For Machine Learning
 
Leniar datastructure
Leniar datastructureLeniar datastructure
Leniar datastructure
 
CS8391 Data Structures Part B Questions Anna University
CS8391 Data Structures Part B Questions Anna UniversityCS8391 Data Structures Part B Questions Anna University
CS8391 Data Structures Part B Questions Anna University
 
Write declarations for each of the following variables: a. amounts is a...
Write declarations for each of the following variables:       a. amounts is a...Write declarations for each of the following variables:       a. amounts is a...
Write declarations for each of the following variables: a. amounts is a...
 
Number System in Haskell
Number System in Haskell Number System in Haskell
Number System in Haskell
 

Viewers also liked

Κίνδυνοι στο Διαδίκτυο - Ε
Κίνδυνοι στο Διαδίκτυο - ΕΚίνδυνοι στο Διαδίκτυο - Ε
Κίνδυνοι στο Διαδίκτυο - Ε
4dimasprop
 
Michael Legge's Resume 2016
Michael Legge's Resume 2016Michael Legge's Resume 2016
Michael Legge's Resume 2016Michael Legge
 
Shama Enterprises, Bengaluru, Ladies Leather Bags
Shama Enterprises, Bengaluru, Ladies Leather BagsShama Enterprises, Bengaluru, Ladies Leather Bags
Shama Enterprises, Bengaluru, Ladies Leather Bags
IndiaMART InterMESH Limited
 
Understanding Your Group Life Insurance Benefit
Understanding Your Group Life Insurance BenefitUnderstanding Your Group Life Insurance Benefit
Understanding Your Group Life Insurance Benefit
Van Richards
 
@ Genre kit juknis 2016
@ Genre kit juknis 2016@ Genre kit juknis 2016
@ Genre kit juknis 2016
prima asaka
 
#Anchor #comedian #Host #CharacterArtist #Rohit Thakur
#Anchor  #comedian #Host #CharacterArtist #Rohit Thakur#Anchor  #comedian #Host #CharacterArtist #Rohit Thakur
#Anchor #comedian #Host #CharacterArtist #Rohit Thakur
Anchor Rohit Thakur
 
Perspectiva climática en Argentina al 20/09/2013
Perspectiva climática en Argentina al 20/09/2013Perspectiva climática en Argentina al 20/09/2013
Perspectiva climática en Argentina al 20/09/2013fyo
 
ФЕЙСБУК — ИНСТРУМЕНТ РАЗВИТИЯ ВАШИХ МЕЖДУНАРОДНЫХ ПРОЕКТОВ
ФЕЙСБУК — ИНСТРУМЕНТ РАЗВИТИЯ ВАШИХ МЕЖДУНАРОДНЫХ ПРОЕКТОВФЕЙСБУК — ИНСТРУМЕНТ РАЗВИТИЯ ВАШИХ МЕЖДУНАРОДНЫХ ПРОЕКТОВ
ФЕЙСБУК — ИНСТРУМЕНТ РАЗВИТИЯ ВАШИХ МЕЖДУНАРОДНЫХ ПРОЕКТОВ
Олег Паладьев
 
PEDIATRIA- FIEBRE
PEDIATRIA- FIEBREPEDIATRIA- FIEBRE
PEDIATRIA- FIEBRE
Maria Casco
 
Apesentação Rosmac
Apesentação RosmacApesentação Rosmac
Apesentação Rosmac
Eurico Máximo
 

Viewers also liked (13)

Κίνδυνοι στο Διαδίκτυο - Ε
Κίνδυνοι στο Διαδίκτυο - ΕΚίνδυνοι στο Διαδίκτυο - Ε
Κίνδυνοι στο Διαδίκτυο - Ε
 
FiberFit-Demo
FiberFit-DemoFiberFit-Demo
FiberFit-Demo
 
Michael Legge's Resume 2016
Michael Legge's Resume 2016Michael Legge's Resume 2016
Michael Legge's Resume 2016
 
Shama Enterprises, Bengaluru, Ladies Leather Bags
Shama Enterprises, Bengaluru, Ladies Leather BagsShama Enterprises, Bengaluru, Ladies Leather Bags
Shama Enterprises, Bengaluru, Ladies Leather Bags
 
Understanding Your Group Life Insurance Benefit
Understanding Your Group Life Insurance BenefitUnderstanding Your Group Life Insurance Benefit
Understanding Your Group Life Insurance Benefit
 
Resume
ResumeResume
Resume
 
@ Genre kit juknis 2016
@ Genre kit juknis 2016@ Genre kit juknis 2016
@ Genre kit juknis 2016
 
#Anchor #comedian #Host #CharacterArtist #Rohit Thakur
#Anchor  #comedian #Host #CharacterArtist #Rohit Thakur#Anchor  #comedian #Host #CharacterArtist #Rohit Thakur
#Anchor #comedian #Host #CharacterArtist #Rohit Thakur
 
Perspectiva climática en Argentina al 20/09/2013
Perspectiva climática en Argentina al 20/09/2013Perspectiva climática en Argentina al 20/09/2013
Perspectiva climática en Argentina al 20/09/2013
 
ФЕЙСБУК — ИНСТРУМЕНТ РАЗВИТИЯ ВАШИХ МЕЖДУНАРОДНЫХ ПРОЕКТОВ
ФЕЙСБУК — ИНСТРУМЕНТ РАЗВИТИЯ ВАШИХ МЕЖДУНАРОДНЫХ ПРОЕКТОВФЕЙСБУК — ИНСТРУМЕНТ РАЗВИТИЯ ВАШИХ МЕЖДУНАРОДНЫХ ПРОЕКТОВ
ФЕЙСБУК — ИНСТРУМЕНТ РАЗВИТИЯ ВАШИХ МЕЖДУНАРОДНЫХ ПРОЕКТОВ
 
PEDIATRIA- FIEBRE
PEDIATRIA- FIEBREPEDIATRIA- FIEBRE
PEDIATRIA- FIEBRE
 
Apesentação Rosmac
Apesentação RosmacApesentação Rosmac
Apesentação Rosmac
 
Anestesia Regional
Anestesia RegionalAnestesia Regional
Anestesia Regional
 

More from Muhammad Zubair

Cloud computing
Cloud computingCloud computing
Cloud computing
Muhammad Zubair
 
Cloud computing disadvantages
Cloud computing disadvantagesCloud computing disadvantages
Cloud computing disadvantages
Muhammad Zubair
 
Lecture10
Lecture10Lecture10
Lecture10
Muhammad Zubair
 
Lecture9 recursion
Lecture9 recursionLecture9 recursion
Lecture9 recursion
Muhammad Zubair
 
Lecture8
Lecture8Lecture8
Lecture8
Muhammad Zubair
 
Lecture6
Lecture6Lecture6
Lecture6
Muhammad Zubair
 
Lecture5
Lecture5Lecture5
Lecture5
Muhammad Zubair
 
Lecture4
Lecture4Lecture4
Lecture4
Muhammad Zubair
 
Lecture3
Lecture3Lecture3
Lecture3
Muhammad Zubair
 
Lecture3
Lecture3Lecture3
Lecture3
Muhammad Zubair
 
Lecture2
Lecture2Lecture2
Lecture2
Muhammad Zubair
 
Lecture1
Lecture1Lecture1
Lecture1
Muhammad Zubair
 
Indin report by zubair
Indin report by zubairIndin report by zubair
Indin report by zubair
Muhammad Zubair
 
Cyber crime in pakistan by zubair
Cyber crime in pakistan by zubairCyber crime in pakistan by zubair
Cyber crime in pakistan by zubair
Muhammad Zubair
 

More from Muhammad Zubair (14)

Cloud computing
Cloud computingCloud computing
Cloud computing
 
Cloud computing disadvantages
Cloud computing disadvantagesCloud computing disadvantages
Cloud computing disadvantages
 
Lecture10
Lecture10Lecture10
Lecture10
 
Lecture9 recursion
Lecture9 recursionLecture9 recursion
Lecture9 recursion
 
Lecture8
Lecture8Lecture8
Lecture8
 
Lecture6
Lecture6Lecture6
Lecture6
 
Lecture5
Lecture5Lecture5
Lecture5
 
Lecture4
Lecture4Lecture4
Lecture4
 
Lecture3
Lecture3Lecture3
Lecture3
 
Lecture3
Lecture3Lecture3
Lecture3
 
Lecture2
Lecture2Lecture2
Lecture2
 
Lecture1
Lecture1Lecture1
Lecture1
 
Indin report by zubair
Indin report by zubairIndin report by zubair
Indin report by zubair
 
Cyber crime in pakistan by zubair
Cyber crime in pakistan by zubairCyber crime in pakistan by zubair
Cyber crime in pakistan by zubair
 

Recently uploaded

Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
EduSkills OECD
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
MysoreMuleSoftMeetup
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
kaushalkr1407
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
heathfieldcps1
 
Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic Imperative
Peter Windle
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
Jean Carlos Nunes Paixão
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
Jisc
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
EverAndrsGuerraGuerr
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
Vikramjit Singh
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
Special education needs
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
Jisc
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
Delapenabediema
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
MIRIAMSALINAS13
 
Honest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptxHonest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptx
timhan337
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
DeeptiGupta154
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
TechSoup
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Thiyagu K
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
Sandy Millin
 

Recently uploaded (20)

Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
 
Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic Imperative
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
 
Honest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptxHonest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptx
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
 

Lecture7

  • 2. Uses of StackUses of Stack Discussing Two Problems:Discussing Two Problems: Parenthesis MatchingParenthesis Matching (Book Page No 252, sahni)(Book Page No 252, sahni) Rearranging Railroad CarsRearranging Railroad Cars (Book Page No 256, sahni)(Book Page No 256, sahni)
  • 4.  Figure showing Queue…..Figure showing Queue….. BA EC frontfront rearrear D NULLNULL
  • 5.  In aIn a queuequeue, the element, the element deleteddeleted from the list isfrom the list is the one whichthe one which inserted firstinserted first..  QueueQueue is also referred asis also referred as First-in First-outFirst-in First-out i.ei.e FIFOFIFO..  TheThe exampleexample of queue is theof queue is the queue of peoplequeue of people standing for submitting their bills in the bank.standing for submitting their bills in the bank. The one who joins the queueThe one who joins the queue firstfirst also leavesalso leaves the queuethe queue firstfirst . Similarly who joins the queue at. Similarly who joins the queue at lastlast, leaves the queue at, leaves the queue at lastlast..
  • 6.  If anIf an emptyempty queue is deleted, we say queuequeue is deleted, we say queue underflowsunderflows andand  If rear of the queue exceedsIf rear of the queue exceeds nn, the queue, the queue overflowsoverflows..  InsertionInsertion to queue is calledto queue is called EnqueueEnqueue andand deletiondeletion form queue is calledform queue is called DequeueDequeue..
  • 7.  Implementation on board - DiscussionImplementation on board - Discussion