BST SOLUTION