Heapify

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

This video mix the heap adjust and head insert which are two totally different operations. The first one is to perform exchange from top to down, and it is used in heapify, heap sort and the second one is to move the inserted elements from bottom to up. I am afraid that this video is very misleading.

xingcebao
Автор

Explained in a simple and straight manner, like it. Thanks!

chandrapaladugula
Автор

The people in the comment section are confused. This video is in regards to a Binary Heap's Insert and Extract operations, which perform heapify-up and heapify-down respectively.

zerocolours
Автор

heapify is creating an heap from a not sorted array, this is just fixheap

giucass
Автор

This is not heapify. Please don't misguide students

pratyushvatsa