Amazon Interview Question

Q1. Kth Largest element Q2. All possible binary search trees