Advertisement
Guest User

Untitled

a guest
Sep 26th, 2013
300
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. Assuming a binary min-heap with natural ordering.
  2.  
  3. 1
  4. 50 20
  5. 60 70 90 30
  6.  
  7. If we are removing '60' from this heap, replacing it with the last heap element '30' requires a filter-up to maintain heap property.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement