Question:
Program how a queue is tested if its empty
Author: Will ParkerAnswer:
If (Empty()) { return count == 0; } hmmm? for each item on q if item = null nullCounter++; if nullCounter = count the queue is emtpy
0 / 5 Â (0 ratings)
1 answer(s) in total
Author
Will Parker