Are you sure you're getting this? Click the correct answer from the options.
Which of the following statements about heaps is not true?
A. A heap is a specialized tree-based data structure. B. In a max heap, the parent node is always smaller than or equal to its child nodes. C. In a min heap, the parent node is always greater than or equal to its child nodes. D. Heaps are commonly used to implement priority queues.
Click the option that best answers the question.
- A
- B
- C
- D