Clean KthLargest and KthSmallest methods