menu
home
Home
search
Search
people
About Us
exit_to_app
Login
home
Home
search
Search
people
About Us
exit_to_app
Login
Practicing for Inorder Traversal of Data Structure
Questions 1 of 6
Q. Select the code snippet which performs in-order traversal.
public void inorder(Tree root) {
inorder(root.right);
System.out.println(root.data);
inorder(root.left);
}
public void inorder(Tree root) {
inorder(data.left);
System.out.println(root.data);
inorder(root.data);
}
public void inorder(Tree root) {
System.out.println(root.data);
inorder(root.left);
inorder(root.right);
}
public void inorder(Tree root) {
inorder(root.left);
System.out.println(root.data);
inorder(root.right);
}
Submit
lock
Login
person
Signup
Email
Password
Name
Email
Password
Confirm Password