**Problem Statement:**
Given the required input arguments, write an efficient algorithm to solve the **Kth Largest Element in an Array** problem. Implement the required logic as specified by standard definitions for this classic algorithmic challenge.
**Hint / Expected Approach:**
Min-heap of size k OR QuickSelect O(n) avg
**Edge Cases to Consider:**
- (1) k = 1
- (2) k = n
- (3) Duplicates in array