Explanation:Node may have multiple parents for Child Parents. 7. Which of the following pattern is more straightforward to use ?
A. Materialized Paths
B. Array of Ancestors
C. Nested Sets
D. None of the mentioned
Answer:A
Explanation:Node may have multiple parents for Child Parents. 7. Which of the following pattern is more straightforward to use ?
A. Materialized Paths B. Array of Ancestors C. Nested Sets D. None of the mentioned
Explanation:The Array of Ancestors pattern stores each tree node in a document; in addition to the tree node, document stores in an array the id(s) of the node’s ancestors or path. 8. The Array of Ancestors pattern is slightly slower than the ________________ pattern