AKUNA CAPITAL Interview Question

there are three coding questions, all pretty hard