1.True or False: At least one of the methods in the priorityQ.java program
(Listing 4.6) uses a linear search.
2.One difference between a priority queue and an ordered array is that
a.the lowest-priority item cannot be extracted easily from the array as it
can from the priority queue.
b.the array must be ordered while the priority queue need not be.
c.the highest priority item can be extracted easily from the priority queue
but not from the array.
d.All of the above.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here