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 strings. You must put them in an appropriate inmemory datastructure so that afterwards, you can check whether any given string is present in this datastructure or not. Inserting a new string in the datastructure doesn't have to be fast, but checking if a given string exists in it should be fast. Which of these datastructures are appropriate for this purpose:
Pick all that apply
Linked List
Priority queue
Hashtable
BTree
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
