Calculate and Sort Customer Ratings

Given a 2D array where each subarray holds the ratings data (1-5) for a customer service representative, return the average scores for all representatives sorted in descending order. Assume the input ...

Example

Unlock to view complete problem details

and practice with sample input/output

Was this article helpful?

View Test Cases & Run Code requires membership

Standard Input
Execution Result: