SlideShare a Scribd company logo
1 of 1
Download to read offline
Consider the following binary tree shown below.
List the nodes of this binary tree in an in-Order sequence.
List the nodes of this binary tree in a Pre-order sequence.
List the nodes of this binary tree in a Post-order sequence.
Solution
Pre order- A B C D E F G order is( center - left - right)
In order - D C B E A F G order is (left - center - right )
Post - order : D C E B G F A order is (left - right - center )

More Related Content

More from abhinavbhatnagar201

Will’s Widget Company (WWC) incorporated near the end of 2017. Opera.pdf
Will’s Widget Company (WWC) incorporated near the end of 2017. Opera.pdfWill’s Widget Company (WWC) incorporated near the end of 2017. Opera.pdf
Will’s Widget Company (WWC) incorporated near the end of 2017. Opera.pdf
abhinavbhatnagar201
 
Which of the following statements is true about the interaction of e.pdf
Which of the following statements is true about the interaction of e.pdfWhich of the following statements is true about the interaction of e.pdf
Which of the following statements is true about the interaction of e.pdf
abhinavbhatnagar201
 
2 a. RNA polymerase II that is actively transcribing a gene (activel.pdf
2 a. RNA polymerase II that is actively transcribing a gene (activel.pdf2 a. RNA polymerase II that is actively transcribing a gene (activel.pdf
2 a. RNA polymerase II that is actively transcribing a gene (activel.pdf
abhinavbhatnagar201
 
the reason of going infrastructure undergroundthe reason of goin.pdf
the reason of going infrastructure undergroundthe reason of goin.pdfthe reason of going infrastructure undergroundthe reason of goin.pdf
the reason of going infrastructure undergroundthe reason of goin.pdf
abhinavbhatnagar201
 

More from abhinavbhatnagar201 (20)

C++ Briefly explain what is bad, though syntactically correct, about.pdf
C++ Briefly explain what is bad, though syntactically correct, about.pdfC++ Briefly explain what is bad, though syntactically correct, about.pdf
C++ Briefly explain what is bad, though syntactically correct, about.pdf
 
b. What are the three types of structures formed when amphipathic mo.pdf
b. What are the three types of structures formed when amphipathic mo.pdfb. What are the three types of structures formed when amphipathic mo.pdf
b. What are the three types of structures formed when amphipathic mo.pdf
 
A mother with blood type A has a child with blood type A. Give all p.pdf
A mother with blood type A has a child with blood type A. Give all p.pdfA mother with blood type A has a child with blood type A. Give all p.pdf
A mother with blood type A has a child with blood type A. Give all p.pdf
 
Assume f has period 2pi. Sketch the graph of f in the interval [-4pi.pdf
Assume f has period 2pi. Sketch the graph of f in the interval [-4pi.pdfAssume f has period 2pi. Sketch the graph of f in the interval [-4pi.pdf
Assume f has period 2pi. Sketch the graph of f in the interval [-4pi.pdf
 
1.S. cerevisiae can switch mating types. Which of the following stat.pdf
1.S. cerevisiae can switch mating types. Which of the following stat.pdf1.S. cerevisiae can switch mating types. Which of the following stat.pdf
1.S. cerevisiae can switch mating types. Which of the following stat.pdf
 
You produce an interference pattern by projecting a blue laser with .pdf
You produce an interference pattern by projecting a blue laser with .pdfYou produce an interference pattern by projecting a blue laser with .pdf
You produce an interference pattern by projecting a blue laser with .pdf
 
You are working with the file directory of a Windows XP computer fro.pdf
You are working with the file directory of a Windows XP computer fro.pdfYou are working with the file directory of a Windows XP computer fro.pdf
You are working with the file directory of a Windows XP computer fro.pdf
 
You deposit $1,000 in a fund earning 5.75. How long will it take to .pdf
You deposit $1,000 in a fund earning 5.75. How long will it take to .pdfYou deposit $1,000 in a fund earning 5.75. How long will it take to .pdf
You deposit $1,000 in a fund earning 5.75. How long will it take to .pdf
 
Will’s Widget Company (WWC) incorporated near the end of 2017. Opera.pdf
Will’s Widget Company (WWC) incorporated near the end of 2017. Opera.pdfWill’s Widget Company (WWC) incorporated near the end of 2017. Opera.pdf
Will’s Widget Company (WWC) incorporated near the end of 2017. Opera.pdf
 
Which of the following would be useful and good sources of surveybou.pdf
Which of the following would be useful and good sources of surveybou.pdfWhich of the following would be useful and good sources of surveybou.pdf
Which of the following would be useful and good sources of surveybou.pdf
 
Which of the following statements is true about the interaction of e.pdf
Which of the following statements is true about the interaction of e.pdfWhich of the following statements is true about the interaction of e.pdf
Which of the following statements is true about the interaction of e.pdf
 
Which of the following identifies an underlying principle of the com.pdf
Which of the following identifies an underlying principle of the com.pdfWhich of the following identifies an underlying principle of the com.pdf
Which of the following identifies an underlying principle of the com.pdf
 
Which of the following is not a mechanism of evolution [select all t.pdf
Which of the following is not a mechanism of evolution [select all t.pdfWhich of the following is not a mechanism of evolution [select all t.pdf
Which of the following is not a mechanism of evolution [select all t.pdf
 
What is the use of discrete gates with the use of an FPGA.Soluti.pdf
What is the use of discrete gates with the use of an FPGA.Soluti.pdfWhat is the use of discrete gates with the use of an FPGA.Soluti.pdf
What is the use of discrete gates with the use of an FPGA.Soluti.pdf
 
What is the difference between the structure of DNA and proteins The.pdf
What is the difference between the structure of DNA and proteins The.pdfWhat is the difference between the structure of DNA and proteins The.pdf
What is the difference between the structure of DNA and proteins The.pdf
 
what are the basic methods to isolate nucleic acidsSolutionTh.pdf
what are the basic methods to isolate nucleic acidsSolutionTh.pdfwhat are the basic methods to isolate nucleic acidsSolutionTh.pdf
what are the basic methods to isolate nucleic acidsSolutionTh.pdf
 
What are the three major differences between the protists and bacter.pdf
What are the three major differences between the protists and bacter.pdfWhat are the three major differences between the protists and bacter.pdf
What are the three major differences between the protists and bacter.pdf
 
Whare are some real-world uses for composition functionsSoluti.pdf
Whare are some real-world uses for composition functionsSoluti.pdfWhare are some real-world uses for composition functionsSoluti.pdf
Whare are some real-world uses for composition functionsSoluti.pdf
 
2 a. RNA polymerase II that is actively transcribing a gene (activel.pdf
2 a. RNA polymerase II that is actively transcribing a gene (activel.pdf2 a. RNA polymerase II that is actively transcribing a gene (activel.pdf
2 a. RNA polymerase II that is actively transcribing a gene (activel.pdf
 
the reason of going infrastructure undergroundthe reason of goin.pdf
the reason of going infrastructure undergroundthe reason of goin.pdfthe reason of going infrastructure undergroundthe reason of goin.pdf
the reason of going infrastructure undergroundthe reason of goin.pdf
 

Recently uploaded

The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 

Recently uploaded (20)

SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
dusjagr & nano talk on open tools for agriculture research and learning
dusjagr & nano talk on open tools for agriculture research and learningdusjagr & nano talk on open tools for agriculture research and learning
dusjagr & nano talk on open tools for agriculture research and learning
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptx
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
Simple, Complex, and Compound Sentences Exercises.pdf
Simple, Complex, and Compound Sentences Exercises.pdfSimple, Complex, and Compound Sentences Exercises.pdf
Simple, Complex, and Compound Sentences Exercises.pdf
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
 
Details on CBSE Compartment Exam.pptx1111
Details on CBSE Compartment Exam.pptx1111Details on CBSE Compartment Exam.pptx1111
Details on CBSE Compartment Exam.pptx1111
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 

Consider the following binary tree shown below.List the nodes of t.pdf

  • 1. Consider the following binary tree shown below. List the nodes of this binary tree in an in-Order sequence. List the nodes of this binary tree in a Pre-order sequence. List the nodes of this binary tree in a Post-order sequence. Solution Pre order- A B C D E F G order is( center - left - right) In order - D C B E A F G order is (left - center - right ) Post - order : D C E B G F A order is (left - right - center )