← Salesforce questions

Find element by percentile

Filed under Salesforce

Given a sorted array of numbers and a percentile value (0 to 100), find the element at that percentile rank. If the exact rank does not fall on an index, return the element at the next lower index.

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 Salesforce questions

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