---
title: "Discussion on \"LeetCode 230: Kth Smallest Element In A Bst — Step-by-Step Visual Trace\" | Hashnode"
description: "Discussion on \"LeetCode 230: Kth Smallest Element In A Bst — Step-by-Step Visual Trace\". Find the kth smallest element in a Binary Search Tree (BST), where k is 1-indexed. The function should return the value of the kth smallest node when all nodes are sorted in ascending order."
url: "https://hashnode.com/posts/kth-smallest-element-in-a-bst-visualization/69d7d2330044089c753f5db3"
---

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

Discussion

# [LeetCode 230: Kth Smallest Element In A Bst — Step-by-Step Visual Trace](https://blog.tracelit.dev/kth-smallest-element-in-a-bst-visualization?utm_source=hashnode&utm_medium=feed)

Find the kth smallest element in a Binary Search Tree (BST), where k is 1-indexed. The function should return the value of the kth smallest node when all nodes are sorted in ascending order.

Apr 9 · 1 min read · blog.tracelit.dev  
Read the article

-   [#algorithms](https://hashnode.com/tag/algorithms)
-   [#leetcode](https://hashnode.com/tag/leetcode)

## Written by

[tracelit](https://hashnode.com/@tracelit)

@tracelit

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
