---
title: "Discussion on \"Binary Search Tree Iterator\" | Hashnode"
description: "Discussion on \"Binary Search Tree Iterator\". Problem\nImplement the BSTIterator class that represents an iterator over the in-order traversal of a binary search tree (BST): (link)\n\nBSTIterator(TreeNode root) Initializes an object of the BSTIterator class. The root of the BST is given as part of ..."
url: "https://hashnode.com/posts/binary-search-tree-iterator/6885bf02759c326d3ffd0009"
---

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

Discussion

# [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 ...

Jul 27, 2025 · 3 min read · chetan77.hashnode.dev  
Read the article

-   [#binary-search-tree-iterator](https://hashnode.com/tag/binary-search-tree-iterator)
-   [#inorder-mimicing](https://hashnode.com/tag/inorder-mimicing)
-   [#dsa](https://hashnode.com/tag/dsa)
-   [#bst](https://hashnode.com/tag/bst)
-   [#java](https://hashnode.com/tag/java)
-   [#leetcode](https://hashnode.com/tag/leetcode)
-   [#leetcode-solution](https://hashnode.com/tag/leetcode-solution)

## 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.
