Day 15 of June LeetCode Challenge

Aanchal Patial
1 min readJun 15, 2020

Given the root node of a binary search tree (BST) and a value. You need to find the node in the BST that the node’s value equals the given value. Return the subtree rooted with that node. If such node doesn’t exist, you should return NULL.

--

--

Aanchal Patial

We never really grow up, we only learn how to act in public