Priority queue: Difference between revisions

Content added Content deleted
Line 4,737: Line 4,737:
end function
end function
Function Pop(a)
Function Pop(a)
// Group make a copy
// Group make a copy, but here is a pointer, we get a new pointer
// also drop the pointer from the top of stack
stack a {=Group}
stack a {=Group}
end function
end function