Linear representation of a binary tree in data structure
AnushChaitanya:
array or linked representation????
Answers
Answered by
4
A single array can be used to represent a binary tree. For these nodes are numbered / indexed according to a scheme giving 0 to root. Then all the nodes are numbered from left to right level by level from top to bottom. ... Then each node having an index i is put into the array as its ith element.
Answered by
6
hay!!
________________________________
A binary tree data structure is represented using methods. this methods are as follows...
Array RepresentationLinked List Representation
I hope it's help you
________________________________
A binary tree data structure is represented using methods. this methods are as follows...
Array RepresentationLinked List Representation
I hope it's help you
Attachments:
Similar questions