Pergunta de entrevista da empresa Red Hat

- Do a function in X language with algorithm, describe complexity