Domanda di colloquio di Meta

Find the k-th smallest element in a binary search tree.

Risposta di colloquio

Anonimo

3 set 2018

Do inorder traversal while putting the elements in a list, once done you know the index/position you want the element at so get it.