Cisco interview question

Get the Kth maximum number from array.