Test interview question

find maximum k numbers from an array