InterviewSolution
| 1. |
What Are Recursion Nodes ? |
|
Answer» The RECURSION node is a special type of node used when a node hierarchy with a RECURSIVE structure needs to be created. This is NEEDED when, for instance, the depth of the node hierarchy is not KNOWN until RUNTIME. Using a recursion node, you can declare that a particular node structure be replicated as a child of itself. A good example here is if your context needs to hold information in the same structure as a file system, containing directories and sub directories. The recursion node is a special type of node used when a node hierarchy with a recursive structure needs to be created. This is needed when, for instance, the depth of the node hierarchy is not known until runtime. Using a recursion node, you can declare that a particular node structure be replicated as a child of itself. A good example here is if your context needs to hold information in the same structure as a file system, containing directories and sub directories. |
|