AKUNA CAPITAL interview question

It consisted of 3 Algorithm problem. It was lengthy