I have read about stacks, queues and linked lists, but I am not sure which one would be best for my use case.
Here is a brief description of my use case: My program needs to store a series of data in the order they are entered into the program, and allow me to quickly access the data when needed. The data will be manipulated frequently, so it also needs to be efficient to add and remove elements from the data structure. Which one of the three data structures would be best for this use case?
Ishini Edirisinghe is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.