CompTIA Tech+ FC0-U71 Practice Question
A programmer needs to store a list of usernames which will be processed one by one in a program. The number of usernames is known and will not change. Which of the following data structures should the programmer use to achieve the best performance when iterating over the usernames sequentially?
Hash table
Stack
Queue
Linked list
Array