+ 6
What is use of linked list ?
7 odpowiedzi
+ 9
To be able to store collections of data/records of a given type without consuming too much space (especially when the size of records are large) and also be able to quickly insert records in the middle of the list (e.g. when the list is sorted).
+ 3
You can learn more about linked lists here:
https://leetcode.com/explore/learn/card/linked-list/
P.S. You need an account but it's free!
+ 2
Thank you hothouseinwar polik
+ 2
Linked list used in collections linked list is child of list interface
In linked list insertion at the fisrt ,middle,last is very easy as well as deltion also
But searching may take more time when compare to delete ,insert.
+ 1
To have a dynamic array such that it can constantly grow, unlike a normal static array which you need to define how much space it will take at initialization.
+ 1
Thank you Sonic
+ 1
Thanks you Sonic