Page 1 of 1

Questions: A. Given Tree FormA class that implements binary tree, you're required to update class to implement the follo

Posted: Fri May 20, 2022 6:36 pm
by answerhappygod
Questions A Given Tree Forma Class That Implements Binary Tree You Re Required To Update Class To Implement The Follo 1
Questions A Given Tree Forma Class That Implements Binary Tree You Re Required To Update Class To Implement The Follo 1 (80.03 KiB) Viewed 29 times
Questions: A. Given Tree FormA class that implements binary tree, you're required to update class to implement the following methods: [3 Marks] (One mark for each point) 1. In order traversal method 2. Post order traversal method 3. Max method (to find the maximum value in the tree) B. Application: [2 Marks] a. Create a tree by the following values: 10, 20, 30, 11, 12, 13, 40, 22, 23, 24, 25 b. Traverse all elements in the tree created in a by calling the method that created in A-1 and print the result. (In Order). Results: ---InOrder Traversal:---- 10 11 12 13 20 22 23 24 25 30 40