複製一顆二叉樹

和建樹差很少,只不過節點的值不是手動輸入了 #include<stdio.h> #include<iostream> #include<queue> #include<stdlib.h> using namespace std; struct node { char v; int num; int depth; struct node*ls,*rs; }; s
相關文章
相關標籤/搜索