Question: You are given N strings. You must put them in an appropriate in - memory data - structure so that afterwards, you can check whether

You are given N strings. You must put them in an appropriate in-memory data-structure so that afterwards, you can check whether any given string is present in this data-structure or not. Inserting a new string in the data-structure doesn't have to be fast, but checking if a given string exists in it should be fast. Which of these data-structures are appropriate for this purpose:
Pick all that apply
Linked List
Priority queue
Hashtable
B-Tree
 You are given N strings. You must put them in an

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!