Queue/Definition: Difference between revisions

Content added Content deleted
Line 1,347: Line 1,347:
]
]
// explicit int:capacity
// [
// theArray := list<type>(capacity).
// theTop := 0.
// theTale := 0.
// ]
bool empty
bool empty
= theTop == theTale.
= theTop == theTale.