Hello guys i am supposed to write the ThreadedNode() class, but im haveing a few problems with it.
I understand that a threaded binary tree of a binary tree is obtained by setting every null left child to the predecessor of the node in the inorder traversal and every null right child to the successor of the node in the inorder traversal.
however i have my problem starts with the constructor // thread the binary tree when you are given the root public ThreadedNode( BinaryNode root)
i know it receives a binaryNode and i have to make it a threaded tree, but i how do create the new threaded tree?