Package lc.test

Class ListNode<T>


  • public class ListNode<T>
    extends java.lang.Object
    Definition for singly-linked list. Adopted from leetcode.
    • Constructor Summary

      Constructors 
      Constructor Description
      ListNode​(T x)
      Constructor.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ListNode

        public ListNode​(T x)
        Constructor.
        Parameters:
        x - input integer value