Implement the ADT deque, as described in Exercise 9 of the previous chapter, as a derived class of Array Queue, as given in Listings 14-4 and 14-5.
Exercise 9:
Complete the implementation of the class SL_ Priority Queue, as described in Section 14.2.