CS1083/Submissions/Final/Q9.java
2022-10-07 00:44:12 -03:00

10 lines
228 B
Java

public class Q9 {
private void print(Node current) {
if (current != null) {
print(current.right);
System.out.println(current.word);
print(current.left);
}
}
}