Concept Flow - Kth Smallest Element in BST
Start at root
Inorder Traverse Left Subtree
Visit Node: count++
Is count == k?
No→Inorder Traverse Right Subtree
Yes
Return Node Value
Done
We do an inorder traversal of the BST, counting nodes visited. When count reaches k, we return that node's value.
