JazzyJo3829 JazzyJo3829
  • 22-09-2019
  • Computers and Technology
contestada

What is the root of the tree?

Respuesta :

Branta Branta
  • 23-09-2019

Answer:

root is an ancestor of all other nodes in a tree.

Explanation:

Root is a special node in the tree which is an ancestor of all other nodes.For example, consider a binary tree with root R. Let C1,C2 be the children of R at level 1. Similarly, C11,C12 are the children of C1 at level 2 and C21,C22 are the children of C2 at level 2. Now the parent of C22 is C2 and the parent of C2 is root R. Similar is the case for all other child nodes. Hence, Each node in the tree will have the root node R as its ancestor.

Answer Link

Otras preguntas

which of the following is a tip for taking the aspire reading test
What factor has the greatest impact on flexibility?
According to the text, school reform in the 1950s and early 1960s focused on the need for ________ education.
CAN SOMEONE PLEASE HELP ME⁉️⁉️⁉️⁉️
What was Henry Fords contribution to American industry?
a moving company charges $250 to rent a truck and $0.40 for each mile driven. Mr. Lee paid a total of $314. Which equation can be used to find m, the number of
Antebellum americans joined the temperance crusade, as they did other reform societies, largely to
According to Peter L. Berger and Thomas Luck Mann, social reality is an immutable cultural construct
The tendency to favor one's own group, the group with whom we share a common identity, is called
need help with some questions please