Meta Interview Question

Kth largest element and least common denominator