SailPoint Technologies Interview Question

Based on design pattern, guess the output, balance tree, array