AKUNA CAPITAL interview question

Lots of timestamp process for return