Impetus Technologies interview question

q1. bstrees traversal and making from an array