MRI Software interview question

Write a code on Binary search tree algorithm