Pergunta de entrevista da empresa AKUNA CAPITAL

The challenge was in Python was asked to do a few coding problems. Time wasn't sufficient enough to finish the challenge.