Back to QuestionsPractice with This Question
Find Closest Element in BST
135.3K views•Asked at Netflix•
Easy
Question Explain
Given the root of a Binary Search Tree and a target value, find the value in the BST that is closest to the target.
Start Trying This Question Simulation
Practice answering orally or with text to get instant AI feedback.