Anonymous
I think the most naive way to get the 18h largest element is to sort them and then take the 18th element of the array
Shopify
Microsoft
DoorDash
Siemens
Blizzard
Anonymous
Prepare for success with realistic, role-specific interview simulations.
Try AI Interview NowInterview question asked to Data Scientists interviewing at DoorDash, Shopify, Udacity and others: Find the 18th largest element in a given array.
Type or paste your answer below and get a strength-o-meter check.
Your answer will be graded on the following metrics: