1p3a_oj Question

Find the Kth Largest Element in an Array

Question Details

Given an integer array nums and an integer k, return the kth largest element in the array. You may assume that k is always valid, 1 ≤ k ≤ array's length. Example: Input: [3,2,1,5,6,4

Full Details

🔒

Unlock all Meta questions

Full insider details, leaked discussions, and candidate experiences.

or every company, $100/year →

About This Question

This is a reported interview question from a meta interview for a swe role during the coding round.

It covers the following topics: Arrays .

Topics