The preorder traversal sequence of a binary tree is abdgcefh, the inorder traversal sequence of a binary tree is dgbaechf, the postorder traversal sequence of a binary tree is ____.
A.
bdgcefha
B.
gdbecfha
C.
bdgaechf
D.
gdbehfca
手机使用
分享
复制链接
新浪微博
分享QQ
微信扫一扫
微信内点击右上角“…”即可分享
反馈
参考答案:
举一反三
【单选题】以下程序的输出结果是 class Program { static int c = 3; static double f( int a) { c += 1; a = c; return a; } static void Main( string [] args) { int a=0, i, k=0 ; for (i = 0;i { k =( int ) f(a); a = a + 1; } Con...
【单选题】以下程序的输出结果是 class Program { static double f( int n) { int i; double s; s = 1.0; for (i = 1 ;i<= n;i++) s +=1.0 / i ; return s; } static void Main( string [] args) { int i, m; double a=0; m=3; for (...