Meta interview question

find the top k element in an array