Skip to main content
Question Protected by gnat
edited tags
Link
Thomas Owens
  • 85.9k
  • 18
  • 211
  • 311
Post Reopened by Jimmy Hoffa, Thomas Owens
deleted 1 character in body
Source Link
Jimmy Hoffa
  • 16.2k
  • 3
  • 71
  • 81

What are concrete examples of use cases ofrules for using a linked listslist instead of an array?

A linked list can be used when you want cheap insertion and deletion of elements and when it doesn't matter that the elements aren't next to each other in memory.

This is very abstract and I would like to see somea concrete examplesexplanation of whenwhy a linked list isshould be used rather than an array. I'm not very experienced with programming, so I haven't got much (if any) real-world experience.

What are concrete examples of use cases of linked lists?

A linked list can be used when you want cheap insertion and deletion of elements and when it doesn't matter that the elements aren't next to each other in memory.

This is very abstract and I would like to see some concrete examples of when a linked list is used rather than an array. I'm not very experienced with programming, so I haven't got much (if any) real-world experience.

What are concrete rules for using a linked list instead of an array?

A linked list can be used when you want cheap insertion and deletion of elements and when it doesn't matter that the elements aren't next to each other in memory.

This is very abstract and I would like a concrete explanation of why a linked list should be used rather than an array. I'm not very experienced with programming, so I haven't got much (if any) real-world experience.

Post Closed as "Needs more focus" by CommunityBot, durron597, Ixrec, gnat
Source Link
user4595
user4595

What are concrete examples of use cases of linked lists?

A linked list can be used when you want cheap insertion and deletion of elements and when it doesn't matter that the elements aren't next to each other in memory.

This is very abstract and I would like to see some concrete examples of when a linked list is used rather than an array. I'm not very experienced with programming, so I haven't got much (if any) real-world experience.