Problems
Previous question · 915
Department Median Pay
easy
Database
Next question · 917
Territory Sales Increase
hard
Database
Random coding question
Python
Language
Python
Practice
Interview
AI Tutor
Description
Solution
Discussion
916. Running Average
medium
General
entry
Function contract
Inputs
nums
list
Returns
value
list
Examples
Example 1
Input
{
"nums"
:
[
1
,
2
,
3
,
4
]
}
Output
[
1
,
1.5
,
2
,
2.5
]
Example 2
Input Signature
Argument
Type
nums
list
Output Signature
Return Name
Type
value
list
Constraints
Hint 1
Hint 2
Hint 3
Roles
Software Engineer
ML Engineer
Data Engineer
Quantitative Researcher
Research Scientist
Companies
General
Levels
entry
Tags
python
Similar Questions
Custom Sort String
medium
Algorithms
Number of 1 Bits
easy
Algorithms
Letter Case Permutation
medium
Algorithms
43 people
are solving this problem
Run
Submit
00:00
Loading editor for the selected language
Ln 1, Col 1
Program Output
DATA
INTERVIEW
Interactive coding terminal
Python environment ready.
Type a command below or run code from the editor.
run script
Execute the current editor contents
submit
Grade the current editor contents against all solution test cases
python ("print hello world")
Run an isolated Python command
help
Show all available commands
>>>