subject

The CS department wants to maintain a database of up to 2900 UINs of students who have taken CS 225 so that it can be determined very quickly whether or not a given student has taken the course. Speed of response is very important; but not as important as efficient use of memory. To be more specific, we would like to be able to do our lookup in O(1) time, and use no more memory than necessary to do so. Which of the following data structures would be most appropriate for this task? a. A sorted linked list
b. A sorted array with 2900 entries
c. A hash table using probing with capacity 100000
d. A hash table using probing with capacity 4500
e. A hash table using probing with capacity 2900

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 09:30
Is a string of code written to hurt others by damaging or destroying
Answers: 1
question
Computers and Technology, 22.06.2019 10:30
Think about a recent customer service experience - either positive or negative. write a brief summary of that experience. now think about those four characteristics we look for in customer service representatives. how did the representative in your example stack up? write down your answer and give specific examples.
Answers: 1
question
Computers and Technology, 23.06.2019 17:20
What is the best assassins creed game?
Answers: 2
question
Computers and Technology, 23.06.2019 23:30
What are "open-loop" and "closed-loop" systems
Answers: 1
You know the right answer?
The CS department wants to maintain a database of up to 2900 UINs of students who have taken CS 225...
Questions
question
Mathematics, 21.01.2021 21:10
question
Mathematics, 21.01.2021 21:10
question
Mathematics, 21.01.2021 21:10
question
Mathematics, 21.01.2021 21:10
question
Social Studies, 21.01.2021 21:10
question
Mathematics, 21.01.2021 21:10
Questions on the website: 13722361