Given the root node of a binary search tree and an integer value k, return the kthk^{th}kth smallest value in the tree.
k
Constraints: