构建二叉树,层序,移位 #include<iostream> #include<vector> #include<stack> #include<algorithm> using namespace std; class MyNode { public: int val; MyNode* pre; MyNode* left; MyNode* right; int deep; MyNode(int v, MyNode* ...