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

Maior produto de um array #50

Open
claudiuri opened this issue Oct 26, 2020 · 0 comments
Open

Maior produto de um array #50

claudiuri opened this issue Oct 26, 2020 · 0 comments

Comments

@claudiuri
Copy link
Contributor

Dada uma matriz de inteiros, encontre o par de elementos adjacentes que possui o maior produto(multiplicação) e retorne esse produto.

Exemplo:

ParainputArray = [3, 6, -2, -5, 7, 3], a saída deve ser
adjacentElementsProduct(inputArray) = 21

7 e 3 produzem o maior produto.

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

No branches or pull requests

1 participant