Day7
This commit is contained in:
14
141. Linked List Cycle/ListNode.cs
Normal file
14
141. Linked List Cycle/ListNode.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
namespace _141._Linked_List_Cycle;
|
||||
|
||||
//Definition for singly-linked list.
|
||||
public class ListNode
|
||||
{
|
||||
public int val;
|
||||
public ListNode? next;
|
||||
public ListNode(int x)
|
||||
{
|
||||
val = x;
|
||||
next = null;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user