Original definition of binary tree in leetcode, on which all the algorithms and operations are performed.