Question d’entretien chez Cadence Design Systems

Find the nth smallest element in binary tree.