摘要: 【问题描述】 输入一个整数数组,判断该数组是不是某二叉搜索树的后序遍历的结果。如果是则输出Yes,否则输出No。假设输入的数组的任意两个数字都互不相同。 【AC代码】 1 public class Solution { 2 public boolean VerifySquenceOfBST(int 阅读全文
posted @ 2019-10-26 18:49 ___Moongazer 阅读(129) 评论(0) 推荐(0)