← Salesforce questions

Merge sorted arrays, median and mean calculation

Filed under Salesforce

Given two sorted arrays, merge them into a single sorted array, then calculate and return the median and mean. Format the output as floating-point numbers with a specified precision.

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.