In computer science, a linked list is one of the fundamental data structures used in computer programming. It consists of a sequence of nodes, each containing arbitrary data fields and one or two references ("links") pointing to the next and/or previous nodes. The principal benefit ...
Read more:
http://en.wikipedia.org/wiki/Linked_list
Yes i've read that article and even the API's to get an idea of what it is.
Right now my problem is on how to implement a linked list that adds elements and how to erase any given element. I've been having a hard time trying to create a list and adding nodes to it. :-/
for example how do i insert a node between 2 nodes?
Thanks!
> Yes i've read that article and even the API's to get
> an idea of what it is.
>
> Right now my problem is on how to implement a linked
> list that adds elements and how to erase any given
> element. I've been having a hard time trying to
> create a list and adding nodes to it. :-/
>
> for example how do i insert a node between 2 nodes?
>
> Thanks!
Ok, what do you have so far then? Can you add nodes to your list? Can you print the values from your list?
Please post your code, and explain where you're stuck. Don't forget the code-tags!