1. Engineering
  2. Computer Science
  3. need the code for siftdown function for binary tree...

Question: need the code for siftdown function for binary tree...

Question details

need the code for siftdown function for binary tree

The SiftUp and SiftDown methods are responsible for fixing the partial ordering of the tree from its index parameter up to the root, or down to the leaves of the tree. For a max heap, the partial ordering property is that a nodes value is equal or greater than the values ofits children

Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution