CompTIA ITF+ FC0-U61 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?
Array
Stack
Hash table
Queue
Linked list