0_0_39901216_3737\Main.java:11: 错误: 需要class, interface或enum
private static void buildPostOrder(int[] preorder, int preStart, int preEnd,
^
0_0_39901216_3737\Main.java:16: 错误: 需要class, interface或enum
}
^
0_0_39901216_3737\Main.java:22: 错误: 需要class, interface或enum
int rootIndexInInorder = inStart;
^
0_0_39901216_3737\Main.java:23: 错误: 需要class, interface或enum
while (inorder[rootIndexInInorder] != rootValue) {
^
0_0_39901216_3737\Main.java:25: 错误: 需要class, interface或enum
}
^
0_0_39901216_3737\Main.java:31: 错误: 需要class, interface或enum
buildPostOrder(preorder, preStart + 1, preStart + leftSubtreeSize,
^
0_0_39901216_3737\Main.java:35: 错误: 需要class, interface或enum
buildPostOrder(preorder, preStart + leftSubtreeSize + 1, preEnd,
^
0_0_39901216_3737\Main.java:39: 错误: 需要class, interface或enum
postorder.add(rootValue);
^
0_0_39901216_3737\Main.java:40: 错误: 需要class, interface或enum
}
^
9 个错误
|