摘要: 递归遍历 重点: 1,TreeNode的自定义 2,val =0 == val = NULL; 代码: 1 void preRecursor(TreeNode* root, vector<int>& result) 2 { 3 if (root == NULL) 4 return; 5 result 阅读全文
posted @ 2023-06-20 10:23 博二爷 阅读(13) 评论(0) 推荐(0) 编辑