摘要: #include<iostream>#include<stack>#include<vector>#include<stdio.h>#include<stdlib.h>using namespace std;//二叉树节点结构 struct TreeNode{ int val; TreeNode * 阅读全文