TTrave_Alg_3 Which one of the pseudocode given below is written for post-order traversal of a Binary Search Tree?单项选择题

A

BSTPrintInorder(node) {   if (node is null)       return                       BSTPrintInorder(node->left)                        BSTPrintInorder(node->right)  }

B

BSTPrintInorder(node) {   if (node is null)       return                       BSTPrintInorder(node->left)     BSTPrintInorder(node->right)   Print node                       }

C

BSTPrintInorder(node) {   if (node is null)       return                       Print node                         BSTPrintInorder(node->left)     BSTPrintInorder(node->right) }

D

BSTPrintInorder(node) {   if (node is null)       return                       BSTPrintInorder(node->left)     Print node                       BSTPrintInorder(node->right)  }

登录即可查看完整答案

我们收录了全球超50000道真实原题与详细解析,现在登录,立即获得答案。

更多留学生实用工具

加入我们,立即解锁 海量真题独家解析,让复习快人一步!