Question d’entretien chez Meta

Coding interview : Given a binary search tree, find the node which is closest to the target and return its difference