Would someone please help me with this problem. I have tried different concepts but I don't think that I am doing it correctly. I understand linked lists well but the doubly linked lists seem to confuse me. I have posted a link to a picture of the problem. Thanks in advance for your time!!
1) use a different image uploading site, one that doesn't use porn ads. Use imgur or something. Alternatively, just type out the question.
2) what have you tried? It is a doubly-linked list, so each node has a pointer to the previous one and the next one. You can change what each node points to by changing where those pointers point.