Question: Dynamic Set Implementations: Implementation options are listed below (alphabetically by their acronyms). Assume only the simplest versions of these implementations: do not invent additional variables,

Dynamic Set Implementations: Implementation options are listed below (alphabetically by their acronyms). Assume only the simplest versions of these implementations: do not invent additional variables, caches, pointers, etc. that are not in the basic implementation. . BST: Binary Search Tree HTC: Hash Table with Chaining (use n/m for alpha) SL: Skip List SDLL: Sorted Doubly Linked List USLL: Unsorted Singly Linked List Which Implementation of the Dynamic Set ADT Is fastest Including constant costs if you primarily will do the following operation(s), and what is the expected case cost to do so? Some operators may have implementations that are equivalent from an asymptotic perspective: in that case, pick the simplest solution with smallest cost in space and time You do not have to use all of the options. Write only the acronyms (BST, HTC, SL, SDLL, USLL) in the first field for each question. Use simple ASCII notation in the field for alysis (no parentheses are needed for correct answers). a. Insert a new key into the set: Use implementation with expected (_ -) per insertion b. Search for a key: Use implementation with expected (_ -) per search c. Iterate over all the keys in sorted order: Use implementation with expected (_ _) per iteration d. Find the predecessor given a position (not key) in the data structure: Use implementation with expected _ _) per predecessor retrieval with expected (_ per e. Optimize a mixture of insertion, searching, and deletion, regardless of whether data arrives 'randomly' or in some order: Use implementation insertion, search, or deletion
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
