A demonstration of the percolateDown() method of the priority queue. This method ensures that a heap is well formed - an important operation in the priority queue data structure.
You can learn more about the priority queue and other data structures in C++ Data Structures by James Helfrich: https://he.kendallhunt.com/product/c-...
0:00 Introduction
0:29 Percolate Down algorithm
1:05 percolateDown() on a node without children
1:48 percolateDown() on a node with two children
2:29 percolateDown() when multiple levels need to be called
3:21 percolateDown() called on the root
Nesta página do site você pode assistir ao vídeo on-line C++ Priority Queue - Percolate Down duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário C++ Data Structures 14 Outubro 2022, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 937 vezes e gostou 14 espectadores. Boa visualização!