Package lc.test

Class TreeNode<T>


  • public class TreeNode<T>
    extends java.lang.Object
    Definition for a binary tree node. Adopted from leetcode.
    • Constructor Summary

      Constructors 
      Constructor Description
      TreeNode​(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

      • TreeNode

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