← Morgan Stanley questions

Find Kth largest element in an unsorted array

Filed under Morgan Stanley

Given an unsorted array of integers, find the Kth largest element in the array. Note that it is the Kth largest element in sorted order, not the Kth distinct element.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Morgan Stanley questions

Collected from public candidate posts and coding forums. Updated Nov 2026.