Domanda di colloquio di J.P. Morgan

Given an array, return the combination of elements that yields the max sum.

Risposta di colloquio

Anonimo

6 giu 2023

Add all the positive elements in the array.