AKUNA CAPITAL interview question

Arrays, writing a class, math