#89
Average of Integers
EASYMathpython
Problem Description
A metrics aggregation service computes mean latency and average daily revenue across reporting windows. Given a list of integers, compute their average value.
**Task:** Return the average as a floating-point number rounded to **two decimal places**.
**Constraints:**
- `1 <= nums.length <= 10^5`
- `-10^6 <= nums[i] <= 10^6`
Topics
hash tablearraymath
Asked at Companies
appleamazongooglemicrosoftmeta
Solve This Problem
Sign up to access the interactive code editor, run test cases, view the editorial, and get AI-powered feedback on your solution.
Start Solving →