(int[] path, int start, int end)
| 43 | } |
| 44 | |
| 45 | private static void print(int[] path, int start, int end) { |
| 46 | for (int i = start; i <= end; i++) { |
| 47 | System.out.print(path[i] + " "); |
| 48 | } |
| 49 | System.out.println(); |
| 50 | } |
| 51 | |
| 52 | public static void main(String [] args){ |
| 53 | TreeNode root = new TreeNode(5); |
no outgoing calls
no test coverage detected