MCQOPTIONS
Saved Bookmarks
| 1. |
Consider the following nested representation of binary trees indicates y and z are the left right subtrees, respectively, of node x. Note that y and z may be NULL or further nested. Which of the following represents a valid binary tree? |
| A. | (1(234)(567) |
| B. | (1 2(4 5 6 7)) |
| C. | (1(2 3 NULL)(4 5)) |
| D. | 1((2 3 NULL)4 5 6)7) |
| Answer» B. (1 2(4 5 6 7)) | |