題組內容

6. (5%) You have the following data structures A. list, B. hash table, and C. AVL tree at your disposal. Assume you have a lot of data in the form of key-value pairs <key1,value1>, <key2,value2>, ,<keyN,valueN>. Please answer the following questions by making your choices from the three data structures: 

(3). If we want to emulate a priority queue, which of the three data structures will be the best choice (i.e. both element addition and extract-max have to be efficient) _____.