Pregunta de entrevista de Amazon

Find second largest number of the given integer array? What about finding Kth?