1

An array consists of n elements. We want to create a heap using the elements. The time complexity of building a heap will be in order of

Correct Answer: O(n*logn)

Make the most of this question

This page focuses on one Data Structure (DS) question from Engineering. After checking the answer, return to the topic list to practice more or run a timed set.

Data Structure (DS) MCQ: An array consists of n elements. We want to create a heap using the elements. The time complexity of building a heap will be in order of | Extra Education