本子君

2019年7月23日

二叉树学习

摘要: //已知中序遍历和后序遍历输出前序遍历//每次输出根节点就好#include using namespace std; void solve(string in,string post) { int l=in.length(); if(l>0) { cout>inorder>>postorder; solve(inorder,postorder... 阅读全文

posted @ 2019-07-23 22:27 本子君 阅读(246) 评论(0) 推荐(0) 编辑

导航