enqueue in heap

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • shahzeb111
    New Member
    • Nov 2008
    • 2

    enqueue in heap

    i need a simple code to enqueue an element in heap.

    which type of array i should use, either it will be an empty arrray or it will have elements.
  • weaknessforcats
    Recognized Expert Expert
    • Mar 2007
    • 9214

    #2
    An array must have elements.

    I am also not sure what you mean by "enqueue on the heap" since the heap is not a queue.

    What is it, exactly, that you are trying to do?

    Comment

    Working...