Cisco Interview Question

Get the Kth maximum number from array.