---
title: "Discussion on \"Binary Search Trees\" | Hashnode"
description: "Discussion on \"Binary Search Trees\". Problem Statement\nYou are given the root of a binary search tree (BST) and an integer val.\nFind the node in the BST that the node's value equals val and return the subtree rooted with that node. If such a node does not exist, return null. (Link)\nExam..."
url: "https://hashnode.com/posts/binary-search-trees/6883cd39f58ff891f13b30d4"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Binary Search Trees](https://chetan77.hashnode.dev/binary-search-trees?utm_source=hashnode&utm_medium=feed)

Problem Statement You are given the root of a binary search tree (BST) and an integer val. Find the node in the BST that the node's value equals val and return the subtree rooted with that node. If such a node does not exist, return null. (Link) Exam...

Jul 25, 2025 · 2 min read · chetan77.hashnode.dev  
Read the article

-   [#binary-search-tree](https://hashnode.com/tag/binary-search-tree)
-   [#trees](https://hashnode.com/tag/trees)
-   [#binarytrees](https://hashnode.com/tag/binarytrees)
-   [#dsa](https://hashnode.com/tag/dsa)

## Written by

[Chetan Datta](https://hashnode.com/@chetan77)

@chetan77 · Hyderabad, India

  
[View profile](https://hashnode.com/@chetan77)

Software Engineer

I share my learnings here. Thanks for reading.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
