Amazon interview question

Write a code to find kth largest element in an array