Question: If a priority queue is implemented as a binary search tree instead of a heap. the member functions defined in PQType would not change, but

If a priority queue is implemented as a binary search tree instead of a heap. the member functions defined in PQType would not change, but the private data members defined in PQType would change. The only data member would be a pointer to a TreeNode
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
