AKUNA CAPITAL interview question

Received a few coding challenges.