AKUNA CAPITAL Interview Question

Three coding problems. One easy, one medium and one hard.