Maintaining a heap as a complete binary tree means that

a) the tree is unbalanced
b) leaf nodes are created at the lowest level in left- to right order
c) the tree is degenerate
d) every leaf node is at the same level
e) none of the above

b) leaf nodes are created at the lowest level in left- to right order

Computer Science & Information Technology

You might also like to view...

Which of the following are true of OSPF? (Select all that apply.)

a. It stands for Open Shortest Path First. b. It is an open protocol. c. It was developed specifically for TCP/IP networks. d. It was developed specifically for IPX networks. e. It is a distance vector protocol. f. It is a dynamic routing protocol. g. It is a link state protocol. h. It consumes a lot of bandwidth.

Computer Science & Information Technology

Explain what could be different if the following line were put in your ~/.log- out file instead:

rm $HOME/.trash/*

Computer Science & Information Technology