We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 930a2ea commit 60829eeCopy full SHA for 60829ee
1 file changed
src/main/lists/LinkedListNode.java
@@ -0,0 +1,9 @@
1
+class LinkedListNode<T> {
2
+ public T data;
3
+ protected LinkedListNode<T> next;
4
+
5
+ protected LinkedListNode(T data, LinkedListNode<T> next) {
6
+ this.data = data;
7
+ this.next = next;
8
+ }
9
+}
0 commit comments