SlideShare a Scribd company logo
2
Most read
3
Most read
4
Most read
TREE
By
Prof. Sandeep Vishwakarma
DEFINITION
A tree is a nonlinear data
structure, compared to arrays,
linked lists, stacks and queues
which are linear data structures.
A tree can be empty with no nodes
or a tree is a structure consisting of
one node called the root and zero or
one or more subtrees.
PROPERTIES OF TREE
• A Tree is a recursive data structure containing
the set of one or more data nodes where one
node is designated as the root of the tree while
the remaining nodes are called as the children
of the root.
• The nodes other than the root node are
partitioned into the non empty sets where each
one of them is to be called sub-tree.
• Nodes of a tree maintain a parent-child
relationship between them.
• In a general tree, A node can have any number
of children nodes but it can have only a single
parent.
Tree_Definition.pptx
Tree_Definition.pptx
Tree_Definition.pptx
Tree_Definition.pptx
Tree_Definition.pptx
Tree_Definition.pptx
Tree_Definition.pptx
Tree_Definition.pptx
Tree_Definition.pptx
Tree_Definition.pptx
Tree_Definition.pptx
Tree_Definition.pptx
Thank You

More Related Content

PPTX
Link_List.pptx
sandeep54552
 
PPTX
Queue_Data_Structure.pptx
sandeep54552
 
PPTX
Stack_Data_Structure.pptx
sandeep54552
 
PPT
YCMOU_FYBCA_DS_Unit-7.ppt
sandeep54552
 
PPTX
Stack_Application_Infix_Prefix.pptx
sandeep54552
 
PPTX
Quick_sort1.pptx
sandeep54552
 
PPTX
DFS_New.pptx
sandeep54552
 
PPTX
Circular linked list
sajinis3
 
Link_List.pptx
sandeep54552
 
Queue_Data_Structure.pptx
sandeep54552
 
Stack_Data_Structure.pptx
sandeep54552
 
YCMOU_FYBCA_DS_Unit-7.ppt
sandeep54552
 
Stack_Application_Infix_Prefix.pptx
sandeep54552
 
Quick_sort1.pptx
sandeep54552
 
DFS_New.pptx
sandeep54552
 
Circular linked list
sajinis3
 

What's hot (20)

PPTX
Queues
Ashim Lamichhane
 
PPTX
Heap tree
JananiJ19
 
PPT
358 33 powerpoint-slides_10-trees_chapter-10
sumitbardhan
 
PPTX
Heap_Sort1.pptx
sandeep54552
 
PPTX
Stack - Data Structure
Bhavesh Sanghvi
 
PPT
Binary search tree(bst)
Hossain Md Shakhawat
 
PPT
358 33 powerpoint-slides_11-efficient-binary-trees_chapter-11
sumitbardhan
 
PPTX
Ppt presentation of queues
Buxoo Abdullah
 
PPT
Linked lists
SARITHA REDDY
 
PPT
Data Structures and Algorithm Analysis
Mary Margarat
 
PPT
Unit 3 graph chapter6
DrkhanchanaR
 
PPTX
Topological Sort Algorithm.pptx
MuhammadShafi89
 
PDF
Threaded binarytree&heapsort
Ssankett Negi
 
PDF
Linked list implementation of Queue
Dr. Sindhia Lingaswamy
 
PPTX
Threaded Binary Tree.pptx
pavankumarjakkepalli
 
PPTX
DFS and BFS
satya parsana
 
PPTX
Stacks in DATA STRUCTURE
Mandeep Singh
 
PPTX
Trees in data structures
ASairamSairam1
 
Heap tree
JananiJ19
 
358 33 powerpoint-slides_10-trees_chapter-10
sumitbardhan
 
Heap_Sort1.pptx
sandeep54552
 
Stack - Data Structure
Bhavesh Sanghvi
 
Binary search tree(bst)
Hossain Md Shakhawat
 
358 33 powerpoint-slides_11-efficient-binary-trees_chapter-11
sumitbardhan
 
Ppt presentation of queues
Buxoo Abdullah
 
Linked lists
SARITHA REDDY
 
Data Structures and Algorithm Analysis
Mary Margarat
 
Unit 3 graph chapter6
DrkhanchanaR
 
Topological Sort Algorithm.pptx
MuhammadShafi89
 
Threaded binarytree&heapsort
Ssankett Negi
 
Linked list implementation of Queue
Dr. Sindhia Lingaswamy
 
Threaded Binary Tree.pptx
pavankumarjakkepalli
 
DFS and BFS
satya parsana
 
Stacks in DATA STRUCTURE
Mandeep Singh
 
Trees in data structures
ASairamSairam1
 
Ad

Similar to Tree_Definition.pptx (20)

PPTX
Terminology of tree
RacksaviR
 
PPTX
Understanding Tree Data Structure and Its Applications
M Munim
 
PDF
tree traversals.pdf
MaryJacob24
 
PPTX
lecture_13 tree in mmmmmmmm mmmmmfftro.pptx
sarajafffri058
 
PPTX
Lecture 2-Trees in Data Structure Complete Lecture Slide
KrishnenduRarhi
 
PPTX
Unit 5 Tree.pptx
SurajSharma266169
 
PPTX
Trees krw
Kasun Ranga Wijeweera
 
PDF
unit-2-dsa-tree introduction of tree and terninology
sayalijscoe2
 
PDF
Trees
Sadaf Ismail
 
PPTX
unit-2-data structure and algorithms-tree-2024-1.pptx
pritimalkhede
 
PPTX
Tree Data Structure in Advanced Data Structure
shailajacse
 
PPTX
Introduction to tree ds
Viji B
 
PPTX
TREE PRESENTATION COMPUTER SCIENCE/DATA STRUCTURE
HaroldOmega1
 
PPTX
Basic terminology Unit in data structures
prakashmcsc
 
PPTX
Presentation1-Data structure S-Tree.pptx
Praveen156918
 
PPTX
07-Lecture.pptxlkjslkjdfkjskljdflksj;fdkj
KhalidAhmadGhiasi
 
PPTX
cppggggggggggggggggggggggggggggggggggggggg.pptx
ShruthiS594607
 
PPT
tree in Data Structures
Shankar Bishnoi
 
PDF
unit-2-dsa-tree-2024-1 (1) (1).pdf data structure
SanketDawbhat
 
Terminology of tree
RacksaviR
 
Understanding Tree Data Structure and Its Applications
M Munim
 
tree traversals.pdf
MaryJacob24
 
lecture_13 tree in mmmmmmmm mmmmmfftro.pptx
sarajafffri058
 
Lecture 2-Trees in Data Structure Complete Lecture Slide
KrishnenduRarhi
 
Unit 5 Tree.pptx
SurajSharma266169
 
unit-2-dsa-tree introduction of tree and terninology
sayalijscoe2
 
unit-2-data structure and algorithms-tree-2024-1.pptx
pritimalkhede
 
Tree Data Structure in Advanced Data Structure
shailajacse
 
Introduction to tree ds
Viji B
 
TREE PRESENTATION COMPUTER SCIENCE/DATA STRUCTURE
HaroldOmega1
 
Basic terminology Unit in data structures
prakashmcsc
 
Presentation1-Data structure S-Tree.pptx
Praveen156918
 
07-Lecture.pptxlkjslkjdfkjskljdflksj;fdkj
KhalidAhmadGhiasi
 
cppggggggggggggggggggggggggggggggggggggggg.pptx
ShruthiS594607
 
tree in Data Structures
Shankar Bishnoi
 
unit-2-dsa-tree-2024-1 (1) (1).pdf data structure
SanketDawbhat
 
Ad

More from sandeep54552 (20)

PPTX
Dijkstra Searching Algorithms Shortest.pptx
sandeep54552
 
PPTX
E_R-Diagram (2).pptx
sandeep54552
 
PPTX
Dijkstra Searching Algorithms.pptx
sandeep54552
 
PPT
Agents_AI.ppt
sandeep54552
 
PPTX
Templates in c++
sandeep54552
 
PPTX
File handling in c++
sandeep54552
 
PPTX
Exception handling in c++
sandeep54552
 
PPTX
Inheritance in c++
sandeep54552
 
PPTX
Constructor and Destructors in C++
sandeep54552
 
PPTX
C++ programming introduction
sandeep54552
 
PPTX
Jsp tag library
sandeep54552
 
PDF
Hill climbing algorithm in artificial intelligence
sandeep54552
 
PPTX
Session bean
sandeep54552
 
PPTX
Greedy algorithms
sandeep54552
 
PPTX
A star algorithms
sandeep54552
 
PPTX
Bfs new
sandeep54552
 
PPTX
Bfs new
sandeep54552
 
PPTX
Jdbc ppt
sandeep54552
 
PDF
Enterprise java unit-3_chapter-1-jsp
sandeep54552
 
PPTX
Enterprise java unit-2_chapter-3
sandeep54552
 
Dijkstra Searching Algorithms Shortest.pptx
sandeep54552
 
E_R-Diagram (2).pptx
sandeep54552
 
Dijkstra Searching Algorithms.pptx
sandeep54552
 
Agents_AI.ppt
sandeep54552
 
Templates in c++
sandeep54552
 
File handling in c++
sandeep54552
 
Exception handling in c++
sandeep54552
 
Inheritance in c++
sandeep54552
 
Constructor and Destructors in C++
sandeep54552
 
C++ programming introduction
sandeep54552
 
Jsp tag library
sandeep54552
 
Hill climbing algorithm in artificial intelligence
sandeep54552
 
Session bean
sandeep54552
 
Greedy algorithms
sandeep54552
 
A star algorithms
sandeep54552
 
Bfs new
sandeep54552
 
Bfs new
sandeep54552
 
Jdbc ppt
sandeep54552
 
Enterprise java unit-3_chapter-1-jsp
sandeep54552
 
Enterprise java unit-2_chapter-3
sandeep54552
 

Recently uploaded (20)

PDF
Electricity-Magnetic-and-Heating-Effects 4th Chapter/8th-science-curiosity.pd...
Sandeep Swamy
 
PPTX
Open Quiz Monsoon Mind Game Final Set.pptx
Sourav Kr Podder
 
PDF
The Picture of Dorian Gray summary and depiction
opaliyahemel
 
PPTX
ACUTE NASOPHARYNGITIS. pptx
AneetaSharma15
 
PPTX
Congenital Hypothyroidism pptx
AneetaSharma15
 
PPTX
Information Texts_Infographic on Forgetting Curve.pptx
Tata Sevilla
 
PPTX
PPTs-The Rise of Empiresghhhhhhhh (1).pptx
academysrusti114
 
PDF
3.The-Rise-of-the-Marathas.pdfppt/pdf/8th class social science Exploring Soci...
Sandeep Swamy
 
PPTX
CARE OF UNCONSCIOUS PATIENTS .pptx
AneetaSharma15
 
PPTX
How to Manage Global Discount in Odoo 18 POS
Celine George
 
PDF
Types of Literary Text: Poetry and Prose
kaelandreabibit
 
PDF
UTS Health Student Promotional Representative_Position Description.pdf
Faculty of Health, University of Technology Sydney
 
PPTX
Odoo 18 Sales_ Managing Quotation Validity
Celine George
 
PPTX
Skill Development Program For Physiotherapy Students by SRY.pptx
Prof.Dr.Y.SHANTHOSHRAJA MPT Orthopedic., MSc Microbiology
 
PPT
Python Programming Unit II Control Statements.ppt
CUO VEERANAN VEERANAN
 
PPTX
Software Engineering BSC DS UNIT 1 .pptx
Dr. Pallawi Bulakh
 
PPTX
Dakar Framework Education For All- 2000(Act)
santoshmohalik1
 
PDF
What is CFA?? Complete Guide to the Chartered Financial Analyst Program
sp4989653
 
PPTX
Presentation on Janskhiya sthirata kosh.
Ms Usha Vadhel
 
PPTX
How to Manage Leads in Odoo 18 CRM - Odoo Slides
Celine George
 
Electricity-Magnetic-and-Heating-Effects 4th Chapter/8th-science-curiosity.pd...
Sandeep Swamy
 
Open Quiz Monsoon Mind Game Final Set.pptx
Sourav Kr Podder
 
The Picture of Dorian Gray summary and depiction
opaliyahemel
 
ACUTE NASOPHARYNGITIS. pptx
AneetaSharma15
 
Congenital Hypothyroidism pptx
AneetaSharma15
 
Information Texts_Infographic on Forgetting Curve.pptx
Tata Sevilla
 
PPTs-The Rise of Empiresghhhhhhhh (1).pptx
academysrusti114
 
3.The-Rise-of-the-Marathas.pdfppt/pdf/8th class social science Exploring Soci...
Sandeep Swamy
 
CARE OF UNCONSCIOUS PATIENTS .pptx
AneetaSharma15
 
How to Manage Global Discount in Odoo 18 POS
Celine George
 
Types of Literary Text: Poetry and Prose
kaelandreabibit
 
UTS Health Student Promotional Representative_Position Description.pdf
Faculty of Health, University of Technology Sydney
 
Odoo 18 Sales_ Managing Quotation Validity
Celine George
 
Skill Development Program For Physiotherapy Students by SRY.pptx
Prof.Dr.Y.SHANTHOSHRAJA MPT Orthopedic., MSc Microbiology
 
Python Programming Unit II Control Statements.ppt
CUO VEERANAN VEERANAN
 
Software Engineering BSC DS UNIT 1 .pptx
Dr. Pallawi Bulakh
 
Dakar Framework Education For All- 2000(Act)
santoshmohalik1
 
What is CFA?? Complete Guide to the Chartered Financial Analyst Program
sp4989653
 
Presentation on Janskhiya sthirata kosh.
Ms Usha Vadhel
 
How to Manage Leads in Odoo 18 CRM - Odoo Slides
Celine George
 

Tree_Definition.pptx

  • 2. DEFINITION A tree is a nonlinear data structure, compared to arrays, linked lists, stacks and queues which are linear data structures. A tree can be empty with no nodes or a tree is a structure consisting of one node called the root and zero or one or more subtrees.
  • 3. PROPERTIES OF TREE • A Tree is a recursive data structure containing the set of one or more data nodes where one node is designated as the root of the tree while the remaining nodes are called as the children of the root. • The nodes other than the root node are partitioned into the non empty sets where each one of them is to be called sub-tree. • Nodes of a tree maintain a parent-child relationship between them. • In a general tree, A node can have any number of children nodes but it can have only a single parent.