MathWorks Interview Question

write a binary search tree