List statistics

You are asked to implement a function that given a list of numbers would return 3 statistics:
  1. The minimum of the list
  1. The maximum of the list
  1. The average of the list
Input
Output
5 10 15 20 25
5 25 15
-3 0 7 2 -1
-3 7 1
7
7 7 7
 

Constraints

Time limit: 2 seconds

Memory limit: 512 MB

Output limit: 1 MB

To check your solution you need to sign in
Sign in to continue