The table below represents a portion of a computers main memory containing a binary tree. Each node consists of 3 cells, the first being data, the second being a pointer to the nodes left child, and the third being a pointer to the nodes right child. If the nil pointer is represented by 00 and the tree's root pointer contains 53, draw a picture of the tree showing the data in each node.

Address Content
50 AA
51 56
52 00
53 BB
54 00
55 50
56 CC
57 00
58 00

ANY IDEAS?

THANKS

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.