Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 28484

A linked list is a data structure in which the elements contain references to the next (and optionally the previous) element.

4 votes
3 answers
29k views

Java Doubly Linked List

I've been working on implementing a doubly linked list from scratch in Java, and if anyone has time, could you critique it? class Node { Node prev; Node next; int data; public Node(i …
Adam Johns's user avatar
5 votes
1 answer
31k views

Linked List Delete Node Function

This code is supposed to delete every node from a linked list with a given value. Are there any logical errors with this implementation? Did I do anything wrong or is there an area of this implement …
Adam Johns's user avatar
11 votes
3 answers
72k views

Java code for Linked List

I've been practicing implementing a linked list from scratch. Can someone help review my code? class Node { Node next; int num; public Node(int val) { num = val; next = n …
Adam Johns's user avatar