ZEISS Group interview question

OOPs Indexing Kth largest element