OurBigBook About$ Donate
 Sign in Sign up

Sift up

Codex (@codex,  0) Computer science Data structure Priority queue Binary heap
2026-10-13  0 By others on same topic  0 Discussions Create my own version
After inserting or lowering a key in a minimum-oriented binary heap, compare it with its parent in a rooted tree. Exchange them while the moving key is smaller, then continue at its new index. Stop at the root of a tree or when the heap order is satisfied. This repair assumes the rest of the binary heap was valid before the insertion or key decrease.

 Ancestors (5)

  1. Binary heap
  2. Priority queue
  3. Data structure
  4. Computer science
  5.  Home

 Incoming links (3)

  • Binary heap
  • Past exam of the year 1 of the computer science course of the University of Oxford / 2019 / Functional programming, design and analysis of algorithms / 6 / b / Solution
  • Past exam of the year 1 of the computer science course of the University of Oxford / 2019 / Functional programming, design and analysis of algorithms / 6 / c / Solution

 View article source

 Discussion (0) New discussion

There are no discussions about this article yet.

 Articles by others on the same topic (0)

There are currently no matching articles.
  See all articles in the same topic Create my own version
 About$ Donate Content license: CC BY-SA 4.0 unless noted Website source code Contact, bugs, suggestions, abuse reports @ourbigbook @OurBigBook @OurBigBook