Running average class
Filed under Dolat Capital
The question
Implement a class that returns the average of the last n numbers, or the average of all present numbers if total numbers are less than n.
No write-up yet. Related questions below have one.
Related Dolat Capital questions
Collected from public candidate posts and coding forums. Updated Nov 2026.