AKUNA CAPITAL interview question

implement a python class that had methods that could insert values and efficiently calculated mean, mode, etc