#include <stack> class Solution { public: bool VerifySquenceOfBST(vector<int> sequence) { if(sequence.size() == 0) return false; return order(sequence, 0, sequence.size() - 1); } bool order(vector<int>& sequence, int l, int r) { // 剩一个节点的时候 返...