Limeroad interview question

k largest element in an array.