Quote:
Lnked lists: how to minimize time and space complexity in a concrete case
As you have already been told, linked list is the wrong tool for this project.
You need to learn about databases, and databases design.
Why linked list is wrong?
Linked list is in memory, it imply that if the program or server stops, everything is lost. To avoid this problem, for each operation, you have to load the list in memory and save it to file after, but there is nothing to protect from multiuser concurrency.
complexity to search 1 item in list
Number items 1000 1000000
Linked list
load/save list 1000 1000000
find an item mean 500 500000
find an item max 1000 1000000
indexed database
load/save list no need
find an item mean 10 20
find an item max 10 20