Hi, So I've got a LinkedList that I need to traverse through. Right now I'm going through it the same way that I would for a regular array, which works, it's just very slow. That is:
for (int i = 0; i < list.size(); i++)
{
code;
}
Can anyone help me with the correct way to go through the entire list?
Thanks