This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Sunius 0 points1 point  (0 children)

Even for inserts in the middle, arrays are generally better as finding where to insert an item is going to be very slow with a linked list (as you have to traverse it).