Abstract Data Types C++
The following questions all involve PriQueueInterface, whichcontains all of the functions required to implement a priorityqueue, based entirely on the int type.
i. Write the definition for PriQueueInterface. You may assumethat your queue insertion function takes an additional intparameter priority.
ii. Define a class called PriVectorQueue which inherits fromPriQueueInterface. PriVectorQueue uses a vector for its queue.Insertion into the priority queue is based on the ’highest priorityserved first’ approach.
iii. Your manager asks you to add a bypassQueue function as apublic function that allows users to select and remove an entryfrom anywhere in the queue. Is this a good or a
PayPal Gateway not configured
PayPal Gateway not configured