Microsoft interview question

Implement a generic BST