Algorithm: Finding the kth largest element (V1.0)