Please implement the followings:
1. Create the binary tree with 9 nodes by using pointer-based representation. struct TreeNode { int info; TreeNode * left; TreeNode * right; }
2. Implement pre-order, in-order, and post-order traversals, and print the results of the tree (Figure 1). 2 7 5 2 6 9 5 11 4
(Figure 1 and question in image below). Please help.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here