Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save RakhmedovRS/341071fbc066bcf4a3b2c228e51fc7ff to your computer and use it in GitHub Desktop.
Save RakhmedovRS/341071fbc066bcf4a3b2c228e51fc7ff to your computer and use it in GitHub Desktop.
ListNode
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;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment