Chewy interview question

Get method for BST i think