Pergunta de entrevista da empresa CodeSignal

Asked to complete a series of coding tasks with increasing difficulty.