Suppose that items are inserted into a min priority queue with the order and priorities: ((A, 2), (B, 3), (C, 1), (D, 2), (E, 1))

In what order are the items removed from the queue?

  • A: A, B, C, D, E
  • B: C, E, A, D, B
  • C: B, A, D, C, E
  • D: E, C, D, A, B
  • E: C, E, D, A, B


    Contents    Page-10    Prev    Next    Page+10    Index