Kth Smallest Element in a BST

Solution Code
Verifying access...

Time Complexity

O(H + k)

Space Complexity

O(H)