AKUNA CAPITAL Interview Question

3 programming questions: two easy questions and one difficult question