DEV Community

Francisco Zanfranceschi
Francisco Zanfranceschi

Posted on

5 1

[Desafio] - Cálculo em Estruturas Aninhadas Sem Laços

Conteúdo original em https://twitter.com/zanfranceschi/status/1564671754483765251


Ei dev,

Pega esse desafio:

Faça a soma de todos os produtos de todas as compras sem usar laços (loops - for, foreach, etc). Use apenas map, reduce, recursão, etc.

cc @sseraphini

Image

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay