QUESTION 21 Which of the following data structures is the best for implementing the priority queue? bineary search tree
Posted: Sat May 14, 2022 4:56 pm
QUESTION 21 Which of the following data structures is the best for implementing the priority queue? bineary search tree hash table binary heap sorted array QUESTION 22 What is the value at the front (or top) of the C++ queue Q, after these operations? queue int> Q; Q.push(5); Q.push(); Q.push(6); Q.pop(); Q.push (7) ; Q.pop(); 5 4 6 7