Priority queue: Difference between revisions
m
→Using a stack with pointers to Groups as elements
Line 4,721:
Header()
while not @isEmpty(b)
end while
ObjectCount()
Line 4,762 ⟶ 4,761:
=len(a)=0
end function
// Group make a copy (but here is a pointer of group)
stack a {=Group}
end function
}
PriorityQueueForGroups
|