Problems / Trees / Kth Smallest Element in a BST
#57 Medium Time O(H+k) Space O(H) Animated

Kth Smallest Element in a BST

Find the kth smallest element in a BST.

LeetCode ↗
Approach: Iterative Inorder Traversal
Click play to start
Step 0 / 0
Press play to start the visualization.

Steps