Priority queue: Difference between revisions
m
→Using a stack with pointers to Groups as elements
Line 4,737:
end function
Function Pop(a)
// 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}
end function
|