Course: Data structure and algorithms
INSTRUCTIONS :
1) First, you have to make a tree from the given data
2) Secondly, you have to traverse that tree using the given code
below
18 points Using the code below traverse following data: 50, 48, 23, 7, 2, 5, 19, 22, 15, 6, 25, 13, 45 7 void printReverseorder(Node node) { if (node == null) return; printReverseInorder(node.right) printReverseInorder(node.left); System.out.print(node.key+""); }
Course: Data structure and algorithms INSTRUCTIONS : 1) First, you have to make a tree from the given data 2) Secondly,
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am