Amazon Interview Question

I got a tree traversal question. Find the kth smallest element in a binary search tree.