NVIDIA interview question

validate binary search tree