Question: Given an integer queue called myQu, write a function to sort the items of the queue in a vector without effecting the the queue (after
Given an integer queue called myQu, write a function to sort the items of the queue in a vector without effecting the the queue (after running the method, myQu should stay the same). Use the STL to answer this question (Don't create a queue class). the method should return the vector and you can use any extra data structures to answer this question.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
