Question d’entretien chez Amazon

Kth largest element in tree.