List statistics
You are asked to implement a function that given a list of numbers would return 3 statistics:
- The minimum of the list
- The maximum of the list
- 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