Wednesday, March 22, 2017

Heapify

Heapify
Convert an unsorted array to tree - O(n)
Insert into an exist heap one element by one element - O(nlogn)

No comments:

Post a Comment