Converting a inorder code into a preorder and postorder

前端 未结 0 1374
南旧
南旧 2021-01-13 20:29

How do I turn this into a preorder and a postorder traversal? this code only traveses a tree in inorder style

void inorder() {
inorderRec(root);
相关标签:
回答
  • 消灭零回复
提交回复
热议问题