A ternary tree is like a binary tree, except each node in a ternary tree may have three children: a left child, a middle child, and a right child. Write an analogue of the TreeNode declaration that can be used to represent the nodes of a ternary tree.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here