---
title: "#bst articles | Hashnode"
description: "Explore 13 articles tagged #bst on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/bst"
---

Tag

# #bst

13 posts · 0 followers

[Chetan Datta](https://hashnode.com/@chetan77) · [Jul 27, 2025](https://hashnode.com/posts/validate-binary-search-tree/6885eb8f115a70522390669c)

### [Validate Binary Search Tree](https://chetan77.hashnode.dev/validate-binary-search-tree?utm_source=hashnode&utm_medium=feed)

Problem Given the root of a binary tree, determine if it is a valid binary search tree (BST). A valid BST is defined as follows: The left subtree of a node contains only nodes with keys less than the node's key. The right subtree of a node contains...

2 min read · [chetan77.hashnode.dev](https://chetan77.hashnode.dev/validate-binary-search-tree?utm_source=hashnode&utm_medium=feed)

[Chetan Datta](https://hashnode.com/@chetan77) · [Jul 27, 2025](https://hashnode.com/posts/binary-search-tree-iterator/6885bf02759c326d3ffd0009)

### [Binary Search Tree Iterator](https://chetan77.hashnode.dev/binary-search-tree-iterator?utm_source=hashnode&utm_medium=feed)

Problem Implement the BSTIterator class that represents an iterator over the in-order traversal of a binary search tree (BST): (link) BSTIterator(TreeNode root) Initializes an object of the BSTIterator class. The root of the BST is given as part of ...

3 min read · [chetan77.hashnode.dev](https://chetan77.hashnode.dev/binary-search-tree-iterator?utm_source=hashnode&utm_medium=feed)

[Chetan Datta](https://hashnode.com/@chetan77) · [Jul 26, 2025](https://hashnode.com/posts/delete-node-in-a-bst/68851ecef0d2cc5ffa0fda34)

### [Delete Node in a BST](https://chetan77.hashnode.dev/delete-node-in-a-bst?utm_source=hashnode&utm_medium=feed)

Problem Statement Given a root node reference of a BST and a key, delete the node with the given key in the BST. Return the root node reference (possibly updated) of the BST. Basically, the deletion c

3 min read · [chetan77.hashnode.dev](https://chetan77.hashnode.dev/delete-node-in-a-bst?utm_source=hashnode&utm_medium=feed)

[Anni Huang](https://hashnode.com/@HuangAnni) · [Jul 11, 2025](https://hashnode.com/posts/leetcode-653-two-sum-iv-input-is-a-bst-in-order-traversal-easy-java-on/68705ba93f60a083c95ac737)

### [LeetCode 653 Two Sum IV - Input is a BST - In Order Traversal (Easy, Java, O(n))](https://huanganni.hashnode.dev/leetcode-653-two-sum-iv-input-is-a-bst-in-order-traversal-easy-java-on?utm_source=hashnode&utm_medium=feed)

LeetCode 653. Two Sum IV - Input is a BST Approach The problem requires us to find if there exist any two nodes in a Binary Search Tree (BST) that sum up to a given target value k. The solution uses an inorder traversal approach combined with a has...

3 min read · [huanganni.hashnode.dev](https://huanganni.hashnode.dev/leetcode-653-two-sum-iv-input-is-a-bst-in-order-traversal-easy-java-on?utm_source=hashnode&utm_medium=feed)

[Nitin Singh](https://hashnode.com/@ns717) · [May 17, 2025](https://hashnode.com/posts/binary-search-tree-bst-efficient-searching-and-ordering/6828f0b59ffc1928864edb04)

### [Binary Search Tree (BST)](https://ns717.hashnode.dev/binary-search-tree-bst-efficient-searching-and-ordering?utm_source=hashnode&utm_medium=feed)

Efficient Searching and Ordering

5 min read · [ns717.hashnode.dev](https://ns717.hashnode.dev/binary-search-tree-bst-efficient-searching-and-ordering?utm_source=hashnode&utm_medium=feed)

[Shiva Krishna](https://hashnode.com/@shiva-krishna) · [Feb 21, 2025](https://hashnode.com/posts/bst/67b880666ff849cef8be44c5)

### [Binary Search Trees | DSA Patterns](https://dsa-patterns.hashnode.dev/bst?utm_source=hashnode&utm_medium=feed)

1\. Basics Search an element Ceil of an element Floor of an element Insert an element Delete an element 2. Medium Find K-th smallest/largest element in BST Check if a tree is a BST or BT LCA in Binary Search Tree Construct a BST from a pre...

1 min read · [dsa-patterns.hashnode.dev](https://dsa-patterns.hashnode.dev/bst?utm_source=hashnode&utm_medium=feed)

[Arka Infotech](https://hashnode.com/@arkainfotech) · [Jan 10, 2025](https://hashnode.com/posts/binary-search-trees-explained-algorithm-and-use-cases/678106b9a0e08d7d94494811)

### [Binary Search Trees Explained: Algorithm and Use Cases](https://blogs.arkainfotech.in/binary-search-trees-explained-algorithm-and-use-cases?utm_source=hashnode&utm_medium=feed)

Learn how Binary Search Trees work with algorithm insights, use cases, and Python code examples for efficient data management

7 min read · [blogs.arkainfotech.in](https://blogs.arkainfotech.in/binary-search-trees-explained-algorithm-and-use-cases?utm_source=hashnode&utm_medium=feed)

[Jyotiprakash Mishra](https://hashnode.com/@jpmishra) · [Sep 25, 2024](https://hashnode.com/posts/introduction-to-trees/66f4306e24366ddce174b1fb)

### [Introduction to Trees](https://blog.jyotiprakash.org/introduction-to-trees?utm_source=hashnode&utm_medium=feed)

In computer science, trees are a fundamental non-linear data structure composed of nodes connected by edges. A tree is a hierarchical model that represents a collection of elements, each of which can have a number of children but only one parent (exc...

45 min read · [blog.jyotiprakash.org](https://blog.jyotiprakash.org/introduction-to-trees?utm_source=hashnode&utm_medium=feed)

[Fatima Jannet](https://hashnode.com/@fatimaJannet) · [Aug 17, 2024](https://hashnode.com/posts/basics-of-binary-search-trees-bst/66c094a2ed9e2cdbae92d274)

### [Basics of Binary Search Trees (BST)](https://mahia.hashnode.dev/basics-of-binary-search-trees-bst?utm_source=hashnode&utm_medium=feed)

Learn Binary Search Trees: creation, insertion, deletion, searching operations, and time/space complexities

5 min read · [mahia.hashnode.dev](https://mahia.hashnode.dev/basics-of-binary-search-trees-bst?utm_source=hashnode&utm_medium=feed)

[Tanmay Sarkar](https://hashnode.com/@tanmaysarkar) · [Jun 24, 2023](https://hashnode.com/posts/binary-trees-explained-a-step-by-step-tutorial/6496e102d35daf5e820032ff)

### [Binary Trees Explained: A Step-by-Step Tutorial](https://tanmaysarkar.hashnode.dev/binary-trees-explained-a-step-by-step-tutorial?utm_source=hashnode&utm_medium=feed)

Discover the power of Binary Trees with this easy-to-follow tutorial, From understanding nodes and edges to navigating Binary Trees.

7 min read · [tanmaysarkar.hashnode.dev](https://tanmaysarkar.hashnode.dev/binary-trees-explained-a-step-by-step-tutorial?utm_source=hashnode&utm_medium=feed)
