Consider an array-based representation of a tree and a variable called root as the index to the tree’s root node. What value does the text suggest to assign to root if the tree is empty?
a. 0
b. -1
c. 1
d. nullptr
b. -1
Computer Science & Information Technology
You might also like to view...
Making sure the data on two devices are the same is referred to as ________
Fill in the blank(s) with correct word
Computer Science & Information Technology
The detail section of a form or report displays in between the headers and footers sections
Indicate whether the statement is true or false
Computer Science & Information Technology