Amazon interview question

use priority queue to find the kth minimum element