# that the difference between nums[i] and nums[j] is # at most t and the difference between i and j is at # most k. # This is not the best solution # since there is no built-in bst structure in Python ...