🌈 搜索
📅  最后修改于: 2022-03-11 14:44:55.134000             🧑  作者: Mango
void preorder(Node* root){ if(root != NULL){ cout<data<<" "; preorder(root->left); preorder(root->right); } }