Coding

Can you identify the 18th largest element in this array?

Machine Learning Engineer

Microsoft

Criteo

Rivian

Postmates

Mailchimp

Agoda

Did you come across this question in an interview?

Answers

Anonymous

3.2Strong
the most naive way is to sort the array in the decreasing order and then take the 18th element of the array. The best way to sort the array is to use the decothomic technic whose complexity is O(log(n)).
  • Can you identify the 18th largest element in this array?
  • Which element in the array occupies the 18th largest position in terms of value?
  • Determine the 18th largest value in this given array.
  • Do you think you could find the element that ranks as the 18th largest?
  • What is the value of the element that is 18th in terms of magnitude in this array?
  • If you were to sort this array in descending order, what value would be in the 18th position?
  • What is the 18th largest item in this array of numbers?
  • Out of all the elements in this array, which one ranks in the 18th largest position?
  • Which item in this array is the 18th largest according to its numerical value?
  • Find the 18th largest element in a given array
Try Our AI Interviewer

Prepare for success with realistic, role-specific interview simulations.

Try AI Interview Now

Interview question asked to Machine Learning Engineers interviewing at Microsoft, Workday, Zoom and others: Can you identify the 18th largest element in this array?.