1.

The _________ References pattern stores each tree node in array the id(s) of the node’s children.(a) Child(b) Parent(c) Root(d) None of the mentionedI got this question during an online interview.This intriguing question originated from Model Tree Structures topic in chapter Data Models of MongoDB

Answer»

The correct answer is (a) Child

Explanation: In addition to the TREE NODE, document stores in an ARRAY the id(s) of the node’s children.



Discussion

No Comment Found

Related InterviewSolutions