Google News
logo
MongoDB - Quiz(MCQ)
The Array of Ancestors pattern is slightly slower than the ______ pattern.
A)
Materialized Paths
B)
Nested Sets
C)
Array of Ancestors
D)
None of the above

Correct Answer :   Materialized Paths


Explanation : The Array of Ancestors pattern provides a fast and efficient solution to find the descendants and the ancestors of a node by creating an index on the elements of the ancestors field.

Advertisement