Which statement is correct? A heap
Correct answer
B. Is a complete binary tree used to implement priority queues
B. Is a complete binary tree used to implement priority queues
A heap is a complete binary tree used to implement priority queues.
Asked in: Engineering Computer Engineering Practice
https://en.wikipedia.org/wiki/Data_structureNot sure why the answer is B? Ask here and get an explanation.