Meta Interview Question

k-largest element in the array ocean view buildings