Pregunta de entrevista de JAI

Array based ,tree question like preorder from in order