Back to Questions

Find Closest Element in BST

135.3K viewsAsked 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.

Practice with This Question
Find Closest Element in BST - Interview Question