coverTree(Arrays.copyOfRange(pre,1, j+1), Arrays.copyOfRange(order,0, j),post,i-j-1);//第49行 这一句还是错的吧?最后post[]的位置应该为 I - (order.length) - j - 1 除非是完全二叉树 
点赞 评论

相关推荐

牛客网
牛客企业服务