Meta interview question

k-largest element in the array ocean view buildings