題組內容
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:
(2). Assume there is a total ordering of data, and your application requires frequent range queries to the data (i.e. retrieving data with keys in the range [lower _bound, upper _bound]). Range query to your data can be efficiently implemented with the data structure _____.