LeetCode
Closest Binary Search Tree Value
Click
here
for an explanation.