is this a binary search tree hackerrank solution

welcome to shbcf.ru