What is Linked list? | Sololearn: Learn to code for FREE!
+ 1

What is Linked list?

27th Mar 2017, 3:07 PM
Aman Sharma
Aman Sharma - avatar
3 Answers
+ 1
A series of nodes which may have two or three parts which includes value and address of their previous and next nodes
27th Mar 2017, 3:09 PM
Aman Sharma
Aman Sharma - avatar
0
Shamra is right. It is a data structure that contains many elements where element points to the next one. When the element points to the element before then it is a double linked list. Imagine people standing in a row. Each person knows the one before (single linked list) or the guy behind him (double linked list)
27th Mar 2017, 3:26 PM
Thomas Zenglein
Thomas Zenglein - avatar
0
additional: linkedlist knows only its first element and if declared its lenght.
7th Apr 2017, 5:44 AM
Tino Kallinich
Tino Kallinich - avatar