InterviewSolution
Saved Bookmarks
| 1. |
In which order are the children of any node ordered?(a) From the left(b) From the right(c) Arbitrarily(d) None of the mentionedThis question was posed to me in a job interview.This is a very interesting question from Construction and Yield of a Parse Tree topic in section Context Free Grammars and Languages of Automata Theory |
|
Answer» RIGHT OPTION is (a) From the left The explanation: The children of a node are ordered from the left and DRAWN so. If N is to the left of node M, then all the descendents of N are consideredto be to the left of all the descendents of M. |
|