Solved

In an Array-Based Implementation of a Heap,the Parent of the Node

Question 60

Multiple Choice

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]

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions