Computer Science and Engineering Heap Question #5770
Single Choice Easy

QWhich operation is used to convert an array into a binary heap?

ID: #5770 Heap 227 views
Question Info
#5770Q ID
EasyDifficulty
HeapTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A Max-heapify
  • B Min-heapify
  • C Heapify
  • D Build-heap
Correct Answer

Explanation

Answer: d) Build-heap

Explanation: The build-heap operation is used to convert an array into a binary heap.

Share This Question

Challenge a friend or share with your study group.