Kth Smallest Element in a BST

Solution Code

Time Complexity

O(H + k)

Space Complexity

O(H)