Amazon Interview Question

Binart Search Tree on an array