#include<iostream>
using namespace std;
char a[30],b[30];
int n;
void f(int L,
【7-6 二叉树遍历】二叉树的每个结点用一个大写字母表示,现在已知其中序和按层遍历的字符串,求该树的先序遍历字符串。 输入格式: 输入两行,分别表示二叉树的中序遍历和按层遍历的序列
最新推荐文章于 2022-08-12 16:52:44 发布
#include<iostream>
using namespace std;
char a[30],b[30];
int n;
void f(int L,