Back to Question

Search in a Binary Search Tree

Question Explain

Given the root of a BST and a value, return the subtree rooted at that node. If the value does not exist, return `NULL`.

Start Trying This Question Simulation

Click "Start Speaking" and answer the question naturally.