finish implementation of the Abstract Data Type (ATD) for a Maximum Priority Queue, as represented by the C++ classMaxPriorityQueueLinkedListwhich has been partially written for you.
To build your linked list representation of the Max Priority Queue, you must use theNodeclass( provided) which stores a single integer value and provides a "next" pointer. You will need to implement your methods using a singly-linked list of Nodes that will be accessed by the private "head" pointer that is provided as a part of theMaxPriorityQueueLinkedListclass.
Specifically you will need to write these methods of theMaxPriorityQueueLinkedListclass:
Test your Max Priority Queue interactively using the working code provided inmain().
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here