Top Banner
11

Tree by adeel

Aug 07, 2015

Download

Education

Goodthingbetter
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Tree by adeel
Page 2: Tree by adeel

Topic:- Tree

Present by :- M-AdeelIncs:- Sir AKR

Page 3: Tree by adeel

What is Tree

Page 4: Tree by adeel

Not Siblings

Siblings Siblings

Siblings

TERMINOLOGY

Parent

Child Child

ChildChild ChildChild

Height of tree 2

1

2 2

1

2 2

Page 5: Tree by adeel

STAR TOPOLOGY BUT IT IS TREE.

Page 6: Tree by adeel

BUS TOPOLOGY BUT IT IS ALSO TREE.

Page 7: Tree by adeel

Binary tree

A binary tree is one in which each node has at most two sub node.

A node can have just one but it can't have more than two.

Page 8: Tree by adeel

Example/Application of Binary tree

Page 9: Tree by adeel

m-array tree

A rooted tree is called an m-array tree if every internal vertex has no more than m children. .

An m-array tree with m = 2 is called a binary tree

Page 10: Tree by adeel

Child of

sub node

Child

of

sub

node

Child

of

sub

node

Child

of

sub

node

Child of

sub node

Child of

sub node

Child of

sub node

Sub node

Sub node

Sub node

node

Child of

sub node

Child of

sub node

Sub tree

Page 11: Tree by adeel