# The Inefficient Guys

A company has a record that consists of entries like this

 Employee ID Name Detail 1 Detail 2 ... 1 Mr. X ... ... ... 2 Mr. Y ... ... ... ... ... ... ... ...

They are recently receiving requests for data about their employees from a government investigation department.

Records from the original database were accessed using the Employee ID as the key. However, due to the need of the investigators, we need to organize the data so that looking up names are fast enough.

Using which of the following data structures could the create an interface involving the Names and the IDs, such that the above criteria is met?

×