SailPoint Technologies interview question

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