What is the time complexity of the heapify operation, which transforms an array into a heap?
O(log n)
O(n log n)
O(n)
O(1)

Computer Science Exercises are loading ...