In an array-based implementation of a heap, the parent of the node in items[i] is always stored in ______.
a) items[i/2]
b) items[(i-1)/2]
c) items[i-2]
d) items[(i-2)/2]
b.
Computer Science & Information Technology
You might also like to view...
There are two types of special indents. Describe both, providing an example of when each might be used in a document
What will be an ideal response?
Computer Science & Information Technology
If a computer receives the IP address 169.254.127.1, what has failed?
a. APIPA b. DHCP c. DNS d. WINS
Computer Science & Information Technology