Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Adds a solution to two sum problem in Elixir #9

Merged
merged 1 commit into from Aug 10, 2021

Conversation

deryksr-zz
Copy link
Contributor

Minha última contribuição para o problema two sum.

Elixir definitivamente não é uma boa linguagem para resolver esse tipo de problema, trabalhando com programação funcional fica quase impossível você realizar qualquer tipo de programação dinâmica, pelo fato de que uma função sempre deve retornar algo e nunca salvar o estado de uma aplicação 😢

Time Complexity: O(n^2)

Até a próxima live com algum exercício novo \o/

Copy link
Collaborator

@arthur404dev arthur404dev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Show de bola! Gostei de ver que adaptou a time complexity e entendeu a limitação da linguagem.

@arthur404dev arthur404dev merged commit 2332777 into x-team:main Aug 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants