Suppose a binary tree has 3 nodes. The root node is A, and A has a left child B. B has a right child C. Write the inorder, preorder and postorder traversals of this tree.

What will be an ideal response?

Inorder = B C A; Preorder = A B C; Postorder = C B A

Computer Science & Information Technology

You might also like to view...

__________ is based on the roles the users assume in a system rather than the user’s identity.

A. DAC B. RBAC C. MAC D. URAC

Computer Science & Information Technology

It’s possible to access the items in a collection using __________.

a. an integer index of the item to be retrieved b. the Item method to retrieve an item with a specific key value c. a For Each loop d. all of the above

Computer Science & Information Technology