Data Structures in Python | Heapq Module

preview_player
Показать описание
Heapq Module in Python

Рекомендации по теме
Комментарии
Автор

@1:32 when we push an element it shows up at the first index, why are all other elements not in sequential order?

nott__aceu
Автор

L=[2, 3, 6, 1, -7]
print(heap.heappop(L))
what would it return?

madhuvamsimachavarapu
Автор

Nice video. Can you use dark background thanks.

derdere
Автор

Sir, is there a library that implements MAX HEAP ?

vimalendupandey
Автор

On using heapq.heapify(L3) why it is not in order like [2, 10, 14, 15, 20, 21] ?

piyushgupta
Автор

How to install heapq sir... I'm getting error in pip install heapq

JoshHighHai-YT
join shbcf.ru