链表的 model,用来表示链表的存储模式

This commit is contained in:
Yucheng Hu 2018-12-16 00:52:26 -05:00
parent ab210dce6f
commit 86e6b43463
1 changed files with 16 additions and 0 deletions

View File

@ -0,0 +1,16 @@
package com.ossez.lang.tutorial.models;
/**
*
* @author YuCheng
*
*/
public class ListNode {
public int val;
public ListNode next;
public ListNode(int x) {
val = x;
next = null;
}
}