摘要: 【144.二叉树的前序遍历】 【145.二叉树的后序遍历】 【94.二叉树的中序遍历】 class Solution { public: vector<int> preorderTraversal(TreeNode* root) { stack<int> st; vector<int> result 阅读全文
posted @ 2022-11-24 21:10 跬步瑶 阅读(23) 评论(0) 推荐(0)