Pergunta de entrevista da empresa Informatica

How to Traverse tree to find leaf nodes which are array.