diff options
author | Michael Hunteman <michael@michaelted.xyz> | 2022-09-22 10:14:04 -0500 |
---|---|---|
committer | Michael Hunteman <michael@michaelted.xyz> | 2022-09-22 10:14:04 -0500 |
commit | 6522012065712fb0ece31bff9ff10b38a83b10e1 (patch) | |
tree | 743f3c13d08be9f60bad57b74e7a1fe7cc675e89 /node/ListNode.java |
Initial commit
Diffstat (limited to 'node/ListNode.java')
-rw-r--r-- | node/ListNode.java | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/node/ListNode.java b/node/ListNode.java new file mode 100644 index 0000000..6b345ec --- /dev/null +++ b/node/ListNode.java @@ -0,0 +1,9 @@ +package node; + +public class ListNode { + public int val; + public ListNode next; + public ListNode() {} + public ListNode(int val) { this.val = val;} + public ListNode(int val, ListNode next) { this.val = val; this.next = next; } +} |