Meta interview question

k largest elements