← Salesforce questions

Unique Number of Occurrences

Filed under Salesforce · Also reported at PayPal

Given an array of integers arr, return true if the number of occurrences of each value in the array is unique, or false otherwise.

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.