Do I have to search for the node as a stack or queue, and when I find it set the data that the node returns equal to local variables?
Or is there a way of calling a known position in the list, like how you can with an array.
Visually what I'm asking here is:
So how Arrays work like this:
ArrayofStrings[Postion] returns String located at Position
Is there a way to do the same with a Linked List like this?
SinglyLinkedList(Node) returns Multiple(string) Data(double)
I'm guessing I have to search the list for the node, but I wanted to make sure there wasn't an easier way to do this.